summaryrefslogtreecommitdiffhomepage
path: root/src/send.go
AgeCommit message (Collapse)Author
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-04Removed IFF_NO_PI from TUN linuxMathias Hall-Andersen
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.
2017-12-01More consistent use of signal structMathias Hall-Andersen
2017-11-30Refactor timers.goMathias 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-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-09-09Improved readability of send/receive codeMathias Hall-Andersen
2017-09-01Improved handling of key-materialMathias Hall-Andersen
2017-08-25Added fwmark 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-07-27Improved timer codeMathias Hall-Andersen
2017-07-18Added last_handshake_time fields to UAPIMathias Hall-Andersen
2017-07-18Fixed file descriptor leak on linuxMathias 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-08Improved timer state machineMathias Hall-Andersen
2017-07-08Added source verificationMathias Hall-Andersen
2017-07-07Fixed cookie reply processing bugMathias 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-02Fixed transport header problemMathias Hall-Andersen
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