aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix a2cb139ln/send2Linus Nordberg2019-03-221-1/+1
|
* remove spurious reset of eventsLinus Nordberg2019-03-221-1/+0
| | | | Since it's closed (fd=-1), poll won't care.
* don't read after closeLinus Nordberg2019-03-221-1/+1
| | | | Close might have happened in the POLLOUT case.
* formattingLinus Nordberg2019-03-221-3/+1
| | | | clang-format-4.0
* add now()Linus Nordberg2019-03-223-4/+11
|
* add starttime to struct wg_dynamic_leaseLinus Nordberg2019-03-222-10/+7
| | | | Clients want to keep track of starttime.
* don't expose internal errors to clientsLinus Nordberg2019-03-221-12/+15
|
* print pid; optionally run server under gdbLinus Nordberg2019-03-221-1/+6
|
* server: add allowedips to peerLinus Nordberg2019-03-222-8/+71
|
* use struct wg_leaseLinus Nordberg2019-03-212-42/+51
|
* formattingLinus Nordberg2019-03-213-22/+19
|
* Merge branch 'ln/send' into ln/send2Linus Nordberg2019-03-113-22/+212
|\
| * WIP respond request_ip with whatever client asks forLinus Nordberg2019-03-113-29/+155
| |
| * Fix debug printout.Linus Nordberg2019-03-071-1/+1
| |
| * Enter the write block only when the outbuf is setLinus Nordberg2019-02-261-6/+4
| |
| * Don't read socket after close due to write doneLinus Nordberg2019-02-261-2/+5
| | | | | | | | | | Also, don't call send_message() if there's nothing to send -- it triggers a close.
| * WIP move struct outbuf contents into struct wg_dynamic_reqeustLinus Nordberg2019-02-253-37/+31
| |
| * Specify scope id in addresses to ping6Linus Nordberg2019-02-251-2/+2
| | | | | | | | | | | | Without scope id, ping6 on a Debian 9 fails with connect: Invalid argument
| * WIP send responseLinus Nordberg2019-02-253-20/+89
| |
* | Specify scope id in addresses to ping6Linus Nordberg2019-02-251-2/+2
| | | | | | | | | | | | Without scope id, ping6 on a Debian 9 fails with connect: Invalid argument
* | Accept multiple connections in one goThomas Gschwantner2019-02-251-12/+28
| |
* | Match incoming IP with pubkeyThomas Gschwantner2019-02-252-11/+90
| |
* | Implement a radix-trie for storing ip=pubkeyThomas Gschwantner2019-02-253-1/+366
|/
* Move the google doc into the git repositoryDaniel Kahn Gillmor2019-02-132-1/+103
|
* Implement key=value parsingThomas Gschwantner2019-02-094-46/+411
|
* Fix licensing headersThomas Gschwantner2019-01-275-13/+12
|
* Implement basic validation and I/O multiplexingThomas Gschwantner2019-01-263-25/+374
|
* Add .clang-formatThomas Gschwantner2019-01-261-0/+127
|
* Add modified netsh.sh for testing purposesThomas Gschwantner2019-01-261-0/+82
|
* Initialize project with scafolding and embeddable-wg-libraryJason A. Donenfeld2019-01-249-0/+1304