IPTables Logging information.
Nirmal Pathak
nirmal.pathak at gmail.com
Wed May 14 07:03:34 UTC 2008
Hi,
I am looking for something that would indicate the packet type in the log
without me having to refer to /etc/services for each entry.
An example of what I'd like to see would be:
May 5 09:28:58 ws4 kernel: Dropped from INPUT chain IN=eth0 OUT=
MAC=ff:ff:ff:ff:ff:ff:00:06:5b:8f:f5:99:08:00 SRC=192.168.251.98 DST=
192.168.251.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=18370 PROTO=UDP SPT=137
DPT=137 DPTDESC=NETBIOS Name Service LEN=58
In terms of the fictional DPTDESC output, will iptables do something like
this?
Is there any way out?
--
Nirmal D Pathak.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I was born free!
No Gates and Windows can restrict my Freedom!!
Enjoy Linux!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the redhat-list
mailing list