summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tools: wg-quick: support old ip(8)Pim van Pelt2017-03-191-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 spacesJason A. Donenfeld2017-02-232-5/+13
|
* tools: add wg show [interface] dumpJason A. Donenfeld2017-02-233-5/+51
|
* tools: give "off" value for fwmarkJason A. Donenfeld2017-02-234-5/+19
|
* wg-quick: allow config files without trailing newlineJason A. Donenfeld2017-02-231-1/+1
|
* wg-quick: unquote fwmark for bash 4.3Jason A. Donenfeld2017-02-141-1/+1
|
* tools: wg-quick: set LC_ALL for consistent regexJason A. Donenfeld2017-02-131-0/+1
|
* socket: enable setting of fwmarkJason A. Donenfeld2017-02-137-22/+67
|
* socket: general ephemeral ports instead of name-based portsJason A. Donenfeld2017-02-131-3/+3
|
* tools: wg-quick: support v6 dual stackJason A. Donenfeld2017-02-131-7/+18
|
* tools: remove key for any empty fileJason A. Donenfeld2017-02-072-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 pskJason A. Donenfeld2017-02-071-0/+3
|
* tools: wg-quick: recommend using resolvconf in exclusive modeJason A. Donenfeld2017-01-191-1/+1
|
* tools: man: recommend correct portJason A. Donenfeld2017-01-152-2/+2
|
* tools: wg-quick: parse IPv6 endpoints correctlyJason A. Donenfeld2017-01-151-1/+1
|
* tools: wg-quick: better removal of suppress_prefix ruleJason A. Donenfeld2017-01-111-1/+1
|
* Update copyrightJason A. Donenfeld2017-01-1018-18/+18
|
* uapi: use sockaddr union instead of sockaddr_storageJason A. Donenfeld2017-01-103-17/+17
|
* uapi: use flag instead of C bitfield for portabilityJason A. Donenfeld2017-01-101-8/+9
|
* tools: ipc: read from socket incrementallyJason A. Donenfeld2017-01-102-43/+49
|
* tools: error on short ret readsJason A. Donenfeld2017-01-101-0/+4
|
* tools: wg-quick: enforce good permissionsJason A. Donenfeld2017-01-092-1/+3
|
* tools: add installation note for distrosJason A. Donenfeld2017-01-051-0/+5
|
* tools: remove DESTDIR for autodetectionChristian Hesse2017-01-051-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-detectionJason A. Donenfeld2017-01-053-11/+66
|
* tools: add makefile instructionsJason A. Donenfeld2017-01-052-1/+38
|
* tools: add wg-quickJason A. Donenfeld2017-01-055-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. Donenfeld2017-01-042-2/+96
|
* tools: syscall.h should actually be sys/syscall.hJason A. Donenfeld2016-12-301-1/+1
|
* tools: rename 'bandwidth' to 'transfer' in outputTomasz Torcz2016-12-232-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_ADDRCONFIGJason A. Donenfeld2016-12-231-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. Donenfeld2016-12-231-1/+1
|
* tools: fix latest-handshake typo in documentationJason A. Donenfeld2016-12-162-2/+2
| | | | Reported-by: Dan Lüdtke <mail@danrl.com>
* tools: warn about clock going backwardJason A. Donenfeld2016-11-291-16/+20
|
* headers: cleanup noticesJason A. Donenfeld2016-11-2117-17/+17
|
* tools: chill modern gcc outJason A. Donenfeld2016-11-051-22/+12
|
* qemu: move build outside of kernel dir to avoid kernel's make cleanJason A. Donenfeld2016-11-051-3/+0
|
* tools: abstract pkg-config to PKG_CONFIGexperimental-0.0.20161102Jason A. Donenfeld2016-11-021-2/+3
| | | | | Distros like Exherbo have multitarget setups with toolnames prefixed by the arch.
* tools: everybody hates automatic strippingJason A. Donenfeld2016-11-021-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 invocationsJason A. Donenfeld2016-08-301-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. Donenfeld2016-08-082-4/+4
|
* tools: use correct headers in ipcJason A. Donenfeld2016-08-021-2/+2
|
* tools: do not show private keys in pretty outputJason A. Donenfeld2016-08-023-3/+14
|
* c: specify static array size in function paramsJason A. Donenfeld2016-08-024-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.20160722Jason A. Donenfeld2016-07-221-18/+31
| | | | To support OS X and Windows, we have to. Ugh.
* tools: Use seqpacket instead of dgramJason A. Donenfeld2016-07-222-35/+6
|
* tools: add -MP to makefileJason A. Donenfeld2016-07-221-1/+1
|
* tools: add default cflagJason A. Donenfeld2016-07-211-0/+1
|
* tools: propagate set errnoJason A. Donenfeld2016-07-211-0/+1
|
* tools: abstract sockets are dangerousJason A. Donenfeld2016-07-211-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.