From dwr-list at open.ch Mon Jan 15 12:47:08 2007 From: dwr-list at open.ch (pat) Date: Mon, 15 Jan 2007 13:47:08 +0100 Subject: [Iftop-users] List dead? Message-ID: <45AB77CC.9030007@open.ch> Hi all, after having posted a message (one month ago) with an attached archive I was informed that my message needed moderation. Since I have not yet received any feedback my question now is whether this list is completely dead. Is it? pat. From martins.dzelde at latrude.lv Mon Jan 15 13:13:56 2007 From: martins.dzelde at latrude.lv (Martins Dzelde) Date: Mon, 15 Jan 2007 15:13:56 +0200 Subject: [Iftop-users] List dead? In-Reply-To: <45AB77CC.9030007@open.ch> References: <45AB77CC.9030007@open.ch> Message-ID: Hi, pat! I can only say that the list is not very responsive to questions. The only negotiation that sometimes goes throught are some updates, written patches, or bug posts. For example, I was trying to find how to see traffic per host on my subnet. I couldnt find the info even in manual, nor googling. No one replied thought the answer was pretty simple: you have to run iftop on desired subnet, ie. 'iftop -F 192.168.0.0/24' and the press 'd' to hide destination address. Then it nicely shows total traffic for every ip address on the subnet. Although I havent yet found how to work around the problem that the traffic agreggates, ie, sums up and fills up all the memory for the computer. May be someone knows a hint? Good luck, Martins. On Mon, 15 Jan 2007 14:47:08 +0200, pat wrote: > Hi all, > > after having posted a message (one month ago) with an attached archive I > was informed that my message needed moderation. > Since I have not yet received any feedback my question now is whether > this list is completely dead. Is it? > > pat. > > _______________________________________________ > iftop-users mailing list > iftop-users@lists.beasts.org > http://lists.beasts.org/mailman/listinfo/iftop-users From reply4 at lucassen.org Mon Jan 15 13:39:04 2007 From: reply4 at lucassen.org (Richard Lucassen) Date: Mon, 15 Jan 2007 14:39:04 +0100 Subject: [Iftop-users] List dead? In-Reply-To: References: <45AB77CC.9030007@open.ch> Message-ID: <20070115143904.30634775.iftop@lucassen.org> On Mon, 15 Jan 2007 15:13:56 +0200 "Martins Dzelde" wrote: > I can only say that the list is not very responsive to questions. The > only negotiation that sometimes goes throught are some updates, > written patches, or bug posts. The list is alive, but has low traffic. > For example, I was trying to find how to see traffic per host on my > subnet. I couldnt find the info even in manual, nor googling. No one > replied thought the answer was pretty simple: you have to run iftop on > desired subnet, ie. 'iftop -F 192.168.0.0/24' and the press 'd' to > hide destination address. Then it nicely shows total traffic for > every ip address on the subnet. iftop -f 'host 192.168.0.1' The -f option accepts AFAIK tcpdump filter syntax: iftop -f 'host 192.168.64.103 or host 192.168.64.2' HTH, R. -- ___________________________________________________________________ It is better to remain silent and be thought a fool, than to speak aloud and remove all doubt. +------------------------------------------------------------------+ | Richard Lucassen, Utrecht | | Public key and email address: | | http://www.lucassen.org/mail-pubkey.html | +------------------------------------------------------------------+ From jonabbey at arlut.utexas.edu Mon Jan 15 13:41:24 2007 From: jonabbey at arlut.utexas.edu (Jonathan Abbey) Date: Mon, 15 Jan 2007 07:41:24 -0600 Subject: [Iftop-users] List dead? In-Reply-To: References: <45AB77CC.9030007@open.ch> Message-ID: <20070115134123.GA2612@arlut.utexas.edu> On Mon, Jan 15, 2007 at 03:13:56PM +0200, Martins Dzelde wrote: | Hi, pat! |=20 | I can only say that the list is not very responsive to questions. The onl= y =20 | negotiation that sometimes goes throught are some updates, written =20 | patches, or bug posts. There are a number of us still passively listening, though. | For example, I was trying to find how to see traffic per host on my =20 | subnet. I couldnt find the info even in manual, nor googling. No one =20 | replied thought the answer was pretty simple: you have to run iftop on = =20 | desired subnet, ie. 'iftop -F 192.168.0.0/24' and the press 'd' to hide = =20 | destination address. Then it nicely shows total traffic for every ip =20 | address on the subnet. |=20 | Although I havent yet found how to work around the problem that the =20 | traffic agreggates, ie, sums up and fills up all the memory for the =20 | computer. May be someone knows a hint? I haven't seen this. What operating system type and version are you running iftop on? I assume you're running the very latest iftop from pdw? Jon | Good luck, | Martins. --=20 ---------------------------------------------------------------------------= ---- Jonathan Abbey jonabbey@arlut.utexas.edu Applied Research Laboratories The University of Texas at Au= stin GPG Key: 71767586 at keyserver pgp.mit.edu, http://www.ganymeta.org/workkey= .gpg From martins.dzelde at latrude.lv Mon Jan 15 14:18:32 2007 From: martins.dzelde at latrude.lv (Martins Dzelde) Date: Mon, 15 Jan 2007 16:18:32 +0200 Subject: [Iftop-users] List dead? In-Reply-To: <20070115134123.GA2612@arlut.utexas.edu> References: <45AB77CC.9030007@open.ch> <20070115134123.GA2612@arlut.utexas.edu> Message-ID: Hello! > There are a number of us still passively listening, though. and me being one of them. :) Thanks a lot for the replies. Well, i am using iftop version 0.17 on freebsd 6.1, installed through ports. i think it should be the latest, although havent been doing updates for few months, there might be few patches to apply. the freebsd box is running as a bridge with two NICs. Only one nic has an IP address. another observation is that the speeds for the traffic slowly decreases although i am sure that everything is still runnings. my guess is that the total traffic somhow sums up and is dived by the current traffic, hence the speed decreases. so it gives a more or less precise measure only for a few minutes. just did this test once more: i run the command: 'iftop -F 192.168.0.0/24' and press d to hide the destination address and after few minutes CPU if down from 73% idle to 10% idle. Martins. On Mon, 15 Jan 2007 15:41:24 +0200, Jonathan Abbey wrote: > On Mon, Jan 15, 2007 at 03:13:56PM +0200, Martins Dzelde wrote: > | Hi, pat! > | > | I can only say that the list is not very responsive to questions. The > only > | negotiation that sometimes goes throught are some updates, written > | patches, or bug posts. > > > | For example, I was trying to find how to see traffic per host on my > | subnet. I couldnt find the info even in manual, nor googling. No one > | replied thought the answer was pretty simple: you have to run iftop on > | desired subnet, ie. 'iftop -F 192.168.0.0/24' and the press 'd' to hide > | destination address. Then it nicely shows total traffic for every ip > | address on the subnet. > | > | Although I havent yet found how to work around the problem that the > | traffic agreggates, ie, sums up and fills up all the memory for the > | computer. May be someone knows a hint? > > I haven't seen this. What operating system type and version are you > running iftop on? > > I assume you're running the very latest iftop from pdw? > > Jon > > | Good luck, > | Martins. > From dwr-list at open.ch Mon Jan 15 14:20:15 2007 From: dwr-list at open.ch (pat) Date: Mon, 15 Jan 2007 15:20:15 +0100 Subject: [Iftop-users] iftop without ncurses Message-ID: <45AB8D9F.90904@open.ch> Hi all, having used iftop for a couple of interesting network analyses now I found that a small enhancement could not be too wrong. This is what I would like to propose here. What I am trying to do is to adapt iftop to support a snapshot view of the traffic. Very much like 'have iftop run a while and then dump the result to stdout'. The thing is that curses must not be used for that case. I have written a patch that does the following stuff: - moved shared ui stuff into ui_common.c/ui_common.h - added -t option to turn off curses and dump everything to stdout - added -s option to have iftop run the indicated number of seconds and then stop it and dump only one screen of information Is there anybody that has the power to decide whether or not stuff is moved into the official sources and is willing to look at the things I have written? If there is, please let me know. I will be happy to provide you with the sources (sources not attached since moderation of long messages does not seem to work in this list). pat. From pdw at ex-parrot.com Mon Jan 15 15:18:41 2007 From: pdw at ex-parrot.com (Paul Warren) Date: Mon, 15 Jan 2007 15:18:41 +0000 Subject: [Iftop-users] List dead? In-Reply-To: <20070115134123.GA2612@arlut.utexas.edu> References: <45AB77CC.9030007@open.ch> <20070115134123.GA2612@arlut.utexas.edu> Message-ID: <20070115151841.GB22551@sphinx.mythic-beasts.com> On Mon, Jan 15, 2007 at 07:41:24AM -0600, Jonathan Abbey wrote: > | Although I havent yet found how to work around the problem that the > | traffic agreggates, ie, sums up and fills up all the memory for the > | computer. May be someone knows a hint? > > I haven't seen this. What operating system type and version are you > running iftop on? > > I assume you're running the very latest iftop from pdw? It sounds vaguely familiar from the past... Do you have a very large number of hosts on the network? It should forget about hosts once they fall out of the 60 second(?) window that it watches. Paul From martins.dzelde at latrude.lv Mon Jan 15 15:53:59 2007 From: martins.dzelde at latrude.lv (Martins Dzelde) Date: Mon, 15 Jan 2007 17:53:59 +0200 Subject: [Iftop-users] List dead? In-Reply-To: <20070115151841.GB22551@sphinx.mythic-beasts.com> References: <45AB77CC.9030007@open.ch> <20070115134123.GA2612@arlut.utexas.edu> <20070115151841.GB22551@sphinx.mythic-beasts.com> Message-ID: On Mon, 15 Jan 2007 17:18:41 +0200, Paul Warren wrote: > On Mon, Jan 15, 2007 at 07:41:24AM -0600, Jonathan Abbey wrote: >> | Although I havent yet found how to work around the problem that the >> | traffic agreggates, ie, sums up and fills up all the memory for the >> | computer. May be someone knows a hint? >> >> I haven't seen this. What operating system type and version are you >> running iftop on? >> >> I assume you're running the very latest iftop from pdw? > > It sounds vaguely familiar from the past... > > Do you have a very large number of hosts on the network? It should > forget about hosts once they fall out of the 60 second(?) window that it > watches. I was posting questions long,long time ago. About 'very large' - dont know - I have around 200 hosts on my network on a 32Mbit link, thats something but not very large. It would be good if iftop would forget about each connection after a time ( it could only keep the total traffic processed per host, that shouldnt take up too much memory). The problem seems to be that iftop saves all the connections (all hosts on all ports) proccessed and that surely summs up quickly. Should iftop drop the old traffic? btw, the freebsd box should be powerfull enough (P4, 1 Gb ram). And the features saving a statistics offered by pat would be very good. The next thing would be a possibility to leave iftop running as a deamon, generating logs, logs for MRTG, etc. that would be great. But anyway, it is very usefull as it is. Martins. From neeraj.c.c.c at gmail.com Mon Jan 22 09:09:44 2007 From: neeraj.c.c.c at gmail.com (Neeraj Chowdhry) Date: Mon, 22 Jan 2007 14:39:44 +0530 Subject: [Iftop-users] iftop Installation // Message-ID: <6a4dfb1d0701220109y104d8112g10cfa817104f9746@mail.gmail.com> ------=_Part_212297_10183053.1169456984402 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All We have developed a Web Bases Conferencing System with a maximum of 16 participants // Now we want to implement iftop on Linux to ascertain the Network bandwith usage as individual participants join the Conference // Has anybody implemented iftop on Linux // Please, revert back if anybody has any sort of information // With thanks Neeraj Chowdhury ------=_Part_212297_10183053.1169456984402 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi All
 
We have developed a Web Bases Conferencing System with a maximum of 16 participants //
 
Now we want to implement iftop on Linux to ascertain the Network bandwith usage as individual participants join the Conference //
Has anybody implemented iftop on Linux //
 
Please, revert back if anybody has any sort of information //
 
 
   With thanks
Neeraj Chowdhury
------=_Part_212297_10183053.1169456984402-- From neeraj.c.c.c at gmail.com Mon Jan 22 11:41:53 2007 From: neeraj.c.c.c at gmail.com (Neeraj Chowdhry) Date: Mon, 22 Jan 2007 17:11:53 +0530 Subject: [Iftop-users] iftop Installation // In-Reply-To: <45B48FAE.2070004@open.ch> References: <6a4dfb1d0701220109y104d8112g10cfa817104f9746@mail.gmail.com> <45B48FAE.2070004@open.ch> Message-ID: <6a4dfb1d0701220341i4ca5f732sfef784db9fca432c@mail.gmail.com> ------=_Part_214497_18029687.1169466113890 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Actually we have to implement iftop on Fedora 6 // When we tried to build it; it gave some problems regarding libpcap and pcap libraries // We used "./configure && make" to build iftop but it gave error as : "can't find iftop and you cannot go far without libpcap." But both pcap and libpcap are there in their locations, please suggest what we need to do // With thanks Neeraj Chowdhury On 1/22/07, pat wrote: > > Hi Neeraj, > > probably I don't get the question but iftop is already running under > Linux. Am I missing something? > > pat > > > Neeraj Chowdhry wrote: > > Hi All > > > > We have developed a Web Bases Conferencing System with a maximum of 16 > > participants // > > > > Now we want to implement iftop on Linux to ascertain the Network > > bandwith usage as individual participants join the Conference // > > Has anybody implemented iftop on Linux // > > > > Please, revert back if anybody has any sort of information // > > > > > > With thanks > > Neeraj Chowdhury > > ------=_Part_214497_18029687.1169466113890 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Actually we have to implement iftop on Fedora 6 //
When we tried to build it; it gave some problems regarding libpcap and pcap libraries //
 
We used "./configure && make" to build iftop
 
but it gave error as :
"can't find iftop
and you cannot go far without libpcap."
 
But both pcap and libpcap are there in their locations, please suggest what we need to do //
 
With thanks
Neeraj Chowdhury

 
On 1/22/07, pat <dwr-list@open.ch> wrote:
Hi Neeraj,

probably I don't get the question but iftop is already running under
Linux. Am I missing something?

pat


Neeraj Chowdhry wrote:
> Hi All
>
> We have developed a Web Bases Conferencing System with a maximum of 16
> participants //
>
> Now we want to implement iftop on Linux to ascertain the Network
> bandwith usage as individual participants join the Conference //
> Has anybody implemented iftop on Linux //
>
> Please, revert back if anybody has any sort of information //
>
>
>    With thanks
> Neeraj Chowdhury


------=_Part_214497_18029687.1169466113890-- From neeraj.c.c.c at gmail.com Mon Jan 22 11:45:42 2007 From: neeraj.c.c.c at gmail.com (Neeraj Chowdhry) Date: Mon, 22 Jan 2007 17:15:42 +0530 Subject: [Iftop-users] iftop Installation // In-Reply-To: <45B48FAE.2070004@open.ch> References: <6a4dfb1d0701220109y104d8112g10cfa817104f9746@mail.gmail.com> <45B48FAE.2070004@open.ch> Message-ID: <6a4dfb1d0701220345l78ede8ffu6582f12d09df5c8a@mail.gmail.com> ------=_Part_214605_16548206.1169466342664 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sorry Please correct the error message is : "can't find pcap.h and you cannot go far without libpcap." On 1/22/07, pat wrote: > > Hi Neeraj, > > probably I don't get the question but iftop is already running under > Linux. Am I missing something? > > pat > > > Neeraj Chowdhry wrote: > > Hi All > > > > We have developed a Web Bases Conferencing System with a maximum of 16 > > participants // > > > > Now we want to implement iftop on Linux to ascertain the Network > > bandwith usage as individual participants join the Conference // > > Has anybody implemented iftop on Linux // > > > > Please, revert back if anybody has any sort of information // > > > > > > With thanks > > Neeraj Chowdhury > > ------=_Part_214605_16548206.1169466342664 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Sorry
 
Please correct the error message is :
 
"can't find pcap.h
and you cannot go far without libpcap."


 
On 1/22/07, pat <dwr-list@open.ch> wrote:
Hi Neeraj,

probably I don't get the question but iftop is already running under
Linux. Am I missing something?

pat


Neeraj Chowdhry wrote:
> Hi All
>
> We have developed a Web Bases Conferencing System with a maximum of 16
> participants //
>
> Now we want to implement iftop on Linux to ascertain the Network
> bandwith usage as individual participants join the Conference //
> Has anybody implemented iftop on Linux //
>
> Please, revert back if anybody has any sort of information //
>
>
>    With thanks
> Neeraj Chowdhury


------=_Part_214605_16548206.1169466342664-- From chris at ex-parrot.com Mon Jan 22 11:55:42 2007 From: chris at ex-parrot.com (Chris Lightfoot) Date: Mon, 22 Jan 2007 11:55:42 +0000 Subject: [Iftop-users] iftop Installation // In-Reply-To: <6a4dfb1d0701220345l78ede8ffu6582f12d09df5c8a@mail.gmail.com> References: <6a4dfb1d0701220109y104d8112g10cfa817104f9746@mail.gmail.com> <45B48FAE.2070004@open.ch> <6a4dfb1d0701220345l78ede8ffu6582f12d09df5c8a@mail.gmail.com> Message-ID: <80BgD7cU43MC.jspLKbMRhsMZhZm+cLXW7Q@sphinx.mythic-beasts.com> On Mon, Jan 22, 2007 at 05:15:42PM +0530, Neeraj Chowdhry wrote: > Sorry > > Please correct the error message is : > > "can't find pcap.h and you cannot go far without libpcap." anything useful in config.log about where it's looking for pcap.h? -- ``Computer-simulators, used to stage mock failures in the flight trainer, weren't working. This was a triumph of accurate simulation, but otherwise not amusing.'' (Gregg Easterbrook, on space shuttle development) From dwr-list at open.ch Mon Jan 22 12:23:29 2007 From: dwr-list at open.ch (pat) Date: Mon, 22 Jan 2007 13:23:29 +0100 Subject: [Iftop-users] iftop Installation // In-Reply-To: <6a4dfb1d0701220345l78ede8ffu6582f12d09df5c8a@mail.gmail.com> References: <6a4dfb1d0701220109y104d8112g10cfa817104f9746@mail.gmail.com> <45B48FAE.2070004@open.ch> <6a4dfb1d0701220345l78ede8ffu6582f12d09df5c8a@mail.gmail.com> Message-ID: <45B4ACC1.6070001@open.ch> Neeraj, are the headers present on your system? If yes, you might try the '--with-libpcap=WHERE' option when running ./configure. pat Neeraj Chowdhry wrote: > Sorry > > Please correct the error message is : > > "can't find pcap.h > and you cannot go far without libpcap." > > > > On 1/22/07, *pat* > wrote: > > Hi Neeraj, > > probably I don't get the question but iftop is already running under > Linux. Am I missing something? > > pat > > > Neeraj Chowdhry wrote: > > Hi All > > > > We have developed a Web Bases Conferencing System with a maximum > of 16 > > participants // > > > > Now we want to implement iftop on Linux to ascertain the Network > > bandwith usage as individual participants join the Conference // > > Has anybody implemented iftop on Linux // > > > > Please, revert back if anybody has any sort of information // > > > > > > With thanks > > Neeraj Chowdhury > > From neeraj.c.c.c at gmail.com Mon Jan 22 12:45:56 2007 From: neeraj.c.c.c at gmail.com (Neeraj Chowdhry) Date: Mon, 22 Jan 2007 18:15:56 +0530 Subject: [Iftop-users] iftop Installation // In-Reply-To: <80BgD7cU43MC.jspLKbMRhsMZhZm+cLXW7Q@sphinx.mythic-beasts.com> References: <6a4dfb1d0701220109y104d8112g10cfa817104f9746@mail.gmail.com> <45B48FAE.2070004@open.ch> <6a4dfb1d0701220345l78ede8ffu6582f12d09df5c8a@mail.gmail.com> <80BgD7cU43MC.jspLKbMRhsMZhZm+cLXW7Q@sphinx.mythic-beasts.com> Message-ID: <6a4dfb1d0701220445x350aa9edx5e188e1395cef9f3@mail.gmail.com> ------=_Part_215585_13879690.1169469956444 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Chris, Pat Actually we have kept pcap.h under "/usr/include/pcap" and we have also used the command "# CPPFLAGS=-I/usr/include/pcap ./configure" to explicitly mention the path of pcap.h and libpcap but it is giving the error as "can't find pcap.h and you cannot go very far without libpcap" // What should be done to fix the problems // With thanks Neeraj Chowdhury On 1/22/07, Chris Lightfoot wrote: > > On Mon, Jan 22, 2007 at 05:15:42PM +0530, Neeraj Chowdhry wrote: > > Sorry > > > > Please correct the error message is : > > > > "can't find pcap.h and you cannot go far without libpcap." > > anything useful in config.log about where it's looking for > pcap.h? > > -- > ``Computer-simulators, used to stage mock failures in the flight trainer, > weren't working. This was a triumph of accurate simulation, but > otherwise > not amusing.'' (Gregg Easterbrook, on space shuttle development) > ------=_Part_215585_13879690.1169469956444 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Chris, Pat

Actually we have kept pcap.h under "/usr/include/pcap" and we have also used the command

"# CPPFLAGS=-I/usr/include/pcap ./configure"
 to explicitly mention the path of pcap.h and libpcap but it is giving the error as "can't find pcap.h and you cannot go very far without libpcap" //

What should be done to fix the problems //

With thanks
Neeraj Chowdhury

On 1/22/07, Chris Lightfoot <chris@ex-parrot.com> wrote:
On Mon, Jan 22, 2007 at 05:15:42PM +0530, Neeraj Chowdhry wrote:
> Sorry
>
> Please correct the error message is :
>
> "can't find pcap.h and you cannot go far without libpcap."

anything useful in config.log about where it's looking for
pcap.h?

--
``Computer-simulators, used to stage mock failures in the flight trainer,
  weren't working. This was a triumph of accurate simulation, but otherwise
  not amusing.'' (Gregg Easterbrook, on space shuttle development)

------=_Part_215585_13879690.1169469956444-- From chris at ex-parrot.com Mon Jan 22 12:46:39 2007 From: chris at ex-parrot.com (Chris Lightfoot) Date: Mon, 22 Jan 2007 12:46:39 +0000 Subject: [Iftop-users] iftop Installation // In-Reply-To: <6a4dfb1d0701220445x350aa9edx5e188e1395cef9f3@mail.gmail.com> References: <6a4dfb1d0701220109y104d8112g10cfa817104f9746@mail.gmail.com> <45B48FAE.2070004@open.ch> <6a4dfb1d0701220345l78ede8ffu6582f12d09df5c8a@mail.gmail.com> <80BgD7cU43MC.jspLKbMRhsMZhZm+cLXW7Q@sphinx.mythic-beasts.com> <6a4dfb1d0701220445x350aa9edx5e188e1395cef9f3@mail.gmail.com> Message-ID: what's in the relevant section of config.log (please don't post the whole thing). -- Impeccable, a., not liable to detection. (Bierce) From neeraj.c.c.c at gmail.com Mon Jan 22 13:05:05 2007 From: neeraj.c.c.c at gmail.com (Neeraj Chowdhry) Date: Mon, 22 Jan 2007 18:35:05 +0530 Subject: [Iftop-users] iftop Installation // In-Reply-To: References: <6a4dfb1d0701220109y104d8112g10cfa817104f9746@mail.gmail.com> <45B48FAE.2070004@open.ch> <6a4dfb1d0701220345l78ede8ffu6582f12d09df5c8a@mail.gmail.com> <80BgD7cU43MC.jspLKbMRhsMZhZm+cLXW7Q@sphinx.mythic-beasts.com> <6a4dfb1d0701220445x350aa9edx5e188e1395cef9f3@mail.gmail.com> Message-ID: <6a4dfb1d0701220505r7037f3d2t45ec8a28973e9e56@mail.gmail.com> ------=_Part_216012_11831738.1169471105630 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Chris In the config.log file one error section include the following : configure :5972: checking where to find pcap.h configure:5988: gcc -E -I/usr/include/pcap -I/software/include/pcap conftest.c In file included from /usr/include/pcap/pcap.h:28 from /usr/include/pcap/pcap.h:28\ from /usr/include/pcap/pcap.h:28 from /usr/include/pcap/pcap.h:28 . . . . . /usr/include/pcap/pcap.h:28:18: error: #include nested too deeply configure:5994: $? = 1 configure : failed program was : #line 5981 "configure" #include "confdefs.h" #include . . . . . With thanks Neeraj Chowdhry On 1/22/07, Chris Lightfoot wrote: > > what's in the relevant section of config.log (please don't > post the whole thing). > > -- > Impeccable, a., not liable to detection. (Bierce) > ------=_Part_216012_11831738.1169471105630 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Chris

In the config.log file one error section include the following :

configure :5972: checking where to find pcap.h
configure:5988: gcc -E -I/usr/include/pcap -I/software/include/pcap conftest.c

In file included from  /usr/include/pcap/pcap.h:28
                      from  /usr/include/pcap/pcap.h:28\
                      from  /usr/include/pcap/pcap.h:28
                      from  /usr/include/pcap/pcap.h:28
               .
              .
              .
               .
               .

/usr/include/pcap/pcap.h:28:18: error: #include nested too deeply
configure:5994: $? = 1
configure : failed program was :
#line 5981 "configure"
#include "confdefs.h"

#include <pcap.h>
.
.
.
.
.


With thanks
Neeraj Chowdhry

On 1/22/07, Chris Lightfoot <chris@ex-parrot.com> wrote:
what's in the relevant section of config.log (please don't
post the whole thing).

--
Impeccable, a., not liable to detection. (Bierce)

------=_Part_216012_11831738.1169471105630-- From chris at ex-parrot.com Mon Jan 22 13:12:34 2007 From: chris at ex-parrot.com (Chris Lightfoot) Date: Mon, 22 Jan 2007 13:12:34 +0000 Subject: [Iftop-users] iftop Installation // In-Reply-To: <6a4dfb1d0701220505r7037f3d2t45ec8a28973e9e56@mail.gmail.com> References: <6a4dfb1d0701220109y104d8112g10cfa817104f9746@mail.gmail.com> <45B48FAE.2070004@open.ch> <6a4dfb1d0701220345l78ede8ffu6582f12d09df5c8a@mail.gmail.com> <80BgD7cU43MC.jspLKbMRhsMZhZm+cLXW7Q@sphinx.mythic-beasts.com> <6a4dfb1d0701220445x350aa9edx5e188e1395cef9f3@mail.gmail.com> <6a4dfb1d0701220505r7037f3d2t45ec8a28973e9e56@mail.gmail.com> Message-ID: On Mon, Jan 22, 2007 at 06:35:05PM +0530, Neeraj Chowdhry wrote: > Hi Chris > > In the config.log file one error section include the following : > > configure :5972: checking where to find pcap.h > configure:5988: gcc -E -I/usr/include/pcap -I/software/include/pcap > conftest.c > > In file included from /usr/include/pcap/pcap.h:28 > from /usr/include/pcap/pcap.h:28\ > from /usr/include/pcap/pcap.h:28 > from /usr/include/pcap/pcap.h:28 [...] > /usr/include/pcap/pcap.h:28:18: error: #include nested too deeply hmm, interesting. is there also a /usr/include/pcap.h on your machine? what happens if you create a file test.c containing, #include and then run gcc -E on it? -- You cannot win the game, and you are not allowed to stop playing (the third law) From martins.dzelde at latrude.lv Mon Jan 22 15:01:14 2007 From: martins.dzelde at latrude.lv (Martins Dzelde) Date: Mon, 22 Jan 2007 17:01:14 +0200 Subject: Fwd: Re: [Iftop-users] List dead? In-Reply-To: References: <45AB77CC.9030007@open.ch> <20070115134123.GA2612@arlut.utexas.edu> <20070115151841.GB22551@sphinx.mythic-beasts.com> Message-ID: Hi, could someone please make a comment: Am I doing something wrong or thats the way iftop should behave? Maybe any ideas how could I find where the problem is? Martins. ------- Forwarded message ------- From: "Martins Dzelde" To: iftop-users@lists.beasts.org Cc: Subject: Re: [Iftop-users] List dead? Date: Mon, 15 Jan 2007 17:53:59 +0200 On Mon, 15 Jan 2007 17:18:41 +0200, Paul Warren wrote: > On Mon, Jan 15, 2007 at 07:41:24AM -0600, Jonathan Abbey wrote: >> | Although I havent yet found how to work around the problem that the >> | traffic agreggates, ie, sums up and fills up all the memory for the >> | computer. May be someone knows a hint? >> >> I haven't seen this. What operating system type and version are you >> running iftop on? >> >> I assume you're running the very latest iftop from pdw? > > It sounds vaguely familiar from the past... > > Do you have a very large number of hosts on the network? It should > forget about hosts once they fall out of the 60 second(?) window that it > watches. I was posting questions long,long time ago. About 'very large' - dont know - I have around 200 hosts on my network on a 32Mbit link, thats something but not very large. It would be good if iftop would forget about each connection after a time ( it could only keep the total traffic processed per host, that shouldnt take up too much memory). The problem seems to be that iftop saves all the connections (all hosts on all ports) proccessed and that surely summs up quickly. Should iftop drop the old traffic? btw, the freebsd box should be powerfull enough (P4, 1 Gb ram). And the features saving a statistics offered by pat would be very good. The next thing would be a possibility to leave iftop running as a deamon, generating logs, logs for MRTG, etc. that would be great. But anyway, it is very usefull as it is. Martins. _______________________________________________ iftop-users mailing list iftop-users@lists.beasts.org http://lists.beasts.org/mailman/listinfo/iftop-users From neeraj.c.c.c at gmail.com Tue Jan 23 06:02:02 2007 From: neeraj.c.c.c at gmail.com (Neeraj Chowdhry) Date: Tue, 23 Jan 2007 11:32:02 +0530 Subject: [Iftop-users] iftop Installation // In-Reply-To: References: <6a4dfb1d0701220109y104d8112g10cfa817104f9746@mail.gmail.com> <45B48FAE.2070004@open.ch> <6a4dfb1d0701220345l78ede8ffu6582f12d09df5c8a@mail.gmail.com> <80BgD7cU43MC.jspLKbMRhsMZhZm+cLXW7Q@sphinx.mythic-beasts.com> <6a4dfb1d0701220445x350aa9edx5e188e1395cef9f3@mail.gmail.com> <6a4dfb1d0701220505r7037f3d2t45ec8a28973e9e56@mail.gmail.com> Message-ID: <6a4dfb1d0701222202o4f5e4153lba6bcaa9e69272aa@mail.gmail.com> ------=_Part_236512_28421475.1169532122778 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Chris The error msg displayed after using gcc -E on test.c is : error: pcap.h: No such file or directory With thanks Neeraj On 1/22/07, Chris Lightfoot < chris@ex-parrot.com> wrote: > > On Mon, Jan 22, 2007 at 06:35:05PM +0530, Neeraj Chowdhry wrote: > > Hi Chris > > > > In the config.log file one error section include the following : > > > > configure :5972: checking where to find pcap.h > > configure:5988: gcc -E -I/usr/include/pcap -I/software/include/pcap > > conftest.c > > > > In file included from /usr/include/pcap/pcap.h:28 > > from /usr/include/pcap/pcap.h:28\ > > from /usr/include/pcap/pcap.h:28 > > from /usr/include/pcap/pcap.h:28 > [...] > > /usr/include/pcap/pcap.h:28:18: error: #include nested too deeply > > hmm, interesting. is there also a /usr/include/pcap.h on > your machine? what happens if you create a file test.c > containing, > #include > and then run gcc -E on it? > > -- > You cannot win the game, and you are not allowed to stop playing > (the third law) > ------=_Part_236512_28421475.1169532122778 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Chris

The error msg displayed after using gcc -E on test.c is :

error: pcap.h: No such file or directory

With thanks
Neeraj


On 1/22/07, Chris Lightfoot < chris@ex-parrot.com> wrote:
On Mon, Jan 22, 2007 at 06:35:05PM +0530, Neeraj Chowdhry wrote:
> Hi Chris
>
> In the config.log file one error section include the following :
>
> configure :5972: checking where to find pcap.h
> configure:5988: gcc -E -I/usr/include/pcap -I/software/include/pcap
> conftest.c
>
> In file included from  /usr/include/pcap/pcap.h:28
>                      from  /usr/include/pcap/pcap.h:28\
>                      from  /usr/include/pcap/pcap.h:28
>                      from  /usr/include/pcap/pcap.h:28
    [...]
> /usr/include/pcap/pcap.h:28:18: error: #include nested too deeply

hmm, interesting. is there also a /usr/include/pcap.h on
your machine? what happens if you create a file test.c
containing,
    #include <pcap.h>
and then run gcc -E on it?

--
You cannot win the game, and you are not allowed to stop playing
(the third law)

------=_Part_236512_28421475.1169532122778-- From neeraj.c.c.c at gmail.com Tue Jan 23 07:07:18 2007 From: neeraj.c.c.c at gmail.com (Neeraj Chowdhry) Date: Tue, 23 Jan 2007 12:37:18 +0530 Subject: [Iftop-users] iftop Installation // In-Reply-To: <6a4dfb1d0701222202o4f5e4153lba6bcaa9e69272aa@mail.gmail.com> References: <6a4dfb1d0701220109y104d8112g10cfa817104f9746@mail.gmail.com> <45B48FAE.2070004@open.ch> <6a4dfb1d0701220345l78ede8ffu6582f12d09df5c8a@mail.gmail.com> <80BgD7cU43MC.jspLKbMRhsMZhZm+cLXW7Q@sphinx.mythic-beasts.com> <6a4dfb1d0701220445x350aa9edx5e188e1395cef9f3@mail.gmail.com> <6a4dfb1d0701220505r7037f3d2t45ec8a28973e9e56@mail.gmail.com> <6a4dfb1d0701222202o4f5e4153lba6bcaa9e69272aa@mail.gmail.com> Message-ID: <6a4dfb1d0701222307q6f667903g835d5413a6600e1d@mail.gmail.com> ------=_Part_237362_23150627.1169536038487 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Chris Furthermore; There is no pcap.h in /usr/include // With thanks Neeraj On 1/23/07, Neeraj Chowdhry wrote: > > Hi Chris > > The error msg displayed after using gcc -E on test.c is : > > error: pcap.h: No such file or directory > > With thanks > Neeraj > > > On 1/22/07, Chris Lightfoot < chris@ex-parrot.com> wrote: > > > > On Mon, Jan 22, 2007 at 06:35:05PM +0530, Neeraj Chowdhry wrote: > > > Hi Chris > > > > > > In the config.log file one error section include the following : > > > > > > configure :5972: checking where to find pcap.h > > > configure:5988: gcc -E -I/usr/include/pcap -I/software/include/pcap > > > conftest.c > > > > > > In file included from /usr/include/pcap/pcap.h:28 > > > from /usr/include/pcap/pcap.h:28\ > > > from /usr/include/pcap/pcap.h:28 > > > from /usr/include/pcap/pcap.h:28 > > [...] > > > /usr/include/pcap/pcap.h:28:18: error: #include nested too deeply > > > > hmm, interesting. is there also a /usr/include/pcap.h on > > your machine? what happens if you create a file test.c > > containing, > > #include > > and then run gcc -E on it? > > > > -- > > You cannot win the game, and you are not allowed to stop playing > > (the third law) > > > > ------=_Part_237362_23150627.1169536038487 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Chris

Furthermore; There is no pcap.h in /usr/include //

With thanks
Neeraj

On 1/23/07, Neeraj Chowdhry < neeraj.c.c.c@gmail.com> wrote:
Hi Chris

The error msg displayed after using gcc -E on test.c is :

error: pcap.h: No such file or directory

With thanks
Neeraj


On 1/22/07, Chris Lightfoot < chris@ex-parrot.com> wrote:
On Mon, Jan 22, 2007 at 06:35:05PM +0530, Neeraj Chowdhry wrote:
> Hi Chris
>
> In the config.log file one error section include the following :
>
> configure :5972: checking where to find pcap.h
> configure:5988: gcc -E -I/usr/include/pcap -I/software/include/pcap
> conftest.c
>
> In file included from  /usr/include/pcap/pcap.h:28
>                      from  /usr/include/pcap/pcap.h:28\
>                      from  /usr/include/pcap/pcap.h:28
>                      from  /usr/include/pcap/pcap.h:28
    [...]
> /usr/include/pcap/pcap.h:28:18: error: #include nested too deeply

hmm, interesting. is there also a /usr/include/pcap.h on
your machine? what happens if you create a file test.c
containing,
    #include <pcap.h>
and then run gcc -E on it?

--
You cannot win the game, and you are not allowed to stop playing
(the third law)


------=_Part_237362_23150627.1169536038487-- From neeraj.c.c.c at gmail.com Tue Jan 23 13:31:57 2007 From: neeraj.c.c.c at gmail.com (Neeraj Chowdhry) Date: Tue, 23 Jan 2007 19:01:57 +0530 Subject: [Iftop-users] iftop installation // Message-ID: <6a4dfb1d0701230531m4738ba04xc1c530c068e1970e@mail.gmail.com> ------=_Part_242338_23373244.1169559117171 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All We downloaded "iftop-0.17-1fc6" and tried to install it on fedora 6 // We tried to configure it with the following command and it did all the checkings and threw an error at last // [root@localhost iftop-0.17]# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... xyes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking sys/dlpi.h usability... no checking sys/dlpi.h presence... no checking for sys/dlpi.h... no checking for regcomp... yes checking for select... yes checking for strdup... yes checking for strerror... yes checking for strspn... yes checking for library containing socket... none required checking for library containing log... -lm checking for gethostbyname... yes checking for library containing inet_aton... none required checking for library containing inet_pton... none required checking for inet_aton... yes checking for inet_pton... yes checking size of u_int8_t... 1 checking size of u_int16_t... 2 checking size of u_int32_t... 4 checking for library containing getnameinfo... none required checking for library containing gethostbyaddr_r... none required checking how to call gethostbyaddr_r... 8 args, int return checking gethostbyaddr_r usability... yes checking where to find pcap.h... /usr/include/pcap checking for pcap_open_live in -lpcap... no configure: error: can't find libpcap You're not going to get very far without libpcap. [root@localhost iftop-0.17]# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking sys/dlpi.h usability... no checking sys/dlpi.h presence... no checking for sys/dlpi.h... no checking for regcomp... yes checking for select... yes checking for strdup... yes checking for strerror... yes checking for strspn... yes checking for library containing socket... none required checking for library containing log... -lm checking for gethostbyname... yes checking for library containing inet_aton... none required checking for library containing inet_pton... none required checking for inet_aton... yes checking for inet_pton... yes checking size of u_int8_t... 1 checking size of u_int16_t... 2 checking size of u_int32_t... 4 checking for library containing getnameinfo... none required checking for library containing gethostbyaddr_r... none required checking how to call gethostbyaddr_r... 8 args, int return checking gethostbyaddr_r usability... yes checking where to find pcap.h... /include checking for pcap_open_live in -lpcap... no configure error: can't find libpcap You're not going to get very far without libpcap. What is this error all about ? // Has anybody faced such errors ? // Please, Please revert back with any sort of information if you have // -- With thanks Neeraj ------=_Part_242338_23373244.1169559117171 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi All

We downloaded "iftop-0.17-1fc6" and tried to install it on fedora 6 //
We tried to configure it with the following command and it did all the checkings and threw an error at last //

[root@localhost iftop-0.17]# ./configure

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor...  gcc -E
checking for egrep... grep -E
checking for ANSI C header files... xyes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/dlpi.h usability... no
checking sys/dlpi.h presence... no
checking for sys/dlpi.h... no
checking for regcomp... yes
checking for select... yes
checking for strdup... yes
checking for strerror... yes
checking for strspn... yes
checking for library containing socket... none required
checking for library containing log... -lm
checking for gethostbyname... yes
checking for library containing inet_aton... none required
checking for library containing inet_pton... none required
checking for inet_aton... yes
checking for inet_pton... yes
checking size of u_int8_t... 1
checking size of u_int16_t... 2
checking size of u_int32_t... 4
checking for library containing getnameinfo... none required
checking for library containing gethostbyaddr_r... none required
checking how to call gethostbyaddr_r... 8 args, int return
checking gethostbyaddr_r usability... yes
checking where to find pcap.h... /usr/include/pcap
checking for pcap_open_live in -lpcap... no
configure: error: can't find libpcap
  You're not going to get very far without libpcap.
[root@localhost iftop-0.17]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h.. . yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/dlpi.h usability... no
checking sys/dlpi.h presence... no
checking for sys/dlpi.h... no
checking for regcomp... yes
checking for select... yes
checking for strdup... yes
checking for strerror... yes
checking for strspn... yes
checking for library containing socket... none required
checking for library containing log... -lm
checking for gethostbyname... yes
checking for library containing inet_aton... none required
checking for library containing inet_pton... none required
checking for inet_aton... yes
checking for inet_pton... yes
checking size of u_int8_t... 1
checking size of u_int16_t... 2
checking size of u_int32_t... 4
checking for library containing getnameinfo... none required
checking for library containing gethostbyaddr_r... none required
checking how to call gethostbyaddr_r... 8 args, int return
checking gethostbyaddr_r usability... yes
checking where to find pcap.h... /include
checking for pcap_open_live in -lpcap... no
configure error: can't find libpcap
  You're not going to get very far without libpcap.



What is this error all about ? //
Has anybody faced such errors ? //
Please, Please revert back with any sort of information if you have //

 

--
With thanks
Neeraj 
------=_Part_242338_23373244.1169559117171-- From dwr-list at open.ch Tue Jan 23 17:43:20 2007 From: dwr-list at open.ch (pat) Date: Tue, 23 Jan 2007 18:43:20 +0100 Subject: [Iftop-users] iftop installation // In-Reply-To: <6a4dfb1d0701230531m4738ba04xc1c530c068e1970e@mail.gmail.com> References: <6a4dfb1d0701230531m4738ba04xc1c530c068e1970e@mail.gmail.com> Message-ID: <45B64938.2060301@open.ch> Neeraj, any idea why your two supposedly subsequent runs of ./configure show two different locations for pcap.h? > checking where to find pcap.h... /usr/include/pcap versus > checking where to find pcap.h... /include in the second run... Looks like the development headers might be there but the library is missing. After all, have you installed libpcap? And the simplest of all: try to install the binary rpm instead of compiling it yourself. Good luck! pat. Neeraj Chowdhry wrote: > > Hi All > > We downloaded "iftop-0.17-1fc6" and tried to install it on fedora 6 // > We tried to configure it with the following command and it did all the > checkings and threw an error at last // > > [root@localhost iftop-0.17]# ./configure > > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking target system type... i686-pc-linux-gnu > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets ${MAKE}... yes > checking for gcc... gcc > checking for C compiler default output... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking for style of include used by make... GNU > checking dependency style of gcc... gcc3 > checking how to run the C preprocessor... gcc -E > checking for egrep... grep -E > checking for ANSI C header files... xyes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking sys/ioctl.h usability... yes > checking sys/ioctl.h presence... yes > checking for sys/ioctl.h... yes > checking sys/time.h usability... yes > checking sys/time.h presence... yes > checking for sys/time.h... yes > checking sys/sockio.h usability... no > checking sys/sockio.h presence... no > checking for sys/sockio.h... no > checking for unistd.h... (cached) yes > checking for an ANSI C-conforming const... yes > checking for size_t... yes > checking whether time.h and sys/time.h may both be included... yes > checking sys/dlpi.h usability... no > checking sys/dlpi.h presence... no > checking for sys/dlpi.h... no > checking for regcomp... yes > checking for select... yes > checking for strdup... yes > checking for strerror... yes > checking for strspn... yes > checking for library containing socket... none required > checking for library containing log... -lm > checking for gethostbyname... yes > checking for library containing inet_aton... none required > checking for library containing inet_pton... none required > checking for inet_aton... yes > checking for inet_pton... yes > checking size of u_int8_t... 1 > checking size of u_int16_t... 2 > checking size of u_int32_t... 4 > checking for library containing getnameinfo... none required > checking for library containing gethostbyaddr_r... none required > checking how to call gethostbyaddr_r... 8 args, int return > checking gethostbyaddr_r usability... yes > checking where to find pcap.h... /usr/include/pcap > checking for pcap_open_live in -lpcap... no > configure: error: can't find libpcap > You're not going to get very far without libpcap. > [root@localhost iftop-0.17]# ./configure > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking target system type... i686-pc-linux-gnu > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets ${MAKE}... yes > checking for gcc... gcc > checking for C compiler default output... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking for style of include used by make... GNU > checking dependency style of gcc... gcc3 > checking how to run the C preprocessor... gcc -E > checking for egrep... grep -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h.. . yes > checking for stdint.h... yes > checking for unistd.h... yes > checking sys/ioctl.h usability... yes > checking sys/ioctl.h presence... yes > checking for sys/ioctl.h... yes > checking sys/time.h usability... yes > checking sys/time.h presence... yes > checking for sys/time.h... yes > checking sys/sockio.h usability... no > checking sys/sockio.h presence... no > checking for sys/sockio.h... no > checking for unistd.h... (cached) yes > checking for an ANSI C-conforming const... yes > checking for size_t... yes > checking whether time.h and sys/time.h may both be included... yes > checking sys/dlpi.h usability... no > checking sys/dlpi.h presence... no > checking for sys/dlpi.h... no > checking for regcomp... yes > checking for select... yes > checking for strdup... yes > checking for strerror... yes > checking for strspn... yes > checking for library containing socket... none required > checking for library containing log... -lm > checking for gethostbyname... yes > checking for library containing inet_aton... none required > checking for library containing inet_pton... none required > checking for inet_aton... yes > checking for inet_pton... yes > checking size of u_int8_t... 1 > checking size of u_int16_t... 2 > checking size of u_int32_t... 4 > checking for library containing getnameinfo... none required > checking for library containing gethostbyaddr_r... none required > checking how to call gethostbyaddr_r... 8 args, int return > checking gethostbyaddr_r usability... yes > checking where to find pcap.h... /include > checking for pcap_open_live in -lpcap... no > configure error: can't find libpcap > You're not going to get very far without libpcap. > > > > What is this error all about ? // > Has anybody faced such errors ? // > Please, Please revert back with any sort of information if you have // > > > > -- > With thanks > Neeraj From kimball at beatthebookstore.com Wed Jan 24 17:38:09 2007 From: kimball at beatthebookstore.com (Kimball Larsen) Date: Wed, 24 Jan 2007 10:38:09 -0700 Subject: [Iftop-users] Compiling the latest on an intel mac Message-ID: <53F7AC35-0596-40BF-B5D7-900681E3AE76@beatthebookstore.com> So, I love iftop, and use it on many of the linux machines I admin for work. I recently purchased a new MacBookPro (one of the 17" Core 2 Duo models) and am running OS X 10.4.8, with the latest developer tools. I downloaded iftop-0.17pre2.tar.gz from freshmeat, and tried to do a ./configure and make. It puked. I noted your request for feedback, so here is the relevant info: kimball@cranky:~/Desktop/Downloads/iftop-0.17pre2 ./configure checking build system type... i386-apple-darwin8.8.2 checking host system type... i386-apple-darwin8.8.2 checking target system type... i386-apple-darwin8.8.2 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/sockio.h usability... yes checking sys/sockio.h presence... yes checking for sys/sockio.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking sys/dlpi.h usability... no checking sys/dlpi.h presence... no checking for sys/dlpi.h... no checking for regcomp... yes checking for select... yes checking for strdup... yes checking for strerror... yes checking for strspn... yes checking for library containing socket... none required checking for library containing log... none required checking for gethostbyname... yes checking for library containing inet_aton... none required checking for library containing inet_pton... none required checking for inet_aton... yes checking for inet_pton... yes checking size of u_int8_t... 1 checking size of u_int16_t... 2 checking size of u_int32_t... 4 checking for library containing getnameinfo... none required checking for library containing gethostbyaddr_r... no checking for library containing gethostbyaddr... none required configure: WARNING: using single-threaded resolver with gethostbyaddr Consider obtaining ARES or a machine with a working gethostbyaddr_r. checking where to find pcap.h... /include checking for pcap_open_live in -lpcap... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for a curses library containing mvchgat... -lcurses checking POSIX threads compilation... CFLAGS= and LIBS= checking POSIX threads usability... yes checking if we need to enable promiscuous mode by default... no configure: creating ./config.status config.status: creating Makefile config.status: creating config/Makefile config.status: creating config.h config.status: executing depfiles commands 0.17pre2 configure: WARNING: ************************************************************************ ****** This is a pre-release version. Pre-releases are subject to limited announcements, and therefore limited circulation, as a means of testing the more widely circulated final releases. Please do not be surprised if this release is utterly, utterly broken. If you do find this release to be utterly, utterly broken, do not assume that someone else has spotted it. Instead, please drop a note on the mailing list, or a brief email to me on pdw@ex-parrot.com Thank you for taking the time to be the testing phase of this development process. Paul Warren ************************************************************************ ****** kimball@cranky:~/Desktop/Downloads/iftop-0.17pre2 make make all-recursive Making all in config make[2]: Nothing to be done for `all'. source='addr_hash.c' object='addr_hash.o' libtool=no \ depfile='.deps/addr_hash.Po' tmpdepfile='.deps/addr_hash.TPo' \ depmode=gcc3 /bin/sh ./config/depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c `test -f 'addr_hash.c' || echo './'`addr_hash.c source='edline.c' object='edline.o' libtool=no \ depfile='.deps/edline.Po' tmpdepfile='.deps/edline.TPo' \ depmode=gcc3 /bin/sh ./config/depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c `test -f 'edline.c' || echo './'`edline.c source='hash.c' object='hash.o' libtool=no \ depfile='.deps/hash.Po' tmpdepfile='.deps/hash.TPo' \ depmode=gcc3 /bin/sh ./config/depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c `test -f 'hash.c' || echo './'`hash.c source='iftop.c' object='iftop.o' libtool=no \ depfile='.deps/iftop.Po' tmpdepfile='.deps/iftop.TPo' \ depmode=gcc3 /bin/sh ./config/depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c `test -f 'iftop.c' || echo './'`iftop.c In file included from iftop.c:46: ppp.h:61: error: array type has incomplete element type make[2]: *** [iftop.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Thanks! -- Kimball From kalou at kalou.net Thu Jan 25 19:22:35 2007 From: kalou at kalou.net (Olivier Kaloudoff) Date: Thu, 25 Jan 2007 20:22:35 +0100 (CET) Subject: [Iftop-users] Compiling the latest on an intel mac In-Reply-To: <53F7AC35-0596-40BF-B5D7-900681E3AE76@beatthebookstore.com> References: <53F7AC35-0596-40BF-B5D7-900681E3AE76@beatthebookstore.com> Message-ID: On Wed, 24 Jan 2007, Kimball Larsen wrote: > So, I love iftop, and use it on many of the linux machines I admin for work. > > I recently purchased a new MacBookPro (one of the 17" Core 2 Duo models) and > am running OS X 10.4.8, with the latest developer tools. > > I downloaded iftop-0.17pre2.tar.gz from freshmeat, and tried to do a > ./configure and make. Hi Kimbal, just downloaded 0.17pre3 and did ./configure , make, went fine without a glitch. Using gcc 4.0.1 . I see you are using gcc 3, maybe the problem comes from this ? Can you try "sudo gcc_select 4.0" and retry ? Olivier From kalou at kalou.net Thu Jan 25 19:28:19 2007 From: kalou at kalou.net (Olivier Kaloudoff) Date: Thu, 25 Jan 2007 20:28:19 +0100 (CET) Subject: [Iftop-users] Compiling the latest on an intel mac In-Reply-To: <53F7AC35-0596-40BF-B5D7-900681E3AE76@beatthebookstore.com> References: <53F7AC35-0596-40BF-B5D7-900681E3AE76@beatthebookstore.com> Message-ID: Re, Kimball > I downloaded iftop-0.17pre2.tar.gz from freshmeat, and tried to do a > ./configure and make. > > It puked. > > I noted your request for feedback, so here is the relevant info: > gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c `test -f 'iftop.c' || echo > './'`iftop.c > In file included from iftop.c:46: > ppp.h:61: error: array type has incomplete element type > make[2]: *** [iftop.o] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 Ok in fact, using pre2, I have the exact same error. But why do you want to use pre2, probably pre3 is better isn't it :-) ? Olivier From kimball at beatthebookstore.com Thu Jan 25 22:02:33 2007 From: kimball at beatthebookstore.com (Kimball Larsen) Date: Thu, 25 Jan 2007 15:02:33 -0700 Subject: [Iftop-users] Compiling the latest on an intel mac In-Reply-To: References: <53F7AC35-0596-40BF-B5D7-900681E3AE76@beatthebookstore.com> Message-ID: On Jan 25, 2007, at 12:28 PM, Olivier Kaloudoff wrote: > Re, Kimball > >> I downloaded iftop-0.17pre2.tar.gz from freshmeat, and tried to do >> a ./configure and make. >> >> It puked. >> >> I noted your request for feedback, so here is the relevant info: > >> gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c `test -f 'iftop.c' >> || echo './'`iftop.c >> In file included from iftop.c:46: >> ppp.h:61: error: array type has incomplete element type >> make[2]: *** [iftop.o] Error 1 >> make[1]: *** [all-recursive] Error 1 >> make: *** [all] Error 2 > > Ok in fact, using pre2, I have the exact same error. But why do you > want > to use pre2, probably pre3 is better isn't it :-) ? > Ahh - see, pre3 was not available a few days ago when I did this (at least, I didn't find it.. ) I just tried pre3, and it works fine. Thanks! -- Kimball From dwr-list at open.ch Fri Jan 26 06:55:15 2007 From: dwr-list at open.ch (pat) Date: Fri, 26 Jan 2007 07:55:15 +0100 Subject: [Iftop-users] Compiling the latest on an intel mac In-Reply-To: References: <53F7AC35-0596-40BF-B5D7-900681E3AE76@beatthebookstore.com> Message-ID: <45B9A5D3.3050400@open.ch> Hi Guys, have a look at http://www.ex-parrot.com/pdw/iftop/download/?M=D Although I am not familiar with the release cycles I assume that 0.17 is the most recent version (at least when looking at the 'Last modified' date). pat. Kimball Larsen wrote: > > On Jan 25, 2007, at 12:28 PM, Olivier Kaloudoff wrote: > >> Re, Kimball >> >>> I downloaded iftop-0.17pre2.tar.gz from freshmeat, and tried to do a >>> ./configure and make. >>> >>> It puked. >>> >>> I noted your request for feedback, so here is the relevant info: >> >>> gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c `test -f 'iftop.c' || >>> echo './'`iftop.c >>> In file included from iftop.c:46: >>> ppp.h:61: error: array type has incomplete element type >>> make[2]: *** [iftop.o] Error 1 >>> make[1]: *** [all-recursive] Error 1 >>> make: *** [all] Error 2 >> >> Ok in fact, using pre2, I have the exact same error. But why do you want >> to use pre2, probably pre3 is better isn't it :-) ? >> > > Ahh - see, pre3 was not available a few days ago when I did this (at > least, I didn't find it.. ) > > I just tried pre3, and it works fine. Thanks! > > -- Kimball > > > > > _______________________________________________ > iftop-users mailing list > iftop-users@lists.beasts.org > http://lists.beasts.org/mailman/listinfo/iftop-users From pdw at ex-parrot.com Fri Jan 26 08:31:22 2007 From: pdw at ex-parrot.com (Paul Warren) Date: Fri, 26 Jan 2007 08:31:22 +0000 Subject: [Iftop-users] Compiling the latest on an intel mac In-Reply-To: <45B9A5D3.3050400@open.ch> References: <53F7AC35-0596-40BF-B5D7-900681E3AE76@beatthebookstore.com> <45B9A5D3.3050400@open.ch> Message-ID: <20070126083122.GA22056@sphinx.mythic-beasts.com> On Fri, Jan 26, 2007 at 07:55:15AM +0100, pat wrote: > have a look at http://www.ex-parrot.com/pdw/iftop/download/?M=D > > Although I am not familiar with the release cycles I assume that 0.17 is > the most recent version (at least when looking at the 'Last modified' date). That's correct. It seems I never updated Freshmeat with 0.17 or 0.17pre2. Sorry about that. http://www.ex-parrot.com/pdw/iftop/ will always definitely list the latest versions. Apologies for being unresponsive on this stuff - I'm out of the country on business at the moment. Paul