LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 07-30-2008, 06:30 AM   #1
sunlinux
Member
 
Registered: Feb 2006
Distribution: RHCL 5
Posts: 226

Rep: Reputation: 30
network monitoring protocols & ip wise


Hi ,

Is thr any tool for linux in which we can monitor as who is connected(IP) & with which protocol(HTTP,ftp,telnet etc) to our linux internet gateway.

I want to see all ips connected to my linux gateway(from lan side) at any time n what protocols they are using ?

Sunil
 
Old 07-30-2008, 06:59 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,246

Rep: Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025
Well, you can look at /var/log/messages, but you prob ought to go through your firewall (iptables) rules and ensure that logging is set on for each protocol/cxn.
 
Old 07-30-2008, 09:04 AM   #3
clvic
Member
 
Registered: Feb 2008
Location: Rome, Italy
Distribution: OpenSuSE 11.x, vectorlinux, slax, Sabayon
Posts: 206
Blog Entries: 2

Rep: Reputation: 44
You can make use of the netstat command, which reports you all open connections with associated IPS and port numbers (numbers, without inspecting packets for the actual protocol).
For instance, netstat -lt will report you all sockets in which the local machine acts as a server, for the TCP protocol.
 
Old 07-30-2008, 09:54 AM   #4
ne pas
Member
 
Registered: Jul 2008
Posts: 55

Rep: Reputation: 23
You could monitor network traffic and related connection info with this console based network monitor: IPTraf
 
  


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
protocols monitoring sachin1361 Linux - Enterprise 2 10-04-2007 03:33 PM
Why is multicast protocols designed in Layer 3 when routing protocols in L5 vineeth_thampi Linux - Networking 2 07-04-2006 05:23 PM
network usage monitoring via console & generic apps bkeating Linux - Newbie 1 11-12-2003 06:43 PM
bandwidth allocation by user wise and ip wise basbosco Linux - Networking 1 11-12-2003 02:54 AM
analysis and design of network protocols iquadri1 Linux - Networking 0 09-21-2002 02:24 PM


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