-
Notifications
You must be signed in to change notification settings - Fork 0
/
lib.conf
69 lines (62 loc) · 998 Bytes
/
lib.conf
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
/details/
protocol_name UDP
protocol_layer transport
generation IPv4
/fields/
//size specified in bits
//asterisk refers to a segment of arbitrary size
//specify by name, followed by size. Offsets calculated automatically.
source_address 32
destination_address 32
zeros 8
protocol 8
UDP_length 16
source_port 16
Destination_port 16
Length 16
Checksum 16
Data *
/details/
protocol_name DNS
protocol_layer application
generation IPv4
/fields/
//header
ID 16
QR 1
Opcode 4
AA 1
TC 1
RD 1
RA 1
Z 3
Rcode 4
QDcount 16 parent
ANcount 16 parent
NScount 16 parent
ARcount 16 parent
/question/ depends on QDcount (repeat)
Qname *
Qtype 16
Qclass 16
/AN/ depends on ANcount (repeat)
Name *
type 16
class 16
TTL 32
RDlength 16
Rdata * depends on RDlength (size)
/NS/ depends on NScount (repeat)
Name *
type 16
class 16
TTL 32
RDlength 16
Rdata * depends on RDlength (size)
/AR/ depends on ARcount (repeat)
Name *
type 16
class 16
TTL 32
RDlength 16
Rdata * depends on RDlength (size)