On Feb 24, 2012, at 4:35 PM, Neil Watson wrote:

> Even though comments may be removed on the Shorewall side they are
> always on the iptables-save side. But that is one less step.  Still some
> of the command options are reversed by Shorewall (see original post) so
> the cached file still does me no good.  By counters I mean the numbers
> between [].
> 
> root@sol:~/inputs# iptables-save |head
> # Generated by iptables-save v1.4.8 on Fri Feb 24 19:32:09 2012
> *raw
> :PREROUTING ACCEPT [224:21804]
> :OUTPUT ACCEPT [81:9058]
> COMMIT
> # Completed on Fri Feb 24 19:32:09 2012
> # Generated by iptables-save v1.4.8 on Fri Feb 24 19:32:09 2012
> *nat
> :PREROUTING ACCEPT [12:796]
> :POSTROUTING ACCEPT [17:1072]

Looks like someone at your site decided it would be a good idea to add an alias 
like this:

alias iptables-save='iptables-save -c'

iptables-save outputs "[0:0]" unless the -c option is present.

-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 \________________________________________________




------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to