Promiscous mode is a mode where a network device can watch the traffic on the
network. I'm almost positive, that if it didn't set your device to "promiscous"
you couldn't monitor traffic. What is an rl0 device? Is it one that you dont'
want to monitor? If you do you need promiscous mode.
Check "man ifconfig" for some more info on promiscous mode.
Cheers,
Tibor

 On Wed, 25 Oct 2000, Michael Bartlett wrote:
> yeah i know its not bsd itself that goes into promiscuous mode - but why
> does ntop send my rl0 device into this mode after running for a while? and
> is there any way to prevent this?
> 
> -----Original Message-----
> From: Tibor Incze [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 25, 2000 9:00 PM
> To: Michael Bartlett; '[EMAIL PROTECTED]'
> Subject: RE: insane memory usage?
> 
> 
> Michael: It's not Freebsd itself, per se, that's going into promiscuous
> mode,
> it's your ethx device, which it needs to do to capture packets.
> I agree with you that NTOP takes up quite a bit of memory, but remember it's
> a
> multithreaded process that will tend to do that with heavy traffic systems,
> because it has to capture and analyze every packet that goes through. A good
> solution may be filtering the types of packets. I think that should reduce
> your
> memory usage.
> 
> 
> On Wed, 25 Oct 2000, Michael Bartlett wrote:
> > on this whole issue about running for a while...
> > i run freebsd 3.2 and ntop. if i run ntop for a while (like an hour or
> more)
> > i find that FreeBSD goes into premiscious mode and just eats up all the
> > packets on my network until i kill ntop.
> > any comments/suggestions on this?
> > 
> > -----Original Message-----
> > From: Dan Colquhoun [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, October 25, 2000 7:23 PM
> > To: [EMAIL PROTECTED]
> > Subject: insane memory usage?
> > 
> > 
> > This is what happened after about an hour running the code from this
> > mornings CVS:
> > 
> > root     11874  0.0 71.8 73576 45168 ?       S    12:43   0:01 ntop -P
> > /root -d
> > root     11883  0.0 71.8 73576 45200 ?       S    12:43   0:00 ntop -P
> > /root -d
> > root     11884  0.0 71.9 73576 45228 ?       S    12:43   0:00 ntop -P
> > /root -d
> > root     11885 12.7 72.0 73576 45292 ?       S    12:43   4:23 ntop -P
> > /root -d
> > root     11886  0.0 72.0 73576 45336 ?       S    12:43   0:01 ntop -P
> > /root -d
> > root     11887  1.6 71.8 73576 45224 ?       D    12:43   0:34 ntop -P
> > /root -d
> > root     11888  0.3 71.8 73576 45224 ?       S    12:43   0:06 ntop -P
> > /root -d
> > root     11889  1.5 71.8 73576 45224 ?       S    12:43   0:31 ntop -P
> > /root -d
> > root     11890  1.8 71.8 73576 45224 ?       S    12:43   0:38 ntop -P
> > /root -d
> > root     11891  0.9 71.9 73576 45228 ?       S    12:43   0:18 ntop -P
> > /root -d
> > 
> > for a box with 64MB of mem, not good ;)
> > 
> > ---
> > Dan Colquhoun
> > Co-Op Systems Administrator
> > Open Text Inc.
> > 185 Columbia St. W.
> > Waterloo, ON
> > N2L 5Z5
> > 519-888-7111 x2482
> -- 
> Tibor Incze
> Network Systems Administrator
> Newsham Hybrids(USA) Inc.
> Ph: (719) 630 3200
> Fax: (719) 630 8021
> Email: [EMAIL PROTECTED]
-- 
Tibor Incze
Network Systems Administrator
Newsham Hybrids(USA) Inc.
Ph: (719) 630 3200
Fax: (719) 630 8021
Email: [EMAIL PROTECTED]

Reply via email to