I really am supprized at how little cpu this actually takes!
Still looking at gdb traces to see why it failes in the main home page
(statistics page)

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
> Behalf Of Burton Strauss
> Sent: Sunday, June 11, 2006 9:10 AM
> To: [email protected]
> Subject: RE: [Ntop] FBSD crash: how can I help?
> 
> Btw, it would be a dash (-) not an underscore (_) in the -- option.

Actually, looks like its:
--set-pcap-nonblock

Not:
> Tried both versions of pcap with this:
> --pcap_setnonblock

Or --pcap-setnonblock

Man ntop says:
 Unix options:

       [-d|--daemon] [-i|--interface <name>] [-u|--user <user>]
[-K|--enable-
       debug]  [-L]  [--pcap_setnonblock]  [--use-syslog=  <facility>]
[--web-
       server-queue <number>]

I went back and looked at my freebsd(4.4) notes, and only way I could
get it to work was to use the nonblocking option (also suggest niceing
to 20 or something!)
Also had to specifically put the arguments in a specific order or it
would not work.

Start it WITHOUT the -d option (but with: 
 /usr/local/bin/ntop $args > /dev/null 2>&1 &

Either case, didn't help.

Could fix the documentation to document correct usage of
--set-pcap-nonblock (or not bother since it doesn't work anyway)

If any users have it working, well, maybe an old version? (I had an old
2.x version running)
Or maybe the threat interaction with HTT p4's is causing it trouble,

I will get the gdb traces in a short time, but could still be a freebsd
pthread problem.
(wonder if we could use the linix-pthreads instead?)

Got this from security list:

-----Original Message-----
From: Remco Bressers [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 11, 2006 3:39 PM
To: Michael Scheidell
Subject: Re: Anyone running ntop on FBSD5.4

>If you are running ntop on 5.4, what compile options?
>Use ports version? Or surgefile tarball?
>
>It makes a great security forensics tools, but I can't get it to stop 
>segfaulting.Was wondering if anyone found a fix for it.
>
I had the same problems on FreeBSD 5.4. Ntop keeps segfaulting. After an

upgrade to 6.0-RELEASE it works flawlessly.
No clue what the problem was :o).

Regards,

Remco Bressers
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to