may95.tar
|
|
|
Figure 3: Traditional model with SOCKS server
Client |
SCKS server |
Server |
socket() |
(listening on port 1080) |
(listening on a specific port) |
rconnet() |
got a connection on 1080 |
(still listening on a given port) |
pass the ip address |
connect() to server |
Establish connection |
write() to port 1080 |
listen() on 1080
write() to server
read() from server |
read() from socks server
write() to socks server |
read() from SOCKS server |
write() to client |
|
close() to socks |
close to client |
|
|
close() to server |
|
| |