aboutsummaryrefslogtreecommitdiff
path: root/src/uapi_linux.go (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-08-25Added fwmark codeMathias Hall-Andersen6-21/+75
2017-08-22Add support for fwmark on linuxMathias Hall-Andersen4-12/+44
2017-08-22Update MTU based on netlink messages (linux)Mathias Hall-Andersen3-41/+43
2017-08-17Added missing IF index checkMathias Hall-Andersen3-22/+37
2017-08-17Detects interface status on linuxMathias Hall-Andersen1-12/+147
2017-08-14Improved test scriptMathias Hall-Andersen1-3/+5
2017-08-14Improved cookie/mac computation codeMathias Hall-Andersen10-442/+523
2017-08-11Improved receive.goMathias Hall-Andersen16-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
2017-08-07Number of fixes in response to code reviewMathias Hall-Andersen12-397/+504
This version cannot complete a handshake. The program will panic upon receiving any message on the UDP socket.
2017-08-04First set of code review patchesMathias Hall-Andersen15-180/+313
2017-08-02Create /var/run/wireguard if non-existentMathias Hall-Andersen1-1/+15
2017-08-01Makefile: cleanup a bit and add clocJason A. Donenfeld1-5/+8
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-01Remove stale unix socketMathias Hall-Andersen1-1/+28
2017-08-01Close UAPI socket before exitMathias Hall-Andersen3-7/+29
2017-07-31Verify source addressMathias Hall-Andersen1-4/+4
2017-07-27Fixed shadowing bugMathias Hall-Andersen1-1/+1
2017-07-27Improved timer codeMathias Hall-Andersen6-188/+241
2017-07-23Close UDP connection when listen port changesMathias Hall-Andersen2-23/+14
2017-07-21Fixed UAPI deadlockMathias Hall-Andersen2-9/+4
2017-07-20Moved remaining platform dependent UAPI codeMathias Hall-Andersen4-35/+44
2017-07-19Reviewed and added OSX patchMathias Hall-Andersen3-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
2017-07-18Added last_handshake_time fields to UAPIMathias Hall-Andersen5-7/+23
2017-07-18Fixed file descriptor leak on linuxMathias Hall-Andersen2-4/+6
2017-07-17Fixed deadlock in index.goMathias Hall-Andersen8-151/+193
2017-07-15Added paddingMathias Hall-Andersen4-17/+77
Added plaintext padding and fixed default interface MTU
2017-07-15Conforming to the cross-platform UXMathias Hall-Andersen3-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.
2017-07-14Improved throughputMathias Hall-Andersen4-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.
2017-07-13Endpoint discovery from handshake initiationMathias Hall-Andersen1-0/+6
2017-07-13Terminate on interface deletionMathias Hall-Andersen9-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)
2017-07-12Restructured MAC/cookie calculationMathias Hall-Andersen7-96/+374
Added copy-right headers accidentally removed
2017-07-11Fixed MTU method for linux TUN interfaceMathias Hall-Andersen5-30/+69
Updated the TUN interface Added the "MTU" method for the linux implementation of the TUN interface
2017-07-11Added ratelimiting of handshake messagesMathias Hall-Andersen5-5/+248
2017-07-10Fixed incomming initiation bugMathias Hall-Andersen2-6/+7
2017-07-10Added replay protectionMathias Hall-Andersen7-42/+227
2017-07-08Improved timer state machineMathias Hall-Andersen10-222/+418
2017-07-08Added source verificationMathias Hall-Andersen5-44/+115
2017-07-07Fixed cookie reply processing bugMathias Hall-Andersen10-95/+173
2017-07-06Fixed broken testMathias Hall-Andersen6-15/+15
2017-07-06Initial working full exchangeMathias Hall-Andersen8-203/+186
The implementation is now capable of connecting to another wireguard instance, complete a handshake and exchange transport messages.
2017-07-02Fixed transport header problemMathias Hall-Andersen5-20/+32
2017-07-01Handshake negotiation functioningMathias Hall-Andersen10-82/+512
2017-06-30Removed exponential backoffMathias Hall-Andersen1-45/+29
2017-06-30Completed initial version of outbound flowMathias Hall-Andersen17-272/+476
2017-06-29Completed get/set configurationMathias Hall-Andersen6-80/+109
For debugging of "outbound flow" Mostly, a few things still missing
2017-06-28Work on UAPIMathias Hall-Andersen18-230/+694
Cross-platform API (get operation) Handshake initiation creation process Outbound packet flow Fixes from code-review
2017-06-27Implemented MAC1/2 calculationMathias Hall-Andersen13-85/+454
2017-06-26Begin implementation of outbound work queueMathias Hall-Andersen6-84/+181
2017-06-26Begin work on outbound packet flowMathias Hall-Andersen9-95/+315
2017-06-24Completed noise handshakeMathias Hall-Andersen5-44/+191
2017-06-24Restructuring of noise impl.Mathias Hall-Andersen10-122/+414