Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-05-03 | Start to dust off Darwin | Jason A. Donenfeld | 8 | -175/+202 | |
2018-05-01 | Add missing locks and fix debug output, and try to flush queues | Jason A. Donenfeld | 5 | -42/+116 | |
Flushing queues on exit is sort of a partial solution, but this could be better. Really what we want is for no more packets to be enqueued after isUp is set to false. | |||||
2018-04-27 | Clear src cache if route changes to new ifindex | Jason A. Donenfeld | 2 | -14/+151 | |
2018-04-27 | Fix error handling and cleanup of netlink listener | Jason A. Donenfeld | 1 | -22/+29 | |
2018-04-20 | Fix wrong debug messages | Jason A. Donenfeld | 1 | -1/+3 | |
2018-04-20 | Rework sticky sockets | Jason A. Donenfeld | 3 | -269/+150 | |
2018-04-20 | Check for correct first nibble | Jason A. Donenfeld | 1 | -1/+1 | |
The code before assumed that the flow label was always zero. | |||||
2018-04-20 | Signal using select and a pipe for bringing down TUN reader | Jason A. Donenfeld | 1 | -9/+104 | |
Waiting on resolution of these to fix in better way: - https://github.com/golang/go/issues/22939 - https://github.com/golang/go/issues/24331 | |||||
2018-04-19 | We can determine the interface name ourselves | Jason A. Donenfeld | 2 | -4/+8 | |
2018-04-19 | Do not hard code MTU default | Jason A. Donenfeld | 1 | -2/+2 | |
2018-04-18 | Fixed read from closed channel | Mathias Hall-Andersen | 4 | -10/+26 | |
A premature waitgroup .Done resulted in reading from closed channel. This caused a nil-pointer deref & crash. Added additional debugging when closing routines. | |||||
2018-04-18 | Allow determining name | Jason A. Donenfeld | 3 | -7/+28 | |
2018-04-18 | Use socketcall on x86 | Jason A. Donenfeld | 3 | -44/+89 | |
2018-04-18 | Use simple 16-bit integer for persistent keepalive | Jason A. Donenfeld | 3 | -11/+8 | |
Races for this aren't a huge problem. | |||||
2018-04-18 | Align 64-bit atomics | Jason A. Donenfeld | 2 | -2/+2 | |
64-bit varibles that are accessed using the Go atomic functions must be 8-byte aligned on 32-bit platforms. Otherwise there are crashes. | |||||
2018-03-08 | Begin work on full device<->device unit-test | Mathias Hall-Andersen | 4 | -1/+142 | |
To simulate a full interaction between two WireGuard instances without networking, using dummy instances of the interfaces | |||||
2018-02-28 | Support nopi mode | Jason A. Donenfeld | 1 | -16/+27 | |
2018-02-18 | Close tun fd when bringing down tunnel | Jason A. Donenfeld | 1 | -1/+1 | |
2018-02-18 | Fix timer typo | Jason A. Donenfeld | 1 | -1/+1 | |
2018-02-18 | Seperated fwmark update code into function | Mathias Hall-Andersen | 2 | -9/+34 | |
2018-02-13 | MPLv2 for App Store | Jason A. Donenfeld | 1 | -1/+10 | |
2018-02-13 | Reimplemented bind_rtmgrp in pure Go | Dominik Süß | 1 | -40/+30 | |
Getting rid of the Cgo dependency for listing on netlink. Ported original patch from "syscall" to "golang.org/x/sys/unix". Signed-off-by: Dominik Süß <dominik.suess@outlook.at> Co-Authored-By: Mathias Hall-Andersen <mathias@hall-andersen.dk> | |||||
2018-02-12 | Use relative imports | Jason A. Donenfeld | 9 | -3/+3 | |
2018-02-12 | Revert "Don't use modules" | Mathias Hall-Andersen | 9 | -20/+23 | |
This reverts commit bffe99aeadae09abd02f2bd3184925af6b680535. | |||||
2018-02-12 | Don't use modules | Jason A. Donenfeld | 9 | -23/+20 | |
Feel free to revert this if you have a strong feeling about it. But so far as I can see, it adds a lot of complexity for basically no upsides. | |||||
2018-02-11 | Moved test-processes to background | Mathias Hall-Andersen | 1 | -2/+2 | |
2018-02-11 | TUN status hack was causing spam during shutdown | Mathias Hall-Andersen | 4 | -36/+39 | |
2018-02-11 | Added missing mutex acquisition | Mathias Hall-Andersen | 1 | -0/+3 | |
2018-02-11 | Removed exported methods from ratelimiter package | Mathias Hall-Andersen | 2 | -42/+38 | |
2018-02-11 | Moved ratelimiter to internal package | Mathias Hall-Andersen | 6 | -24/+60 | |
2018-02-11 | Moved tai64n into sub-package | Mathias Hall-Andersen | 3 | -48/+47 | |
2018-02-11 | Fixed tabs | Mathias Hall-Andersen | 4 | -392/+392 | |
2018-02-11 | Reverted event changes | Mathias Hall-Andersen | 3 | -57/+18 | |
This feature was not needed for Android, upon further inspection. | |||||
2018-02-09 | Started migration to sub-packages | Mathias Hall-Andersen | 6 | -29/+69 | |
2018-02-07 | Go treats underscores specially | Jason A. Donenfeld | 3 | -0/+0 | |
In case there's ever a platform called helpers or protocol, we don't want to be doing this. | |||||
2018-02-04 | Work on logging format | Mathias Hall-Andersen | 7 | -32/+51 | |
2018-02-04 | Removed debugging locks | Mathias Hall-Andersen | 2 | -48/+39 | |
2018-02-04 | Align with go library layout | Mathias Hall-Andersen | 50 | -4/+4 | |
2018-02-02 | Fixed tests | Mathias Hall-Andersen | 3 | -22/+35 | |
2018-02-02 | Clear cryptographic state when interface down | Mathias Hall-Andersen | 5 | -41/+58 | |
Attempts to clear the cryptographic state for every peer when the device goes down. | |||||
2018-02-02 | Rework of entire locking system | Mathias Hall-Andersen | 10 | -224/+371 | |
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. |