Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2010 15:46:03 -0500
From:      Gary Gatten <Ggatten@waddell.com>
To:        "'yavuz.maslak@netiletisim.net'" <yavuz.maslak@netiletisim.net>, "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Re: about tcpdump
Message-ID:  <D9B37353831173459FDAA836D3B434994A6F47BB@WADPMBXV0.waddell.com>

next in thread | raw e-mail | index | archive | help

I think by default it does only log "session" info not the full packet.  For that you'd need to add -vvv and set the packet length to zero to capture the full packet.

So, just run it without any args and you should be ok.

----- Original Message -----
From: owner-freebsd-questions@freebsd.org <owner-freebsd-questions@freebsd.org>
To: freebsd-questions@freebsd.org <freebsd-questions@freebsd.org>
Sent: Thu Apr 15 15:37:09 2010
Subject: about tcpdump

I have a network. I wish to log all incoming and outgoing trafficc using 
tcpdump on my gateway server. But I don't want to log these traffic's data 
because of they take up much on disk.
I only want to log which ports were used, which ip addresses were reached.
How can I do these using tcpdump ?
Could you give me an example or docs?
I use freebsd7.2

 

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


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