summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
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
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-06Fixed broken testMathias 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-30Removed exponential backoffMathias 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
2017-06-24Completed noise handshakeMathias Hall-Andersen
2017-06-24Restructuring of noise impl.Mathias Hall-Andersen
2017-06-23Fixed missing typeMathias Hall-Andersen
2017-06-23Beginning work noise handshakeMathias Hall-Andersen
2017-06-04Beginning work on TUN interfaceMathias Hall-Andersen
And outbound routing I am not entirely convinced the use of net.IP is a good idea, since the internal representation of net.IP is a byte slice and all constructor functions in "net" return 16 byte slices (padded for IPv4), while the use in this project uses 4 byte slices. Which may be confusing.
2017-06-02Trie random testMathias Hall-Andersen
Test trie against naive implementation of prefix routing.