diff --git a/specs.py b/specs.py index d9cbfdf..434f694 100644 --- a/specs.py +++ b/specs.py @@ -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 # *-------------------------------* @@ -762,6 +783,8 @@ "cotp_cr":cotp_cr, "cotp_dt":cotp_dt, "cotp_dr":cotp_dr, + "dns":dns, + "gre":gre, "example":example, "test":test }