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-03-2004, 12:09 PM   #1
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Showing CLIENT<-server->INTERNET connection from server.


Hi all,

I was wandering if there is a tool (lsof/ethereal/netstat alike) that can show the following connection: client <- server -> internet.
Seen from the server, which has iptables running.

Netstat (-an) and lsof (-i) don't show these connections and ethereal does show both connections, but as seperate streams on 2 different interfaces.

I guess the kernel(iptables) 'translating' packets is the reason for that (and the mentioned tools listening on sockets/(net)devices).

Ethereal (or alike) could be used, but it's no fun figuring out which incomming packet was translated' to which outgoing packet. Would be nice if the complete stream could be seen/followed.

So, I'm looking for a tool, commandline driven if possible, that can show these connections.

Thanx in advance.
 
Old 05-03-2004, 12:32 PM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
have u tried snort ? as i remember snort can catch packets. and also can be used as content filter program. www.snort.org

i hope this helps u.
 
Old 05-03-2004, 01:33 PM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Original Poster
Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Will install it and give it a try. A quick scan over the documentation looked promising.

Thanks for the tip.
 
  


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
LDAP SERVER Client Connection on SUSE 9.2 - connection error jcarton Linux - Networking 3 03-19-2005 12:40 PM
LDAP SERVER - CLIENT CONNECTION on suse 9.2 - connection error nicolasdiogo Suse/Novell 0 03-01-2005 05:43 AM
DHCP Server Client no connection to Internet westverg Linux - Networking 3 02-28-2005 07:08 AM
Share an internet connection betwen a linux server and a windows client GiGA Linux - Software 4 08-21-2002 09:22 AM
Sharing an internet connection with a Linux client through a 2000 server gateway thuan Linux - Networking 1 08-02-2001 01:55 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration