28 Commits

Author SHA1 Message Date
Yaroslav Gurov
b0db37dd17 fix: dkms build adjusted to the new(old) build system 2025-10-03 18:11:34 +02:00
Iurii Egorov
e882483f87 Add parameter to obfuscate endpoints in netlink get device response 2024-10-23 13:15:11 +03:00
Iurii Egorov
6301e3add4 Fix kernel download for newer Fedora kernels, and Ubuntu 24 package build fixes 2024-10-22 15:32:56 +03:00
Iurii Egorov
c98173803a Build fixes for newer kernels (#13)
* Hotfix: installation on modern kernels

* Cleanup kernel sources and final RPM package fix

* Notice in README regarding EPEL and DKMS.
2024-08-05 18:14:38 +03:00
Sergey Bondarev
85d637ea55 set version in Makefile.
Fix kernel source directory
2024-07-11 16:44:32 +03:00
Iurii Egorov
baf34a93ce Add AmneziaWG protocol improvements (#3)
* Add Amnezia VPN protocol

* Fix incorrect post config empty asc handling

* Build changes to engage more distros

* Improve parameter handling and add handshake debugging

* Small cosmetic changes

* Small cosmetic changes

* Small cosmetic changes

* Update main.c copyright

Signed-off-by: pokamest <pokamest@gmail.com>

---------

Signed-off-by: pokamest <pokamest@gmail.com>
Co-authored-by: pokamest <pokamest@gmail.com>
2024-03-22 18:37:03 +03:00
Jason A. Donenfeld
9b76476d36 global: remove remaining tools references
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-12-26 17:15:01 +01:00
Jason A. Donenfeld
962d7c947d global: update copyright
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-01-07 19:26:10 -05:00
Jason A. Donenfeld
96b07d8cfb jerry-rig: replace S_shipped with pl
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-11-19 19:59:54 +01:00
Jason A. Donenfeld
cc36bde00d chacha20,poly1305: switch to perlasm originals on mips and arm
We also separate out Eric Biggers' Cortex A7 implementation into its own
file.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-11-14 23:59:05 -08:00
Jason A. Donenfeld
60e2e7ad61 create-patch: blacklist instead of whitelist
This will deal with filename changes more gracefully.

Reported-by: Jordan Glover <Golden_Miller83@protonmail.ch>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-08 03:14:52 +02:00
Jason A. Donenfeld
07dac52be6 crypto: import zinc
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-03 23:52:11 -06:00
Jason A. Donenfeld
a183293413 global: run through clang-format
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.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-28 23:20:13 -06:00
Jason A. Donenfeld
0c73927077 global: year bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-01-03 21:58:00 +01:00
Greg Kroah-Hartman
63d2387ba3 global: add SPDX tags to all files
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>
2017-12-09 22:29:28 +01:00
Jason A. Donenfeld
bbc67c8886 kernel-tree: jury rig is the more common spelling
According to the Google Ngram viewer, jury is significantly more common
than jerry.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-30 20:45:08 +01:00
Jason A. Donenfeld
f6369780a8 contrib: filter compat lines
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-10-11 15:50:29 +02:00
Jason A. Donenfeld
51b27073af kernel-tree: remember UAPI in patch creation
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-10-02 18:00:54 +02:00
Jason A. Donenfeld
dde5170b9e jerry-rig: symlinks are better for tree patching
Use a symlink instead of lots of ../../..

Suggested-by: Benedikt Morbach <benedikt.morbach@googlemail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-05-17 18:07:42 +02:00
Jason A. Donenfeld
cba7e5200f create-patch: add context below to work with busybox patch
It turns out that GNU patch is happy to only have one line of context
above the inserted area and zero lines below, because of its fuzzy match
feature. However, busybox patch is crippled and terrible, and thus must
have context above and below the insertion point. So, we grudgingly add
it to our manually crafted minimal patch.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-02-27 21:27:11 -08:00
Jason A. Donenfeld
a7805a4412 create-patch: be sure it's actually after NETFILTER
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-02-13 21:55:18 +01:00
Jason A. Donenfeld
9ab07fd76e compat: backport siphash & dst_cache from mainline
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-02-13 21:55:17 +01:00
Jason A. Donenfeld
fa449736cd ratelimiter: load hashlimit at modinsert time
This fixes a potential race with net_lock and rtnl_lock.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2016-11-29 13:18:33 +01:00
Jason A. Donenfeld
a77d553a3a selftest: move to subfolder
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2016-08-02 18:19:20 +02:00
Jason A. Donenfeld
13e89d4860 contrib: move patchers to contrib/kernel-tree
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2016-08-02 02:55:43 +02:00
Jason A. Donenfeld
f650e11c1e build system: revamp building and configuration
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2016-07-18 03:41:57 +02:00
Jason A. Donenfeld
1a9406e232 Kconfig patching: do not match on NETFILTER
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2016-06-29 22:27:41 +02:00
Jason A. Donenfeld
b448d6f35b Initial commit
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2016-06-25 16:48:39 +02:00