Re: Man in the middle proxy - Not working

2010-09-07 Thread Raj
...@prinpay.com To: openssl-users@openssl.org Sent: Saturday, August 21, 2010 6:53 AM Subject: RE: Man in the middle proxy - Not working From: owner-openssl-us...@openssl.org On Behalf Of Raj Sent: Wednesday, 18 August, 2010 06:49 I have tried one more method to read the data from the socket

RE: Man in the middle proxy - Not working

2010-08-20 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of Raj Sent: Wednesday, 18 August, 2010 06:49 I have tried one more method to read the data from the socket, which was partially successful it is defined as follows do { dwReadDataLen = SSL_read(Serverssl,pBuff,iBufferSize);

Re: Man in the middle proxy - Not working

2010-08-19 Thread Raj
instruct me as well what went wrong in my application. Thanks, Raj Rajmohan SK - Original Message - From: David Schwartz dav...@webmaster.com To: openssl-users@openssl.org Sent: Thursday, August 19, 2010 5:51 AM Subject: RE: Man in the middle proxy - Not working Raj wrote: I have

Re: Man in the middle proxy - Not working

2010-08-18 Thread Raj
-users@openssl.org Sent: Saturday, August 07, 2010 9:06 AM Subject: RE: Man in the middle proxy - Not working From: owner-openssl-us...@openssl.org On Behalf Of Raj Sent: Friday, 06 August, 2010 10:14 I was able to read the content data from the server using SSL_read and put back

RE: Man in the middle proxy - Not working

2010-08-18 Thread David Schwartz
Raj wrote: I have tried one more method to read the data from the socket, which was partially successful it is defined as follows do { dwReadDataLen = SSL_read(Serverssl,pBuff,iBufferSize); // Gets the data from the server side

Re: Man in the middle proxy - Not working

2010-08-06 Thread Raj
Message - From: Raj rajmo...@codework-solutions.com To: openssl-users@openssl.org Sent: Friday, August 06, 2010 10:12 AM Subject: Re: Man in the middle proxy - Not working Hi Can you send me some code snippet which shows how to commutate with webserver and read the content data

RE: Man in the middle proxy - Not working

2010-08-06 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of Raj Sent: Friday, 06 August, 2010 10:14 I was able to read the content data from the server using SSL_read and put back to the browser by using SSL_write. I don't know whether is a right approach or not. If you are doing an

RE: Man in the middle proxy - Not working

2010-08-05 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of Raj Sent: Thursday, 05 August, 2010 01:06 I will describe my code snippet below The module for connecting to server SOCKET RequestSock; SOCKADDR_IN ClientAddr; RequestSock =

Re: Man in the middle proxy - Not working

2010-08-05 Thread Jakob Bohm
On 05-08-2010 22:49, Dave Thompson wrote: From: owner-openssl-us...@openssl.org On Behalf Of Raj Sent: Thursday, 05 August, 2010 01:06 I will describe my code snippet below The module for connecting to server SOCKET RequestSock; SOCKADDR_IN ClientAddr;

Re: Man in the middle proxy - Not working

2010-08-05 Thread Raj
in the middle proxy - Not working From: owner-openssl-us...@openssl.org On Behalf Of Raj Sent: Thursday, 05 August, 2010 01:06 I will describe my code snippet below The module for connecting to server SOCKET RequestSock; SOCKADDR_IN ClientAddr; RequestSock

Re: Man in the middle proxy - Not working

2010-08-04 Thread Raj
the socket using 'recv' function. Can anybody tell me what went wrong Thanks, Raj Rajmohan SK - Original Message - From: David Schwartz dav...@webmaster.com To: openssl-users@openssl.org Sent: Wednesday, July 28, 2010 1:07 AM Subject: RE: Man in the middle proxy - Not working Rene

RE: Man in the middle proxy - Not working

2010-08-04 Thread David Schwartz
Raj wrote: Thanks for all the response 1. I was able to do the handshaking successfully with the browser. On receiving the request from the browser I will send HTTP OK response back to the browser, I was able to do the handshaking and read the actual GET request. 2.

RE: Man in the middle proxy - Not working

2010-08-04 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of Raj Sent: Wednesday, 04 August, 2010 01:09 Thanks for all the response 1. I was able to do the handshaking successfully with the browser. On receiving the request from the browser I will send HTTP OK response back to the

Re: Man in the middle proxy - Not working

2010-08-04 Thread Raj
Hi recv function is returning 0 Thanks, Raj Rajmohan SK - Original Message - From: David Schwartz dav...@webmaster.com To: openssl-users@openssl.org Sent: Thursday, August 05, 2010 6:05 AM Subject: RE: Man in the middle proxy - Not working Raj wrote: Thanks for all

Re: Man in the middle proxy - Not working

2010-08-04 Thread Raj
pcTargetURL = Lwww.facebook.com; pcData = GET https://www.facebook.com HTTP/1.0\r\n\r\n Thanks, Raj Rajmohan SK - Original Message - From: Dave Thompson dthomp...@prinpay.com To: openssl-users@openssl.org Sent: Thursday, August 05, 2010 7:48 AM Subject: RE: Man in the middle proxy

RE: Man in the middle proxy - Not working

2010-07-27 Thread Alexey Drozdov
Drozdov From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Raj Sent: Monday, July 26, 2010 12:59 PM To: openssl-users@openssl.org Subject: Man in the middle proxy - Not working Hi All     Requirement:- I want to build a man in the middle proxy application

RE: Man in the middle proxy - Not working

2010-07-27 Thread David Schwartz
Alexey Drozdov wrote: Hi! When your setup proxy setting for browsers, they using HTTP CONNECT method for establish pure tcp-connection via proxy (not for local resources). It's seems like: Client send HTTP-request to proxy CONNECT remotehost:port HTTP/1.1 Host:

RE: Man in the middle proxy - Not working

2010-07-27 Thread Rene Hollan
answers about terminating the HTTP connection first are correct. -Original Message- From: owner-openssl-us...@openssl.org on behalf of David Schwartz Sent: Tue 7/27/2010 4:19 AM To: openssl-users@openssl.org Subject: RE: Man in the middle proxy - Not working Alexey Drozdov wrote: Hi

RE: Man in the middle proxy - Not working

2010-07-27 Thread David Schwartz
Rene Hollan: Oh! I totally misunderstood this. I thought OP wanted to MITM SSL sessions (which is possible, if (a) the traffic is decrypted, (b) certs are reissued and resigned, and (c) the client TRUSTS the modified cert chain (typically its root cert)). This is just HTTPS Proxy. In

Re: Man in the middle proxy - Not working

2010-07-27 Thread Raj
To: openssl-users@openssl.org Sent: Wednesday, July 28, 2010 1:07 AM Subject: RE: Man in the middle proxy - Not working Rene Hollan: Oh! I totally misunderstood this. I thought OP wanted to MITM SSL sessions (which is possible, if (a) the traffic is decrypted, (b) certs are reissued and resigned, and (c

Man in the middle proxy - Not working

2010-07-26 Thread Raj
Hi All Requirement:- I want to build a man in the middle proxy application. I have experimented so many methods to achieve this. But my application is failing when I tried some https url's from the browser (IE 8 and Firefox 3.7). I have configured my browser proxy settings to