Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scapy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
external
scapy
Commits
2fb81776
Commit
2fb81776
authored
11 years ago
by
Guillaume Valadon
Browse files
Options
Downloads
Patches
Plain Diff
Comments removed
--HG-- branch : DNSSEC
parent
5a61e5c0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scapy/layers/dns.py
+1
-50
1 addition, 50 deletions
scapy/layers/dns.py
with
1 addition
and
50 deletions
scapy/layers/dns.py
+
1
−
50
View file @
2fb81776
...
...
@@ -270,56 +270,7 @@ class DNSQR(Packet):
# RFC 2671
# 11/2009: http://www.iana.org/assignments/dns-parameters
# Registry Name: DNS EDNS0 Options
# Reference: [RFC5001]
# Registration Procedures: Specification Required
#
# Registry:
# Value Name Status Reference
# -------- ---------- ----------- -----------
# 0 Reserved [RFC2671]
# 1 LLQ On-hold [http://files.dns-sd.org/draft-sekar-dns-llq.txt]
# 2 UL On-hold [http://files.dns-sd.org/draft-sekar-dns-ul.txt]
#
# Field Name Field Type Description
# ---------------------------------------------------------------------
# OPTION-CODE u_int16_t UPDATE-LEASE (2)
# OPTION-LENGTH u_int16_t sizeof(int32_t)
# LEASE int32_t desired lease (request) or granted
# lease (response), in seconds
# 3 NSID Standard [RFC5001]
#
# 2.3. The NSID Option
#
#
# The OPTION-CODE for the NSID option is 3.
#
# The OPTION-DATA for the NSID option is an opaque byte string, the
# semantics of which are deliberately left outside the protocol. See
# Section 3.1 for discussion.
# 4 Reserved [draft-cheshire-edns0-owner-option]
# 5-65535 Unassigned [RFC2671]
# 11/09 value 5, EDNS PING, http://tools.ietf.org/html/draft-hubert-ulevitch-edns-ping-01
#
# 3.3. The PING option
#
#
# The OPTION-CODE for the PING option is 5.
#
# The OPTION-DATA for the PING option is an opaque byte string, the
# semantics of which are deliberately left outside of this document.
#
# The minimum length of the OPTION-DATA is 4 bytes, the maximum length
# is 16 bytes.
# RFC 2671 - Extension Mechanisms for DNS (EDNS0)
class
EDNS0TLV
(
Packet
):
name
=
"
DNS EDNS0 TLV
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment