aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/main.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* main: remove unused include <linux/version.h>YueHaibing2019-12-121-1/+0
| | | | | | Remove including <linux/version.h> that we don't need. Signed-off-by: YueHaibing <yuehaibing@huawei.com>
* global: update copyrightJason A. Donenfeld2019-01-071-2/+2
|
* main: get rid of unloaded debug messageJason A. Donenfeld2018-10-101-1/+0
|
* main: change module descriptionJason A. Donenfeld2018-10-081-1/+1
| | | | Suggested-by: Jiri Pirko <jiri@resnulli.us>
* global: prefix all functions with wg_Jason A. Donenfeld2018-10-021-8/+8
| | | | | | | | | | | | | I understand why this must be done, though I'm not so happy about having to do it. In some places, it puts us over 80 chars and we have to break lines up in further ugly ways. And in general, I think this makes things harder to read. Yet another thing we must do to please upstream. Maybe this can be replaced in the future by some kind of automatic module namespacing logic in the linker, or even combined with LTO and aggressive symbol stripping. Suggested-by: Andrew Lunn <andrew@lunn.ch>
* global: put SPDX identifier on its own lineJason A. Donenfeld2018-09-201-2/+2
| | | | | The kernel has very specific rules correlating file type with comment type, and also SPDX identifiers can't be merged with other comments.
* crypto: turn Zinc into individual modulesJason A. Donenfeld2018-09-181-12/+6
|
* crypto: import zincJason A. Donenfeld2018-09-031-5/+6
|
* global: run through clang-formatJason A. Donenfeld2018-08-281-1/+4
| | | | | | | This is the worst commit in the whole repo, making the code much less readable, but so it goes with upstream maintainers. We are now woefully wrapped at 80 columns.
* main: properly name labelJason A. Donenfeld2018-07-311-2/+2
|
* main: add missing chacha20poly1305 headerJason A. Donenfeld2018-07-311-1/+2
|
* main: test poly1305 before chacha20poly1305Jason A. Donenfeld2018-06-221-1/+1
| | | | | | Since chacha20poly1305 relies on the correctness of poly1305, it's useful to have a failing poly1305 test first, to better pinpoint what's happening.
* chacha20poly1305: split up into separate filesJason A. Donenfeld2018-05-311-2/+4
|
* poly1305: add poly-specific self-testsJason A. Donenfeld2018-01-191-1/+1
|
* global: year bumpJason A. Donenfeld2018-01-031-2/+2
|
* global: add SPDX tags to all filesGreg Kroah-Hartman2017-12-091-1/+4
| | | | | | | | | | | | | 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>
* netlink: rename symbol to avoid clashesJason A. Donenfeld2017-11-291-2/+2
| | | | At somepoint we may need to wg_ namespace these.
* allowedips: rename from routingtableJason A. Donenfeld2017-11-101-1/+1
| | | | Makes it more clear that this _not_ a routing table replacement.
* queueing: move from ctx to cbJason A. Donenfeld2017-10-051-8/+1
|
* netlink: switch from ioctl to netlink for configurationJason A. Donenfeld2017-10-021-0/+11
|
* queueing: more standard init/uninit namesJason A. Donenfeld2017-09-251-3/+3
|
* queue: entirely rework parallel systemJason A. Donenfeld2017-09-181-10/+4
| | | | | | | | | | This removes our dependency on padata and moves to a different mode of multiprocessing that is more efficient. This began as Samuel Holland's GSoC project and was gradually reworked/redesigned/rebased into this present commit, which is a combination of his initial contribution and my subsequent rewriting and redesigning.
* global: wireguard.io --> wireguard.comJason A. Donenfeld2017-07-201-1/+1
| | | | | Due to concerns with the .io TLD, we are switching to using wireguard.com instead.
* ratelimiter: add self-testJason A. Donenfeld2017-07-061-1/+2
|
* ratelimiter: rewrite from scratchJason A. Donenfeld2017-06-261-6/+0
| | | | | | | This not only removes the depenency on x_tables, but it also gives us much better performance and memory usage. Now, systems are able to have millions of WireGuard interfaces, without having to worry about a thundering herd of garbage collection.
* debug: print interface name in dmesgJason A. Donenfeld2017-05-311-1/+1
|
* main: add /sys/module/wireguard/versionJason A. Donenfeld2017-03-271-0/+1
| | | | Suggested-by: Samuel Holland <samuel@sholland.org>
* curve25519: add AVX implementationJason A. Donenfeld2017-03-191-0/+1
|
* blake2s: add AVX implementationJason A. Donenfeld2017-03-191-1/+2
|
* Revert "main: add `wg` type alias"Jason A. Donenfeld2017-02-141-2/+1
| | | | This reverts commit b4f93ace76b1065ab08fd5596f31a0971b848eea.
* main: add `wg` type aliasJason A. Donenfeld2017-02-131-1/+2
|
* compat: backport siphash & dst_cache from mainlineJason A. Donenfeld2017-02-131-2/+1
|
* Update copyrightJason A. Donenfeld2017-01-101-2/+2
|
* siphash: update against upstream submissionJason A. Donenfeld2016-12-161-2/+2
|
* types: enforce consistencyJason A. Donenfeld2016-12-161-9/+9
|
* main: consistent linesJason A. Donenfeld2016-12-111-6/+1
|
* main: cleaner error teardownJason A. Donenfeld2016-12-091-12/+12
|
* main: unify the adjective trifectaJason A. Donenfeld2016-11-291-1/+1
|
* ratelimiter: load hashlimit at modinsert timeJason A. Donenfeld2016-11-291-8/+18
| | | | This fixes a potential race with net_lock and rtnl_lock.
* headers: cleanup noticesJason A. Donenfeld2016-11-211-2/+2
|
* main: add version to dmesgJason A. Donenfeld2016-11-211-1/+2
|
* data: only uses kmem_cache for parallismJason A. Donenfeld2016-11-061-0/+6
|
* data: use a memory cache for parallel ctxJason A. Donenfeld2016-11-041-1/+8
|
* Rework headers and includesJason A. Donenfeld2016-09-291-3/+4
|
* qemu: enhancementsJason A. Donenfeld2016-08-171-6/+0
|
* main: load driver late in boot process when debuggingJason A. Donenfeld2016-08-101-0/+6
|
* main: fix typoJason A. Donenfeld2016-08-101-1/+1
|
* tests: make fatalJason A. Donenfeld2016-06-251-6/+7
|
* Initial commitJason A. Donenfeld2016-06-251-0/+50