mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-19 21:01:20 +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;
|
||||
|
||||
my $setting = supplied $config{HELPERS} ? 0 : 1;
|
||||
|
||||
emit( "#\n# Set automatic helper association on kernel 3.5.0 and later\n#" ,
|
||||
emit( "#\n# Disable automatic helper association on kernel 3.5.0 and later\n#" ,
|
||||
'if [ -f /proc/sys/net/netfilter/nf_conntrack_helper ]; then' ,
|
||||
' progress_message "Setting up Automatic Helper Association"',
|
||||
" echo $setting > /proc/sys/net/netfilter/nf_conntrack_helper",
|
||||
' progress_message "Disabling Kernel Automatic Helper Association"',
|
||||
" echo 0 > /proc/sys/net/netfilter/nf_conntrack_helper",
|
||||
'fi',
|
||||
''
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user