increasing ip_list_tot in net/netfilter/xt_recent.c for a non-modular kernel
Subsystems (2)
I'm curious if there's a better solution than local patching like:
net/netfilter/xt_recent.c +1 -1
@@ -40,7 +40,7 @@ MODULE_LICENSE("GPL");MODULE_ALIAS ("ipt_recent" );MODULE_ALIAS ("ip6t_recent" ); -static unsigned int ip_list_tot__read_mostly =100 ; +static unsigned int ip_list_tot__read_mostly =10000 ;static unsigned int ip_list_hash_size__read_mostly ;static unsigned int ip_list_perms__read_mostly =0644 ;static unsigned int ip_list_uid__read_mostly ;
here under a hardened Gentoo Linux using iptables ?
--
Toralf
Quoted 1 line · Toralf Förster
I'm curious if there's a better solution than local patching like:
See "modinfo xt_recent": you can tune it via a module parameter.
Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : https://wigner.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics
H-1525 Budapest 114, POB. 49, Hungary
Quoted 8 lines · Jozsef Kadlecsik
Quoted 1 line · Toralf Förster
I'm curious if there's a better solution than local patching like:
See "modinfo
xt_recent": you can tune it via a module parameter.Best regards,
Jozsef
It is a non-modular kernel.
--
Toralf
Quoted 5 lines · Toralf Förster
Quoted 3 lines
Quoted 1 line
I'm curious if there's a better solution than local patching like:
See "modinfo
xt_recent": you can tune it via a module parameter.It is a non-modular kernel.
Then you can specify it as a kernel boot parameter:
xt_recent.ip_list_tot=N
Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : https://wigner.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics
H-1525 Budapest 114, POB. 49, Hungary
Quoted 10 lines · Jozsef Kadlecsik
Quoted 3 lines · Toralf Förster
Quoted 2 lines
Quoted 1 line
I'm curious if there's a better solution than local patching like:
See "modinfo
xt_recent": you can tune it via a module parameter.It is a non-modular kernel.
Then you can specify it as a kernel boot parameter:
xt_recent.ip_list_tot=NBest regards,
Jozsef
Ah - good advice, thx !
--
Toralf