aboutsummaryrefslogtreecommitdiff
path: root/src/send.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rework of entire locking systemMathias Hall-Andersen2018-02-021-2/+6
| | | | | | 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-3/+5
| | | | | 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-3/+8
| | | | | Added waitgroups to peer struct for routine start / stop synchronisation
* Removed IFF_NO_PI from TUN linuxMathias Hall-Andersen2017-12-041-3/+4
| | | | | | | | This change was needed for the Linux TUN status hack to work properly (not increment the error counter). This commit also updates the TUN interface to allow for the construction / removal of the TUN info headers in-place.
* More consistent use of signal structMathias Hall-Andersen2017-12-011-9/+14
|
* Refactor timers.goMathias Hall-Andersen2017-11-301-8/+11
|
* Fixed message header length in conn_linuxMathias Hall-Andersen2017-10-271-12/+0
|
* Initial implementation of source cachingMathias Hall-Andersen2017-10-161-14/+5
| | | | Yet untested.
* Added last_minute_handshake_guardMathias Hall-Andersen2017-09-201-18/+7
| | | | | | | - 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 readability of send/receive codeMathias Hall-Andersen2017-09-091-104/+63
|
* Improved handling of key-materialMathias Hall-Andersen2017-09-011-6/+13
|
* Added fwmark codeMathias Hall-Andersen2017-08-251-10/+7
|
* Improved receive.goMathias Hall-Andersen2017-08-111-7/+2
| | | | | | | | | | | - 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
* Number of fixes in response to code reviewMathias Hall-Andersen2017-08-071-2/+1
| | | | | This version cannot complete a handshake. The program will panic upon receiving any message on the UDP socket.
* First set of code review patchesMathias Hall-Andersen2017-08-041-17/+34
|
* Improved timer codeMathias Hall-Andersen2017-07-271-32/+42
|
* Added last_handshake_time fields to UAPIMathias Hall-Andersen2017-07-181-1/+2
|
* Fixed file descriptor leak on linuxMathias Hall-Andersen2017-07-181-4/+2
|
* Fixed deadlock in index.goMathias Hall-Andersen2017-07-171-36/+45
|
* Added paddingMathias Hall-Andersen2017-07-151-9/+14
| | | | Added plaintext padding and fixed default interface MTU
* Improved throughputMathias Hall-Andersen2017-07-141-17/+22
| | | | | | - Improved performance by adding the message buffers to a sync.Pool. - Fixed issue with computing "next" key-pair upon receiving a response message.
* Terminate on interface deletionMathias Hall-Andersen2017-07-131-29/+40
| | | | | | | 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-20/+38
|
* Added source verificationMathias Hall-Andersen2017-07-081-1/+1
|
* Fixed cookie reply processing bugMathias Hall-Andersen2017-07-071-31/+28
|
* Initial working full exchangeMathias Hall-Andersen2017-07-061-101/+87
| | | | | | 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-021-10/+17
|
* Handshake negotiation functioningMathias Hall-Andersen2017-07-011-10/+34
|
* Completed initial version of outbound flowMathias Hall-Andersen2017-06-301-66/+140
|
* Completed get/set configurationMathias Hall-Andersen2017-06-291-3/+5
| | | | | For debugging of "outbound flow" Mostly, a few things still missing
* Work on UAPIMathias Hall-Andersen2017-06-281-75/+140
| | | | | | | Cross-platform API (get operation) Handshake initiation creation process Outbound packet flow Fixes from code-review
* Implemented MAC1/2 calculationMathias Hall-Andersen2017-06-271-7/+9
|
* Begin implementation of outbound work queueMathias Hall-Andersen2017-06-261-46/+78
|
* Begin work on outbound packet flowMathias Hall-Andersen2017-06-261-0/+154