mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-24 15:18:53 +01:00
Unconditionally disable kernel automatic helper association during start.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
b372163122
commit
2f1d59366c
@ -705,12 +705,10 @@ sub compiler {
|
|||||||
#
|
#
|
||||||
setup_proxy_arp;
|
setup_proxy_arp;
|
||||||
|
|
||||||
my $setting = supplied $config{HELPERS} ? 0 : 1;
|
emit( "#\n# Disable automatic helper association on kernel 3.5.0 and later\n#" ,
|
||||||
|
|
||||||
emit( "#\n# Set automatic helper association on kernel 3.5.0 and later\n#" ,
|
|
||||||
'if [ -f /proc/sys/net/netfilter/nf_conntrack_helper ]; then' ,
|
'if [ -f /proc/sys/net/netfilter/nf_conntrack_helper ]; then' ,
|
||||||
' progress_message "Setting up Automatic Helper Association"',
|
' progress_message "Disabling Kernel Automatic Helper Association"',
|
||||||
" echo $setting > /proc/sys/net/netfilter/nf_conntrack_helper",
|
" echo 0 > /proc/sys/net/netfilter/nf_conntrack_helper",
|
||||||
'fi',
|
'fi',
|
||||||
''
|
''
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user