Skip to content

Instantly share code, notes, and snippets.

@fxposter
Created July 10, 2016 08:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fxposter/f336c79bad578e8c6c471f45c70f45b5 to your computer and use it in GitHub Desktop.
Save fxposter/f336c79bad578e8c6c471f45c70f45b5 to your computer and use it in GitHub Desktop.
coreos-kubernetes
node->pod (works)
Taken from node:
[root@w1 ~]# tcpdump -vv -i flannel.1
tcpdump: listening on flannel.1, link-type EN10MB (Ethernet), capture size 262144 bytes
08:50:29.430554 IP (tos 0x0, ttl 64, id 24079, offset 0, flags [DF], proto TCP (6), length 60)
w1.49866 > 10.2.58.2.http: Flags [S], cksum 0x7234 (incorrect -> 0xdab7), seq 1767611758, win 28200, options [mss 1410,sackOK,TS val 443233 ecr 0,nop,wscale 7], length 0
08:50:29.431862 IP (tos 0x0, ttl 63, id 0, offset 0, flags [DF], proto TCP (6), length 60)
10.2.58.2.http > w1.49866: Flags [S.], cksum 0x03c1 (correct), seq 3687243300, ack 1767611759, win 27960, options [mss 1410,sackOK,TS val 400868 ecr 443233,nop,wscale 7], length 0
08:50:29.431883 IP (tos 0x0, ttl 64, id 24080, offset 0, flags [DF], proto TCP (6), length 52)
w1.49866 > 10.2.58.2.http: Flags [.], cksum 0x722c (incorrect -> 0x9eb4), seq 1, ack 1, win 221, options [nop,nop,TS val 443235 ecr 400868], length 0
08:50:29.431954 IP (tos 0x0, ttl 64, id 24081, offset 0, flags [DF], proto TCP (6), length 125)
w1.49866 > 10.2.58.2.http: Flags [P.], cksum 0x7275 (incorrect -> 0x73b1), seq 1:74, ack 1, win 221, options [nop,nop,TS val 443235 ecr 400868], length 73: HTTP, length: 73
GET / HTTP/1.1
Host: 10.2.58.2
User-Agent: curl/7.47.1
Accept: */*
08:50:29.432810 IP (tos 0x0, ttl 63, id 50115, offset 0, flags [DF], proto TCP (6), length 52)
10.2.58.2.http > w1.49866: Flags [.], cksum 0x9e6b (correct), seq 1, ack 74, win 219, options [nop,nop,TS val 400870 ecr 443235], length 0
08:50:29.432818 IP (tos 0x0, ttl 63, id 50116, offset 0, flags [DF], proto TCP (6), length 290)
10.2.58.2.http > w1.49866: Flags [P.], cksum 0xfde7 (correct), seq 1:239, ack 74, win 219, options [nop,nop,TS val 400870 ecr 443235], length 238: HTTP, length: 238
HTTP/1.1 200 OK
Server: nginx/1.11.1
Date: Sun, 10 Jul 2016 08:50:29 GMT
Content-Type: text/html
Content-Length: 612
Last-Modified: Tue, 31 May 2016 14:40:22 GMT
Connection: keep-alive
ETag: "574da256-264"
Accept-Ranges: bytes
08:50:29.432825 IP (tos 0x0, ttl 64, id 24082, offset 0, flags [DF], proto TCP (6), length 52)
w1.49866 > 10.2.58.2.http: Flags [.], cksum 0x722c (incorrect -> 0x9d72), seq 74, ack 239, win 229, options [nop,nop,TS val 443236 ecr 400870], length 0
^C
7 packets captured
12 packets received by filter
5 packets dropped by kernel
node-clusterIP->pod (doesn't work)
Taken from node:
[root@w1 ~]# tcpdump -vv -i flannel.1
tcpdump: listening on flannel.1, link-type EN10MB (Ethernet), capture size 262144 bytes
08:49:02.163938 IP (tos 0x0, ttl 64, id 52054, offset 0, flags [DF], proto TCP (6), length 60)
w1.50068 > 10.2.58.2.http: Flags [S], cksum 0x0618 (incorrect -> 0x4fe5), seq 2827920681, win 29200, options [mss 1460,sackOK,TS val 355967 ecr 0,nop,wscale 7], length 0
08:49:03.165833 IP (tos 0x0, ttl 64, id 52055, offset 0, flags [DF], proto TCP (6), length 60)
w1.50068 > 10.2.58.2.http: Flags [S], cksum 0x0618 (incorrect -> 0x4bfb), seq 2827920681, win 29200, options [mss 1460,sackOK,TS val 356969 ecr 0,nop,wscale 7], length 0
08:49:05.175471 IP (tos 0x0, ttl 64, id 52056, offset 0, flags [DF], proto TCP (6), length 60)
w1.50068 > 10.2.58.2.http: Flags [S], cksum 0x0618 (incorrect -> 0x4422), seq 2827920681, win 29200, options [mss 1460,sackOK,TS val 358978 ecr 0,nop,wscale 7], length 0
^C
3 packets captured
3 packets received by filter
0 packets dropped by kernel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment