Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,27 @@

s7_data="Return Code:8,Transport Size:8,Data Length:16"

# 0 1 2 3
# 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
#+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
#| Identification |Q| Opcode| DNS Flags | Rcode |
#+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
#| Totle Questions | Total Answers |
#+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
#| Total Auth Resource Recs | Total Additional Res. Recs |
#+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
dns="Identification:16,Qr:1,Opcode:4,DNS Flags:7,Rcode:4,Totle Questions:16, Total Answers:16,Total Auth Resource Recs:16,Total Additional Res. Recs:16"


# 0 1 2 3
# 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
#+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
#|C| Reserved0 | Ver | Protocol Type |
#+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
#| Checksum (optional) | Reserved1 (Optional) |
#+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
gre="C:1,Reserved0:12,Ver:3,Protocol Type:16,Checksum (optional):16,Reserved1 (Optional):16"

# 0 1
# 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
# *-------------------------------*
Expand Down Expand Up @@ -762,6 +783,8 @@
"cotp_cr":cotp_cr,
"cotp_dt":cotp_dt,
"cotp_dr":cotp_dr,
"dns":dns,
"gre":gre,
"example":example,
"test":test
}
Expand Down