IPFW

Rob spamrefuse at yahoo.com
Mon Oct 25 01:13:24 PDT 2004


Spades wrote:
> Hi,
> 
> I would like to monitor the connections (source IP + destination port)
> of all connections to my server, can i use ipfw?
> any idea how do i execute the command to log that or the rule

tcpdump(1) could do that for you, I believe.

If you have a firewall up and running, then I wonder if this
could work at the top of your rules list:

     ipfw add log logamount 0 count ip from any to any

or something like this. See ipfw(8).

R.




More information about the freebsd-questions mailing list