summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
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-10-06Definition of platform specific socket bindMathias Hall-Andersen
2017-09-26Sleep to close fdJason A. Donenfeld
2017-09-26Clean up error handling of listen portJason A. Donenfeld
2017-09-26Simplified xplatform specJason A. Donenfeld
2017-09-24Begin work on source address caching (linux)Mathias Hall-Andersen
2017-09-21Fix up fwmark handlingJason A. Donenfeld
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-03Fixed TUN interface implementation os OS XMathias Hall-Andersen
2017-09-01Fixed KDF testsMathias Hall-Andersen
2017-09-01Improved handling of key-materialMathias Hall-Andersen
2017-08-28Renamed config.go to follow general naming patternMathias Hall-Andersen
2017-08-27Added code from windows branchMathias Hall-Andersen
2017-08-25Added fwmark codeMathias Hall-Andersen
2017-08-22Add support for fwmark on linuxMathias Hall-Andersen
2017-08-22Update MTU based on netlink messages (linux)Mathias Hall-Andersen
2017-08-17Added missing IF index checkMathias Hall-Andersen
2017-08-17Detects interface status on linuxMathias Hall-Andersen
2017-08-14Improved test scriptMathias 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-08-02Merge branch 'master' of git.zx2c4.com:wireguard-goMathias Hall-Andersen
2017-08-02Create /var/run/wireguard if non-existentMathias Hall-Andersen
2017-08-01Makefile: cleanup a bit and add clocJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-01Remove stale unix socketMathias Hall-Andersen
2017-08-01Close UAPI socket before exitMathias Hall-Andersen
2017-07-31Verify source addressMathias Hall-Andersen
2017-07-27Fixed shadowing bugMathias Hall-Andersen
2017-07-27Merge branch 'master' of git.zx2c4.com:wireguard-goMathias Hall-Andersen
2017-07-27Improved timer codeMathias Hall-Andersen
2017-07-23Close UDP connection when listen port changesMathias Hall-Andersen
2017-07-23Merge branch 'darwin'Mathias Hall-Andersen
2017-07-21Fixed UAPI deadlockMathias Hall-Andersen
2017-07-20Moved remaining platform dependent UAPI codeMathias Hall-Andersen
2017-07-19Reviewed and added OSX patchMathias Hall-Andersen
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
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-15Conforming to the cross-platform UXMathias Hall-Andersen
The implementation now terminates when the unix socket is deleted. Currently we are unable to use fsnotify (on linux), since it does not notify on the deletion of open files. The implementation can now daemonize (on linux) or be kept in the foreground by providing the necessary flag.
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-12Restructured MAC/cookie calculationMathias Hall-Andersen
Added copy-right headers accidentally removed
2017-07-11Fixed MTU method for linux TUN interfaceMathias Hall-Andersen
Updated the TUN interface Added the "MTU" method for the linux implementation of the TUN interface