aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
|
* Detects interface status on linuxMathias Hall-Andersen2017-08-171-12/+147
|
* Improved test scriptMathias Hall-Andersen2017-08-141-3/+5
|
* Improved cookie/mac computation codeMathias Hall-Andersen2017-08-1410-442/+523
|
* Improved receive.goMathias Hall-Andersen2017-08-1116-217/+615
| | | | | | | | | | | - Fixed configuration listen-port semantics - Improved receive.go code for updating listen port - Updated under load detection, how follows the kernel space implementation - Fixed trie bug accidentally introduced in last commit - Added interface name to log (format still subject to change) - Can now configure the logging level using the LOG_LEVEL variable - Begin porting netsh.sh tests - A number of smaller changes
* Number of fixes in response to code reviewMathias Hall-Andersen2017-08-0712-397/+504
| | | | | This version cannot complete a handshake. The program will panic upon receiving any message on the UDP socket.
* First set of code review patchesMathias Hall-Andersen2017-08-0415-180/+313
|
* Merge branch 'master' of git.zx2c4.com:wireguard-goMathias Hall-Andersen2017-08-021-5/+8
|\
| * Makefile: cleanup a bit and add clocJason A. Donenfeld2017-08-011-5/+8
| | | | | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* | Create /var/run/wireguard if non-existentMathias Hall-Andersen2017-08-021-1/+15
|/
* Remove stale unix socketMathias Hall-Andersen2017-08-011-1/+28
|
* Close UAPI socket before exitMathias Hall-Andersen2017-08-013-7/+29
|
* Verify source addressMathias Hall-Andersen2017-07-311-4/+4
|
* Fixed shadowing bugMathias Hall-Andersen2017-07-271-1/+1
|
* Merge branch 'master' of git.zx2c4.com:wireguard-goMathias Hall-Andersen2017-07-274-22/+380
|\
| * Close UDP connection when listen port changesMathias Hall-Andersen2017-07-232-23/+14
| |
| * Merge branch 'darwin'Mathias Hall-Andersen2017-07-235-9/+374
| |\
| | * Fixed UAPI deadlockMathias Hall-Andersen2017-07-212-9/+4
| | |
| | * Reviewed and added OSX patchMathias Hall-Andersen2017-07-193-0/+370
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch was provided by: Naveen Nathan <naveen@lastninja.net> The following modifications to the patch was made: - Added copyright notice - Fixed file descriptor leak in .MTU() method - Migrated to the new(er) golang.org/x/sys/unix package - Removed non-functioning Daemonize method
* | | Improved timer codeMathias Hall-Andersen2017-07-276-188/+241
|/ /
* | Moved remaining platform dependent UAPI codeMathias Hall-Andersen2017-07-204-35/+44
| |
* | Added last_handshake_time fields to UAPIMathias Hall-Andersen2017-07-185-7/+23
| |
* | Fixed file descriptor leak on linuxMathias Hall-Andersen2017-07-182-4/+6
|/
* Fixed deadlock in index.goMathias Hall-Andersen2017-07-178-151/+193
|
* Added paddingMathias Hall-Andersen2017-07-154-17/+77
| | | | Added plaintext padding and fixed default interface MTU
* Conforming to the cross-platform UXMathias Hall-Andersen2017-07-153-25/+165
| | | | | | | | | The implementation now terminates when the unix socket is deleted. Currently we are unable to use fsnotify (on linux), since it does not notify on the deletion of open files. The implementation can now daemonize (on linux) or be kept in the foreground by providing the necessary flag.
* Improved throughputMathias Hall-Andersen2017-07-144-41/+79
| | | | | | - Improved performance by adding the message buffers to a sync.Pool. - Fixed issue with computing "next" key-pair upon receiving a response message.
* Endpoint discovery from handshake initiationMathias Hall-Andersen2017-07-131-0/+6
|
* Terminate on interface deletionMathias Hall-Andersen2017-07-139-97/+132
| | | | | | | Program now terminates when the interface is removed Increases the number of os threads (relevant for Go <1.5, not tested) More consistent commenting Improved logging (additional peer information)
* Restructured MAC/cookie calculationMathias Hall-Andersen2017-07-127-96/+374
| | | | Added copy-right headers accidentally removed
* Fixed MTU method for linux TUN interfaceMathias Hall-Andersen2017-07-115-30/+69
| | | | | Updated the TUN interface Added the "MTU" method for the linux implementation of the TUN interface