hi there,
i would like to compare my rules with the optimized ones.
is there a simple way to make pf show the optimized rules
without applying them? just a dump to compare with the
current rules?
-f
--
everyone has a photographic memory, some don't have film.
# pfctl -nvf /etc/pf.conf > /root/orig
# pfctl -novf /etc/pf.optimized > /root/optimized
# diff -u /root/orig /root/optimized | less
> hi there,
>
> i would like to compare my rules with the optimized ones.
>
> is there a simple way to make pf show the optimized rules
> without applying them? j
.. outputs a canonical form of your rules, not
optimized, pfctl -o -v -n -f ... outputs the same with optimization.
Kind regards,
Hannah.
hmm, on Mon, Mar 06, 2006 at 07:13:32AM -0500, Mike Frantzen said that
> # pfctl -nvf /etc/pf.conf > /root/orig
> # pfctl -novf /etc/pf.optimized > /root/optimized
^
how do i get this file? :)
this was not tested, was it? :)
thanks for the answers. i generated b
4 matches
Mail list logo