Giter Site home page Giter Site logo

dnslib3's People

Contributors

alviner avatar brianmaissy avatar dependabot[bot] avatar dsundstrom avatar felixonmars avatar hkpatterson avatar jkl-caliber avatar klnikita avatar mgorny avatar mosquito avatar niallm90 avatar nikize avatar nolanl avatar norox avatar paulc avatar prologic avatar rmbolger avatar robinlandstrom avatar samuelcolvin avatar spencerisgiddy avatar tugzrida avatar valentinesd avatar wxsbsd avatar

Watchers

 avatar  avatar

dnslib3's Issues

Forking dnslib

Hi @mosquito, @Alviner,

I've noticed a few pull requests against paulc/dnslib which appear to be originating from this repository.

Before continuing, you might want to take a look at my PR paulc/dnslib#61 where I did a lot of work to update dnslib to python 3.

In addition it looks like the original author (paulc) would prefer to have dnslib forked rather than continue under it's current name: paulc/dnslib#61 (comment)

Depending on your intentions it might be worth starting a discussion with paulc if you did want to continue to maintain an updated dns lib into the future. In this regard I would be happy to contribute the code in that PR to teh cause, and may be able to help maintain it (though do not have the time to do heaps of feature work at the moment).

That said per my comment on that PR, unless you /really/ want to use dnslib, it might be better to focus efforts on the much more active dnspython rather than having 2 communities attempting the same thing.

DNS SRV "target" names are compressed

DNS SRV RR should not be compressed.

From RFC2782, page 3:

Target
The domain name of the target host. There MUST be one or more address records for this name, the name MUST NOT be an alias (in the sense of RFC 1034 or RFC 2181). Implementors are urged, but not required, to return the address record(s) in the Additional Data section. Unless and until permitted by future standards action, name compression is not to be used for this field.

The correction is at line 1684 of dns.py:
buffer.encode_name_nocompress(self.target)

and, for completion, to comment at line 303 of label.py:
(needed for RRSIG, SRV)

There are probably RR that mustn't use name compression - I haven't yet scoured the specs

Thank you for your efforts on this project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.