- My configuration file is the default configuration, without modification and i have try many different command line to lunch ntop with the same results.
- I have try with --set-pcap-nonblocking option and without this option with the same results
- I have show the netstat result and the port 3000 is close for the localhost and th host address
- I have test the web site with lynx because ntop is installed on my gateway and in haven't install X
- I am not forcing IPv6, The problem is that freebsd 5.2 is dual stack (ipv4 ipv6) and I think that ntop is quite disturbing by this. I can just bind the server with the ipv6 localhost address.
Vincent
Burton M. Strauss III a �crit :
1. What settings are buried in the .conf file? Specifically, are you running with --set-pcap-nonblocking? It should be forced in there, but try adding it anyway.
2. What browser? Have you tried others? There is a Windows tool called WebBug that lets you send basic requests and see exactly what you get back - look for it on the web.
3. Is ntop even seeing the request?? You can enable debugging via the #define statements in globals-defines.h --
/* URL_DEBUG causes http.c to log information regarding processing of URLs * received by the ntop web server */ /* #define URL_DEBUG */
4. That looks like an IPv6 address. I don't know how extensively that's been tested... have you tried specifying the -6 flag to force IPv6 connections?
5. For that matter, what does netstat show ntop has bound to??
-----Burton
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Vincent Gauthier Sent: Friday, April 02, 2004 1:30 PM To: [EMAIL PROTECTED] Subject: Re: [Ntop] web server prb on freebsd 5.2
I use ntop v.3.0 FreeBSD
i launch ntop with this command line :
ntop @/usr/local/etc/ntop/ntop.conf -a /var/log/ntop.log -w 3000
and the web server look like started
ntop log message **************** Apr 2 20:21:28 hermes ntop[820]: INITWEB: Initializing web server Apr 2 20:21:28 hermes ntop[820]: INITWEB: Initializing tcp/ip socket connections for web server Apr 2 20:21:28 hermes ntop[820]: FILEDESCRIPTORBUG: Work-around activated Apr 2 20:21:28 hermes ntop[820]: INITWEB: Initialized socket, port 3000, address (any) Apr 2 20:21:28 hermes ntop[820]: INITWEB: Waiting for HTTP connections on port 3000 Apr 2 20:21:28 hermes ntop[820]: INITWEB: Starting web server Apr 2 20:21:28 hermes ntop[820]: THREADMGMT: Started thread (141288448) for web server Apr 2 20:21:28 hermes ntop[820]: THREADMGMT: Started thread (141288960) for network packet sniffing on rl0 Apr 2 20:21:28 hermes ntop[820]: THREADMGMT: rrd thread (141287936) started Apr 2 20:21:28 hermes ntop[820]: THREADMGMT: web connections thread (820) started... Apr 2 20:21:28 hermes ntop[820]: Note: SIGPIPE handler set (ignore) Apr 2 20:21:28 hermes ntop[820]: WEB: ntop's web server is now processing requests
and when I bind the port localhost:3000 whith my browser i haven't problem but it doesn't when bind the server with my host adresse
example of web connexion when I bind the throught the localhost address
::7003:0:0:0 - - [02/Apr/2004:19:18:06 +0200] - "GET / HTTP/1.0" 200 1699 40 ::7003:0:0:0 - - [02/Apr/2004:19:18:12 +0200] - "GET /index_inner.html HTTP/1.0" 200 1617 27 ::7003:0:0:0 - - [02/Apr/2004:19:18:21 +0200] - "GET /index_left.html HTTP/1.0" 200 1576 43 ::7003:0:0:0 - - [02/Apr/2004:19:18:25 +0200] - "GET /About.html HTTP/1.0" 200 2009 25
Thanks in advance
Vincent
_______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
