aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/examples (follow)
Commit message (Collapse)AuthorAgeFilesLines
* global: various formatting tweeksJason A. Donenfeld2018-11-131-25/+25
|
* keygen-html: add missing glue macroJason A. Donenfeld2018-11-061-0/+1
|
* tools: don't fail if a netlink interface dump is inconsistentJason A. Donenfeld2018-10-131-2/+9
| | | | | | | | | | Netlink returns NLM_F_DUMP_INTR if the set of all tunnels changed during the dump. That's unfortunate, but is pretty common on busy systems that are adding and removing tunnels all the time. Rather than retrying, potentially indefinitely, we just work with the partial results. Reported-by: Robert Gerus <ar@is-a.cat>
* global: rename struct wireguard_ to struct wg_Jason A. Donenfeld2018-10-081-5/+5
| | | | | | This required a bit of pruning of our christmas trees. Suggested-by: Jiri Pirko <jiri@resnulli.us>
* netlink: do not stuff index into nla typeJason A. Donenfeld2018-10-081-5/+4
| | | | | | | It's not used for anything, and LKML doesn't like the type being used as an index value. Suggested-by: Eugene Syromiatnikov <esyr@redhat.com>
* crypto: clean up remaining .h->.cJason A. Donenfeld2018-10-071-1/+1
|
* crypto: make constant naming scheme consistentJason A. Donenfeld2018-09-251-2/+2
|
* 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.
* crypto: import zincJason A. Donenfeld2018-09-031-1/+1
|
* embeddable-wg-library: do not left shift negative numbersJason A. Donenfeld2018-07-241-7/+2
| | | | Otherwise we incur undefined behavior.
* dns-hatchet: apply resolv.conf's selinux context to new resolv.confJason A. Donenfeld2018-06-171-0/+2
|
* tools: encoding: add missing static array constraintsJason A. Donenfeld2018-06-062-3/+3
|
* tools: constanter time encodingJason A. Donenfeld2018-05-311-7/+7
|
* ncat-client-server: do not always call sudo and use env bashJason A. Donenfeld2018-05-221-2/+3
|
* dns-hatchet: update pathsJason A. Donenfeld2018-05-161-1/+1
| | | | Suggested-by: Martin Hauke <mardnh@gmx.de>
* ncat-client-server: add wg-quick variantJason A. Donenfeld2018-05-152-4/+37
|
* embeddable-wg-library: zero attribute paddingJason A. Donenfeld2018-05-031-0/+4
| | | | See: http://git.netfilter.org/libmnl/commit/?id=37c876b55a2c00424ccda5a300ab5fdec1d88b22
* keygen-html: add zip file exampleJason A. Donenfeld2018-05-021-3/+127
| | | | A little bit more JavaScript for easy copy&pasting.
* contrib: add extract-handshakes kprobe exampleJason A. Donenfeld2018-03-045-0/+175
|
* 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.
* 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.
* contrib: embedded-wg-library: add key generation functionsJason A. Donenfeld2018-03-023-2/+205
|
* contrib: embedded-wg-library: add ability to add and del interfacesJason A. Donenfeld2018-02-213-3/+109
|
* contrib: add embeddable wireguard libraryJason A. Donenfeld2018-02-176-0/+1671
|
* tools: allow in-line commentsJason A. Donenfeld2018-02-171-2/+3
|
* keygen-html: fix up copyrightJason A. Donenfeld2018-02-021-4/+0
|
* curve25519: replace fiat64 with faster hacl64Jason A. Donenfeld2018-02-011-1/+1
| | | | | This reverts commit da4ff396cc5d5e0ff21f9ecbc2f951c048c63fff and adds some optimizations to hacl64.
* 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.
* contrib: keygen-html: share curve25519 implementation with kernelJason A. Donenfeld2018-01-232-831/+31
|
* 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
* contrib: keygen-html: update curve25519 implementationJason A. Donenfeld2018-01-181-785/+769
|
* wg-quick: ifnames have max len of 15Jason A. Donenfeld2018-01-101-2/+2
|
* global: year bumpJason A. Donenfeld2018-01-0315-15/+15
|
* 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>
* 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>
* contrib: keygen-html for generating keys in the browserJason A. Donenfeld2017-12-034-0/+1020
|
* wg-quick: allow for tabs in keysJason A. Donenfeld2017-11-101-18/+18
|
* contrib: add reresolve-dnsJason A. Donenfeld2017-10-312-0/+48
|
* wg-quick: allow for the hatchet, but not by defaultJason A. Donenfeld2017-10-313-0/+53
|
* contrib: remove worthless build artifactJason A. Donenfeld2017-10-021-0/+0
|
* contrib: add sticky sockets example codeJason A. Donenfeld2017-09-243-0/+342
|
* contrib: move Android tools to wireguard-android repoJason A. Donenfeld2017-08-014-259/+0
| | | | https://git.zx2c4.com/wireguard-android/
* android: fix readmeJason A. Donenfeld2017-07-261-2/+2
|
* android: add port of wg-quickJason A. Donenfeld2017-07-244-0/+259
|
* global: wireguard.io --> wireguard.comJason A. Donenfeld2017-07-203-4/+4
| | | | | Due to concerns with the .io TLD, we are switching to using wireguard.com instead.
* noise: redesign preshared key modeJason A. Donenfeld2017-05-171-3/+3
|
* contrib: add wg-json utilityJason A. Donenfeld2017-02-232-0/+59
|
* extract-keys: respect compat directivesJason A. Donenfeld2017-02-201-0/+4
|
* Update copyrightJason A. Donenfeld2017-01-108-8/+8
|
* tools: add systemd unit and auto-detectionJason A. Donenfeld2017-01-052-20/+0
|