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: [email protected] <[email protected]>
To: [email protected] <[email protected]>
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

 

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

Reply via email to