How about when releasing an SSL enabled product actually testing (just once 
even) to see if the SSL support works in any fashion.

I am having the exact same problem with:

ntop v.2.0.99 MT (SSL) [i386-unknown-freebsd4.6.2] (09/28/02 06:03:30 AM 
build)

(not RC2, please note)

Also, a review of usenet archives shows that this is not exactly a new 
problem.

So, since 2.0.99 is the version installed by the FreeBSD ports tree in the 
latest version of FreeBSD (I cvsupped my ports tree mere days ago) could 
someone tell us the fix to make SSL work and not get the timeout error ?

thanks in advance!



>
>How about trying the current versions (2.1.3 and 2.1.51)?
>
>2.0.99 RC2 is a six month old beta?
>
>-----Burton
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
>Oliver Maul
>Sent: Sunday, October 06, 2002 1:42 PM
>To: [EMAIL PROTECTED]
>Subject: [Ntop] SSL timeout fix
>
>
>Hi,
>
>I've installed 2.0.99-RC2 on a FreeBSD 4.6 and had
>troubles with https (openssl 0.9.6e). Every https
>request lead to a timeout response. It seems the
>select() in readHTTPheader() in http.c works not
>this way with SSL. So I changed the code, so that
>this select is used only for http requests. And it works
>fine now.
>
>
>Regards,
>Oliver
>
>
>--- work/RC2/ntop/http.c        Mon Jun  3 08:39:37 2002
>+++ http.c      Sun Oct  6 20:33:02 2002
>@@ -198,7 +198,8 @@
>
>      /* select returns immediately */
>      wait_time.tv_sec = 10; wait_time.tv_usec = 0;
>-    if(select(myGlobals.newSock+1, &mask, 0, 0, &wait_time) == 0) {
>+    if(myGlobals.newSock > 0 &&
>+        (select(myGlobals.newSock+1, &mask, 0, 0, &wait_time) == 0)) {
>        errorCode = HTTP_REQUEST_TIMEOUT; /* Timeout */
>  #ifdef DEBUG
>        traceEvent(TRACE_INFO, "Timeout while reading from socket.\n");
>
>
>_______________________________________________
>Ntop mailing list
>[EMAIL PROTECTED]
>http://lists.ntop.org/mailman/listinfo/ntop
>
>_______________________________________________
>Ntop mailing list
>[EMAIL PROTECTED]
>http://listgateway.unipi.it/mailman/listinfo/ntop




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx

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

Reply via email to