PF aliases -- how can these be improved?

Odhiambo Washington wash at wananchi.com
Sun May 8 07:41:46 PDT 2005


* Fafa Hafiz Krantz <fteg at london.com> [20050508 15:32]: wrote:
> 
> Hey!
> 
> Here are some aliases I snagged of some dood on IRC:
> 
> How can these PF aliases be improved?
> The last one doesn't really reload PF. I need to reboot for that.
> 
>    alias pfdump 'tcpdump -n -e -ttt -r /var/log/pflog'
>    alias pfmon 'tcpdump -n -e -ttt -i pflog0'
>    alias pfreload 'pfctl -f /etc/pf.conf'

man pfdump
man tcpdump
man pfctl

http://www.openbsd.org/faq/pf/
http://freebsd.vinf.ru/doc/en/books/handbook/firewalls-pf.html

-Wash

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash at wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
Flappity, floppity, flip
The mouse on the m"obius strip;
	The strip revolved,
	The mouse dissolved
In a chronodimensional skip.


More information about the freebsd-questions mailing list