summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
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-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
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-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
2017-11-11Fixed blocking reader on closed socketMathias Hall-Andersen
2017-11-11Fixed port endiannessMathias Hall-Andersen
2017-10-27Fixed message header length in conn_linuxMathias Hall-Andersen
2017-10-17Fixed timer issue when failing to send handshakeMathias Hall-Andersen
+ Identified send4 issue
2017-10-16Initial implementation of source cachingMathias Hall-Andersen
Yet untested.
2017-10-08Added new UDPBind interfaceMathias Hall-Andersen
2017-10-07Begin incorporating new src cache into receiveMathias Hall-Andersen
2017-10-06Definition of platform specific socket bindMathias Hall-Andersen
2017-09-26Sleep to close fdJason A. Donenfeld
2017-09-26Clean up error handling of listen portJason A. Donenfeld
2017-09-26Simplified xplatform specJason A. Donenfeld
2017-09-24Begin work on source address caching (linux)Mathias Hall-Andersen
2017-09-21Fix up fwmark handlingJason A. Donenfeld
2017-09-20Added last_minute_handshake_guardMathias Hall-Andersen
- Added last_minute_handshake_guard and reverted keypair changes. - Added comment explaining the state of Go in releation to handling cryptographic state in memory. - Decreased logging level of netsh test
2017-09-09Improved readability of send/receive codeMathias Hall-Andersen
2017-09-03Fixed TUN interface implementation os OS XMathias Hall-Andersen
2017-09-01Fixed KDF testsMathias Hall-Andersen
2017-09-01Improved handling of key-materialMathias Hall-Andersen
2017-08-28Renamed config.go to follow general naming patternMathias Hall-Andersen
2017-08-27Added code from windows branchMathias Hall-Andersen
2017-08-25Added fwmark codeMathias Hall-Andersen
2017-08-22Add support for fwmark on linuxMathias Hall-Andersen
2017-08-22Update MTU based on netlink messages (linux)Mathias Hall-Andersen
2017-08-17Added missing IF index checkMathias Hall-Andersen
2017-08-17Detects interface status on linuxMathias Hall-Andersen
2017-08-14Improved test scriptMathias Hall-Andersen