18 Commits

Author SHA1 Message Date
sbwml
f91067a009 nft-fullcone: fix build with linux-6.12
Signed-off-by: sbwml <admin@cooluc.com>
2024-09-30 14:50:40 +08:00
Bard L
f422565913 nft-fullcone: disable -Wframe-address warning with -Wno-frame-address flag 2024-05-07 10:45:26 +08:00
sbwml
7be5a5866b nft-fullcone: fix build with clang
Signed-off-by: sbwml <admin@cooluc.com>
2024-05-03 20:20:22 +08:00
sbwml
2d1bdeb874 nft-fullcone: drop outdated patches
Signed-off-by: sbwml <admin@cooluc.com>
2024-03-13 11:16:55 +08:00
Bard L
c75575d837 删除 'patches/010-fix-kernel-6.1.patch' 2023-04-28 05:06:59 +08:00
sbwml
e4eab3c1ff Merge https://github.com/fullcone-nat-nftables/nft-fullcone 2023-04-28 04:40:05 +08:00
Shen, Zhonghua Daniel
47adf5d36e
Add Makefile for debian linux (#10)
* Add Makefile for debian linux

* Update Makefile

remove the "\" brought from my shell script

* add uninstall for the modules

---------

Co-authored-by: root <root@wireguard.wireguard.local>
2023-04-15 11:11:52 +08:00
Syrone Wong
5a21ca29b7
nft_ext_fullcone.c: fix nft_expr_ops::dump callback parameters
7d34aa3e03
2023-02-26 21:55:30 +08:00
Bard L
66d6aa23cf 更新 'Makefile' 2023-01-13 17:40:18 +08:00
Syrone Wong
95ad79bc6d
nf_nat_fullcone.c: fix missing prandom_u32() with Linux >= 6.1.0
prandom_u32() previously was only calling get_random_u32() so it's been
dropped with Linux 6.1.0. So let's directly call get_random_u32() if Linux
version >= 6.1.0.

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2023-01-10 11:04:25 +08:00
sbwml
53957ed3cf test2 2023-01-07 06:09:34 +08:00
sbwml
667a761b83 test 2023-01-07 06:08:16 +08:00
sbwml
3557cdc50b fix linux-6.1 2022-12-15 18:07:06 +08:00
sbwml
2b08c50b1b Merge https://github.com/fullcone-nat-nftables/nft-fullcone 2022-06-25 05:07:37 +08:00
0d3e2bedf9
fix: unable to get next hop device ip (#3)
Use the official method netfilter/nf_nat_masquerade.c: 78ca55889a/net/netfilter/nf_nat_masquerade.c (L52)
2022-06-21 12:27:28 +08:00
Syrone Wong
fcda0ee8a8 Fix IPv6 handling
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2022-05-11 15:42:20 +08:00
Syrone Wong
857f9ad34a Fix IPv6 handling
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2022-05-10 22:18:02 +08:00
Syrone Wong
90834e19a0 nft-fullcone: init OpenWrt package
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2022-04-09 01:31:10 +08:00