summaryrefslogtreecommitdiffhomepage
path: root/src/peer.go
AgeCommit message (Collapse)Author
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-11-30Refactor timers.goMathias Hall-Andersen
2017-11-18Moved endpoint into interface and simplified peerMathias Hall-Andersen
2017-10-27Fixed message header length in conn_linuxMathias Hall-Andersen
2017-10-16Initial implementation of source cachingMathias Hall-Andersen
Yet untested.
2017-10-08Added new UDPBind interfaceMathias Hall-Andersen
2017-09-20Added last_minute_handshake_guardMathias Hall-Andersen
- 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
2017-08-14Improved cookie/mac computation codeMathias Hall-Andersen
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-07-27Improved timer codeMathias Hall-Andersen
2017-07-18Added last_handshake_time fields to UAPIMathias Hall-Andersen
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-08Improved timer state machineMathias Hall-Andersen
2017-07-08Added source verificationMathias 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-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-04Beginning work on TUN interfaceMathias Hall-Andersen
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.
2017-06-01Inital implementation of trieMathias Hall-Andersen
2017-05-30Beginning work on UAPI and routing tableMathias Hall-Andersen