LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 01-23-2005, 03:20 AM   #1
trunx
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
ftp http and other protocols packet transfer


There is a cyber cafe and there are a number of computers connected to a server. Each computer accesses the net through a number of protocols. For e.g., com1 uses http com2 uses ftp and http com3 uses ftp http smtp etc. I need to know how many packets of each protocol are going from or coming to each computer. How can I do it??
Is there a specific method or command for it ??
 
Old 01-23-2005, 04:50 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
If your wanting to snif packets, check out "ethereal" not sure if its .com or .org
I'm a little confused on the question though
 
Old 01-23-2005, 05:17 AM   #3
trunx
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
I know abt ethereal.
But my question basically is how can the server come to know of the no. of packets transferred in each protocol ( for e.g., no. of ftp packet transfers or no. of http packet trasfers ) by each of its cilents ??
The server has to know which client has transferred how many packets thru which protocol just like ehtereal does.
 
Old 01-23-2005, 05:23 AM   #4
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Doesn't iptables track that info?

try iptables -nvL
 
Old 01-23-2005, 05:54 AM   #5
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Quote:
Originally posted by trunx
I know abt ethereal.
But my question basically is how can the server come to know of the no. of packets transferred in each protocol ( for e.g., no. of ftp packet transfers or no. of http packet trasfers ) by each of its cilents ??
The server has to know which client has transferred how many packets thru which protocol just like ehtereal does.
Have you looked at: ntop?
 
  


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
transfer files over the web, ftp, http or other? buffed317 Linux - General 7 03-08-2005 09:25 PM
ftp http and other protocols packet transfer trunx Linux - Networking 0 01-23-2005 02:55 AM
how to check the data transfer of multicast protocols abirami Linux - Networking 1 09-05-2004 02:26 AM
Auto FTP transfer madunix *BSD 0 02-29-2004 02:57 PM
FTP and protocols problem Hessian Rider Linux - Networking 4 12-02-2002 02:07 AM


All times are GMT -5. The time now is 05:58 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration