Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save benmmurphy/d8174b48a436401a882d92ffcc09406d to your computer and use it in GitHub Desktop.
Save benmmurphy/d8174b48a436401a882d92ffcc09406d to your computer and use it in GitHub Desktop.
middle box
tcpdump on client
nc server 21
16:18:59.306666 IP CLIENT.59382 > SERVER.ftp: Flags [S], seq 1992877459, win 65535, options [mss 1460,nop,wscale 5,nop,nop,TS val 364841380 ecr 0,sackOK,eol], length 0
16:18:59.310634 IP SERVER.ftp > CLIENT.59382: Flags [S.], seq 2239629857, ack 1992877460, win 32768, options [mss 1460,nop,wscale 3,nop,nop,TS val 1 ecr 364841380,sackOK,nop,nop], length 0
16:18:59.310693 IP CLIENT.59382 > SERVER.ftp: Flags [.], ack 1, win 4117, options [nop,nop,TS val 364841384 ecr 1], length 0
16:18:59.412387 IP SERVER.ftp > CLIENT.59382: Flags [F.], seq 1, ack 1, win 4197, options [nop,nop,TS val 2 ecr 364841384], length 0
16:18:59.412465 IP CLIENT.59382 > SERVER.ftp: Flags [.], ack 2, win 4117, options [nop,nop,TS val 364841485 ecr 2], length 0
16:18:59.412601 IP CLIENT.59382 > SERVER.ftp: Flags [R.], seq 1, ack 2, win 4117, length 0
tcpdump on server
15:18:59.361569 IP CLIENT.54315 > SERVER.ftp: Flags [S], seq 2248868245, win 32768, options [mss 1460,nop,wscale 3,sackOK,nop,nop,nop,nop,TS val 1 ecr 0], length 0
15:18:59.361624 IP SERVER.ftp > CLIENT.54315: Flags [R.], seq 0, ack 2248868246, win 0, length 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment