LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-23-2006, 04:02 AM   #1
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
Question regarding iptables log file


Running a linux based gateway server , by setting up NAT using iptables, i have configured it to log entries to syslog ,

Quote:
May 23 14:31:42 gateway kernel: IN=eth0 OUT=eth1 SRC=192.168.0.117 DST=203.199.83.5 LEN=40 TOS=0x00 PREC=0x00 TTL=127 ID=41504 DF PROTO=TCP SPT=1624 DPT=80 WINDOW=64860 RES=0x00 ACK URGP=0
By default it logs the source and destinaion ip address, Is there any way to tell iptables to lookup the DNS name of the destination ipaddress?

Regards
JayaKrishnan
 
Old 05-23-2006, 06:06 AM   #2
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Rep: Reputation: 30
Not to my knowledge
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing IPtables log file fluff Linux - Networking 0 09-03-2003 04:37 AM
IPTables logging going to console not the log file arobinson74 Linux - Networking 2 04-01-2003 01:20 AM
iptables, changing log file from /var/log/messages acid2000 Linux - Networking 3 03-11-2003 08:38 PM
iptables log file Anjo Linux - General 2 02-07-2003 03:21 PM
iptables log question silentwisdom Linux - Networking 8 06-06-2002 11:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration