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