aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use relative importsJason A. Donenfeld2018-02-129-3/+3
|
* Revert "Don't use modules"Mathias Hall-Andersen2018-02-129-20/+23
| | | | This reverts commit bffe99aeadae09abd02f2bd3184925af6b680535.
* Don't use modulesJason A. Donenfeld2018-02-129-23/+20
| | | | | Feel free to revert this if you have a strong feeling about it. But so far as I can see, it adds a lot of complexity for basically no upsides.
* Moved test-processes to backgroundMathias Hall-Andersen2018-02-111-2/+2
|
* TUN status hack was causing spam during shutdownMathias Hall-Andersen2018-02-114-36/+39
|
* Added missing mutex acquisitionMathias Hall-Andersen2018-02-111-0/+3
|
* Removed exported methods from ratelimiter packageMathias Hall-Andersen2018-02-112-42/+38
|
* Moved ratelimiter to internal packageMathias Hall-Andersen2018-02-116-24/+60
|
* Moved tai64n into sub-packageMathias Hall-Andersen2018-02-113-48/+47
|
* Fixed tabsMathias Hall-Andersen2018-02-114-392/+392
|
* Reverted event changesMathias Hall-Andersen2018-02-113-57/+18
| | | | This feature was not needed for Android, upon further inspection.
* Started migration to sub-packagesMathias Hall-Andersen2018-02-096-29/+69
|
* Go treats underscores speciallyJason A. Donenfeld2018-02-073-0/+0
| | | | | In case there's ever a platform called helpers or protocol, we don't want to be doing this.
* Work on logging formatMathias Hall-Andersen2018-02-047-32/+51
|
* Merge branch 'master' into timer-teardownMathias Hall-Andersen2018-02-040-0/+0
|\
| * Fixed fwmark update without device status changeMathias Hall-Andersen2018-01-092-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-Andersen2018-01-047-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 locksMathias Hall-Andersen2018-02-042-48/+39
| |
* | Align with go library layoutMathias Hall-Andersen2018-02-0450-4/+4
| |
* | Fixed testsMathias Hall-Andersen2018-02-023-22/+35
| |
* | Clear cryptographic state when interface downMathias Hall-Andersen2018-02-025-41/+58
| | | | | | | | | | Attempts to clear the cryptographic state for every peer when the device goes down.
* | Rework of entire locking systemMathias Hall-Andersen2018-02-0210-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-teardownMathias Hall-Andersen2018-02-016-66/+173
|\ \
| * | Added initial version of peer teardownMathias Hall-Andersen2018-01-266-66/+173
| | | | | | | | | | | | | | | There is a double lock issue with device.Close which has yet to be resolved.
* | | Added binary to .gitignoreMathias Hall-Andersen2018-01-311-0/+1
|/ /
* | Fixed potential DoS issueMathias Hall-Andersen2018-01-161-3/+3
| |
* | Work on timer teardown + bug fixesMathias Hall-Andersen2018-01-138-47/+102
|/ | | | | Added waitgroups to peer struct for routine start / stop synchronisation
* Peer timer teardownMathias Hall-Andersen2017-12-297-102/+163
|
* Removed IFF_NO_PI from TUN linuxMathias Hall-Andersen2017-12-044-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 codeMathias Hall-Andersen2017-12-021-8/+0
|
* More consistent use of signal structMathias Hall-Andersen2017-12-019-68/+68
|
* Fixed receive path infinite loopMathias Hall-Andersen2017-12-011-84/+81
|
* Added missing exit codesMathias Hall-Andersen2017-11-301-0/+5
|
* Refactor timers.goMathias Hall-Andersen2017-11-308-163/+249
|
* Fixed typosMathias Hall-Andersen2017-11-293-5/+6
|
* Added cross namespace TUN status detectionMathias Hall-Andersen2017-11-295-8/+35
|
* Better naming of bind helpersMathias Hall-Andersen2017-11-194-10/+11
|
* Merge branch 'source-caching'Mathias Hall-Andersen2017-11-1920-488/+1178
|\
| * Implemented missing methods for Bind and EndpointMathias Hall-Andersen2017-11-191-18/+52
| |
| * Begin generic Bind implementationMathias Hall-Andersen2017-11-194-54/+99
| |
| * Moved endpoint into interface and simplified peerMathias Hall-Andersen2017-11-186-80/+101
| |
| * Ported remaining netns.shMathias Hall-Andersen2017-11-1713-28/+194
| | | | | | | | | | - Ported remaining netns.sh tests - Begin work on generic implementation of bind interface
| * Allows passing UAPI fd to serviceMathias Hall-Andersen2017-11-173-67/+111
| |
| * Moved TUN device creation to pre-forkMathias Hall-Andersen2017-11-146-58/+110
| |
| * Initial working source cachingMathias Hall-Andersen2017-11-146-54/+63
| |
| * Fixed blocking reader on closed socketMathias Hall-Andersen2017-11-114-23/+32
| |
| * Fixed port endiannessMathias Hall-Andersen2017-11-114-132/+151
| |
| * Fixed message header length in conn_linuxMathias Hall-Andersen2017-10-276-26/+54
| |
| * Fixed timer issue when failing to send handshakeMathias Hall-Andersen2017-10-173-38/+54
| | | | | | | | + Identified send4 issue
| * Initial implementation of source cachingMathias Hall-Andersen2017-10-1610-83/+84
| | | | | | | | Yet untested.