-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DNS: add the DNS COOKIE EDNS(0) option
https://datatracker.ietf.org/doc/html/rfc7873#section-4 The patch was cross-checked with Wireshark: ``` tdecode(Ether()/IPv6()/UDP()/DNS(qd=[], ar=[DNSRROPT(rdata=[EDNS0COOKIE(client_cookie=b'\x01'*8, server_cookie=b'\x02'*16)])])) ... Data length: 28 Option: COOKIE Option Code: COOKIE (10) Option Length: 24 Option Data: 010101010101010102020202020202020202020202020202 Client Cookie: 0101010101010101 Server Cookie: 02020202020202020202020202020202 ```
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters