If you enable URL_DEBUG in globals-defines.h you will see log messages for all four cases where ntop generates a 400 return:
traceEvent(CONST_TRACE_INFO, "URL_DEBUG: Rcvd non expected char '%c' [%d/0x%x]", aChar[0], aChar[0], aChar[0]); traceEvent(CONST_TRACE_INFO, "URL_DEBUG: Malformed request line."); (doesn't begin w/ " HTTP/" traceEvent(CONST_TRACE_INFO, "URL_DEBUG: Too short request line."); (request < 9 characters) traceEvent(CONST_TRACE_INFO, "URL_DEBUG: Line too long (hackers ?)"); In any case, it's the request coming from your browser... (with URL_DEBUG you will see lots of messages related to the request). Two thoughts ... one is that you need to wait a few seconds (longer on a slow host) so that the ntop web server is really up and two would be to try another browser, cleaning out your cache, etc. - the usual suspects when you have trouble reaching any web site. -----Burton > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of > st37120 > Sent: Thursday, April 15, 2004 3:27 PM > To: [EMAIL PROTECTED] > Subject: [Ntop] question > > > I run successfully the ntop version 3 ..but sometines when I stop it , > with no processes running... > I lauch again in a direfent port or same Its seems to work bus I have > this message en the browser > error 400 request is invalid.... > the same happens when I run it in daemon mode.. > > > any Ideas ? > > _______________________________________________ > Ntop mailing list > [EMAIL PROTECTED] > http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
