Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-23-2006, 05:02 AM   #1
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 ,

May 23 14:31:42 gateway kernel: IN=eth0 OUT=eth1 SRC= DST= 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?

Old 05-23-2006, 07:06 AM   #2
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Rep: Reputation: 30
Not to my knowledge


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 05:37 AM
IPTables logging going to console not the log file arobinson74 Linux - Networking 2 04-01-2003 02:20 AM
iptables, changing log file from /var/log/messages acid2000 Linux - Networking 3 03-11-2003 09:38 PM
iptables log file Anjo Linux - General 2 02-07-2003 04:21 PM
iptables log question silentwisdom Linux - Networking 8 06-06-2002 12:43 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:54 AM.

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