summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Better naming of bind helpersMathias Hall-Andersen2017-11-194-10/+11
|
* 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
|
* 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