Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dns refactor [Work in progress do not merge] #167

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

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