summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Added ratelimiting of handshake messagesMathias Hall-Andersen2017-07-115-5/+248
|
* Fixed incomming initiation bugMathias Hall-Andersen2017-07-102-6/+7
|
* Added replay protectionMathias Hall-Andersen2017-07-107-42/+227
|
* Improved timer state machineMathias Hall-Andersen2017-07-0810-222/+418
|
* Added source verificationMathias Hall-Andersen2017-07-085-44/+115
|
* Fixed cookie reply processing bugMathias Hall-Andersen2017-07-0710-95/+173
|
* Fixed broken testMathias Hall-Andersen2017-07-066-15/+15
|
* Initial working full exchangeMathias Hall-Andersen2017-07-068-203/+186
| | | | | | The implementation is now capable of connecting to another wireguard instance, complete a handshake and exchange transport messages.
* Fixed transport header problemMathias Hall-Andersen2017-07-025-20/+32
|
* Handshake negotiation functioningMathias Hall-Andersen2017-07-0110-82/+512
|
* Removed exponential backoffMathias Hall-Andersen2017-06-301-45/+29
|
* Completed initial version of outbound flowMathias Hall-Andersen2017-06-3017-272/+476
|
* Completed get/set configurationMathias Hall-Andersen2017-06-296-80/+109
| | | | | For debugging of "outbound flow" Mostly, a few things still missing
* Work on UAPIMathias Hall-Andersen2017-06-2818-230/+694
| | | | | | | Cross-platform API (get operation) Handshake initiation creation process Outbound packet flow Fixes from code-review
* Implemented MAC1/2 calculationMathias Hall-Andersen2017-06-2713-85/+454
|
* Begin implementation of outbound work queueMathias Hall-Andersen2017-06-266-84/+181
|
* Begin work on outbound packet flowMathias Hall-Andersen2017-06-269-95/+315
|
* Completed noise handshakeMathias Hall-Andersen2017-06-245-44/+191
|
* Restructuring of noise impl.Mathias Hall-Andersen2017-06-2410-122/+414
|
* Fixed missing typeMathias Hall-Andersen2017-06-231-2/+4
|
* Beginning work noise handshakeMathias Hall-Andersen2017-06-237-4/+422
|
* Beginning work on TUN interfaceMathias Hall-Andersen2017-06-049-62/+290
| | | | | | | | | | And outbound routing I am not entirely convinced the use of net.IP is a good idea, since the internal representation of net.IP is a byte slice and all constructor functions in "net" return 16 byte slices (padded for IPv4), while the use in this project uses 4 byte slices. Which may be confusing.