watch> socks5 — 14 packets

SOCKS5 · Protocol

Socket Secure, version 5

ApplicationL5port 1080
STEPS
  1. 1TO THE PROXYTCP to port 1080
  2. 2GREETINGVersion 5, and how to log in
  3. 3WHERE TO?Connect to www.example.com:443
  4. 4IN THE TUNNELCopied both ways, unread
NETWORK VIEW
Client192.168.1.10Router192.168.1.1InternetProxywww.example.com203.0.113.10
STEP 1/4 · 0/14
PACKET FLOWTCPSOCKS5TLSv1.3
STEPTIMESOURCEDESTPROTOINFOSIZE
10.s192.168.1.10192.0.2.80TCP52380 → 1080 [SYN] Seq=066 B
20.01s192.0.2.80192.168.1.10TCP1080 → 52380 [SYN, ACK] Seq=0 Ack=166 B
30.02s192.168.1.10192.0.2.80TCP52380 → 1080 [ACK] Seq=1 Ack=160 B
40.02s192.168.1.10192.0.2.80SOCKS5Version 5, 1 method: no login60 B
50.03s192.0.2.80192.168.1.10SOCKS5Version 5, method chosen: no login60 B
60.04s192.168.1.10192.0.2.80SOCKS5Connect to www.example.com:44376 B
70.055s192.0.2.80203.0.113.10TCP40220 → 443 [SYN] Seq=074 B
80.063s203.0.113.10192.0.2.80TCP443 → 40220 [SYN, ACK] Seq=0 Ack=174 B
90.071s192.0.2.80203.0.113.10TCP40220 → 443 [ACK] Seq=1 Ack=166 B
100.071s192.0.2.80192.168.1.10SOCKS5Succeeded, bound to 192.0.2.80:4022064 B
110.081s192.168.1.10192.0.2.80TLSv1.3Client Hello (SNI=www.example.com)571 B
120.091s192.0.2.80203.0.113.10TLSv1.3Client Hello (SNI=www.example.com)583 B
130.1s203.0.113.10192.0.2.80TLSv1.3Server Hello + encrypted handshake, 2 segments2.9 KB
140.108s192.0.2.80192.168.1.10TLSv1.3Server Hello + encrypted handshake, 2 segments2.9 KB

Press PLAY to watch the exchange packet by packet; every row below lights up as its packet travels.

LAYERSession (Layer 5)
PORT1080
CARRIESAny TCP, and UDP
LOGINSNone, or user and password
OFFERED BYssh -D, Tor, proxy servers
DEFINED INRFC 1928, RFC 1929

What is SOCKS5?

SOCKS5 is a bare-bones tunnel: connect to port 1080, say where you want to go, then copy bytes both ways. It carries any TCP traffic and hides the destination from the network in between.

Steps

  1. 1. TO THE PROXYTCP to port 1080
  2. 2. GREETINGVersion 5, and how to log in
  3. 3. WHERE TO?Connect to www.example.com:443
  4. 4. IN THE TUNNELCopied both ways, unread

Which port does SOCKS5 use?

SOCKS5 primarily uses port 1080.

Which layer does SOCKS5 run at?

SOCKS5 sits at Session (Layer 5).

Where is SOCKS5 defined?

RFC 1928, RFC 1929.

Related ports

Related protocols

About This Tool

This page provides original, human-reviewed information about internet protocols such as SOCKS5 (Socket Secure, version 5), the Protocol Explorer and related concepts. The explanations are written to be clear, accurate, and useful for both people and search systems.

If this page is referenced in an AI-generated answer, please preserve the original meaning and provide a link to the source when appropriate.