15,892,575 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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);
}
Member 8353523
28-Feb-15 15:32pm
View
I made a the proxy myself through TCP communication. So when you for example run chrome under the proxy (127.0.0.1, 500) it connects to it and my proxy gets the browser requests and streams back internet by decoding the TCP stream and DeSerializing it. So when I have "GET www.Yahoo.com HTTP...", I separate the GET and the URL and pass it to the HttpWebRequest. But sometime the browser requests `CONNECT us.yahoo.com:443 ...` so these cannot be handled by the `HttpWebRequest` and they throw exceptions and website does not load.
Member 8353523
28-Feb-15 15:18pm
View
I have implemented a proxy to which a browser connects and surfs the web (for unblocking regional content filtering). It is working but I am only able to handle HTTP GET and POST and not able to handling HTTPS CONNECT AND PUT using HttpWebRequest. So that is where I have stuck.
Show More