Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Support nopi mode | Jason A. Donenfeld | 2018-02-28 | 1 | -16/+27 |
| | |||||
* | Close tun fd when bringing down tunnel | Jason A. Donenfeld | 2018-02-18 | 1 | -1/+1 |
| | |||||
* | Fix timer typo | Jason A. Donenfeld | 2018-02-18 | 1 | -1/+1 |
| | |||||
* | Seperated fwmark update code into function | Mathias Hall-Andersen | 2018-02-18 | 2 | -9/+34 |
| | |||||
* | MPLv2 for App Store | Jason A. Donenfeld | 2018-02-13 | 1 | -1/+10 |
| | |||||
* | Reimplemented bind_rtmgrp in pure Go | Dominik Süß | 2018-02-13 | 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> | ||||
* | Use relative imports | Jason A. Donenfeld | 2018-02-12 | 9 | -3/+3 |
| | |||||
* | Revert "Don't use modules" | Mathias Hall-Andersen | 2018-02-12 | 9 | -20/+23 |
| | | | | This reverts commit bffe99aeadae09abd02f2bd3184925af6b680535. | ||||
* | Don't use modules | Jason A. Donenfeld | 2018-02-12 | 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. | ||||
* | Moved test-processes to background | Mathias Hall-Andersen | 2018-02-11 | 1 | -2/+2 |
| | |||||
* | TUN status hack was causing spam during shutdown | Mathias Hall-Andersen | 2018-02-11 | 4 | -36/+39 |
| | |||||
* | Added missing mutex acquisition | Mathias Hall-Andersen | 2018-02-11 | 1 | -0/+3 |
| | |||||
* | Removed exported methods from ratelimiter package | Mathias Hall-Andersen | 2018-02-11 | 2 | -42/+38 |
| | |||||
* | Moved ratelimiter to internal package | Mathias Hall-Andersen | 2018-02-11 | 6 | -24/+60 |
| | |||||
* | Moved tai64n into sub-package | Mathias Hall-Andersen | 2018-02-11 | 3 | -48/+47 |
| | |||||
* | Fixed tabs | Mathias Hall-Andersen | 2018-02-11 | 4 | -392/+392 |
| | |||||
* | Reverted event changes | Mathias Hall-Andersen | 2018-02-11 | 3 | -57/+18 |
| | | | | This feature was not needed for Android, upon further inspection. |