scapy icon indicating copy to clipboard operation
scapy copied to clipboard

Add new DNS resource record types

Open Ko- opened this issue 3 years ago • 1 comments

Simply updated dnstypes with the current list at https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4. 63, 64, 65, 259 and 260 are added. I happened to come across one of these when parsing packets with scapy.

Ko- avatar Jul 27 '22 20:07 Ko-

Codecov Report

Merging #3704 (a199b67) into master (e7f477f) will increase coverage by 0.01%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3704      +/-   ##
==========================================
+ Coverage   86.09%   86.11%   +0.01%     
==========================================
  Files         296      296              
  Lines       67240    67240              
==========================================
+ Hits        57893    57903      +10     
+ Misses       9347     9337      -10     
Impacted Files Coverage Δ
scapy/layers/dns.py 93.12% <ø> (ø)
scapy/layers/ntp.py 84.55% <0.00%> (-0.28%) :arrow_down:
scapy/fields.py 90.82% <0.00%> (-0.06%) :arrow_down:
scapy/pipetool.py 84.32% <0.00%> (+0.22%) :arrow_up:
scapy/contrib/automotive/ecu.py 94.66% <0.00%> (+0.33%) :arrow_up:
scapy/arch/windows/__init__.py 67.73% <0.00%> (+0.37%) :arrow_up:
scapy/layers/l2.py 76.90% <0.00%> (+0.69%) :arrow_up:
scapy/arch/libpcap.py 69.38% <0.00%> (+1.70%) :arrow_up:

codecov[bot] avatar Jul 27 '22 20:07 codecov[bot]

Thanks for your PR!

guedou avatar Aug 21 '22 13:08 guedou