aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2023-08-04ipc: linux: enforce IFNAMSIZ limitHEADmasterJason A. Donenfeld1-0/+6
2023-05-18man: set private key in PreUp rather than PostUpJason A. Donenfeld1-1/+1
2023-05-18wg-quick: run PreUp hook after creating interfaceDaniel Gröber4-4/+4
2023-02-08show: fix show all endpoints outputDmitry Selivanov1-2/+2
2022-11-03ipc: freebsd: NULL out some freed memory in kernel_set_device()Kyle Evans1-0/+3
2022-11-03ipc: freebsd: avoid leaking memory in kernel_get_device()Kyle Evans1-6/+13
2022-10-31show: apply const to right part of pointerJason A. Donenfeld1-1/+1
2022-10-29ipc: freebsd: move if_wg path to reflect new in-tree locationKyle Evans2-1/+1
2022-06-17wg-quick: linux: prevent traffic from momentarily leaking into tunnelTom Yan1-1/+1
2022-06-10global: dual license core files as MIT for FreeBSDJason A. Donenfeld20-20/+20
2022-05-10wg-quick: android: use right regex for host-vs-IPJason A. Donenfeld1-1/+1
2022-01-04reresolve-dns: use $EPOCHSECONDS instead of $(date +%s)Jason A. Donenfeld1-1/+1
2021-10-22embeddable-wg-library: add named wg_endpoint unionMikael Magnusson1-5/+7
2021-10-06ipc: use more clever PnP enumeratorJason A. Donenfeld3-60/+16
2021-09-14version: bumpv1.0.20210914Jason A. Donenfeld1-1/+1
2021-09-14wg-quick: openbsd: set DNS with resolvd(8)Matt Dunwoodie1-4/+14
2021-09-09wg-quick: android: adjust for android 12Jason A. Donenfeld1-2/+8
2021-08-12wg-quick: darwin: account for "link#XX" gatewaysLaura Hausmann1-2/+2
2021-07-31ipc: windows: use devpkey instead of nci for nameJason A. Donenfeld4-120/+41
2021-07-20ipc: windows: don't display disabled adaptersJason A. Donenfeld1-1/+4
2021-07-20ipc: remove windows elevationJason A. Donenfeld2-150/+36
2021-07-20ipc: cache windows lookups to avoid O(n^2) with nested lookupsJason A. Donenfeld3-4/+136
2021-07-20ipc: add wireguard-nt supportJason A. Donenfeld10-9/+711
2021-05-17contrib/launchd: fix xml syntax errorHangbin Liu1-1/+1
2021-05-06man: mention BSD debuggingJason A. Donenfeld1-0/+7
2021-04-24version: bumpv1.0.20210424Jason A. Donenfeld1-1/+1
2021-04-20wg-quick: kill route monitor when loop terminatesJason A. Donenfeld3-10/+16
2021-04-18wg-quick: freebsd: use ifconfig for determining if interface is upJason A. Donenfeld1-16/+2
2021-03-23wg-quick: freebsd: do not assume point-to-point interface flagJason A. Donenfeld1-1/+1
2021-03-21wg-quick: freebsd: check for socket using -S, not -fJason A. Donenfeld1-1/+1
2021-03-15version: bumpv1.0.20210315Jason A. Donenfeld1-1/+1
2021-03-13wg-quick: freebsd: avoid writing private keys to /tmpJason A. Donenfeld1-1/+1
2021-03-11ipc: uniformly ignore preshared keys that are zeroJason A. Donenfeld2-2/+4
2021-03-11ipc: freebsd: add initial FreeBSD supportJason A. Donenfeld4-0/+370
2021-03-11wg-quick: freebsd: add kernel supportJason A. Donenfeld1-3/+17
2021-03-10wireguard-tools: drag in headers for prototypesKyle Evans2-0/+2
2021-03-10wireguard-tools: const correctnessKyle Evans10-19/+19
2021-03-05Makefile: fix version indicatorFlorian Eckert1-1/+1
2021-02-23version: bumpv1.0.20210223Jason A. Donenfeld1-1/+1
2021-01-27ipc: read trailing responses after set operationJason A. Donenfeld1-5/+28
2021-01-26man: LOG_LEVEL variables changed naeJason A. Donenfeld1-1/+1
2021-01-25ipc: do not use fscanf with trailing \nJason A. Donenfeld1-1/+3
2020-12-18sticky-sockets: do not use SO_REUSEADDRJason A. Donenfeld1-8/+0
2020-12-13completion: add help and syncconf completionsJason A. Donenfeld1-3/+3
2020-12-11wincompat: do not elevate by defaultJason A. Donenfeld1-1/+1
2020-12-11wincompat: add resource and manifest and enable ltoJason A. Donenfeld3-3/+70
2020-11-09wincompat: recent mingw has inet_ntop/inet_ptonJason A. Donenfeld2-38/+0
2020-10-29embeddable-wg-library: sync latest from netlink.hJason A. Donenfeld1-32/+35
2020-10-19wg-quick: openbsd: no use for userspace supportJason A. Donenfeld1-41/+23
2020-09-15wg-quick: android: do not free iterated pointerJason A. Donenfeld1-7/+8
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