517 Commits

Author SHA1 Message Date
Yaroslav Gurov
5d6179a6d0 Merge pull request #38 from amnezia-vpn/fix/android-i1-i5
fix: allow empty I2-I5 params awg2
v1.0.20260223
2026-02-23 12:52:11 +01:00
NickVs2015
7ec48a97ca fix: allow empty I2-I5 params awg2 2026-02-23 12:49:24 +01:00
Yaroslav Gurov
5c6ffd6168 fix: remove unused parse_uint32 v1.0.20250903 2025-09-03 16:11:13 +02:00
Mark Puha
5e882890fb feat: awg 2.0 (#30)
* feat: ranged headers support H1-H4
* feat: junks S3-S4
* feat: I1-I4 concealment packets

---------

Co-authored-by: Yaroslav Gurov <ygurov@proton.me>
v1.0.20250901
2025-09-01 12:48:39 +02:00
pokamest
2b593ee086 Merge pull request #29 from amnezia-vpn/revert-25-awg-1.5
Revert "Awg 1.5"
v1.0.20250706
2025-07-06 11:59:18 +01:00
pokamest
481106b19d Revert "Awg 1.5 (#25)"
This reverts commit 4c12402c1f.
2025-07-06 11:58:33 +01:00
pokamest
ae857090cd Merge pull request #28 from amnezia-vpn/revert-27-hotfix/leading-whitespace-in-value
Revert "fix: revert changes of whitespaces handling"
2025-07-06 11:58:16 +01:00
pokamest
97ce4ad48f Revert "fix: revert changes of whitespaces handling" 2025-07-05 15:00:53 +01:00
pokamest
5877b9b057 Merge pull request #27 from ygurov/hotfix/leading-whitespace-in-value
fix: revert changes of whitespaces handling
2025-07-05 12:41:46 +01:00
Yaroslav Gurov
2db7e1d22d fix: revert changes of whitespaces handling 2025-07-05 13:38:33 +02:00
Mark Puha
4c12402c1f Awg 1.5 (#25)
awg-1.5
v1.0.20250704
2025-07-04 10:29:02 +01:00
Iurii Egorov
c0b400c6df Update wg-json to support AmneziaWG parameters v1.0.20241018 2024-10-01 16:02:42 +03:00
Iurii Egorov
f69cd16056 Auth notifications for unknown peers 2024-09-15 21:29:49 +03:00
Iurii Egorov
dafa38e4b0 Support for legacy clients 2024-09-03 14:48:33 +03:00
pokamest
e42813caac Merge pull request #12 from RomikB/pipe_rebranding
unsafe rebranding: change pipe name for windows
2024-05-06 09:53:51 -07:00
RomikB
776a1b5e19 unsafe rebranding: change pipe name for windows 2024-05-05 10:31:44 +02:00
pokamest
d33c4b6936 Merge pull request #11 from amnezia-vpn/fix/android
Fix android.c
2024-03-16 13:45:39 +00:00
albexk
2fdea58d2b Fix android.c 2024-03-16 14:33:02 +03:00
tiaga
6eb1abfa4f Merge pull request #10 from amnezia-vpn/update_actions
Improve pipeline
v1.0.20240213
2024-02-13 20:18:12 +07:00
tiaga
eb9ef8a1fd Improve pipeline
- rename `wg.exe` to `awg.exe`
- set release name automatically
2024-02-13 20:16:15 +07:00
tiaga
da1e7bcea3 Merge pull request #9 from amnezia-vpn/update_linux_build
Update linux-build.yml
2024-02-13 07:07:51 +07:00
AlexanderGalkov
ff229c0c82 Update linux-build.yml
Signed-off-by: AlexanderGalkov <143902290+AlexanderGalkov@users.noreply.github.com>
2024-02-12 22:46:26 +07:00
pokamest
af245c000e Merge pull request #8 from amnezia-vpn/fix/android
Fix missing brackets and package name
2024-02-11 09:08:09 -08:00
albexk
7b234cf29b Fix missing brackets and package name 2024-02-11 19:20:52 +03:00
tiaga
c1148485e0 Merge pull request #7 from AlexanderGalkov/test
Update linux-build.yml
2024-02-04 01:42:40 +07:00
AlexanderGalkov
5e05aab557 Update linux-build.yml
Signed-off-by: AlexanderGalkov <143902290+AlexanderGalkov@users.noreply.github.com>
2024-02-03 18:29:28 +07:00
Iurii Egorov
72776bc507 UAPI changes for Amnezia kernel module (#4)
* UAPI changes for Amnezia kernel module

* Fix indents

* Fix indents

* Fix indents

* Change protocol type

* Change protocol type

* Change protocol type

* Change protocol type

* Revert "Change protocol type"

* K

* Fix wg-quick

* Prepare packaging

* Prepare packaging

* Prepare packaging

* Prepare packaging

* naming convention fix

* Bash completions

* Naming unify

* Naming unify

* SPEC file for RPM build

* SPEC file for RPM build

* SPEC file for RPM build

* SPEC file for RPM build

---------

Co-authored-by: Mark Puha <marko10@inf.elte.hu>
v1.0.20240202
2024-02-02 16:44:20 +03:00
tiaga
3ff2272d00 Merge pull request #6 from amnezia-vpn/linux-build
Improve builds
2024-02-02 18:20:05 +07:00
tiaga
422b69f410 Improve builds
- simplify pipeline for Windows and add the `retry` parameter for cURL in case of issues with downloading dependencies
- add a pipeline to make Linux builds for Ubuntu and Alpine
2024-02-02 18:14:41 +07:00
pokamest
c9ff85e9ed Merge pull request #1 from amnezia-vpn/new_fields_to_config
New fields to config
v1.0.20231215
2023-09-25 05:16:16 -07:00
Mark Puha
18901ddeaf convert indentation&fix action 2023-09-24 17:44:33 +02:00
Mark Puha
be97b12dac change build extension 2023-09-24 17:30:51 +02:00
Mark Puha
55be21e50c fix workflow 2023-09-24 17:20:25 +02:00
Mark Puha
d6baf3ad66 Update windows-build.yml
Signed-off-by: Mark Puha <p.mark95@gmail.com>
2023-09-24 14:16:26 +02:00
Mark Puha
a3c7c20be7 Merge pull request #2 from amnezia-vpn/marko1777-patch-1
Create windows-build.yml
2023-09-24 14:11:15 +02:00
Mark Puha
718159b457 Create windows-build.yml
Signed-off-by: Mark Puha <p.mark95@gmail.com>
2023-09-24 14:10:47 +02:00
Mark Puha
1257df6788 add windows buid bat 2023-09-24 14:09:24 +02:00
Mark Puha
52d6ae3b9e new fields to freebsd 2023-09-20 05:01:30 +02:00
Mark Puha
be3e4e6db8 only send new fields when present 2023-09-19 06:02:45 +02:00
Mark Puha
f0854129a7 openbsd interface io fields 2023-09-15 10:39:16 +02:00
Mark Puha
c1008024ca remove print 2023-09-15 07:18:16 +02:00
Mark Puha
4dda7f6d0a add openbsd new fields 2023-09-15 07:09:56 +02:00
Mark Puha
f80e2c90e9 add windows new fields 2023-09-15 07:09:14 +02:00
Mark Puha
8e18546c25 add flags 2023-09-10 06:56:43 +02:00
Mark Puha
6747b3ebd9 minor modifications 2023-09-09 14:31:41 +02:00
Mark Puha
f632775430 compiling version of new fields 2023-09-09 07:37:06 +02:00
Jason A. Donenfeld
13f4ac4cb7 ipc: linux: enforce IFNAMSIZ limit
libmnl doesn't check lengths, so do our own checking before copying the
interface name to the netlink buffer.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-08-04 16:04:36 +02:00
Jason A. Donenfeld
729242a114 man: set private key in PreUp rather than PostUp
This is probably more sensible, since there's no point in letting
traffic flow before the interface is configured.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-18 16:39:49 +02:00
Daniel Gröber
e6888dd74e wg-quick: run PreUp hook after creating interface
Currently PreUp hooks run before the interface is created. This is
problematic for moving the device into a Linux VRFs as this will
currently clear all assigned IPv6 addressess (possibly a bug), so if we
did this in PostUp (i.e. before add_addr) we'll have to manually re-add
all assigned addresses. This is obviously less than ideal.

Instead create the wg device just before running PreUp hooks. We apply
this to all platforms for consistency.

Test case:

    $ ip link add vrf-test type vrf table 1234
    $ ip link add wg-test type wireguard
    $ ip addr add dev wg-test 192.168.42.42/24
    $ ip addr add dev wg-test fe80::/64

    $ ip -br addr show wg-test
    wg-test          DOWN           192.168.42.42/24 fe80::/64

    $ ip link set dev wg-test master vrf-test

    $ ip -br addr show wg-test
    wg-test          DOWN           192.168.42.42/32

Signed-off-by: Daniel Gröber <dxld@darkboxed.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-18 16:38:34 +02:00
Dmitry Selivanov
b4f6b4f229 show: fix show all endpoints output
Currently "wg show all endpoints" prints interface name only once
while other "show all" commands print it on each line as man says.

Signed-off-by: Dmitry Selivanov <dseliv@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-02-08 13:47:47 -03:00