Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 2004 17:13:17 +0900
From:      Rob <spamrefuse@yahoo.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: IPFW
Message-ID:  <417CB59D.3020700@yahoo.com>
In-Reply-To: <01fc01c4ba68$fac42460$0300a8c0@astral>
References:  <3.0.6.32.20041025084122.007cdb50@mail.uk2.net> <10582.1098690276@www44.gmx.net> <01fc01c4ba68$fac42460$0300a8c0@astral>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?417CB59D.3020700>