Re: IPTables Logging information.

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

 



Hi Nirmal,
   
  I'm afraid that LOG target is limited, I couldn't even find a way to change logging facility.
   
  It might be a good idea to google for some tool which can do that for you. Alternatively you can use scripting for that purpose.
   
  Please note that in corporate network you have less then a 30 services which are being used.
   
  Kind Regards,
  Paul Malinowski 

Nirmal Pathak <nirmal.pathak@xxxxxxxxx> wrote:
  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!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Paul Malinowski
Live Site Manager
+447795093450

       
---------------------------------
Sent from Yahoo! Mail.
A Smarter Email.
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux