i am learning the basics.......!

Showing posts with label SOCKS. Show all posts
Showing posts with label SOCKS. Show all posts

Monday, January 01, 2007

Why SOCKS?

This link "Why SOCKS?" has the answer>

Just wanted to comment on the "Application-independent proxy" aspect. Once SOCKS client gets authenticated with SOCKS Proxy Server, and communication channel is established it can relay any Application data type. No extra code is required.

This is because SOCKS client works between Application layer and Transport layer, and it does not do anything which is application specific. Based on the encryption and encapsulation techniques selected, it will encode the data and send accordingly!

Sunday, December 31, 2006

SOCKS

SOCKS protocol can be used in situations where hosts on one side of the network needs to access hosts on the other side without direct IP reachability.

The main components are SOCKS client and SOCKS Proxy Server.

SOCKS Client works in the layer between Application layer and Transport Layer. SOCKS Proxy Server works in the application layer.

It works in this way:
  • SOCKS client makes connection request and sends the authentication methods supported
  • SOCKS Proxy Server selects the authentication method
  • SOCKS client gets authenticated with server
  • It sends SOCKS CONNECT request for setting up Proxy circuits
  • Relays Application Data
SOCKS protocol is traditionally used for hosts to traverse a firewall from inside to access Servers outside. But it is also used in VPN like scenarious where a client from outside uses SOCKS to communicate to the servers inside the network.

Please go throught this good site which details SOCKS overview, control flow, references - Socks Permeo

About Me

My photo
Predictably Unpredicatble, lazy, careless, sincere, honest, caring, Trouble maker, emotional, likeable