Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

RFC 6564 may allow us to parse the IPv6 unknown headers

  • Loading branch information...
commit add31e069566ab67c56827f9b0ca02d46df51ae6 1 parent 7591fc4
Stephane Bortzmeyer authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 DNSmezzo/pcap-parse.c
4 DNSmezzo/pcap-parse.c
View
@@ -187,6 +187,10 @@ get_next_packet(struct dns_packet *decoded, pcap_parser_file * input)
next_v6_header = frag->frag_next;
size_header = SIZE_FRAGMENT_HDR;
} else {
+ /* TODO: RFC 6564 says that the *future* headers will
+ have the same format as Destination Options, with a
+ length field, so we may be able to jump them even
+ without knowledge of their content. */
end_of_headers = true;
}
where_am_i = where_am_i + size_header;
Please sign in to comment.
Something went wrong with that request. Please try again.