I am trying to implement this drawing using posix threads and sockets(TCP).
webserver <--- proxy <--- client
webserver ---> proxy ---> client
I tried using 4 threads for every arrow.I want...
Type: Posts; User: vbx_wx
I am trying to implement this drawing using posix threads and sockets(TCP).
webserver <--- proxy <--- client
webserver ---> proxy ---> client
I tried using 4 threads for every arrow.I want...
Do i need to if i am using socks 5 ?
Can someone help me with some explination about how to translate in code a connection between a proxy and a browser.
I can't navigate on the internet with the proxy running. The first part with the...
I think i managed to resolved this in an easy way,the diferents betweend the second packet i receive and the one i send is that only the second byte is changed,in rest the packets are the same,so a...
I thought i was past the authentification but now when i test it,the client hooked opera.exe,and when exchanged packets with it i got this:
You are connected !!!
===Received=== 3 bytes received...
I am doing this for somebody and he told me this:
If you would like to test your socks5 server just start proxifier and start another program which connect anywhere in the internet. Proxifier...
Sorry,i dont understand this: "thread the two connections separately". After the package exchange i called Connect("www.google.com", 80):
void Connect(string address, unsigned short port)
{...
I change to see how much bytes i received and send,and i dont use sizeof() anymore,am sending the exactly size of the packet.
void HandleConnection()
{
cout << "You are connected !!!" <<...
Here is how i done until now.
void HandleConnection()
{
cout << "You are connected !!!" << endl;
char temp[30];
Recv(temp, sizeof(temp));
// Client sends 5,1,0 (version,nr of...
Yes,you are right,i didnt understand that part,that there are just bytes.
i have a question about the packets i receive using this protocol: for example,lets say a packet contans first field 1...
I`ve written one before,but with a client and i knew how they were because,i wrote the cleint part:P . So can you tell how they are send. I made a simple server like this:
#include <iostream>...
I need to make a server using this protocol,but my question is , how do I know how packets are sent from the client ? Using an array, a structure ? So i can test and sent the aproapite apcket back to...