decided to try ntop 3.4-pre3 on freebsd 7.1 amd64 due to 'issues' I have seen with freebsd.

needed some (lots) of patching to get it to compile, most of the hints I took from the freebsd ports patches files.

but, I am stuck on either not getting display (http process hung), and getting a display, but not getting anything captured.

http gets hung if I apply this patch: (from freebsd ports patches)

--- ntop.c.orig 2010-01-15 20:54:06.000000000 -0200
+++ ntop.c      2010-01-15 20:55:37.000000000 -0200
@@ -183,7 +183,7 @@
 #endif
   signal(SIGQUIT, SIG_IGN);

-  if((childpid=fork()) < 0)
+  if((childpid=rfork(RFPROC)) < 0)
traceEvent(CONST_TRACE_ERROR, "INIT: Occurred while daemonizing (errno=%d)", errno);
   else {
 #ifdef DEBUG


but it I DON' apply the patch, I get no capture (nothing seen, yes, worked with ntop 3.3) tried with built in pcap and ports pcap.

(some discussion on this patch:
<http://old.nabble.com/Workaround-for-ntop-as-daemon,-is-it-ok--td26539336.html>

ntop 3.3.9 worked, but ntop 3.3.10 hung (both freebsd ports).

anyone running 3.4 on freebsd 7? and what did you do?

--
Michael Scheidell, CTO
Phone: 561-999-5000, x 1259
> *| *SECNAP Network Security Corporation

   * Certified SNORT Integrator
   * 2008-9 Hot Company Award Winner, World Executive Alliance
   * Five-Star Partner Program 2009, VARBusiness
   * Best Anti-Spam Product 2008, Network Products Guide
   * King of Spam Filters, SC Magazine 2008


______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/
______________________________________________________________________  
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to