mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-21 10:18:58 +02:00
Process routestopped file during 'check'
This commit is contained in:
parent
76d9a80df3
commit
03821dc22c
@ -795,15 +795,20 @@ sub compiler {
|
|||||||
# (Produces setup_netfilter(), chainlist_reload() and define_firewall() )
|
# (Produces setup_netfilter(), chainlist_reload() and define_firewall() )
|
||||||
#
|
#
|
||||||
generate_script_3( $chains );
|
generate_script_3( $chains );
|
||||||
# S T O P _ F I R E W A L L
|
} else {
|
||||||
# (Writes the stop_firewall() function to the compiled script)
|
enable_object;
|
||||||
#
|
}
|
||||||
# We must reinitialize Shorewall::Chains before generating the iptables-restore input
|
# S T O P _ F I R E W A L L
|
||||||
# for stopping the firewall
|
# (Writes the stop_firewall() function to the compiled script)
|
||||||
#
|
#
|
||||||
Shorewall::Chains::initialize( $family );
|
# We must reinitialize Shorewall::Chains before generating the iptables-restore input
|
||||||
initialize_chain_table;
|
# for stopping the firewall
|
||||||
compile_stop_firewall( $test );
|
#
|
||||||
|
Shorewall::Chains::initialize( $family );
|
||||||
|
initialize_chain_table;
|
||||||
|
compile_stop_firewall( $test );
|
||||||
|
|
||||||
|
if ( $objectfile ) {
|
||||||
#
|
#
|
||||||
# Copy the footer to the object
|
# Copy the footer to the object
|
||||||
#
|
#
|
||||||
|
@ -4,6 +4,8 @@ Changes in Shorewall 4.4.2
|
|||||||
|
|
||||||
2) Fix chain table initialization
|
2) Fix chain table initialization
|
||||||
|
|
||||||
|
3) Validate routestopped file on 'check'
|
||||||
|
|
||||||
Changes in Shorewall 4.4.1
|
Changes in Shorewall 4.4.1
|
||||||
|
|
||||||
1) Deleted extra 'use ...IPAddrs.pm' from Nat.pm.
|
1) Deleted extra 'use ...IPAddrs.pm' from Nat.pm.
|
||||||
|
@ -181,6 +181,9 @@ Shorewall 4.4.2
|
|||||||
determined. This could lead to incorrect rules and Perl runtime
|
determined. This could lead to incorrect rules and Perl runtime
|
||||||
errors.
|
errors.
|
||||||
|
|
||||||
|
3) The 'shorewall check' command previously did not detect errors in
|
||||||
|
/etc/shorewall/routestopped.
|
||||||
|
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
K N O W N P R O B L E M S R E M A I N I N G
|
K N O W N P R O B L E M S R E M A I N I N G
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user