aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* global: put SPDX identifier on its own lineJason A. Donenfeld2018-09-2010-20/+20
| | | | | | | The kernel has very specific rules correlating file type with comment type, and also SPDX identifiers can't be merged with other comments. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* crypto: import zincJason A. Donenfeld2018-09-031-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-wg-library: do not left shift negative numbersJason A. Donenfeld2018-07-241-7/+2
| | | | | | Otherwise we incur undefined behavior. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* dns-hatchet: apply resolv.conf's selinux context to new resolv.confJason A. Donenfeld2018-06-171-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wg: encoding: add missing static array constraintsJason A. Donenfeld2018-06-062-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wg: constanter time encodingJason A. Donenfeld2018-05-311-7/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ncat-client-server: do not always call sudo and use env bashJason A. Donenfeld2018-05-221-2/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* dns-hatchet: update pathsJason A. Donenfeld2018-05-161-1/+1
| | | | | Suggested-by: Martin Hauke <mardnh@gmx.de> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ncat-client-server: add wg-quick variantJason A. Donenfeld2018-05-152-4/+37
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-wg-library: zero attribute paddingJason A. Donenfeld2018-05-031-0/+4
| | | | | See: http://git.netfilter.org/libmnl/commit/?id=37c876b55a2c00424ccda5a300ab5fdec1d88b22 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* keygen-html: add zip file exampleJason A. Donenfeld2018-05-021-3/+127
| | | | | | A little bit more JavaScript for easy copy&pasting. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* contrib: add extract-handshakes kprobe exampleJason A. Donenfeld2018-03-045-0/+175
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Revert "contrib: keygen-html: rewrite in pure javascript"Jason A. Donenfeld2018-03-025-187/+129
| | | | | | | | | This reverts commit e5203543a674453ce1e0cbbcb234d3308762fe65. As swanky as it is to have a really short file, it's hard to justify and makes me nervous. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* contrib: keygen-html: rewrite in pure javascriptJason A. Donenfeld2018-03-025-129/+187
| | | | | | | Emscripten is too cumbersome. This code here is much slower, but it's shorter and simpler. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* contrib: embedded-wg-library: add key generation functionsJason A. Donenfeld2018-03-023-2/+205
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* contrib: embedded-wg-library: add ability to add and del interfacesJason A. Donenfeld2018-02-213-3/+109
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* contrib: add embeddable wireguard libraryJason A. Donenfeld2018-02-176-0/+1671
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wg: allow in-line commentsJason A. Donenfeld2018-02-171-2/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* external-tests: update go versionJason A. Donenfeld2018-02-151-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* keygen-html: fix up copyrightJason A. Donenfeld2018-02-021-4/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* curve25519: replace fiat64 with faster hacl64Jason A. Donenfeld2018-02-011-1/+1
| | | | | | | This reverts commit da4ff396cc5d5e0ff21f9ecbc2f951c048c63fff and adds some optimizations to hacl64. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* curve25519: replace hacl64 with fiat64Jason A. Donenfeld2018-02-011-1/+1
| | | | | | | | | | | | For now, it's faster: hacl64: 109782 cycles per call fiat64: 108984 cycles per call It's quite possible this commit will be reverted with nice changes from INRIA, though. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* contrib: keygen-html: share curve25519 implementation with kernelJason A. Donenfeld2018-01-232-831/+31
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* curve25519-fiat32: uninline certain functionsJason A. Donenfeld2018-01-181-4/+4
| | | | | | | | | | While this has a negative performance impact on x86_64, it has a positive performance impact on smaller machines, which is where we're actually using this code. For example, an A53: Before: fiat32: 228605 cycles per call After: fiat32: 188307 cycles per call Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* contrib: keygen-html: update curve25519 implementationJason A. Donenfeld2018-01-181-785/+769
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* external-tests: add python implementationPiotr Lizończyk2018-01-111-0/+94
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wg-quick: ifnames have max len of 15Jason A. Donenfeld2018-01-101-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: year bumpJason A. Donenfeld2018-01-0317-17/+17
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* keygen-html: remove prebuilt fileJason A. Donenfeld2017-12-127-45/+42
| | | | | | | | We also reduce the optimization level, just in case, but add closure compiler into the mix. Suggested-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: add SPDX tags to all filesGreg Kroah-Hartman2017-12-0915-19/+58
| | | | | | | | | | | | | | It's good to have SPDX identifiers in all files as the Linux kernel developers are working to add these identifiers to all files. Update all files with the correct SPDX license identifier based on the license text of the project or based on the license in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Modified-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* contrib: keygen-html for generating keys in the browserJason A. Donenfeld2017-12-034-0/+1020
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wg-quick: allow for tabs in keysJason A. Donenfeld2017-11-101-18/+18
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* contrib: add reresolve-dnsJason A. Donenfeld2017-10-312-0/+48
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wg-quick: allow for the hatchet, but not by defaultJason A. Donenfeld2017-10-313-0/+53
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* contrib: remove worthless build artifactJason A. Donenfeld2017-10-021-0/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* contrib: add sticky sockets example codeJason A. Donenfeld2017-09-243-0/+342
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* contrib: move Android tools to wireguard-android repoJason A. Donenfeld2017-08-014-259/+0
| | | | | https: //git.zx2c4.com/wireguard-android/ Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* android: fix readmeJason A. Donenfeld2017-07-261-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* android: add port of wg-quickJason A. Donenfeld2017-07-244-0/+259
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: wireguard.io --> wireguard.comJason A. Donenfeld2017-07-206-7/+7
| | | | | | | Due to concerns with the .io TLD, we are switching to using wireguard.com instead. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* haskell: re-add updated haskell exampleJason A. Donenfeld2017-06-245-0/+268
| | | | | Code-from: John Galt <jgalt@centromere.net> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* external-tests: trim the fatJason A. Donenfeld2017-06-095-205/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* go test: use x/crypto for blake2s now that we have 128-bit macJason A. Donenfeld2017-06-081-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* go test: correct tai64n and formattingJason A. Donenfeld2017-06-011-26/+26
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* external-tests: add keepalive packetJason A. Donenfeld2017-06-012-0/+23
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* go test: properly pad messageJason A. Donenfeld2017-06-011-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* rust test: add icmp pingJason A. Donenfeld2017-05-302-10/+63
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* rust test: convert screech test to snowJake McGinty2017-05-302-39/+31
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* noise: redesign preshared key modeJason A. Donenfeld2017-05-174-15/+21
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* contrib: add wg-json utilityJason A. Donenfeld2017-02-232-0/+59
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>