Process routestopped file during 'check'

This commit is contained in:
Tom Eastep 2009-09-03 19:27:25 -07:00
parent 76d9a80df3
commit 03821dc22c
3 changed files with 19 additions and 9 deletions

View File

@ -795,6 +795,9 @@ 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 );
} else {
enable_object;
}
# S T O P _ F I R E W A L L # S T O P _ F I R E W A L L
# (Writes the stop_firewall() function to the compiled script) # (Writes the stop_firewall() function to the compiled script)
# #
@ -804,6 +807,8 @@ sub compiler {
Shorewall::Chains::initialize( $family ); Shorewall::Chains::initialize( $family );
initialize_chain_table; initialize_chain_table;
compile_stop_firewall( $test ); compile_stop_firewall( $test );
if ( $objectfile ) {
# #
# Copy the footer to the object # Copy the footer to the object
# #

View File

@ -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.

View File

@ -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
---------------------------------------------------------------------------- ----------------------------------------------------------------------------