aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Trie random testMathias Hall-Andersen2017-06-021-4/+10
| | | | Test trie against naive implementation of prefix routing.
* Added random test for trieMathias Hall-Andersen2017-06-021-0/+120
|
* Inital implementation of trieMathias Hall-Andersen2017-06-018-237/+323
|
* Merge branch 'master' of git.zx2c4.com:wireguard-goMathias Hall-Andersen2017-05-301-1/+1
|\
| * README: rust -> goPeter Wu2017-05-301-1/+1
| |
* | Beginning work on UAPI and routing tableMathias Hall-Andersen2017-05-308-0/+529
|/
* Initial scaffoldingJason A. Donenfeld2017-05-303-0/+540