Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tools: wg-quick: support old ip(8) | Pim van Pelt | 2017-03-19 | 1 | -4/+8 |
| | | | | | Old versions of ip(8) do not accept arguments to `ip rule show.` This patch works around that limitation. | ||||
* | tools: fix bash completion spaces | Jason A. Donenfeld | 2017-02-23 | 2 | -5/+13 |
| | |||||
* | tools: add wg show [interface] dump | Jason A. Donenfeld | 2017-02-23 | 3 | -5/+51 |
| | |||||
* | tools: give "off" value for fwmark | Jason A. Donenfeld | 2017-02-23 | 4 | -5/+19 |
| | |||||
* | wg-quick: allow config files without trailing newline | Jason A. Donenfeld | 2017-02-23 | 1 | -1/+1 |
| | |||||
* | wg-quick: unquote fwmark for bash 4.3 | Jason A. Donenfeld | 2017-02-14 | 1 | -1/+1 |
| | |||||
* | tools: wg-quick: set LC_ALL for consistent regex | Jason A. Donenfeld | 2017-02-13 | 1 | -0/+1 |
| | |||||
* | socket: enable setting of fwmark | Jason A. Donenfeld | 2017-02-13 | 7 | -22/+67 |
| | |||||
* | socket: general ephemeral ports instead of name-based ports | Jason A. Donenfeld | 2017-02-13 | 1 | -3/+3 |
| | |||||
* | tools: wg-quick: support v6 dual stack | Jason A. Donenfeld | 2017-02-13 | 1 | -7/+18 |
| | |||||
* | tools: remove key for any empty file | Jason A. Donenfeld | 2017-02-07 | 2 | -25/+18 |
| | | | | | Rather than just using /dev/null to mean key removal, match on any empty file, so that this interface is cross platform. | ||||
* | tools: setconf should remove existing psk | Jason A. Donenfeld | 2017-02-07 | 1 | -0/+3 |
| | |||||
* | tools: wg-quick: recommend using resolvconf in exclusive mode | Jason A. Donenfeld | 2017-01-19 | 1 | -1/+1 |
| | |||||
* | tools: man: recommend correct port | Jason A. Donenfeld | 2017-01-15 | 2 | -2/+2 |
| | |||||
* | tools: wg-quick: parse IPv6 endpoints correctly | Jason A. Donenfeld | 2017-01-15 | 1 | -1/+1 |
| | |||||
* | tools: wg-quick: better removal of suppress_prefix rule | Jason A. Donenfeld | 2017-01-11 | 1 | -1/+1 |
| | |||||
* | Update copyright | Jason A. Donenfeld | 2017-01-10 | 18 | -18/+18 |
| | |||||
* | uapi: use sockaddr union instead of sockaddr_storage | Jason A. Donenfeld | 2017-01-10 | 3 | -17/+17 |
| | |||||
* | uapi: use flag instead of C bitfield for portability | Jason A. Donenfeld | 2017-01-10 | 1 | -8/+9 |
| | |||||
* | tools: ipc: read from socket incrementally | Jason A. Donenfeld | 2017-01-10 | 2 | -43/+49 |
| | |||||
* | tools: error on short ret reads | Jason A. Donenfeld | 2017-01-10 | 1 | -0/+4 |
| | |||||
* | tools: wg-quick: enforce good permissions | Jason A. Donenfeld | 2017-01-09 | 2 | -1/+3 |
| | |||||
* | tools: add installation note for distros | Jason A. Donenfeld | 2017-01-05 | 1 | -0/+5 |
| | |||||
* | tools: remove DESTDIR for autodetection | Christian Hesse | 2017-01-05 | 1 | -3/+3 |
| | | | | | | | DESTDIR is always empty, no need to check anything there. Check the main system instead. Signed-off-by: Christian Hesse <mail@eworm.de> | ||||
* | tools: add systemd unit and auto-detection | Jason A. Donenfeld | 2017-01-05 | 3 | -11/+66 |
| | |||||
* | tools: add makefile instructions | Jason A. Donenfeld | 2017-01-05 | 2 | -1/+38 |
| | |||||
* | tools: add wg-quick | Jason A. Donenfeld | 2017-01-05 | 5 | -3/+430 |
| | | | | | This is based on wg-config, but is even easier to use, and now makes our full tools suite. | ||||
* | tools: add bash completion for wg(8) | Jason A. Donenfeld | 2017-01-04 | 2 | -2/+96 |
| | |||||
* | tools: syscall.h should actually be sys/syscall.h | Jason A. Donenfeld | 2016-12-30 | 1 | -1/+1 |
| | |||||
* | tools: rename 'bandwidth' to 'transfer' in output | Tomasz Torcz | 2016-12-23 | 2 | -4/+4 |
| | | | | | 'bandwidth' is a measure of speed, but wg's output shows only the number of bytes transferred. Thus 'transfer' is a better label. | ||||
* | tools: do not use AI_ADDRCONFIG | Jason A. Donenfeld | 2016-12-23 | 1 | -2/+1 |
| | | | | | | | | | | Some people run wg(8) using hard coded v6 addresses before interfaces have v6 addresses, causing getaddrinfo to fail. Since AI_ADDRCONFIG doesn't actualy change the sorting, but just the queries made, we don't really need AI_ADDRCONFIG anyway, since we're always only taking the first result. Reported-by: Benedikt Morbach <benedikt.morbach@googlemail.com> | ||||
* | tools: allowed-ips is easier to parse with spaces instead of ", " | Jason A. Donenfeld | 2016-12-23 | 1 | -1/+1 |
| | |||||
* | tools: fix latest-handshake typo in documentation | Jason A. Donenfeld | 2016-12-16 | 2 | -2/+2 |
| | | | | Reported-by: Dan Lüdtke <mail@danrl.com> | ||||
* | tools: warn about clock going backward | Jason A. Donenfeld | 2016-11-29 | 1 | -16/+20 |
| | |||||
* | headers: cleanup notices | Jason A. Donenfeld | 2016-11-21 | 17 | -17/+17 |
| | |||||
* | tools: chill modern gcc out | Jason A. Donenfeld | 2016-11-05 | 1 | -22/+12 |
| | |||||
* | qemu: move build outside of kernel dir to avoid kernel's make clean | Jason A. Donenfeld | 2016-11-05 | 1 | -3/+0 |
| | |||||
* | tools: abstract pkg-config to PKG_CONFIGexperimental-0.0.20161102 | Jason A. Donenfeld | 2016-11-02 | 1 | -2/+3 |
| | | | | | Distros like Exherbo have multitarget setups with toolnames prefixed by the arch. | ||||
* | tools: everybody hates automatic stripping | Jason A. Donenfeld | 2016-11-02 | 1 | -1/+1 |
| | | | | | | | | | I happen to like it, but package managers don't. The GNU standard [1] says there should be a separate install-strip target. I don't like duplicating code like that. So, instead, I'll just remove stripping all together. [1] https://www.gnu.org/prep/standards/html_node/Standard-Targets.html | ||||
* | tools: allow multiple AllowedIPs invocations | Jason A. Donenfeld | 2016-08-30 | 1 | -1/+0 |
| | | | | It turns out this is a somewhat natural thing to do in config files. | ||||
* | persistent-keepalive: change range to [1,65535] | Jason A. Donenfeld | 2016-08-08 | 2 | -4/+4 |
| | |||||
* | tools: use correct headers in ipc | Jason A. Donenfeld | 2016-08-02 | 1 | -2/+2 |
| | |||||
* | tools: do not show private keys in pretty output | Jason A. Donenfeld | 2016-08-02 | 3 | -3/+14 |
| | |||||
* | c: specify static array size in function params | Jason A. Donenfeld | 2016-08-02 | 4 | -10/+10 |
| | | | | | | | | | | | | | | | The C standard states: A declaration of a parameter as ``array of type'' shall be adjusted to ``qualified pointer to type'', where the type qualifiers (if any) are those specified within the [ and ] of the array type derivation. If the keyword static also appears within the [ and ] of the array type derivation, then for each call to the function, the value of the corresponding actual argument shall provide access to the first element of an array with at least as many elements as specified by the size expression. By changing void func(int array[4]) to void func(int array[static 4]), we automatically get the compiler checking argument sizes for us, which is quite nice. | ||||
* | tools: use stream instead of seqpacketexperimental-0.0.20160722 | Jason A. Donenfeld | 2016-07-22 | 1 | -18/+31 |
| | | | | To support OS X and Windows, we have to. Ugh. | ||||
* | tools: Use seqpacket instead of dgram | Jason A. Donenfeld | 2016-07-22 | 2 | -35/+6 |
| | |||||
* | tools: add -MP to makefile | Jason A. Donenfeld | 2016-07-22 | 1 | -1/+1 |
| | |||||
* | tools: add default cflag | Jason A. Donenfeld | 2016-07-21 | 1 | -0/+1 |
| | |||||
* | tools: propagate set errno | Jason A. Donenfeld | 2016-07-21 | 1 | -0/+1 |
| | |||||
* | tools: abstract sockets are dangerous | Jason A. Donenfeld | 2016-07-21 | 1 | -28/+1 |
| | | | | | They have no permissions, so we're probably better off just creating a socket file with the umask set, as we do in BSD. |