| 1 | This is an example of a reset connection when Keep-Alive is used.
|
|---|
| 2 |
|
|---|
| 3 | The timestamps below are in seconds since the start of protocol capture.
|
|---|
| 4 |
|
|---|
| 5 | 3 Way handshake and PSH requesting the backend's hostname...
|
|---|
| 6 |
|
|---|
| 7 | No. Time Source Destination Protocol Length Info
|
|---|
| 8 | 3 0.006451 mythandroid.local mc0.local TCP 74 36872 > myth-sapi [SYN] Seq=0 Win=14600 Len=0 MSS=1460 SACK_PERM=1 TSval=51728094 TSecr=0 WS=64
|
|---|
| 9 |
|
|---|
| 10 | No. Time Source Destination Protocol Length Info
|
|---|
| 11 | 4 0.006478 mc0.local mythandroid.local TCP 74 myth-sapi > 36872 [SYN, ACK] Seq=0 Ack=1 Win=14480 Len=0 MSS=1460 SACK_PERM=1 TSval=3601213 TSecr=51728094 WS=32
|
|---|
| 12 |
|
|---|
| 13 | No. Time Source Destination Protocol Length Info
|
|---|
| 14 | 5 0.009219 mythandroid.local mc0.local TCP 74 36872 > myth-sapi [ACK] Seq=1 Ack=1 Win=14656 Len=0 TSval=51728096 TSecr=3601213 [ETHERNET FRAME CHECK SEQUENCE INCORRECT]
|
|---|
| 15 |
|
|---|
| 16 | No. Time Source Destination Protocol Length Info
|
|---|
| 17 | 6 0.010111 mythandroid.local mc0.local TCP 194 36872 > myth-sapi [PSH, ACK] Seq=1 Ack=1 Win=14656 Len=128 TSval=51728096 TSecr=3601213
|
|---|
| 18 |
|
|---|
| 19 | 0000 00 1f d0 90 98 8f 18 46 17 e2 5b d4 08 00 45 00 .......F..[...E.
|
|---|
| 20 | 0010 00 b4 05 f5 40 00 40 06 af 4b c0 a8 01 e7 c0 a8 ....@.@..K......
|
|---|
| 21 | 0020 01 cc 90 08 19 90 75 d8 4b 2e 3e bb f4 f4 80 18 ......u.K.>.....
|
|---|
| 22 | 0030 00 e5 d0 d2 00 00 01 01 08 0a 03 15 4e e0 00 36 ............N..6
|
|---|
| 23 | 0040 f3 3d 47 45 54 20 2f 4d 79 74 68 2f 47 65 74 48 .=GET /Myth/GetH <----- Requesting the BE hostname
|
|---|
| 24 | 0050 6f 73 74 4e 61 6d 65 20 48 54 54 50 2f 31 2e 31 ostName HTTP/1.1
|
|---|
| 25 | 0060 0d 0a 41 63 63 65 70 74 2d 45 6e 63 6f 64 69 6e ..Accept-Encodin
|
|---|
| 26 | 0070 67 3a 20 69 64 65 6e 74 69 74 79 0d 0a 55 73 65 g: identity..Use
|
|---|
| 27 | 0080 72 2d 41 67 65 6e 74 3a 20 4d 41 46 0d 0a 48 6f r-Agent: MAF..Ho
|
|---|
| 28 | 0090 73 74 3a 20 31 39 32 2e 31 36 38 2e 31 2e 32 30 st: 192.168.1.20
|
|---|
| 29 | 00a0 34 3a 36 35 34 34 0d 0a 43 6f 6e 6e 65 63 74 69 4:6544..Connecti
|
|---|
| 30 | 00b0 6f 6e 3a 20 4b 65 65 70 2d 41 6c 69 76 65 0d 0a on: Keep-Alive.. <----- Client wants to do persistent connections.
|
|---|
| 31 | 00c0 0d 0a ..
|
|---|
| 32 |
|
|---|
| 33 | MythTV ACKs the request...
|
|---|
| 34 |
|
|---|
| 35 | No. Time Source Destination Protocol Length Info
|
|---|
| 36 | 7 0.010128 mc0.local mythandroid.local TCP 66 myth-sapi > 36872 [ACK] Seq=1 Ack=129 Win=15552 Len=0 TSval=3601214 TSecr=51728096
|
|---|
| 37 |
|
|---|
| 38 | MythTV answers with the hostname...
|
|---|
| 39 |
|
|---|
| 40 | No. Time Source Destination Protocol Length Info
|
|---|
| 41 | 8 0.010520 mc0.local mythandroid.local TCP 424 myth-sapi > 36872 [PSH, ACK] Seq=1 Ack=129 Win=15552 Len=358 TSval=3601214 TSecr=51728096
|
|---|
| 42 |
|
|---|
| 43 | 0000 18 46 17 e2 5b d4 00 1f d0 90 98 8f 08 00 45 00 .F..[.........E.
|
|---|
| 44 | 0010 01 9a 07 cb 40 00 40 06 ac 8f c0 a8 01 cc c0 a8 ....@.@.........
|
|---|
| 45 | 0020 01 e7 19 90 90 08 3e bb f4 f4 75 d8 4b ae 80 18 ......>...u.K...
|
|---|
| 46 | 0030 01 e6 3c ad 00 00 01 01 08 0a 00 36 f3 3e 03 15 ..<........6.>..
|
|---|
| 47 | 0040 4e e0 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f N.HTTP/1.1 200 O
|
|---|
| 48 | 0050 4b 0d 0a 44 61 74 65 3a 20 38 20 4f 63 74 20 32 K..Date: 8 Oct 2
|
|---|
| 49 | 0060 30 31 33 20 31 37 3a 35 35 3a 32 33 0d 0a 53 65 013 17:55:23..Se
|
|---|
| 50 | 0070 72 76 65 72 3a 20 4c 69 6e 75 78 20 33 2e 32 2e rver: Linux 3.2.
|
|---|
| 51 | 0080 30 2d 34 33 2d 67 65 6e 65 72 69 63 2c 20 55 50 0-43-generic, UP
|
|---|
| 52 | 0090 6e 50 2f 31 2e 30 2c 20 4d 79 74 68 54 56 20 30 nP/1.0, MythTV 0
|
|---|
| 53 | 00a0 2e 32 38 2e 32 30 31 33 31 30 30 31 2d 31 0d 0a .28.20131001-1..
|
|---|
| 54 | 00b0 41 63 63 65 70 74 2d 52 61 6e 67 65 73 3a 20 62 Accept-Ranges: b
|
|---|
| 55 | 00c0 79 74 65 73 0d 0a 43 61 63 68 65 2d 43 6f 6e 74 ytes..Cache-Cont
|
|---|
| 56 | 00d0 72 6f 6c 3a 20 6e 6f 2d 63 61 63 68 65 3d 22 45 rol: no-cache="E
|
|---|
| 57 | 00e0 78 74 22 2c 20 6d 61 78 2d 61 67 65 20 3d 20 35 xt", max-age = 5
|
|---|
| 58 | 00f0 30 30 30 0d 0a 45 54 61 67 3a 20 22 64 61 33 39 000..ETag: "da39
|
|---|
| 59 | 0100 61 33 65 65 35 65 36 62 34 62 30 64 33 32 35 35 a3ee5e6b4b0d3255
|
|---|
| 60 | 0110 62 66 65 66 39 35 36 30 31 38 39 30 61 66 64 38 bfef95601890afd8
|
|---|
| 61 | 0120 30 37 30 39 22 0d 0a 43 6f 6e 6e 65 63 74 69 6f 0709"..Connectio <----- MythTV says, it does persistent connections
|
|---|
| 62 | 0130 6e 3a 20 4b 65 65 70 2d 41 6c 69 76 65 0d 0a 43 n: Keep-Alive..C
|
|---|
| 63 | 0140 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 74 65 78 ontent-Type: tex
|
|---|
| 64 | 0150 74 2f 78 6d 6c 0d 0a 43 6f 6e 74 65 6e 74 2d 4c t/xml..Content-L
|
|---|
| 65 | 0160 65 6e 67 74 68 3a 20 35 39 0d 0a 0d 0a 3c 3f 78 ength: 59....<?x
|
|---|
| 66 | 0170 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 ml version="1.0"
|
|---|
| 67 | 0180 20 65 6e 63 6f 64 69 6e 67 3d 22 55 54 46 2d 38 encoding="UTF-8
|
|---|
| 68 | 0190 22 3f 3e 3c 53 74 72 69 6e 67 3e 6d 63 30 3c 2f "?><String>mc0</ <----- My backend's hostname
|
|---|
| 69 | 01a0 53 74 72 69 6e 67 3e 0a String>.
|
|---|
| 70 |
|
|---|
| 71 | MythTV Android Frontend ACKs the PSH above...
|
|---|
| 72 |
|
|---|
| 73 | No. Time Source Destination Protocol Length Info
|
|---|
| 74 | 9 0.018273 mythandroid.local mc0.local TCP 66 36872 > myth-sapi [ACK] Seq=129 Ack=359 Win=15680 Len=0 TSval=51728097 TSecr=3601214
|
|---|
| 75 |
|
|---|
| 76 | MythTV closes its end of the connection...
|
|---|
| 77 |
|
|---|
| 78 | No. Time Source Destination Protocol Length Info
|
|---|
| 79 | 17 1.011603 mc0.local mythandroid.local TCP 66 myth-sapi > 36872 [FIN, ACK] Seq=359 Ack=129 Win=15552 Len=0 TSval=3601464 TSecr=51728097
|
|---|
| 80 |
|
|---|
| 81 | MythTV Android Frontend ACKs the FIN-ACK..
|
|---|
| 82 |
|
|---|
| 83 | No. Time Source Destination Protocol Length Info
|
|---|
| 84 | 18 1.094129 mythandroid.local mc0.local TCP 66 36872 > myth-sapi [ACK] Seq=129 Ack=360 Win=15680 Len=0 TSval=51728205 TSecr=3601464
|
|---|
| 85 |
|
|---|
| 86 | And, here's where the trouble starts.
|
|---|
| 87 |
|
|---|
| 88 | 194 seconds later, MythTV Android Frontend sends FIN-ACK...
|
|---|
| 89 |
|
|---|
| 90 | No. Time Source Destination Protocol Length Info
|
|---|
| 91 | 74 194.616301 mythandroid.local mc0.local TCP 66 36872 > myth-sapi [FIN, ACK] Seq=129 Ack=360 Win=15680 Len=0 TSval=51747556 TSecr=3601464
|
|---|
| 92 |
|
|---|
| 93 | MythTV promptly resets the connection because it's already been closed.
|
|---|
| 94 |
|
|---|
| 95 | No. Time Source Destination Protocol Length Info
|
|---|
| 96 | 75 194.616319 mc0.local mythandroid.local TCP 54 myth-sapi > 36872 [RST] Seq=360 Win=0 Len=0
|
|---|
| 97 |
|
|---|