Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed exported methods from ratelimiter package | Mathias Hall-Andersen | 2018-02-11 | 2 | -42/+38 |
| | |||||
* | Moved ratelimiter to internal package | Mathias Hall-Andersen | 2018-02-11 | 6 | -24/+60 |
| | |||||
* | Moved tai64n into sub-package | Mathias Hall-Andersen | 2018-02-11 | 3 | -48/+47 |
| | |||||
* | Fixed tabs | Mathias Hall-Andersen | 2018-02-11 | 4 | -392/+392 |
| | |||||
* | Reverted event changes | Mathias Hall-Andersen | 2018-02-11 | 3 | -57/+18 |
| | | | | This feature was not needed for Android, upon further inspection. | ||||
* | Started migration to sub-packages | Mathias Hall-Andersen | 2018-02-09 | 6 | -29/+69 |
| | |||||
* | Go treats underscores specially | Jason A. Donenfeld | 2018-02-07 | 3 | -0/+0 |
| | | | | | In case there's ever a platform called helpers or protocol, we don't want to be doing this. | ||||
* | Work on logging format | Mathias Hall-Andersen | 2018-02-04 | 7 | -32/+51 |
| | |||||
* | Merge branch 'master' into timer-teardown | Mathias Hall-Andersen | 2018-02-04 | 0 | -0/+0 |
|\ | |||||
| * | Fixed fwmark update without device status change | Mathias Hall-Andersen | 2018-01-09 | 2 | -2/+9 |
| | | | | | | | | | | An update of the fwmark was missing, when the device was not bought up after the change. | ||||
| * | Revert "Peer timer teardown" | Mathias Hall-Andersen | 2018-01-04 | 7 | -163/+102 |
| | | | | | | | | | | | | | | This reverts commit d73f960aab86b9a12b0b7d18aa80ce1d4f130695. Problems with deadlocking arises due to orphaned packets in per-peer queues. Additional work on this issue continues in seperate branch. | ||||
* | | Removed debugging locks | Mathias Hall-Andersen | 2018-02-04 | 2 | -48/+39 |
| | | |||||
* | | Align with go library layout | Mathias Hall-Andersen | 2018-02-04 | 50 | -4/+4 |
| | | |||||
* | | Fixed tests | Mathias Hall-Andersen | 2018-02-02 | 3 | -22/+35 |
| | | |||||
* | | Clear cryptographic state when interface down | Mathias Hall-Andersen | 2018-02-02 | 5 | -41/+58 |
| | | | | | | | | | | Attempts to clear the cryptographic state for every peer when the device goes down. | ||||
* | | Rework of entire locking system | Mathias Hall-Andersen | 2018-02-02 | 10 | -224/+371 |
| | | | | | | | | | | | | Locking on the Device instance is now much more fined-grained, seperating out the fields into "resources" st. most common interactions only require a small number. | ||||
* | | Merge branch 'timer-teardown' of git.zx2c4.com:wireguard-go into timer-teardown | Mathias Hall-Andersen | 2018-02-01 | 6 | -66/+173 |
|\ \ | |||||
| * | | Added initial version of peer teardown | Mathias Hall-Andersen | 2018-01-26 | 6 | -66/+173 |
| | | | | | | | | | | | | | | | There is a double lock issue with device.Close which has yet to be resolved. | ||||
* | | | Added binary to .gitignore | Mathias Hall-Andersen | 2018-01-31 | 1 | -0/+1 |
|/ / | |||||
* | | Fixed potential DoS issue | Mathias Hall-Andersen | 2018-01-16 | 1 | -3/+3 |
| | | |||||
* | | Work on timer teardown + bug fixes | Mathias Hall-Andersen | 2018-01-13 | 8 | -47/+102 |
|/ | | | | | Added waitgroups to peer struct for routine start / stop synchronisation | ||||
* | Peer timer teardown | Mathias Hall-Andersen | 2017-12-29 | 7 | -102/+163 |
| | |||||
* | Removed IFF_NO_PI from TUN linux | Mathias Hall-Andersen | 2017-12-04 | 4 | -18/+60 |
| | | | | | | | | This change was needed for the Linux TUN status hack to work properly (not increment the error counter). This commit also updates the TUN interface to allow for the construction / removal of the TUN info headers in-place. | ||||
* | Removed profiler code | Mathias Hall-Andersen | 2017-12-02 | 1 | -8/+0 |
| | |||||
* | More consistent use of signal struct | Mathias Hall-Andersen | 2017-12-01 | 9 | -68/+68 |
| | |||||
* | Fixed receive path infinite loop | Mathias Hall-Andersen | 2017-12-01 | 1 | -84/+81 |
| | |||||
* | Added missing exit codes | Mathias Hall-Andersen | 2017-11-30 | 1 | -0/+5 |
| | |||||
* | Refactor timers.go | Mathias Hall-Andersen | 2017-11-30 | 8 | -163/+249 |
| | |||||
* | Fixed typos | Mathias Hall-Andersen | 2017-11-29 | 3 | -5/+6 |
| | |||||
* | Added cross namespace TUN status detection | Mathias Hall-Andersen | 2017-11-29 | 5 | -8/+35 |
| | |||||
* | Better naming of bind helpers | Mathias Hall-Andersen | 2017-11-19 | 4 | -10/+11 |
| | |||||
* | Merge branch 'source-caching' | Mathias Hall-Andersen | 2017-11-19 | 20 | -488/+1178 |
|\ | |||||
| * | Implemented missing methods for Bind and Endpoint | Mathias Hall-Andersen | 2017-11-19 | 1 | -18/+52 |
| | | |||||
| * | Begin generic Bind implementation | Mathias Hall-Andersen | 2017-11-19 | 4 | -54/+99 |
| | | |||||
| * | Moved endpoint into interface and simplified peer | Mathias Hall-Andersen | 2017-11-18 | 6 | -80/+101 |
| | | |||||
| * | Ported remaining netns.sh | Mathias Hall-Andersen | 2017-11-17 | 13 | -28/+194 |
| | | | | | | | | | | - Ported remaining netns.sh tests - Begin work on generic implementation of bind interface | ||||
| * | Allows passing UAPI fd to service | Mathias Hall-Andersen | 2017-11-17 | 3 | -67/+111 |
| | | |||||
| * | Moved TUN device creation to pre-fork | Mathias Hall-Andersen | 2017-11-14 | 6 | -58/+110 |
| | | |||||
| * | Initial working source caching | Mathias Hall-Andersen | 2017-11-14 | 6 | -54/+63 |
| | | |||||
| * | Fixed blocking reader on closed socket | Mathias Hall-Andersen | 2017-11-11 | 4 | -23/+32 |
| | | |||||
| * | Fixed port endianness | Mathias Hall-Andersen | 2017-11-11 | 4 | -132/+151 |
| | | |||||
| * | Fixed message header length in conn_linux | Mathias Hall-Andersen | 2017-10-27 | 6 | -26/+54 |
| | | |||||
| * | Fixed timer issue when failing to send handshake | Mathias Hall-Andersen | 2017-10-17 | 3 | -38/+54 |
| | | | | | | | | + Identified send4 issue | ||||
| * | Initial implementation of source caching | Mathias Hall-Andersen | 2017-10-16 | 10 | -83/+84 |
| | | | | | | | | Yet untested. | ||||
| * | Added new UDPBind interface | Mathias Hall-Andersen | 2017-10-08 | 6 | -216/+238 |
| | | |||||
| * | Begin incorporating new src cache into receive | Mathias Hall-Andersen | 2017-10-07 | 5 | -98/+165 |
| | | |||||
| * | Definition of platform specific socket bind | Mathias Hall-Andersen | 2017-10-06 | 4 | -39/+197 |
| | | |||||
* | | Close tun device with device | Aurélien Chabot | 2017-11-11 | 1 | -0/+1 |
|/ | |||||
* | Sleep to close fd | Jason A. Donenfeld | 2017-09-26 | 1 | -0/+5 |
| | |||||
* | Clean up error handling of listen port | Jason A. Donenfeld | 2017-09-26 | 4 | -6/+6 |
| |