::1 sounds like an IPv6 address.

We've had reports of problems with that stuff other than under Linux.  So
try:

1) the -4 parameter at run time.  Force ntop to accept v4 connections only

2) ./configure --disable-ipv6 ...whatever...

-----Burton




> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
> Michael Anderson
> Sent: Thursday, April 08, 2004 8:58 PM
> To: [EMAIL PROTECTED]
> Subject: [Ntop] Web server not working
>
>
> I finally got ntop installed on my OpenBSD 3.4 machine, however the web
> service does not appear to be working properly. The web server accepts the
> connection but doesn't respond to any requests. Also it only accepts
> connections from localhost.
>
> Any idea what might be wrong?
>
>
> example:
>
> $ telnet localhost 3000
> Trying ::1...
> Connected to localhost.
> Escape character is '^]'.
> GET /
>
> <sits there forever>
>
>
> ntop run with:
>
> $ sudo ntop -w 3000
> Thu Apr  8 18:52:32 2004  ntop will be started as user nobody
> Thu Apr  8 18:52:32 2004  ntop v.3.0 SourceForge .tgz MT (SSL)
> Thu Apr  8 18:52:32 2004  Configured on Apr  8 2004 10:40:00, built on Apr
> 8 2004 10:43:33.
> Thu Apr  8 18:52:32 2004  Copyright 1998-2004 by Luca Deri <[EMAIL PROTECTED]>
> Thu Apr  8 18:52:32 2004  Get the freshest ntop from http://www.ntop.org/
> Thu Apr  8 18:52:32 2004  Initializing ntop
> Thu Apr  8 18:52:32 2004  **WARNING** Truncated network size
> (device xl0) to
> 1024 hosts (real netmask 255.255.0.0)
> Thu Apr  8 18:52:32 2004  Checking xl0 for additional devices
> Thu Apr  8 18:52:32 2004  Resetting traffic statistics for device xl0
> Thu Apr  8 18:52:32 2004  DLT: Device 0 [xl0] is 1, mtu 1514, header 14
> Thu Apr  8 18:52:32 2004  Initializing gdbm databases
> Thu Apr  8 18:52:32 2004  Now running as requested user 'nobody'
> (32767:32767)
> Thu Apr  8 18:52:32 2004  VENDOR: Loading MAC address table.
> Thu Apr  8 18:52:32 2004  VENDOR: Checking for MAC address table file
> Thu Apr  8 18:52:32 2004  VENDOR: File
> '/usr/local/etc/ntop/specialMAC.txt.gz' does not need to be reloaded
> Thu Apr  8 18:52:32 2004  VENDOR: ntop continues ok
> Thu Apr  8 18:52:32 2004  VENDOR: Checking for MAC address table file
> Thu Apr  8 18:52:32 2004  VENDOR: File
> '/usr/local/etc/ntop/oui.txt.gz' does
> not need to be reloaded
> Thu Apr  8 18:52:32 2004  VENDOR: ntop continues ok
> Thu Apr  8 18:52:32 2004  OSFP: Checking for OS fingerprint table file
> Thu Apr  8 18:52:32 2004  OSFP: Loading file
> '/usr/local/etc/ntop/etter.passive.os.fp.gz'
> Thu Apr  8 18:52:32 2004  ASN: Checking for Autonomous System Number table
> file
> Thu Apr  8 18:52:32 2004  **WARNING** ASN: Unable to open file
> 'AS-list.txt'
> Thu Apr  8 18:52:32 2004  I18N: This instance of ntop does not support
> multiple languages
> Thu Apr  8 18:52:32 2004  IP2CC: Checking for IP address <-> Country Code
> mapping file
> Thu Apr  8 18:52:32 2004  IP2CC: Loading file
> '/usr/local/etc/ntop/p2c.opt.table.gz'
> Thu Apr  8 18:52:36 2004  IP2CC: ...found 52395 lines
> Thu Apr  8 18:52:36 2004  GDVERCHK: Guessing at libgd version
> Thu Apr  8 18:52:36 2004  GDVERCHK: ... as 2.0.12-2.0.15
> Thu Apr  8 18:52:36 2004  Initializing external applications
> Thu Apr  8 18:52:36 2004  Initializing semaphores, mutexes and threads
> Thu Apr  8 18:52:36 2004  THREADMGMT: Packet processor thread running...
> Thu Apr  8 18:52:36 2004  THREADMGMT: Started thread (1006680064) for
> network packet analyser
> Thu Apr  8 18:52:36 2004  THREADMGMT: Started thread (1006681088) for
> fingerprinting
> Thu Apr  8 18:52:36 2004  THREADMGMT: Started thread (1006681600) for idle
> hosts detection
> Thu Apr  8 18:52:36 2004  THREADMGMT: Started thread (1011879936) for DNS
> address resolution
> Thu Apr  8 18:52:36 2004  Calling plugin start functions (if any)
> Thu Apr  8 18:52:36 2004  Sniffying...
> Thu Apr  8 18:52:36 2004  INIT: Created pid file
> (/usr/local/var/ntop/ntop.pid)
> Thu Apr  8 18:52:36 2004  Listening on [xl0]
> Thu Apr  8 18:52:36 2004  Now running as requested user 'nobody'
> (32767:32767)
> Thu Apr  8 18:52:36 2004  Loading Plugins
> Thu Apr  8 18:52:36 2004  Searching for plugins in
> /usr/local/lib/ntop/plugins
> Thu Apr  8 18:52:36 2004  **WARNING** Unable to locate plugin
> '/usr/local/lib/ntop/plugins/icmpPlugin.so' entry function [Unable to
> resolve symbol]
> Thu Apr  8 18:52:36 2004  **WARNING** Unable to locate plugin
> '/usr/local/lib/ntop/plugins/lastSeenPlugin.so' entry function [Unable to
> resolve symbol]
> Thu Apr  8 18:52:36 2004  **WARNING** Unable to locate plugin
> '/usr/local/lib/ntop/plugins/netflowPlugin.so' entry function [Unable to
> resolve symbol]
> Thu Apr  8 18:52:36 2004  **WARNING** Unable to locate plugin
> '/usr/local/lib/ntop/plugins/nfsPlugin.so' entry function [Unable
> to resolve
> symbol]
> Thu Apr  8 18:52:36 2004  **WARNING** Unable to locate plugin
> '/usr/local/lib/ntop/plugins/pdaPlugin.so' entry function [Unable
> to resolve
> symbol]
> Thu Apr  8 18:52:36 2004  **WARNING** Unable to locate plugin
> '/usr/local/lib/ntop/plugins/rrdPlugin.so' entry function [Unable
> to resolve
> symbol]
> Thu Apr  8 18:52:36 2004  **WARNING** Unable to locate plugin
> '/usr/local/lib/ntop/plugins/sflowPlugin.so' entry function [Unable to
> resolve symbol]
> Thu Apr  8 18:52:36 2004  **WARNING** Unable to locate plugin
> '/usr/local/lib/ntop/plugins/xmldumpPlugin.so' entry function [Unable to
> resolve symbol]
> Thu Apr  8 18:52:36 2004  Calling plugin start functions (if any)
> Thu Apr  8 18:52:36 2004  SSL is present but https is disabled: use -W
> <https port> for enabling it
> Thu Apr  8 18:52:36 2004  Note: Reporting device initally set to 0 [xl0]
> (merged)
> Thu Apr  8 18:52:36 2004  INITWEB: Initializing web server
> Thu Apr  8 18:52:36 2004  INITWEB: Initializing tcp/ip socket connections
> for web server
> Thu Apr  8 18:52:36 2004  INITWEB: Initialized socket, port 3000, address
> (any)
> Thu Apr  8 18:52:36 2004  INITWEB: Waiting for HTTP connections
> on port 3000
> Thu Apr  8 18:52:36 2004  INITWEB: Starting web server
> Thu Apr  8 18:52:36 2004  THREADMGMT: Started thread (1011880960) for web
> server
> Thu Apr  8 18:52:36 2004  THREADMGMT: Started thread (1011881472) for
> network packet sniffing on xl0
> Thu Apr  8 18:52:36 2004  THREADMGMT: Fingerprint scan thread running...
> Thu Apr  8 18:52:36 2004  THREADMGMT: Idle host scan thread running...
> Thu Apr  8 18:52:36 2004  THREADMGMT: Address resolution thread running...
> Thu Apr  8 18:52:36 2004  CHKVER: Checking current ntop version at
> version.ntop.org/version.xml
> Thu Apr  8 18:52:36 2004  THREADMGMT: web connections thread (3798)
> started...
> Thu Apr  8 18:52:36 2004  Note: SIGPIPE handler set (ignore)
> Thu Apr  8 18:52:36 2004  WEB: ntop's web server is now
> processing requests
> Thu Apr  8 18:52:36 2004  THREADMGMT: pcap dispatch thread running...
>
> _______________________________________________
> Ntop mailing list
> [EMAIL PROTECTED]
> http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to