[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

configuring iptables logging



does anyone know how to configure the text that iptables logs to the system log files?

this is what I get in my log files:
IPT TCP-SYN: IN=eth0 OUT= MAC=01:01:01:01:01:01:01:03:6c:4e:68:54:08:00 SRC=64.221.41.22 DST=x.x.x.x LEN=48 TOS=0x00 PREC=0x00 TTL=120 ID=49349 DF PROTO=TCP SPT=3324 DPT=80 WINDOW=16384 RES=0x00 SYN URGP=0

Is it possible to get rid of the MAC address and the field that follows it. All I would like to see is the source and destination IP address and the information after it. I haven't been able to find any info on the net on how to do this. All I can think of is modifying the kernel (netfilter) source file but that doesn't seem like a good idea.

thanks
jmb



Reply to: