All of lore.kernel.org
 help / color / mirror / Atom feed
* Logging the whole packet
@ 2004-11-23 21:50 Brad Tilley
  2004-11-23 22:12 ` Jason Opperisano
  0 siblings, 1 reply; 7+ messages in thread
From: Brad Tilley @ 2004-11-23 21:50 UTC (permalink / raw)
  To: netfilter

Is it possible to log the packet body and not just the header?

Currently I have this line in my iptables start-up file:

/sbin/iptables -I INPUT -p tcp -s ! 128.173.120.79 -d 128.173.120.79  -j 
LOG --log-prefix="Packet_Filter:"

And it generates log entries such as this:

Nov 23 16:44:28 athop1 kernel: Packet_Filter:IN=eth0 OUT= 
MAC=00:30:6e:5e:a2:0c:00:d0:01:ab:44:00:08:00 SRC=64.81.214.131 
DST=128.173.120.79 LEN=48 TOS=0x00 PREC=0x00 TTL=110 ID=29621 DF 
PROTO=TCP SPT=60366 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=0

I'd like to capture the packet body as well. I'm new to packet logging 
so forgive me if I'm over looking the obvious.

Thanks,
Brad


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-11-24 17:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-23 21:50 Logging the whole packet Brad Tilley
2004-11-23 22:12 ` Jason Opperisano
2004-11-24  1:12   ` Brad Tilley
2004-11-24  2:26     ` Brad Tilley
2004-11-24 11:03   ` israel Gold
2004-11-24 14:58     ` Jason Opperisano
2004-11-24 17:30       ` israel Gold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.