Click here to Skip to main content
15,892,575 members

Comments by Member 8353523 (Top 7 by date)

Member 8353523 28-Feb-15 16:50pm View    
Zoltan please check updated info the above comment (after **), the only working protocol is actually TCP
Member 8353523 28-Feb-15 16:45pm View    
That does not fit in my solution, I'm dealing with the most advanced content filtering system in the world (Iranian Content Filtering, you can google about it). I already designed the solution, we have been able to bypass the filter completely, but have not been able to redirect the traffic to our solution. The proxy if for redirecting the traffic and it will be used locally. Your code is incompatible with what we are doing and I can't dispose the solution publicly. If I have to use Socket that is all I need but if Socket is not the right move please let me know.
*** PPTP, L2TP are fully blocked, UDP limited on high traffic, SSTP highly limited, SOCKS protocols fully blocked, OpenSSL working with limitation, other tunneling protocols highly limited
Member 8353523 28-Feb-15 16:32pm View    
"No, you should not send CONNECT to yahoo. "You" as proxy should tunnel between the client and yahoo server." This is very very TRUE Zoltan. and this the problem. I just need to know the approach in a very abstract level. Like at least what TYPE/CLASS to use.That is what I don't know and I can't find
Member 8353523 28-Feb-15 16:28pm View    
I just need to fix my own problem, the link you send is a completely different solution, I don't wanna copy past and I'm not interested in that. I just wanna know how deal with CONNECT Http requests that's it.
Member 8353523 28-Feb-15 16:24pm View    
I tried this also but still get "Connection forcably closed" error

Socket MySocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Unspecified);
MySocket.Connect("us.yahoo.com", 443);
var i = MySocket.Connected;
if (i)
{
request.act();
MySocket.Send(System.Text.Encoding.Default.GetBytes("CONNECT us.yahoo.com:443 HTTP/1.0\r"));
Byte[] _Data = new Byte[2048];
MySocket.Receive(_Data);
return new System.IO.MemoryStream(_Data);
}