aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dns.c
AgeCommit message (Collapse)AuthorFilesLines
2013-08-30Add a preference for whether to use names found in DNS packets for addressEvan Huus1-4/+12
resolution. svn path=/trunk/; revision=51584
2013-08-28Use dissector_delete_uint_range/dissector_add_uint_rangeAnders Broman1-28/+4
svn path=/trunk/; revision=51567
2013-08-21From Dario Lombardo via ↵Alexis La Goutte1-3/+11
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9061 Added expert info to DNS dissector for negative TTL values According to RFC, TTL valid values are the positive values of a 32 bit signed field. This means that, despite the negative values can be put in a packet, they should be ignored. Wireshark prints them correctly, but a warning expert info could be useful. svn path=/trunk/; revision=51452
2013-07-23Add RFC6975 (Signaling Cryptographic Algorithm Understanding in DNS Security ↵Alexis La Goutte1-0/+48
Extensions (DNSSEC)) support ( DAU, DHU and N3U OPT(ion)) svn path=/trunk/; revision=50840
2013-07-23Fix warning found by fix-encoding-argsAlexis La Goutte1-9/+9
svn path=/trunk/; revision=50839
2013-07-23Enhance DNS Dissector Make DS ( Delegation Signature 43 ) filterable (Update ↵Alexis La Goutte1-68/+50
RFC reference...) svn path=/trunk/; revision=50838
2013-07-11Client subnet optcode value now IANA assigned. Warn if experimental ↵Michael Mann1-6/+14
placeholder value is still used. Bug 7552 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7552) svn path=/trunk/; revision=50503
2013-07-03From Oliver Gasser via ↵Alexis La Goutte1-1/+109
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8863 Add CAA support to DNS dissector Add informationa about Certificate Authority Authorization (CAA) data to the DNS dissector. See the RFC [1] for more information. Suggestions and improvements are welcome. [1] http://tools.ietf.org/html/rfc6844 svn path=/trunk/; revision=50370
2013-06-26Adjust when name_len offset is used. Part of bug 8776 ↵Michael Mann1-4/+5
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8776) From Dario Lombardo svn path=/trunk/; revision=50169
2013-06-19Convert DNS dissector to wmem, including first actual usage of wmem's red-blackEvan Huus1-23/+23
tree. svn path=/trunk/; revision=50041
2013-06-14Remove check_col() and the occasional tree.Michael Mann1-17/+8
This leaves just the Pidl dissectors remaining for removal of check_col() in the dissectors directory. A small handful of check_col() calls remain outside of the dissectors. svn path=/trunk/; revision=49941
2013-06-09Convince the compiler that a DNS name won't be longer than 2^32 characters,Evan Huus1-1/+1
even on 64-bit systems. svn path=/trunk/; revision=49858
2013-06-09From Dario Lombardo via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8776Evan Huus1-3/+31
Two new DNS tree items: dns.count.labels and dns.qry.name.len. svn path=/trunk/; revision=49856
2013-06-03Enhance CERT DNS TypeAlexis La Goutte1-26/+30
svn path=/trunk/; revision=49720
2013-06-03Enhance KX DNS TypeAlexis La Goutte1-7/+17
(and fix a minor bug.. KX Preference is always = 0...) svn path=/trunk/; revision=49719
2013-06-03Enhance NXT DNS TypeAlexis La Goutte1-23/+10
svn path=/trunk/; revision=49718
2013-06-03Enhance NSEC DNS TypeAlexis La Goutte1-3/+8
svn path=/trunk/; revision=49717
2013-06-03Enhance LOC DNS TypeAlexis La Goutte1-15/+63
svn path=/trunk/; revision=49716
2013-06-03Enhance DNAME DNS TypeAlexis La Goutte1-3/+9
svn path=/trunk/; revision=49715
2013-06-03Enhance A6 DNS TypeAlexis La Goutte1-8/+22
svn path=/trunk/; revision=49714
2013-06-03Enhance AAAA DNS TypeAlexis La Goutte1-2/+9
svn path=/trunk/; revision=49713
2013-06-03Enhance IPSECKEY DNS TypeAlexis La Goutte1-27/+70
svn path=/trunk/; revision=49712
2013-06-03Enhance KEY TypeAlexis La Goutte1-47/+71
svn path=/trunk/; revision=49711
2013-05-25Batch of filterable expert_infos.Michael Mann1-2/+11
svn path=/trunk/; revision=49581
2013-04-20Remove expert info for bit AD in DNS queryAlexis La Goutte1-3/+1
See Section 5.7 (Setting the AD Bit on Queries) of RFC 6840 (Clarifications and Implementation Notes for DNS Security (DNSSEC)) The semantics of the Authentic Data (AD) bit in the query were previously undefined. Section 4.6 of [RFC4035] instructed resolvers to always clear the AD bit when composing queries. This document defines setting the AD bit in a query as a signal indicating that the requester understands and is interested in the value of the AD bit in the response. This allows a requester to indicate that it understands the AD bit without also requesting DNSSEC data via the DO bit. svn path=/trunk/; revision=48942
2013-03-19From beroset:Anders Broman1-1/+1
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48426
2013-03-16[-Wmissing-prototypes]Anders Broman1-2/+5
Use explicit casts. svn path=/trunk/; revision=48341
2012-12-26Fix a bunch of warnings.Guy Harris1-1/+1
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of sizeof. Cast away some implicit 64-bit-to-32-bit conversion errors due to use of strtol() and strtoul(). Change some data types to avoid those implicit conversion warnings. When assigning a constant to a float, make sure the constant isn't a double, by appending "f" to the constant. Constify a bunch of variables, parameters, and return values to eliminate warnings due to strings being given const qualifiers. Cast away those warnings in some cases where an API we don't control forces us to do so. Enable a bunch of additional warnings by default. Note why at least some of the other warnings aren't enabled. randpkt.c and text2pcap.c are used to build programs, so they don't need to be in EXTRA_DIST. If the user specifies --enable-warnings-as-errors, add -Werror *even if the user specified --enable-extra-gcc-flags; assume they know what they're doing and are willing to have the compile fail due to the extra GCC warnings being treated as errors. svn path=/trunk/; revision=46748
2012-09-27replaced decode_numeric_bitfield calls with filterable item or removed it if ↵Michael Mann1-3/+7
it didn't mathematically do anything. svn path=/trunk/; revision=45166
2012-09-26replaced decode_boolean_bitfield calls with itemized filtersMichael Mann1-32/+64
svn path=/trunk/; revision=45152
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-09-17From me via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7709Alexis La Goutte1-25/+78
Enhance DNS Dissector Enhance DNS : make DNSKEY type filterable svn path=/trunk/; revision=44945
2012-09-17From me via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7709Alexis La Goutte1-37/+74
Enhance DNS Dissector Enhance DNS : make RRSIG type filterable svn path=/trunk/; revision=44944
2012-09-17From me via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7709Alexis La Goutte1-6/+52
Enhance DNS Dissector Enhance DNS : make TXT, SPF type filterable svn path=/trunk/; revision=44943
2012-09-17From me via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7709Alexis La Goutte1-4/+17
Enhance DNS Dissector Enhance DNS : make MX filtereable svn path=/trunk/; revision=44942
2012-09-17From me via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7709Alexis La Goutte1-5/+36
Enhance DNS Dissector Enhance DNS : make HINFO filtereable svn path=/trunk/; revision=44941
2012-09-15Avoid a stack-smash when decoding the new DNS option field if the length isEvan Huus1-1/+8
malformed. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7730 svn path=/trunk/; revision=44915
2012-09-10From me via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7709Alexis La Goutte1-6/+25
Enhance DNS Dissector Make WKS Type filterable svn path=/trunk/; revision=44849
2012-09-10From me via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7709Alexis La Goutte1-3/+7
Enhance DNS Dissector Make PTR Type filterable svn path=/trunk/; revision=44848
2012-09-10From me via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7709Alexis La Goutte1-25/+56
Enhance DNS Dissector Make SOA Type filterable svn path=/trunk/; revision=44847
2012-09-10From me via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7709Alexis La Goutte1-35/+35
Enhance DNS Dissector Fix indent (remove tabs) svn path=/trunk/; revision=44830
2012-09-10From me via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7709Alexis La Goutte1-2/+85
Enhance DNS Dissector Add new DNS type : TLSA/DANE (52) RFC6698 The DNS-Based Authentication of Named Entities (DANE) Transport Layer Security (TLS) Protocol: TLSA svn path=/trunk/; revision=44829
2012-09-04Add modelines for DNS dissectorAlexis La Goutte1-0/+12
svn path=/trunk/; revision=44767
2012-08-30Display hf_dns_rr_opt_client_addr as FT_BYTESPascal Quantin1-1/+1
svn path=/trunk/; revision=44704
2012-08-30From David Drysdale via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7552Alexis La Goutte1-11/+94
Add support for EDNS0 option from draft-vandergaast-edns-client-subnet-01 From me * use/prefer proto_tree_add_item * use switch() for optcode (may be there is other optcode later...) svn path=/trunk/; revision=44702
2012-08-09From David Drysdale via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7551Alexis La Goutte1-4/+78
Add dissection of sub-options in DNS OPT RRs (RFC 2671) From me * use/prefer proto_tree_add_item * Remove dns_optcode_description function (Use value_string...) svn path=/trunk/; revision=44383
2012-08-06Fix for bug 7555:Jaap Keuter1-50/+76
Add an expert item on the AD bit in a DNS query. Also add some type values. svn path=/trunk/; revision=44287
2012-07-25From Johan Wåhl:Anders Broman1-31/+93
Make DNS ports configurable. svn path=/trunk/; revision=43984
2012-07-17Fix copy/paste errorPascal Quantin1-1/+1
svn path=/trunk/; revision=43775
2012-07-17- Make dns srv elemnts filterable (were: text only)Jörg Mayer1-8/+30
- Don't suppress first character in srv service and protocol as some services don't use _ as first character svn path=/trunk/; revision=43774