hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Hosting Security and Technology Tutorials : How-To: IFTOP
Reply

Hosting Security and Technology Tutorials Tutorials related to server security or the like.
Forum Jump

How-To: IFTOP

Reply Post New Thread In Hosting Security and Technology Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-01-2004, 06:56 PM
Steven Steven is online now
I like ice cream
 
Join Date: Mar 2003
Location: California USA
Posts: 11,780

How-To: IFTOP


What is iftop? What does it do?
iftop does for network usage what top(1) does for CPU usage.

Screenshot:



Installation:
Quote:
wget http://www.ex-parrot.com/~pdw/iftop/...op-0.15.tar.gz
tar -zxvf iftop-0.15.tar.gz
cd iftop-0.15
./configure
make
make install

To run it:

/usr/local/sbin/iftop


Last edited by Akash; 02-08-2004 at 01:37 AM.
Reply With Quote


Sponsored Links
  #2  
Old 02-03-2004, 05:59 PM
mainarea mainarea is offline
Been around for too long...
 
Join Date: Aug 2002
Location: DC
Posts: 3,636
checking where to find pcap.h... no idea
configure: error: can't find pcap.h
You're not going to get very far without libpcap.

You may want to add how to install libpcap on your system. That error shows up on a plain RedHat 9 box.

- Matt

Reply With Quote
  #3  
Old 02-03-2004, 06:32 PM
choon choon is offline
Retired Moderator
 
Join Date: Jul 2001
Location: Singapore
Posts: 1,790
Actually it required:
libpcap
libcurses
which we can read it at http://www.ex-parrot.com/~pdw/iftop/
Using up2date to install the required packages:
Code:
up2date libpcap ncurses ncurses-devel

Reply With Quote
Sponsored Links
  #4  
Old 02-04-2004, 02:49 AM
AP2k2 AP2k2 is offline
Junior Guru Wannabe
 
Join Date: Dec 2002
Posts: 68
you can add your libpcap from your WHM. Go to install rpm. Go down to libpcap.

Reply With Quote
  #5  
Old 02-04-2004, 02:57 AM
choon choon is offline
Retired Moderator
 
Join Date: Jul 2001
Location: Singapore
Posts: 1,790
Quote:
Originally posted by AP2k2
you can add your libpcap from your WHM. Go to install rpm. Go down to libpcap.
What if you are not using any control panel ?

Reply With Quote
  #6  
Old 02-06-2004, 09:13 AM
mainarea mainarea is offline
Been around for too long...
 
Join Date: Aug 2002
Location: DC
Posts: 3,636
http://www.rpmfind.net/linux/rpm2htm...?query=libpcap
http://www.rpmfind.net/linux/rpm2htm...?query=ncurses

You can get RPMs for those files from RPMFind.

- Matt

(edit: removed signature)


Last edited by mainarea; 02-06-2004 at 09:23 AM.
Reply With Quote
  #7  
Old 02-06-2004, 10:06 AM
websterworld websterworld is offline
Web Hosting Master
 
Join Date: Aug 2003
Posts: 4,273
why not use apt-get? (if its been ported to your distro)

<edit>signature removed</edit>


Last edited by choon; 02-17-2004 at 03:25 PM.
Reply With Quote
  #8  
Old 02-16-2004, 11:13 PM
daveman daveman is offline
Web Hosting Master
 
Join Date: Sep 2002
Posts: 873
Nice tool, thanks.

<edit>signature removed</edit>


Last edited by choon; 02-17-2004 at 03:25 PM.
Reply With Quote
  #9  
Old 02-17-2004, 06:16 AM
devilbala devilbala is offline
Junior Guru Wannabe
 
Join Date: Feb 2004
Location: India
Posts: 45
I've implemented it in my Redhat box.

Nice tool... Now, I can make my network monitoring software to use this to do some of the work that i really thought of coding myself.

Thanks.

-Devil

Reply With Quote
  #10  
Old 02-17-2004, 08:27 AM
uneedawebsit uneedawebsit is offline
Web Hosting Guru
 
Join Date: May 2003
Location: Massachusetts, USA
Posts: 294
Does this put the ethernet card into PROMISC mode? I installed it and chkrootkit told me the ethernet was in PROMISC mode the next time it ran.

<edit>signature removed</edit>


Last edited by choon; 02-17-2004 at 03:26 PM.
Reply With Quote
  #11  
Old 02-17-2004, 11:03 AM
Slidey Slidey is offline
Web Hosting Master
 
Join Date: Apr 2003
Location: UK
Posts: 2,560
iirc yes it will, iftop is based on pcap, which will set the interface this way so you can capture all the packets on teh card

Reply With Quote
  #12  
Old 02-19-2004, 01:19 PM
KingAdmin KingAdmin is offline
WHT Addict
 
Join Date: Feb 2004
Posts: 159
actually chkrootkit reports anomalies pretty often. if you run cpanel it will also indicate smtps listening on port 465 as a bindshell which is a false alarm of course.

<edit>signature removed</edit>

Reply With Quote
  #13  
Old 03-14-2004, 11:57 AM
KIA-Joe KIA-Joe is offline
Web Hosting Master
 
Join Date: Oct 2002
Location: New York's Capital District
Posts: 2,197
Nice app ...

<edit>signature removed</edit>


Last edited by choon; 03-14-2004 at 12:04 PM.
Reply With Quote
  #14  
Old 04-28-2004, 10:10 AM
joekushner joekushner is offline
Junior Guru
 
Join Date: Mar 2004
Posts: 247
this is a nice app.. any way with name based hosting for it to show the actual domain of the site or am i stuck with just seeing the server name as the address

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 On
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?