Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-03 | global: Add SPDX tags and copyright header | Jason A. Donenfeld | |
Mathias should probably add his copyright headers to each file too. | |||
2018-05-03 | Daemonize with environment variable | Jason A. Donenfeld | |
2018-05-03 | Start to dust off Darwin | Jason A. Donenfeld | |
2018-05-01 | Add missing locks and fix debug output, and try to flush queues | Jason A. Donenfeld | |
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 | |
2018-04-27 | Fix error handling and cleanup of netlink listener | Jason A. Donenfeld | |
2018-04-20 | Fix wrong debug messages | Jason A. Donenfeld | |
2018-04-20 | Rework sticky sockets | Jason A. Donenfeld | |
2018-04-20 | Check for correct first nibble | Jason A. Donenfeld | |
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 | |
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 | |
2018-04-19 | Do not hard code MTU default | Jason A. Donenfeld | |
2018-04-18 | Fixed read from closed channel | Mathias Hall-Andersen | |
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 | |
2018-04-18 | Use socketcall on x86 | Jason A. Donenfeld | |
2018-04-18 | Use simple 16-bit integer for persistent keepalive | Jason A. Donenfeld | |
Races for this aren't a huge problem. | |||
2018-04-18 | Align 64-bit atomics | Jason A. Donenfeld | |
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 | |
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 | |
2018-02-18 | Close tun fd when bringing down tunnel | Jason A. Donenfeld | |
2018-02-18 | Fix timer typo | Jason A. Donenfeld | |
2018-02-18 | Seperated fwmark update code into function | Mathias Hall-Andersen | |
2018-02-13 | MPLv2 for App Store | Jason A. Donenfeld | |
2018-02-13 | Reimplemented bind_rtmgrp in pure Go | Dominik Süß | |
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 | |
2018-02-12 | Revert "Don't use modules" | Mathias Hall-Andersen | |
This reverts commit bffe99aeadae09abd02f2bd3184925af6b680535. | |||
2018-02-12 | Don't use modules | Jason A. Donenfeld | |
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 | |
2018-02-11 | TUN status hack was causing spam during shutdown | Mathias Hall-Andersen | |
2018-02-11 | Added missing mutex acquisition | Mathias Hall-Andersen | |
2018-02-11 | Removed exported methods from ratelimiter package | Mathias Hall-Andersen | |
2018-02-11 | Moved ratelimiter to internal package | Mathias Hall-Andersen | |
2018-02-11 | Moved tai64n into sub-package | Mathias Hall-Andersen | |
2018-02-11 | Fixed tabs | Mathias Hall-Andersen | |
2018-02-11 | Reverted event changes | Mathias Hall-Andersen | |
This feature was not needed for Android, upon further inspection. | |||
2018-02-09 | Started migration to sub-packages | Mathias Hall-Andersen | |
2018-02-07 | Go treats underscores specially | Jason A. Donenfeld | |
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 | |
2018-02-04 | Merge branch 'master' into timer-teardown | Mathias Hall-Andersen | |
2018-02-04 | Removed debugging locks | Mathias Hall-Andersen | |
2018-02-04 | Align with go library layout | Mathias Hall-Andersen | |
2018-02-02 | Fixed tests | Mathias Hall-Andersen | |
2018-02-02 | Clear cryptographic state when interface down | Mathias Hall-Andersen | |
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 | |
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. | |||
2018-02-01 | Merge branch 'timer-teardown' of git.zx2c4.com:wireguard-go into timer-teardown | Mathias Hall-Andersen | |
2018-01-31 | Added binary to .gitignore | Mathias Hall-Andersen | |
2018-01-26 | Added initial version of peer teardown | Mathias Hall-Andersen | |
There is a double lock issue with device.Close which has yet to be resolved. | |||
2018-01-16 | Fixed potential DoS issue | Mathias Hall-Andersen | |
2018-01-13 | Work on timer teardown + bug fixes | Mathias Hall-Andersen | |
Added waitgroups to peer struct for routine start / stop synchronisation | |||
2018-01-09 | Fixed fwmark update without device status change | Mathias Hall-Andersen | |
An update of the fwmark was missing, when the device was not bought up after the change. |