HTTP_REQUEST_TIMEOUT is set in http.c:
static int readHTTPheader(char* theRequestedURL,
int theRequestedURLLen,
char *thePw, int thePwLen) {
...
/* select returns immediately */
wait_time.tv_sec = 10; wait_time.tv_usec = 0;
if(select(newSock+1, &mask, 0, 0, &wait_time) == 0) {
errorCode = HTTP_REQUEST_TIMEOUT; /* Timeout */
...
}
Specifically, there is no http header data available to NTop to read from
your request during a small window (10 seconds) after it's received a
request - look in webInterface.c for the handleSingleHTTPrequest call.
There are some bug reports re SSL - check the list archives... beyond
that...
(Excerpted & Slightly updated from a 07Jan2001 post to ntop and ntop-dev)
We don't mind helping people, but you do have to give the rest of the people
monitoring this mailing list some basic information.
I've given notice that I will not reply to ANY "NTop has a bug" messages
unless you provide some reasonable information about your configuration!
(If you don't like it, ask somebody else to support you... I don't think
it's unreasonable to ask it... If you're uncomfortable giving specifics
(such as which mail server, then leave it generic))
Specifically:
Hardware
Type & # of processors (given in your msg)
Amount of memory
# network interfaces and types (vendor, bus, etc.)
Software
NTop version, source and any applied patches
If you've compiled from the source, say so!
If you're using a package (such as an .rpm), where did you get
it from and what is the EXACT name?
The EXACT command line you are using to invoke NTop
OS vendor & version
Any major upgrades (kernel, networking, etc.)
gcc version (e.g. gcc --version)
glibc version
What else is running
Network
Roughly where are the interface(s) you're monitoring (Public Internet,
Private LAN, what?)
What's the bandwidth (e.g. 10 Mbps University internet, 1.5 Mbps T1,
CableModem capped at 1.5Mbps, 56K dialup)
How many machines (traffic sources/destinations) and users
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jerry
Murdock
Sent: Saturday, January 19, 2002 3:14 PM
To: [EMAIL PROTECTED]
Subject: [Ntop] 408 errors on FreeBSD w/ ntop SSL
I'm getting 408 errors trying to access ntop via ssl on FreeBSD, ie:
Error 408
The request was timed-out.
The ntop access log list entries like:
192.168.1.2 - - [19/Jan/2002:16:11:02 -0500] - "" 408 884 10019
192.168.1.2 - - [19/Jan/2002:16:11:18 -0500] - "" 408 884 10012
Standard http on port 3000 works fine.
Any ideas?
Thanks,
Jerry
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop