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
|
/***************************************************************************/
/* 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
237 10.385804000 192.168.0.1 192.168.0.105 DNS 164 Yes Standard query response 0x0002 TXT
Frame 237: 164 bytes on wire (1312 bits), 164 bytes captured (1312 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: 49547 (49547)
Domain Name System (response)
Request In: 236
Time: 0.117301000 seconds
Transaction ID: 0x0002
Flags: 0x8180 (Standard query response, No error)
Questions: 1
Answer RRs: 1
Authority RRs: 0
Additional RRs: 0
Queries
google.com: type TXT, class IN
Answers
google.com: type TXT, class IN
Name: google.com
Type: TXT (Text strings)
Class: IN (0x0001)
Time to live: 1 hour
Data length: 82
Text: v=spf1 include:_netblocks.google.com ip4:216.73.93.70/31 ip4:216.73.93.72/31 ~all
*/
char response_txt_google_com_pkt[293] = {
0x18, 0x03, 0x73, 0x33, 0xc1, 0xbd, 0xc8, 0x3a,
0x35, 0x60, 0x4b, 0x46, 0x08, 0x00, 0x45, 0x00,
0x00, 0x96, 0xc1, 0xa0, 0x00, 0x00, 0x40, 0x11,
0x36, 0xfc, 0xc0, 0xa8, 0x00, 0x01, 0xc0, 0xa8,
0x00, 0x69, 0x00, 0x35, 0xc1, 0x8b, 0x00, 0x82,
0xec, 0x71, 0x00, 0x02, 0x81, 0x80, 0x00, 0x01,
0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x06, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x03, 0x63, 0x6f,
0x6d, 0x00, 0x00, 0x10, 0x00, 0x01, 0xc0, 0x0c,
0x00, 0x10, 0x00, 0x01, 0x00, 0x00, 0x0e, 0x10,
0x00, 0x52, 0x51, 0x76, 0x3d, 0x73, 0x70, 0x66,
0x31, 0x20, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64,
0x65, 0x3a, 0x5f, 0x6e, 0x65, 0x74, 0x62, 0x6c,
0x6f, 0x63, 0x6b, 0x73, 0x2e, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x20,
0x69, 0x70, 0x34, 0x3a, 0x32, 0x31, 0x36, 0x2e,
0x37, 0x33, 0x2e, 0x39, 0x33, 0x2e, 0x37, 0x30,
0x2f, 0x33, 0x31, 0x20, 0x69, 0x70, 0x34, 0x3a,
0x32, 0x31, 0x36, 0x2e, 0x37, 0x33, 0x2e, 0x39,
0x33, 0x2e, 0x37, 0x32, 0x2f, 0x33, 0x31, 0x20,
0x7e, 0x61, 0x6c, 0x6c };
int response_txt_google_com_pkt_size = sizeof(response_txt_google_com_pkt);
|