summaryrefslogtreecommitdiffhomepage
path: root/src/receive.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-16Fixed potential DoS issueMathias Hall-Andersen
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-12-01Fixed receive path infinite loopMathias Hall-Andersen
2017-11-30Refactor timers.goMathias Hall-Andersen
2017-11-29Added cross namespace TUN status detectionMathias 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-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-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-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-07-31Verify source addressMathias Hall-Andersen
2017-07-27Improved timer codeMathias Hall-Andersen
2017-07-18Added last_handshake_time fields to UAPIMathias Hall-Andersen
2017-07-17Fixed deadlock in index.goMathias Hall-Andersen
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-13Endpoint discovery from handshake initiationMathias 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-11Added ratelimiting of handshake messagesMathias Hall-Andersen
2017-07-10Fixed incomming initiation bugMathias Hall-Andersen
2017-07-10Added replay protectionMathias 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-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