aboutsummaryrefslogtreecommitdiff
path: root/src/xchacha20.go (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-11-19Better naming of bind helpersMathias Hall-Andersen4-10/+11
2017-11-19Implemented missing methods for Bind and EndpointMathias Hall-Andersen1-18/+52
2017-11-19Begin generic Bind implementationMathias Hall-Andersen4-54/+99
2017-11-18Moved endpoint into interface and simplified peerMathias Hall-Andersen6-80/+101
2017-11-17Ported remaining netns.shMathias Hall-Andersen13-28/+194
- Ported remaining netns.sh tests - Begin work on generic implementation of bind interface
2017-11-17Allows passing UAPI fd to serviceMathias Hall-Andersen3-67/+111
2017-11-14Moved TUN device creation to pre-forkMathias Hall-Andersen6-58/+110
2017-11-14Initial working source cachingMathias Hall-Andersen6-54/+63
2017-11-11Fixed blocking reader on closed socketMathias Hall-Andersen4-23/+32
2017-11-11Fixed port endiannessMathias Hall-Andersen4-132/+151
2017-11-11Close tun device with deviceAurélien Chabot1-0/+1
2017-10-27Fixed message header length in conn_linuxMathias Hall-Andersen6-26/+54
2017-10-17Fixed timer issue when failing to send handshakeMathias Hall-Andersen3-38/+54
+ Identified send4 issue
2017-10-16Initial implementation of source cachingMathias Hall-Andersen10-83/+84
Yet untested.
2017-10-08Added new UDPBind interfaceMathias Hall-Andersen6-216/+238
2017-10-07Begin incorporating new src cache into receiveMathias Hall-Andersen5-98/+165
2017-10-06Definition of platform specific socket bindMathias Hall-Andersen4-39/+197
2017-09-26Sleep to close fdJason A. Donenfeld1-0/+5
2017-09-26Clean up error handling of listen portJason A. Donenfeld4-6/+6
2017-09-26Simplified xplatform specJason A. Donenfeld1-17/+9
2017-09-24Begin work on source address caching (linux)Mathias Hall-Andersen5-11/+273
2017-09-21Fix up fwmark handlingJason A. Donenfeld4-20/+30
2017-09-20Added last_minute_handshake_guardMathias Hall-Andersen7-91/+60
- 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-Andersen2-218/+178
2017-09-03Fixed TUN interface implementation os OS XMathias Hall-Andersen3-30/+91
2017-09-01Fixed KDF testsMathias Hall-Andersen2-7/+10
2017-09-01Improved handling of key-materialMathias Hall-Andersen7-91/+203
2017-08-28Renamed config.go to follow general naming patternMathias Hall-Andersen1-0/+0
2017-08-27Added code from windows branchMathias Hall-Andersen6-337/+896
2017-08-25Added fwmark codeMathias Hall-Andersen6-21/+75
2017-08-22Add support for fwmark on linuxMathias Hall-Andersen4-12/+44
2017-08-22Update MTU based on netlink messages (linux)Mathias Hall-Andersen3-41/+43
2017-08-17Added missing IF index checkMathias Hall-Andersen3-22/+37
2017-08-17Detects interface status on linuxMathias Hall-Andersen1-12/+147
2017-08-14Improved test scriptMathias Hall-Andersen1-3/+5
2017-08-14Improved cookie/mac computation codeMathias Hall-Andersen10-442/+523
2017-08-11Improved receive.goMathias Hall-Andersen16-217/+615
- 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-Andersen12-397/+504
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-Andersen15-180/+313
2017-08-02Create /var/run/wireguard if non-existentMathias Hall-Andersen1-1/+15
2017-08-01Makefile: cleanup a bit and add clocJason A. Donenfeld1-5/+8
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-01Remove stale unix socketMathias Hall-Andersen1-1/+28
2017-08-01Close UAPI socket before exitMathias Hall-Andersen3-7/+29
2017-07-31Verify source addressMathias Hall-Andersen1-4/+4
2017-07-27Fixed shadowing bugMathias Hall-Andersen1-1/+1
2017-07-27Improved timer codeMathias Hall-Andersen6-188/+241
2017-07-23Close UDP connection when listen port changesMathias Hall-Andersen2-23/+14
2017-07-21Fixed UAPI deadlockMathias Hall-Andersen2-9/+4
2017-07-20Moved remaining platform dependent UAPI codeMathias Hall-Andersen4-35/+44
2017-07-19Reviewed and added OSX patchMathias Hall-Andersen3-0/+370
The patch was provided by: Naveen Nathan <naveen@lastninja.net> The following modifications to the patch was made: - Added copyright notice - Fixed file descriptor leak in .MTU() method - Migrated to the new(er) golang.org/x/sys/unix package - Removed non-functioning Daemonize method