summaryrefslogtreecommitdiff
path: root/src/peer.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Align with go library layoutMathias Hall-Andersen2018-02-041-295/+0
|
* Fixed testsMathias Hall-Andersen2018-02-021-16/+29
|
* Clear cryptographic state when interface downMathias Hall-Andersen2018-02-021-8/+36
| | | | | Attempts to clear the cryptographic state for every peer when the device goes down.
* Rework of entire locking systemMathias Hall-Andersen2018-02-021-27/+36
| | | | | | 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.
* Added initial version of peer teardownMathias Hall-Andersen2018-01-261-17/+51
| | | | | There is a double lock issue with device.Close which has yet to be resolved.
* Work on timer teardown + bug fixesMathias Hall-Andersen2018-01-131-19/+43
| | | | | Added waitgroups to peer struct for routine start / stop synchronisation
* Peer timer teardownMathias Hall-Andersen2017-12-291-11/+34
|
* Refactor timers.goMathias Hall-Andersen2017-11-301-31/+28
|
* Moved endpoint into interface and simplified peerMathias Hall-Andersen2017-11-181-12/+7
|
* Fixed message header length in conn_linuxMathias Hall-Andersen2017-10-271-0/+11
|
* Initial implementation of source cachingMathias Hall-Andersen2017-10-161-3/+21
| | | | Yet untested.
* Added new UDPBind interfaceMathias Hall-Andersen2017-10-081-3/+2
|
* Added last_minute_handshake_guardMathias Hall-Andersen2017-09-201-1/+4
| | | | | | | - 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
* Improved cookie/mac computation codeMathias Hall-Andersen2017-08-141-1/+1
|
* Number of fixes in response to code reviewMathias Hall-Andersen2017-08-071-6/+13
| | | | | This version cannot complete a handshake. The program will panic upon receiving any message on the UDP socket.
* Improved timer codeMathias Hall-Andersen2017-07-271-10/+10
|
* Added last_handshake_time fields to UAPIMathias Hall-Andersen2017-07-181-3/+6
|
* Terminate on interface deletionMathias Hall-Andersen2017-07-131-4/+15
| | | | | | | 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)
* Improved timer state machineMathias Hall-Andersen2017-07-081-6/+21
|
* Added source verificationMathias Hall-Andersen2017-07-081-2/+2
|
* Fixed broken testMathias Hall-Andersen2017-07-061-1/+1
|
* Initial working full exchangeMathias Hall-Andersen2017-07-061-3/+3
| | | | | | The implementation is now capable of connecting to another wireguard instance, complete a handshake and exchange transport messages.
* Handshake negotiation functioningMathias Hall-Andersen2017-07-011-4/+11
|
* Completed initial version of outbound flowMathias Hall-Andersen2017-06-301-22/+32
|
* Work on UAPIMathias Hall-Andersen2017-06-281-8/+38
| | | | | | | Cross-platform API (get operation) Handshake initiation creation process Outbound packet flow Fixes from code-review
* Implemented MAC1/2 calculationMathias Hall-Andersen2017-06-271-9/+2
|
* Begin implementation of outbound work queueMathias Hall-Andersen2017-06-261-2/+2
|
* Begin work on outbound packet flowMathias Hall-Andersen2017-06-261-9/+34
|
* Restructuring of noise impl.Mathias Hall-Andersen2017-06-241-11/+29
|
* Beginning work on TUN interfaceMathias Hall-Andersen2017-06-041-4/+6
| | | | | | | | | | 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.
* Inital implementation of trieMathias Hall-Andersen2017-06-011-0/+2
|
* Beginning work on UAPI and routing tableMathias Hall-Andersen2017-05-301-0/+18