LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-18-2006, 01:13 PM   #1
dales79
LQ Newbie
 
Registered: Jan 2006
Posts: 11

Rep: Reputation: 0
find ip address of packets using etheral


Hi

I have to set-up port address translation on my Linux Firewall. After this I need to find the ip address of all outgoing and incoming packets on the outside of the firewall.

I am intending on using ethereal to achieve this. Will ethereal show the internal ip address of the packet, as in 192.168.0.X? Or is there a way to set it so that it shows the ip address that is assigned by the firewall once the packet has passed through the firewall. Obviously the ip address at this statge will be that of the firewalls external interface, but I need to check that this is happening. I also need to be able to show the port number that has been assigned to each packet.

Can someone help me out on this?

Thanks in advance

Sam
 
Old 01-18-2006, 01:49 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I don't think you'll need ethereal... why don't you just use
a LOG rule within iptables for this?


Cheers,
Tink
 
Old 01-18-2006, 01:56 PM   #3
dales79
LQ Newbie
 
Registered: Jan 2006
Posts: 11

Original Poster
Rep: Reputation: 0
you mean something like?
iptables -t filter -A INPUT -m limit --limit 3/minute --limit-burst 3 -j LOG --log-prefix "INPUT: "
iptables -t filter -A OUTPUT -m limit --limit 3/minute --limit-burst 3 -j LOG --log-prefix "OUTPUT: "

(I got this from another post by gilead)
 
Old 01-18-2006, 02:06 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Yah, that's it :}
 
Old 02-16-2006, 11:34 AM   #5
mmhicks
LQ Newbie
 
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
What does tripwire do?
What does ethereal do?
what does iptables do?
what does snort do?
How do you create an alias for the command ps?

Last edited by mmhicks; 02-16-2006 at 11:36 AM.
 
  


Reply



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
detect ip address of packets dales79 Linux - Networking 5 01-17-2006 06:29 AM
How to find an IP address from the MAC address of a remote machine ? jitz Linux - General 3 01-03-2006 07:55 AM
IPTABLES - How to allow all packets from a certain address exitsfunnel Linux - Networking 3 09-06-2005 10:35 PM
logging incoming packets ip address b123coder Linux - Networking 1 11-18-2004 02:17 PM
packets being dropped by server from specific ip address alex_fittyfives Linux - Networking 1 08-04-2004 08:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:50 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