Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Look up route for every peer | Jason A. Donenfeld | 2018-05-14 | 3 | -61/+90 |
| | |||||
* | Ensure go routines can exit | Jason A. Donenfeld | 2018-05-14 | 2 | -49/+52 |
| | |||||
* | Send event on erroring kqueue | Jason A. Donenfeld | 2018-05-14 | 1 | -0/+5 |
| | |||||
* | Introduce rwcancel | Jason A. Donenfeld | 2018-05-14 | 5 | -75/+170 |
| | |||||
* | Prettier abbreviation | Jason A. Donenfeld | 2018-05-13 | 1 | -1/+1 |
| | |||||
* | More refactoring | Jason A. Donenfeld | 2018-05-13 | 9 | -250/+218 |
| | |||||
* | More odds and ends | Jason A. Donenfeld | 2018-05-13 | 4 | -36/+44 |
| | |||||
* | Fix up tests | Jason A. Donenfeld | 2018-05-13 | 1 | -2/+2 |
| | |||||
* | Odds and ends | Jason A. Donenfeld | 2018-05-13 | 16 | -164/+139 |
| | |||||
* | Cleanup ratelimiter | Jason A. Donenfeld | 2018-05-13 | 2 | -14/+14 |
| | |||||
* | Rework index hashtable | Jason A. Donenfeld | 2018-05-13 | 8 | -85/+75 |
| | |||||
* | Rewrite timers and related state machines | Jason A. Donenfeld | 2018-05-10 | 14 | -578/+429 |
| | |||||
* | Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go | Mathias Hall-Andersen | 2018-05-05 | 3 | -31/+36 |
|\ | |||||
| * | Reorder stopping messages so that logs are coherent | Jason A. Donenfeld | 2018-05-05 | 2 | -6/+6 |
| | | |||||
| * | More robust solution to close deadlock | Jason A. Donenfeld | 2018-05-05 | 3 | -31/+33 |
| | | |||||
| * | Fix infinite loop in exit routine | Jason A. Donenfeld | 2018-05-05 | 2 | -3/+6 |
| | | |||||
* | | Removed remaining signals from peer | Mathias Hall-Andersen | 2018-05-05 | 7 | -70/+37 |
|/ | | | | | | 1. Removed remaining signals from peer struct 2. Made needAnotherKeepalive local 3. Removed environment check from warning text (annoying when debugging) | ||||
* | Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go | Mathias Hall-Andersen | 2018-05-05 | 1 | -46/+17 |
|\ | |||||
| * | Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go | Jason A. Donenfeld | 2018-05-05 | 9 | -267/+243 |
| |\ | |||||
| * | | tun: simplify and combine creation logic on Linux | Jason A. Donenfeld | 2018-05-05 | 1 | -46/+17 |
| | | | |||||
* | | | Use Int32n for jitter | Mathias Hall-Andersen | 2018-05-05 | 1 | -47/+48 |
| |/ |/| | |||||
* | | Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go | Mathias Hall-Andersen | 2018-05-05 | 3 | -4/+4 |
|\| | |||||
| * | Style | Jason A. Donenfeld | 2018-05-05 | 4 | -5/+4 |
| | | |||||
* | | Removed old signals | Mathias Hall-Andersen | 2018-05-05 | 7 | -114/+74 |
| | | |||||
* | | Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go | Mathias Hall-Andersen | 2018-05-05 | 1 | -1/+7 |
|\| | |||||
| * | tun: account for null termination on Linux | Jason A. Donenfeld | 2018-05-05 | 1 | -1/+7 |
| | | |||||
* | | Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go | Mathias Hall-Andersen | 2018-05-05 | 50 | -220/+491 |
|\| | |||||
| * | uapi: use kqueue for sock deletion on darwin | Jason A. Donenfeld | 2018-05-04 | 2 | -6/+42 |
| | | |||||
| * | tun: print automatically assigned interface name to stdout | Jason A. Donenfeld | 2018-05-04 | 1 | -1/+7 |
| | | | | | | | | This way scripts know what process they just started. | ||||
| * | tun: allow darwin to auto assign names | Jason A. Donenfeld | 2018-05-04 | 2 | -10/+20 |
| | | |||||
| * | warning: put into main | Jason A. Donenfeld | 2018-05-04 | 3 | -72/+41 |
| | | |||||
| * | global: Add SPDX tags and copyright header | Jason A. Donenfeld | 2018-05-03 | 50 | -8/+248 |
| | | | | | | | | Mathias should probably add his copyright headers to each file too. | ||||
| * | Daemonize with environment variable | Jason A. Donenfeld | 2018-05-03 | 2 | -31/+19 |
| | | |||||
| * | Start to dust off Darwin | Jason A. Donenfeld | 2018-05-03 | 8 | -175/+202 |
| | | |||||
* | | Initial version of migration to new event model | Mathias Hall-Andersen | 2018-05-05 | 8 | -183/+203 |
|/ | | | | | - Begin move away from global timer state. - Made logging format more consistent | ||||
* | Add missing locks and fix debug output, and try to flush queues | Jason A. Donenfeld | 2018-05-01 | 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. | ||||
* | Clear src cache if route changes to new ifindex | Jason A. Donenfeld | 2018-04-27 | 2 | -14/+151 |
| | |||||
* | Fix error handling and cleanup of netlink listener | Jason A. Donenfeld | 2018-04-27 | 1 | -22/+29 |
| | |||||
* | Fix wrong debug messages | Jason A. Donenfeld | 2018-04-20 | 1 | -1/+3 |
| | |||||
* | Rework sticky sockets | Jason A. Donenfeld | 2018-04-20 | 3 | -269/+150 |
| | |||||
* | Check for correct first nibble | Jason A. Donenfeld | 2018-04-20 | 1 | -1/+1 |
| | | | | The code before assumed that the flow label was always zero. | ||||
* | Signal using select and a pipe for bringing down TUN reader | Jason A. Donenfeld | 2018-04-20 | 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 | ||||
* | We can determine the interface name ourselves | Jason A. Donenfeld | 2018-04-19 | 2 | -4/+8 |
| | |||||
* | Do not hard code MTU default | Jason A. Donenfeld | 2018-04-19 | 1 | -2/+2 |
| | |||||
* | Fixed read from closed channel | Mathias Hall-Andersen | 2018-04-18 | 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. | ||||
* | Allow determining name | Jason A. Donenfeld | 2018-04-18 | 3 | -7/+28 |
| | |||||
* | Use socketcall on x86 | Jason A. Donenfeld | 2018-04-18 | 3 | -44/+89 |
| | |||||
* | Use simple 16-bit integer for persistent keepalive | Jason A. Donenfeld | 2018-04-18 | 3 | -11/+8 |
| | | | | Races for this aren't a huge problem. | ||||
* | Align 64-bit atomics | Jason A. Donenfeld | 2018-04-18 | 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. | ||||
* | Begin work on full device<->device unit-test | Mathias Hall-Andersen | 2018-03-08 | 4 | -1/+142 |
| | | | | | To simulate a full interaction between two WireGuard instances without networking, using dummy instances of the interfaces |