summaryrefslogtreecommitdiffhomepage
path: root/src/device.go
AgeCommit message (Collapse)Author
2018-02-04Align with go library layoutMathias Hall-Andersen
2018-02-02Clear cryptographic state when interface downMathias Hall-Andersen
Attempts to clear the cryptographic state for every peer when the device goes down.
2018-02-02Rework of entire locking systemMathias Hall-Andersen
Locking on the Device instance is now much more fined-grained, seperating out the fields into "resources" st. most common interactions only require a small number.
2018-01-26Added initial version of peer teardownMathias Hall-Andersen
There is a double lock issue with device.Close which has yet to be resolved.
2018-01-13Work on timer teardown + bug fixesMathias Hall-Andersen
Added waitgroups to peer struct for routine start / stop synchronisation
2017-12-29Peer timer teardownMathias Hall-Andersen
2017-12-01More consistent use of signal structMathias Hall-Andersen
2017-11-29Fixed typosMathias Hall-Andersen
2017-11-19Better naming of bind helpersMathias Hall-Andersen
2017-11-18Moved endpoint into interface and simplified peerMathias Hall-Andersen
2017-11-17Ported remaining netns.shMathias Hall-Andersen
- Ported remaining netns.sh tests - Begin work on generic implementation of bind interface
2017-11-14Moved TUN device creation to pre-forkMathias Hall-Andersen
2017-11-14Initial working source cachingMathias Hall-Andersen
2017-11-11Fixed blocking reader on closed socketMathias Hall-Andersen
2017-11-11Fixed port endiannessMathias Hall-Andersen
2017-10-16Initial implementation of source cachingMathias Hall-Andersen
Yet untested.
2017-10-08Added new UDPBind interfaceMathias Hall-Andersen
2017-10-07Begin incorporating new src cache into receiveMathias Hall-Andersen
2017-09-21Fix up fwmark handlingJason A. Donenfeld
2017-08-22Add support for fwmark on linuxMathias Hall-Andersen
2017-08-22Update MTU based on netlink messages (linux)Mathias Hall-Andersen
2017-08-17Added missing IF index checkMathias Hall-Andersen
2017-08-14Improved cookie/mac computation codeMathias Hall-Andersen
2017-08-11Improved receive.goMathias Hall-Andersen
- 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-Andersen
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-Andersen
2017-08-01Close UAPI socket before exitMathias Hall-Andersen
2017-07-17Fixed deadlock in index.goMathias Hall-Andersen
2017-07-15Added paddingMathias Hall-Andersen
Added plaintext padding and fixed default interface MTU
2017-07-14Improved throughputMathias Hall-Andersen
- 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-13Terminate on interface deletionMathias Hall-Andersen
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-11Fixed MTU method for linux TUN interfaceMathias Hall-Andersen
Updated the TUN interface Added the "MTU" method for the linux implementation of the TUN interface
2017-07-11Added ratelimiting of handshake messagesMathias Hall-Andersen
2017-07-08Improved timer state machineMathias Hall-Andersen
2017-07-08Added source verificationMathias Hall-Andersen
2017-07-07Fixed cookie reply processing bugMathias Hall-Andersen
2017-07-06Fixed broken testMathias Hall-Andersen
2017-07-06Initial working full exchangeMathias Hall-Andersen
The implementation is now capable of connecting to another wireguard instance, complete a handshake and exchange transport messages.
2017-07-01Handshake negotiation functioningMathias Hall-Andersen
2017-06-30Completed initial version of outbound flowMathias Hall-Andersen
2017-06-29Completed get/set configurationMathias Hall-Andersen
For debugging of "outbound flow" Mostly, a few things still missing
2017-06-28Work on UAPIMathias Hall-Andersen
Cross-platform API (get operation) Handshake initiation creation process Outbound packet flow Fixes from code-review
2017-06-27Implemented MAC1/2 calculationMathias Hall-Andersen
2017-06-26Begin implementation of outbound work queueMathias Hall-Andersen
2017-06-26Begin work on outbound packet flowMathias Hall-Andersen
2017-06-24Restructuring of noise impl.Mathias Hall-Andersen
2017-06-23Beginning work noise handshakeMathias Hall-Andersen
2017-06-01Inital implementation of trieMathias Hall-Andersen
2017-05-30Beginning work on UAPI and routing tableMathias Hall-Andersen