summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-02-18Close tun fd when bringing down tunnelJason A. Donenfeld
2018-02-18Fix timer typoJason A. Donenfeld
2018-02-18Seperated fwmark update code into functionMathias Hall-Andersen
2018-02-13MPLv2 for App StoreJason A. Donenfeld
2018-02-13Reimplemented bind_rtmgrp in pure GoDominik Süß
Getting rid of the Cgo dependency for listing on netlink. Ported original patch from "syscall" to "golang.org/x/sys/unix". Signed-off-by: Dominik Süß <dominik.suess@outlook.at> Co-Authored-By: Mathias Hall-Andersen <mathias@hall-andersen.dk>
2018-02-12Use relative importsJason A. Donenfeld
2018-02-12Revert "Don't use modules"Mathias Hall-Andersen
This reverts commit bffe99aeadae09abd02f2bd3184925af6b680535.
2018-02-12Don't use modulesJason A. Donenfeld
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.
2018-02-11Moved test-processes to backgroundMathias Hall-Andersen
2018-02-11TUN status hack was causing spam during shutdownMathias Hall-Andersen
2018-02-11Added missing mutex acquisitionMathias Hall-Andersen
2018-02-11Removed exported methods from ratelimiter packageMathias Hall-Andersen
2018-02-11Moved ratelimiter to internal packageMathias Hall-Andersen
2018-02-11Moved tai64n into sub-packageMathias Hall-Andersen
2018-02-11Fixed tabsMathias Hall-Andersen
2018-02-11Reverted event changesMathias Hall-Andersen
This feature was not needed for Android, upon further inspection.
2018-02-09Started migration to sub-packagesMathias Hall-Andersen
2018-02-07Go treats underscores speciallyJason A. Donenfeld
In case there's ever a platform called helpers or protocol, we don't want to be doing this.
2018-02-04Work on logging formatMathias Hall-Andersen
2018-02-04Merge branch 'master' into timer-teardownMathias Hall-Andersen
2018-02-04Removed debugging locksMathias Hall-Andersen
2018-02-04Align with go library layoutMathias Hall-Andersen
2018-02-02Fixed testsMathias Hall-Andersen
2018-02-02Clear cryptographic state when interface downMathias Hall-Andersen
Attempts to clear the cryptographic state for every peer when the device goes down.
2018-02-02Rework of entire locking systemMathias Hall-Andersen
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.
2018-02-01Merge branch 'timer-teardown' of git.zx2c4.com:wireguard-go into timer-teardownMathias Hall-Andersen
2018-01-31Added binary to .gitignoreMathias Hall-Andersen
2018-01-26Added initial version of peer teardownMathias Hall-Andersen
There is a double lock issue with device.Close which has yet to be resolved.
2018-01-16Fixed potential DoS issueMathias Hall-Andersen
2018-01-13Work on timer teardown + bug fixesMathias Hall-Andersen
Added waitgroups to peer struct for routine start / stop synchronisation
2018-01-09Fixed fwmark update without device status changeMathias Hall-Andersen
An update of the fwmark was missing, when the device was not bought up after the change.
2018-01-04Revert "Peer timer teardown"Mathias Hall-Andersen
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.
2017-12-29Peer timer teardownMathias Hall-Andersen
2017-12-04Removed IFF_NO_PI from TUN linuxMathias Hall-Andersen
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.
2017-12-02Removed profiler codeMathias Hall-Andersen
2017-12-01More consistent use of signal structMathias Hall-Andersen
2017-12-01Fixed receive path infinite loopMathias Hall-Andersen
2017-11-30Added missing exit codesMathias Hall-Andersen
2017-11-30Refactor timers.goMathias Hall-Andersen
2017-11-29Fixed typosMathias Hall-Andersen
2017-11-29Added cross namespace TUN status detectionMathias Hall-Andersen
2017-11-19Better naming of bind helpersMathias Hall-Andersen
2017-11-19Merge branch 'source-caching'Mathias Hall-Andersen
2017-11-19Implemented missing methods for Bind and EndpointMathias Hall-Andersen
2017-11-19Begin generic Bind implementationMathias Hall-Andersen
2017-11-18Moved endpoint into interface and simplified peerMathias Hall-Andersen
2017-11-17Ported remaining netns.shMathias Hall-Andersen
- Ported remaining netns.sh tests - Begin work on generic implementation of bind interface
2017-11-17Allows passing UAPI fd to serviceMathias Hall-Andersen
2017-11-14Moved TUN device creation to pre-forkMathias Hall-Andersen
2017-11-14Initial working source cachingMathias Hall-Andersen