On 9/4/12 4:20 PM, Mr Dash Four wrote:
>> When compiling, do you see the line of output flagged below:
>>
>> Optimizing Ruleset...
>> Creating iptables-restore input...
>> Compiling /etc/shorewall/stoppedrules... <===============
>> Shorewall configuration compiled to /var/lib/shorewall/firewall
> This is what I get:
> 
> [root@test1 shorewall]# shorewall compile test
> Compiling...
> Processing /etc/shorewall/params ...
> Processing /etc/shorewall/shorewall.conf...
>    WARNING: Option EXPORTPARAMS=Yes is deprecated 
> /etc/shorewall/shorewall.conf (line 253)
> Loading Modules...
> Compiling /etc/shorewall/zones...
> Compiling /etc/shorewall/interfaces...
> Determining Hosts in Zones...
> Locating Action Files...
> Compiling /usr/share/shorewall/action.Drop for chain Drop...
> Compiling /usr/share/shorewall/action.Reject for chain Reject...
> Compiling /etc/shorewall/policy...
> Running /etc/shorewall/initdone...
> Adding Anti-smurf Rules
> Compiling TCP Flags filtering...
> Compiling ARP Filtering...
> Compiling Kernel Route Filtering...
> Compiling Martian Logging...
> Compiling /etc/shorewall/tcdevices...
> Compiling /etc/shorewall/tcclasses...
> Compiling /etc/shorewall/tcrules...
> Compiling /etc/shorewall/secmarks...
> Compiling MAC Filtration -- Phase 1...
> Compiling /etc/shorewall/blrules...
> Compiling /etc/shorewall/rules...
> Compiling /etc/shorewall/conntrack...
> Compiling MAC Filtration -- Phase 2...
> Applying Policies...
> Generating Rule Matrix...
> Optimizing Ruleset...
> Creating iptables-restore input...
> Compiling /etc/shorewall/stoppedrules...
> Shorewall configuration compiled to /etc/shorewall/test
> 
> Even though it says that it has been "processed", it isn't. Here is my 
> stoppedrules file:
> [root@test1 shorewall]# cat stoppedrules 
> #
> # Shorewall version 4 - Stopped Rules File
> #
> # For information about entries in this file, type "man 
> shorewall-stoppedrules"
> #
> # The manpage is also online at
> # http://www.shorewall.net/manpages/shorewall-stoppedrules.html
> #
> # See http://shorewall.net/starting_and_stopping_shorewall.htm for additional
> # information.
> #
> ###############################################################################
> #TARGET               SOURCE                          DEST                    
> PROTO   DEST    SOURCE
> #                                                                             
> PORT(S) PORT(S)
> ACCEPT                $FW:+mickey-mouse-port[dst]     +mickey-mouse-net       
> tcp
> 
> Bizarre! If you can't reproduce it, should I prepare a test case for you? 
> I'll respond to the other issues separately when I finish testing your 
> patchlet...

I'll bet you have ADMINISABSENTMINDED=Yes. That setting accepts all
output from the firewall so the above output rule is redundant and
therefore suppressed.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to