Anye / ratproxy

Automatically exported from code.google.com/p/ratproxy
0 stars 0 forks source link

Malformed HTTP request warning/PROGRAM ABORT #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile ratproxy from source by removing the -Wno-pointer-sign option
removed from the makefile as it would refuse to compile on my Centos 4 box
with gcc (GCC) 3.4.6 20060404 ( I suppose it works with GCC 4+?)

2. Ran ratproxy with the command line ./ratproxy  -w proxy.log -d <my HTTPS
web application) -P upstreamproxy:port -lrextifscgjmXC
(Ok I might have gone a little overkill with the command line args)

What is the expected output? What do you see instead?
Verbose error messages that are displayed

[!] WARNING: Malformed HTTP response.
776:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
protocol:s23_clnt.c:475:
PROGRAM ABORT: server SSL handshake failed [ssl_start(), ssl.c:158]

What version of the product are you using? On what operating system?
Latest version from SVN (revision 12) on Centos 4

Please let me know if any additional information is required.

Original issue reported on code.google.com by ritesh.k...@gmail.com on 8 Jul 2008 at 12:45

GoogleCodeExporter commented 8 years ago
This is expected if your browser dropped the connection and displayed a 
certificate
warning instead. You need to accept the certificate for the session to 
continue, as
described in the documentation.

Please let me know if accepting the certificate still prevents the proxy from
operating as expected.

Original comment by lcam...@gmail.com on 9 Jul 2008 at 8:38

GoogleCodeExporter commented 8 years ago
Hi,

I am getting this below message while running the script. Any solution ....?

[!] WARNING: Malformed HTTP response.
7547:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown 
protocol:s23_clnt.c:475:
PROGRAM ABORT: server SSL handshake failed [ssl_start(), ssl.c:158]

Original comment by talktoud...@gmail.com on 27 May 2009 at 5:11

GoogleCodeExporter commented 8 years ago
This issue occurs in cygwin also.  I compiled ratproxy with and without 
-Wno-pointer on cygwin.  In both cases, the error occurs.  It only occurs in 
the case of certain websites though. I got this error in certain sites 
(internal URLs so can't share) only. I have been unable to narrow down as to 
when this error occurs (occurred in case of certain EV-SSL certs and not in 
others, so I don't think that should be a problem anyway, something in the 
handshake mostly ... :).  The logs do not contain any data also, so this error 
completely impairs the proxy. The prompt to accept the certificate doesn't even 
come up, chrome & IE both just sit there waiting for the SSL handshake to 
complete and the operation times out.

[snip]
PROGRAM ABORT: server SSL handshake failed [ssl_start(), ssl.c:158]
PROGRAM ABORT: server SSL handshake failed [ssl_start(), ssl.c:158]
PROGRAM ABORT: server SSL handshake failed [ssl_start(), ssl.c:158]

Original comment by raj...@gmail.com on 6 Aug 2012 at 4:50