aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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.
| * Added new UDPBind interfaceMathias Hall-Andersen2017-10-086-216/+238
| |
| * Begin incorporating new src cache into receiveMathias Hall-Andersen2017-10-075-98/+165
| |
| * Definition of platform specific socket bindMathias Hall-Andersen2017-10-064-39/+197
| |
* | Close tun device with deviceAurélien Chabot2017-11-111-0/+1
|/
* Sleep to close fdJason A. Donenfeld2017-09-261-0/+5
|
* Clean up error handling of listen portJason A. Donenfeld2017-09-264-6/+6
|
* Simplified xplatform specJason A. Donenfeld2017-09-261-17/+9
|
* Begin work on source address caching (linux)Mathias Hall-Andersen2017-09-245-11/+273
|
* Fix up fwmark handlingJason A. Donenfeld2017-09-214-20/+30
|
* Added last_minute_handshake_guardMathias Hall-Andersen2017-09-207-91/+60
| | | | | | | - 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
* Improved readability of send/receive codeMathias Hall-Andersen2017-09-092-218/+178
|
* Fixed TUN interface implementation os OS XMathias Hall-Andersen2017-09-033-30/+91
|
* Fixed KDF testsMathias Hall-Andersen2017-09-012-7/+10
|
* Improved handling of key-materialMathias Hall-Andersen2017-09-017-91/+203
|
* Renamed config.go to follow general naming patternMathias Hall-Andersen2017-08-281-0/+0
|
* Added code from windows branchMathias Hall-Andersen2017-08-276-337/+896
|
* Added fwmark codeMathias Hall-Andersen2017-08-256-21/+75
|
* Add support for fwmark on linuxMathias Hall-Andersen2017-08-224-12/+44
|
* Update MTU based on netlink messages (linux)Mathias Hall-Andersen2017-08-223-41/+43
|
* Added missing IF index checkMathias Hall-Andersen2017-08-173-22/+37
|