Skip to content

Conversation

@jmaxxz
Copy link
Collaborator

@jmaxxz jmaxxz commented May 2, 2015

Refactor dns decoding.

  • Break apart various decoders
  • Simplify name decoding
  • Add specs

NOTE: At this time this pull request is not at feature parody with master. ToString functions are not as well developed. And while the name decode is simpler it is incomplete as it does not support use of pointers in dns names. This can not be merged in till both of those issues are addressed.

Sources:
https://tools.ietf.org/html/rfc1035 Section 4.1.4 has a good description of what makes a valid name
https://www.ietf.org/rfc/rfc1034.txt provides an intro to dns
SkypeIRC.cap contains several good examples of dns

@coveralls
Copy link

Coverage Status

Coverage increased (+4.27%) to 66.48% when pulling 802e02d on jmaxxz:dnsRefactor into 32b93f0 on mranney:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants