1 /* 2 No. Time Source Destination Protocol Length Info 3 10 2.964289000 192.168.0.1 192.168.0.105 DNS 293 Yes Standard query response 0x0002 SRV 5 0 5222 xmpp.l.google.com SRV 20 0 5222 alt3.xmpp.l.google.com SRV 20 0 5222 alt2.xmpp.l.google.com SRV 20 0 5222 alt4.xmpp.l.google.com SRV 20 0 5222 alt1.xmpp.l.google.com 4 5 Frame 10: 293 bytes on wire (2344 bits), 293 bytes captured (2344 bits) 6 Ethernet II, Src: TendaTec_60:4b:46 (c8:3a:35:60:4b:46), Dst: Dell_33:c1:bd (18:03:73:33:c1:bd) 7 Internet Protocol Version 4, Src: 192.168.0.1 (192.168.0.1), Dst: 192.168.0.105 (192.168.0.105) 8 User Datagram Protocol, Src Port: domain (53), Dst Port: 49903 (49903) 9 Domain Name System (response) 10 Request In: 9 11 Time: 0.064681000 seconds 12 Transaction ID: 0x0002 13 Flags: 0x8180 (Standard query response, No error) 14 Questions: 1 15 Answer RRs: 5 16 Authority RRs: 0 17 Additional RRs: 0 18 Queries 19 _xmpp-client._tcp.google.com: type SRV, class IN 20 Answers 21 _xmpp-client._tcp.google.com: type SRV, class IN, priority 20, weight 0, port 5222, target alt3.xmpp.l.google.com 22 Service: xmpp-client 23 Protocol: tcp 24 Name: google.com 25 Type: SRV (Service location) 26 Class: IN (0x0001) 27 Time to live: 14 minutes, 33 seconds 28 Data length: 30 29 Priority: 20 30 Weight: 0 31 Port: 5222 32 Target: alt3.xmpp.l.google.com 33 _xmpp-client._tcp.google.com: type SRV, class IN, priority 20, weight 0, port 5222, target alt1.xmpp.l.google.com 34 Service: xmpp-client 35 Protocol: tcp 36 Name: google.com 37 Type: SRV (Service location) 38 Class: IN (0x0001) 39 Time to live: 14 minutes, 33 seconds 40 Data length: 30 41 Priority: 20 42 Weight: 0 43 Port: 5222 44 Target: alt1.xmpp.l.google.com 45 _xmpp-client._tcp.google.com: type SRV, class IN, priority 20, weight 0, port 5222, target alt4.xmpp.l.google.com 46 Service: xmpp-client 47 Protocol: tcp 48 Name: google.com 49 Type: SRV (Service location) 50 Class: IN (0x0001) 51 Time to live: 14 minutes, 33 seconds 52 Data length: 30 53 Priority: 20 54 Weight: 0 55 Port: 5222 56 Target: alt4.xmpp.l.google.com 57 _xmpp-client._tcp.google.com: type SRV, class IN, priority 5, weight 0, port 5222, target xmpp.l.google.com 58 Service: xmpp-client 59 Protocol: tcp 60 Name: google.com 61 Type: SRV (Service location) 62 Class: IN (0x0001) 63 Time to live: 14 minutes, 33 seconds 64 Data length: 25 65 Priority: 5 66 Weight: 0 67 Port: 5222 68 Target: xmpp.l.google.com 69 _xmpp-client._tcp.google.com: type SRV, class IN, priority 20, weight 0, port 5222, target alt2.xmpp.l.google.com 70 Service: xmpp-client 71 Protocol: tcp 72 Name: google.com 73 Type: SRV (Service location) 74 Class: IN (0x0001) 75 Time to live: 14 minutes, 33 seconds 76 Data length: 30 77 Priority: 20 78 Weight: 0 79 Port: 5222 80 Target: alt2.xmpp.l.google.com 81 */ 82 83 char response_srv_google_com_pkt[293] = { 84 0x18, 0x03, 0x73, 0x33, 0xc1, 0xbd, 0xc8, 0x3a, 85 0x35, 0x60, 0x4b, 0x46, 0x08, 0x00, 0x45, 0x00, 86 0x01, 0x17, 0xbe, 0x7e, 0x00, 0x00, 0x40, 0x11, 87 0x39, 0x9d, 0xc0, 0xa8, 0x00, 0x01, 0xc0, 0xa8, 88 0x00, 0x69, 0x00, 0x35, 0xe1, 0xf6, 0x01, 0x03, 89 0x6f, 0x26, 0x00, 0x02, 0x81, 0x80, 0x00, 0x01, 90 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x5f, 91 0x78, 0x6d, 0x70, 0x70, 0x2d, 0x63, 0x6c, 0x69, 92 0x65, 0x6e, 0x74, 0x04, 0x5f, 0x74, 0x63, 0x70, 93 0x06, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x03, 94 0x63, 0x6f, 0x6d, 0x00, 0x00, 0x21, 0x00, 0x01, 95 0xc0, 0x0c, 0x00, 0x21, 0x00, 0x01, 0x00, 0x00, 96 0x03, 0x84, 0x00, 0x1e, 0x00, 0x14, 0x00, 0x00, 97 0x14, 0x66, 0x04, 0x61, 0x6c, 0x74, 0x33, 0x04, 98 0x78, 0x6d, 0x70, 0x70, 0x01, 0x6c, 0x06, 0x67, 99 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x03, 0x63, 0x6f, 100 0x6d, 0x00, 0xc0, 0x0c, 0x00, 0x21, 0x00, 0x01, 101 0x00, 0x00, 0x03, 0x84, 0x00, 0x1e, 0x00, 0x14, 102 0x00, 0x00, 0x14, 0x66, 0x04, 0x61, 0x6c, 0x74, 103 0x31, 0x04, 0x78, 0x6d, 0x70, 0x70, 0x01, 0x6c, 104 0x06, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x03, 105 0x63, 0x6f, 0x6d, 0x00, 0xc0, 0x0c, 0x00, 0x21, 106 0x00, 0x01, 0x00, 0x00, 0x03, 0x84, 0x00, 0x1e, 107 0x00, 0x14, 0x00, 0x00, 0x14, 0x66, 0x04, 0x61, 108 0x6c, 0x74, 0x34, 0x04, 0x78, 0x6d, 0x70, 0x70, 109 0x01, 0x6c, 0x06, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 110 0x65, 0x03, 0x63, 0x6f, 0x6d, 0x00, 0xc0, 0x0c, 111 0x00, 0x21, 0x00, 0x01, 0x00, 0x00, 0x03, 0x84, 112 0x00, 0x19, 0x00, 0x05, 0x00, 0x00, 0x14, 0x66, 113 0x04, 0x78, 0x6d, 0x70, 0x70, 0x01, 0x6c, 0x06, 114 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x03, 0x63, 115 0x6f, 0x6d, 0x00, 0xc0, 0x0c, 0x00, 0x21, 0x00, 116 0x01, 0x00, 0x00, 0x03, 0x84, 0x00, 0x1e, 0x00, 117 0x14, 0x00, 0x00, 0x14, 0x66, 0x04, 0x61, 0x6c, 118 0x74, 0x32, 0x04, 0x78, 0x6d, 0x70, 0x70, 0x01, 119 0x6c, 0x06, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 120 0x03, 0x63, 0x6f, 0x6d, 0x00 }; 121 122 int response_srv_google_com_pkt_size = sizeof(response_srv_google_com_pkt);