> action.ELOG
> ~~~~~~~~~~~
> ?IF $1
>   ?SET p1 $1
> ?ELSE
>   ?SET p1 "-"
> ?ENDIF
> ?IF $2
>   ?SET p2 $2
> ?ELSE
>   ?SET p2 "-"
> ?ENDIF
> ?IF $3
>   ?SET p3 $3
> ?ELSE
>   ?SET p3 "-"
> ?ENDIF
> ?IF $4
>   ?SET p4 $4
> ?ELSE
>   ?SET p4 "-"
> ?ENDIF
> ?IF $5
>   ?SET p5 $5
> ?ELSE
>   ?SET p5 "-"
> ?ENDIF
> ?IF $6
>   ?SET p6 $6
> ?ELSE
>   ?SET p6 "-"
> ?ENDIF
> ALOG($p1,$p2,$p3,$p4,$p5,$p6)
> ?IF $5 && (! ($5 eq 'Drop'))
>   $5
> ?ENDIF
>   
At the beginning of action.ELOG I have missed this bit:

?IF $5 eq 'Drop'
  $5
?ENDIF

In other words, "Drop", if specified as the 5th parameter, gets executed 
first before anything else (thus preventing clutter in the subsequent 
log statements). I suspect it won't make any difference to the outcome, 
but still...

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to