aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2020-08-28wg-quick: linux: check for CAP_NET_ADMIN and config file access before auto_sujd/capability-checkJason A. Donenfeld1-1/+20
2020-08-27version: bumpv1.0.20200827Jason A. Donenfeld1-1/+1
2020-08-27Revert "wg-quick: wait on process substitutions"Jason A. Donenfeld4-49/+49
2020-08-25wg-quick: android: use iproute2 to bring up interface instead of ndcJason A. Donenfeld1-1/+1
2020-08-20version: bumpv1.0.20200820Jason A. Donenfeld1-1/+1
2020-08-06wg-quick: wait on process substitutionsJason A. Donenfeld4-49/+49
2020-08-06ctype: use non-locale-specific ctype.hJason A. Donenfeld5-14/+43
2020-08-06pubkey: isblank is a subset of isspaceJason A. Donenfeld1-1/+1
2020-07-28man: wg-quick: use syncconf instead of addconf for strip exampleJason A. Donenfeld1-3/+1
2020-07-24systemd: add reload target to systemd unitDomonkos P. Tomcsanyi1-0/+1
2020-05-25wincompat: fold random into genkeyJason A. Donenfeld5-16/+6
2020-05-25ipc: split into separate files per-platformJason A. Donenfeld6-1152/+1201
2020-05-13version: bumpv1.0.20200513Jason A. Donenfeld1-1/+1
2020-05-13ipc: openbsd: switch to array ioctl interfaceJason A. Donenfeld2-89/+80
2020-05-11Makefile: remember to install all systemd unitsJason A. Donenfeld1-1/+1
2020-05-10version: bumpv1.0.20200510Jason A. Donenfeld1-1/+1
2020-05-10wg-quick: cleanup openbsd supportJason A. Donenfeld2-26/+35
2020-05-10wg-quick: add support for openbsd kernel implementationMatt Dunwoodie1-4/+19
2020-05-10ipc: cleanup openbsd supportJason A. Donenfeld5-94/+212
2020-05-10ipc: add support for openbsd kernel implementationMatt Dunwoodie1-3/+262
2020-05-10ipc: remove extra spaceJason A. Donenfeld1-1/+1
2020-05-09wg-quick: support dns search domainsJason A. Donenfeld8-36/+88
2020-05-01systemd: add wg-quick.targetMartin Hauke2-0/+3
2020-04-20terminal: specialize color_mode to stdout onlyJason A. Donenfeld2-17/+7
2020-04-08git: add gitattributes so tarball doesn't have gitignore filesJason A. Donenfeld1-0/+2
2020-04-05wg-quick: android: support application whitelistJason A. Donenfeld1-25/+48
2020-04-03highlighter: insist on 256-bit keys, not 257-bit or 258-bitJason A. Donenfeld1-1/+22
2020-03-23Makefile: simplify silent cleaningJason A. Donenfeld1-6/+2
2020-03-19version: bumpv1.0.20200319Jason A. Donenfeld1-1/+1
2020-03-19wincompat: use new protected prefix on WindowsJason A. Donenfeld1-2/+3
2020-03-19wincompat: use string_list instead of inflatable_bufferJason A. Donenfeld1-4/+2
2020-03-05man: add a warning to the SaveConfig descriptionLuis Ressel1-1/+2
2020-02-12man: backlink wg-quick(8) in wg(8)Jason A. Donenfeld1-0/+1
2020-02-08man: fix grammar in wg(8) and wg-quick(8)Kai Haberzettl2-3/+3
2020-02-07curve25519: squelch warnings on clangJason A. Donenfeld1-15/+19
2020-02-06netlink: initialize mostly unused fieldJason A. Donenfeld1-0/+1
2020-02-06version: bumpv1.0.20200206Jason A. Donenfeld1-1/+1
2020-02-05netlink: don't pretend that sysconf isn't a functionJason A. Donenfeld2-4/+15
2020-02-03netlink: remove libmnl requirementJason A. Donenfeld9-375/+792
2020-02-03embeddable-wg-library: use newer string_listJason A. Donenfeld2-58/+42
2020-02-01extract-{handshakes,keys}: rework for upstream kernelJason A. Donenfeld4-16/+6
2020-01-31man: document dynamic debug trick for LinuxJason A. Donenfeld1-0/+9
2020-01-31wg-quick: android: split uids into multiple commandsJason A. Donenfeld1-1/+8
2020-01-21version: bumpv1.0.20200121Jason A. Donenfeld1-1/+1
2020-01-21Makefile: sort inputs to linker so that build is reproducibleJason A. Donenfeld1-1/+1
2020-01-11netlink: make sure to clear return value when trying againJason A. Donenfeld1-1/+2
2020-01-11fuzz: add set and setconf fuzzersJason A. Donenfeld4-2/+123
2020-01-08Makefile: evaluate git version lazilyJason A. Donenfeld1-3/+3
2020-01-04fuzz: add generic command argument fuzzerJason A. Donenfeld5-5/+82
2020-01-04ipc: simplify inflatable buffer and add fuzzerJason A. Donenfeld5-65/+109
2020-01-03Makefile: add standard 'all' targetJason A. Donenfeld1-0/+2
2020-01-03Makefile: remove pwd from compile outputJason A. Donenfeld1-3/+3
2020-01-02version: bumpv1.0.20200102Jason A. Donenfeld1-1/+1
2020-01-02global: bump copyrightJason A. Donenfeld66-66/+66
2019-12-28wg-quick: linux: quote ifname for nftJason A. Donenfeld1-1/+1
2019-12-27Makefile: rework automatic version.h manglingJason A. Donenfeld2-9/+7
2019-12-27fuzz: find bugs when parsing uapi inputJason A. Donenfeld3-3/+64
2019-12-27fuzz: find bugs in the config syntax parserJason A. Donenfeld3-0/+86
2019-12-27man: add documentation about removing explicit listen-portDevin Smith1-1/+1
2019-12-26dns-hatchet: adjust path for new repo layoutJason A. Donenfeld1-1/+1
2019-12-26Makefile: port static analysis checkJason A. Donenfeld1-1/+4
2019-12-26Makefile: DEBUG_TOOLS -> DEBUG and documentJason A. Donenfeld2-1/+4
2019-12-26systemd: update documentation URLJason A. Donenfeld1-2/+2
2019-12-26version: bumpv1.0.20191226Jason A. Donenfeld1-1/+1
2019-12-26Makefile: add git versioning to dev buildsJason A. Donenfeld1-1/+9
2019-12-26README: consolidate with INSTALL and rewriteJason A. Donenfeld3-55/+71
2019-12-26wg: include tools versionJason A. Donenfeld2-0/+6
2019-12-26wg: add back source formerly shared with kernel moduleJason A. Donenfeld7-5/+1845
2019-12-26gitignore: trim down to basicsJason A. Donenfeld1-12/+3
2019-12-17wg-quick: linux: use already configured addresses instead of in-memoryJason A. Donenfeld1-6/+6
2019-12-13wg: adjust wg.8 syntax for consistency in COMMANDS sectionKai Haberzettl1-1/+1
2019-12-12wg-quick: linux: try both iptables(8) and nft(8) on teardownJason A. Donenfeld1-1/+2
2019-12-12wg-quick: linux: support older nft(8)Jason A. Donenfeld1-5/+5
2019-12-12global: fix up spellingJosh Soref2-4/+4
2019-12-12wg-quick: linux: add support for nft and prefer itJason A. Donenfeld1-20/+39
2019-12-06wg-quick: linux: ignore save warnings for iptables-nftJason A. Donenfeld1-1/+1
2019-12-06wg-quick: linux: suppress more warnings on weird kernelsJason A. Donenfeld1-4/+4
2019-12-05wg-quick: linux: some iptables don't like empty linesJason A. Donenfeld1-6/+6
2019-12-05wg-quick: linux: iptables-* -w is not widely supportedJason A. Donenfeld1-2/+2
2019-12-05ipc: make sure userspace communication frees wgdeviceJason A. Donenfeld2-11/+16
2019-12-05wg-quick: linux: have remove_iptables return trueJason A. Donenfeld1-1/+1
2019-12-05wg-quick: linux: ensure postdown hooks executeJason A. Donenfeld1-2/+2
2019-11-27wg-quick: linux: suppress error when finding unused tableJason A. Donenfeld1-1/+1
2019-11-27wg: add syncconf commandJason A. Donenfeld3-0/+97
2019-11-27reresolve-dns: remove invalid anchors on regex matchJason A. Donenfeld1-1/+1
2019-11-27wg-quick: linux: filter bogus injected packets and don't disable rpfilterJason A. Donenfeld1-8/+29
2019-11-26wg-quick: linux: only touch net.ipv4 for v4Jason A. Donenfeld1-3/+5
2019-10-16wg-quick: android: check for null in binder cleanup functionsJason A. Donenfeld1-3/+6
2019-10-12wg-quick: android: use Binder for setting DNS on Android 10Nicolas Douma1-7/+429
2019-08-31wg: windows: enforce named pipe ownership and use protected prefixJason A. Donenfeld2-22/+40
2019-08-27wg-quick: linux: don't fail down when using systemd-resolvedRonan Pigott1-1/+1
2019-08-07wg-quick: openbsd: fix alternate routing table syntaxAnkur Kothari1-1/+1
2019-07-08wg-quick: android: refactor and add incoming allow rulesJason A. Donenfeld1-65/+73
2019-06-24wg-quick: darwin: support being called from launchdJason A. Donenfeld3-1/+53
2019-05-31wg: pass WG_ENDPOINT_RESOLUTION_RETRIES=infinity to systemd unitJason A. Donenfeld1-0/+1
2019-05-31wg: add wincompat layer to wg(8)Jason A. Donenfeld15-0/+321
2019-05-29wg: allow setting WG_ENDPOINT_RESOLUTION_RETRIESJason A. Donenfeld2-4/+25
2019-05-29wg-quick: specify protocol to ip(8), because of inconsistenciesJason A. Donenfeld1-3/+7
2019-05-29wg-quick: look up existing routes properlyJason A. Donenfeld1-1/+1
2019-04-23wg-quick: make darwin and freebsd path search strict like linuxJason A. Donenfeld2-2/+4
2019-04-23wg-quick: freebsd: workaround SIOCGIFSTATUS race in FreeBSD kernelJason A. Donenfeld1-9/+22
2019-03-23wg: avoid unneccessary next_peer assignments in sort_peers()Luis Ressel1-2/+1
2019-03-23wg-quick: add 'strip' subcommandLuis Ressel5-5/+50
2019-03-23wg: warn if an AllowedIP has a nonzero host partLuis Ressel1-0/+34
2019-03-18wg-quick: freebsd: export TMPDIR when restoring and don't make emptyJason A. Donenfeld1-1/+2
2019-02-28wg: add support for HaikuAlexander von Gluck IV1-0/+3
2019-02-28wg: genkey: account for short reads of /dev/urandomJason A. Donenfeld2-18/+35
2019-02-28wg-quick: freebsd: rebreak interface loopback, while fixing localhostJason A. Donenfeld1-1/+1
2019-02-08wg: c_acc doesn't need to be initializedJason A. Donenfeld1-1/+1
2019-02-05wg: fight compiler slightly harderJason A. Donenfeld2-2/+2
2019-02-03noise: store clamped key instead of raw keyJason A. Donenfeld2-4/+2
2019-01-31highlighter: when subtracting char, cast to unsignedJason A. Donenfeld1-2/+2
2019-01-30systemd: wg-quick should depend on nss-lookup.targetJason A. Donenfeld1-2/+2
2019-01-24wg: remove unused check phony declarationJason A. Donenfeld1-1/+1
2019-01-24wg-quick: freebsd: allow loopback to workJason A. Donenfeld1-1/+1
2019-01-23netlink: use __kernel_timespec for handshake timeJason A. Donenfeld4-5/+17
2019-01-23contrib: introduce simple highlighter libraryJason A. Donenfeld8-0/+904
2019-01-23global: normalize -> clampJason A. Donenfeld5-9/+9
2019-01-23keygen-html: bring back pure javascript implementationJason A. Donenfeld6-139/+186
2019-01-23Kconfig: IPsec isn't IPSecJason A. Donenfeld1-1/+1
2019-01-07global: update copyrightJason A. Donenfeld52-52/+52
2018-12-20wg: curve25519: handle unaligned loads/stores safelyJason A. Donenfeld2-5/+19
2018-12-18makefile: use immediate expansion and use correct template patternsJason A. Donenfeld2-0/+2
2018-12-18wg-quick: bring interface up while setting MTUAaron Jones1-9/+4
2018-12-07embeddable-wg-library: do not warn on unrecognized netlink attributesJason A. Donenfeld1-15/+1
2018-11-13global: various formatting tweeksJason A. Donenfeld1-25/+25
2018-11-11wg-quick: android: do not choke on empty allowed-ipsJason A. Donenfeld1-1/+4
2018-11-06keygen-html: add missing glue macroJason A. Donenfeld1-0/+1
2018-10-19wg.8: AllowedIPs isn't actually requiredJason A. Donenfeld1-1/+1
2018-10-19wg.8: specify that wg(8) shows runtime info tooJason A. Donenfeld1-1/+1
2018-10-13wg-quick: wait for interface to disappear on freebsdJason A. Donenfeld1-0/+9
2018-10-13wg: don't fail if a netlink interface dump is inconsistentJason A. Donenfeld2-4/+18
2018-10-09wg: compile on gnu99Jason A. Donenfeld1-1/+1
2018-10-09wg: use libc's endianness macro if no compiler macroJason A. Donenfeld1-0/+10
2018-10-08global: rename struct wireguard_ to struct wg_Jason A. Donenfeld1-5/+5
2018-10-08netlink: do not stuff index into nla typeJason A. Donenfeld2-10/+8
2018-10-07crypto: clean up remaining .h->.cJason A. Donenfeld2-3/+3
2018-10-05wg-quick.8: add policy routing exampleJason A. Donenfeld1-0/+26
2018-09-25crypto: make constant naming scheme consistentJason A. Donenfeld3-9/+9
2018-09-20global: put SPDX identifier on its own lineJason A. Donenfeld32-64/+64
2018-09-04global: prefer sizeof(*pointer) when possibleJason A. Donenfeld3-13/+13
2018-09-03crypto: import zincJason A. Donenfeld2-3/+3
2018-09-02wg: ipc: do not warn on unrecognized netlink attributesJason A. Donenfeld1-17/+0
2018-08-28crypto: use unaligned helpersJason A. Donenfeld1-0/+3
2018-08-21wg-quick: check correct variable for route deduplicationJason A. Donenfeld1-1/+1
2018-08-12wg-quick: darwin: prefer system paths for toolsJason A. Donenfeld1-1/+1
2018-07-24wg-quick: android: remove compat codeJason A. Donenfeld1-10/+0
2018-07-24wg-quick: android: allow package to be overriddenJason A. Donenfeld1-4/+9
2018-07-24embeddable-wg-library: do not left shift negative numbersJason A. Donenfeld1-7/+2
2018-07-16wg-quick: allow link local default gatewayJason A. Donenfeld3-3/+0
2018-07-08wg: only error on wg show if all interfaces failJason A. Donenfeld1-1/+4
2018-07-05wg-quick: android: support excluding applicationsJason A. Donenfeld1-9/+102
2018-06-25wg-quick: android: prevent outgoing handshake packets from being droppedJason A. Donenfeld1-0/+4
2018-06-22wg: fix misspelling of strchrnul in commentJonathan Neuschäfer1-1/+1
2018-06-22manpages: eliminate whitespace at the end of the lineJonathan Neuschäfer2-26/+26
2018-06-17wg-quick: android: don't forget to free compiled regexesJason A. Donenfeld1-5/+6
2018-06-17wg-quick: android: disable roaming to v6 networks when v4 is specifiedJason A. Donenfeld1-1/+54
2018-06-17dns-hatchet: apply resolv.conf's selinux context to new resolv.confJason A. Donenfeld1-0/+2
2018-06-14wg: getentropy requires 10.12Jason A. Donenfeld1-1/+7
2018-06-08wg: support getentropy(3)Jason A. Donenfeld1-0/+11
2018-06-06wg: encoding: add missing static array constraintsJason A. Donenfeld3-5/+5
2018-06-04wg-quick: android: change name of intentJason A. Donenfeld1-1/+1
2018-05-31wg-quick: android: delay setting users until endJason A. Donenfeld1-1/+6
2018-05-31wg: constanter time encodingJason A. Donenfeld2-22/+28
2018-05-31wg-quick: darwin: set DNS servers after delay on route changeJason A. Donenfeld1-2/+6
2018-05-27wg-quick: freebsd: configure as p2p linkJason A. Donenfeld1-3/+5
2018-05-27wg-quick: darwin: add multiple IP addressesJason A. Donenfeld1-2/+2
2018-05-27wg-quick: determine IPs when saving interfaceJason A. Donenfeld3-12/+14
2018-05-24wg-quick: freebsd: work around security vulnerabilities in bashJason A. Donenfeld1-7/+29
2018-05-23wg-quick: allow enumeration of socket filesJason A. Donenfeld2-2/+2
2018-05-23wg-quick: better bash completion for non-renaming OSesJason A. Donenfeld1-5/+14
2018-05-23wg-quick: support FreeBSD/Darwin search pathJason A. Donenfeld4-16/+39
2018-05-23wg: always pass -v as first argument to installJason A. Donenfeld1-7/+7
2018-05-22wg-quick: openbsd: add new implementationJason A. Donenfeld1-0/+451
2018-05-22wg-quick: freebsd: add new implementationJason A. Donenfeld2-16/+434
2018-05-22wg-quick: darwin: do not remove routes when no real interfaceJason A. Donenfeld1-0/+1
2018-05-22wg-quick: darwin: rename namefile environment variableJason A. Donenfeld1-1/+1
2018-05-22wg: fix OpenBSD buildFilippo Valsorda4-2/+4
2018-05-22ncat-client-server: do not always call sudo and use env bashJason A. Donenfeld1-2/+3
2018-05-18wg: fix errno propagation and messagesJason A. Donenfeld5-9/+8
2018-05-17wg-quick: darwin: simpler inclusion checkJason A. Donenfeld1-1/+1
2018-05-17wg-quick: darwin: reorder functionsJason A. Donenfeld1-19/+19
2018-05-17wg-quick: darwin: networksetup does not like missing stdioJason A. Donenfeld1-1/+1
2018-05-17wg-quick: darwin: avoid routing loop if no defaultJason A. Donenfeld1-6/+16
2018-05-17wg-quick: darwin: sometimes there are no network servicesJason A. Donenfeld1-2/+1
2018-05-16wg-quick: use invoking shell in auto rootingJason A. Donenfeld2-2/+3
2018-05-16wg-quick: add intentionally undocumented userspace implementation knobJason A. Donenfeld2-3/+3
2018-05-16wg-quick: darwin: use bash from environment and require bash 4+Jason A. Donenfeld2-23/+23
2018-05-16wg-quick: darwin: restore DNS on downJason A. Donenfeld1-13/+25
2018-05-16wg-quick: darwin: bash correctnessJason A. Donenfeld1-5/+4
2018-05-16wg-quick: darwin: remove v6 routes after shutdownJason A. Donenfeld1-3/+3
2018-05-16wg-quick: darwin: ensure socket directory existsJason A. Donenfeld1-5/+1
2018-05-16dns-hatchet: update pathsJason A. Donenfeld1-1/+1
2018-05-15ncat-client-server: add wg-quick variantJason A. Donenfeld2-4/+37
2018-05-15wg-quick: add darwin implementationJason A. Donenfeld1-0/+444
2018-05-14wg-quick: add wg symlinkJason A. Donenfeld1-0/+1
2018-05-14wg-quick: add android implementationJason A. Donenfeld1-0/+666
2018-05-14wg: reorganize for multiplatform wg-quickJason A. Donenfeld5-7/+9
2018-05-10wg-quick: preliminary support for go implementationJason A. Donenfeld1-1/+7
2018-05-03embeddable-wg-library: zero attribute paddingJason A. Donenfeld1-0/+4