summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* port more typesparserBrian Wellington2020-07-025-104/+29
|
* port more typesBob Halley2020-07-027-67/+23
|
* add get_counted_bytes()Bob Halley2020-07-021-0/+4
|
* EUIBase should specify length when parsing.Brian Wellington2020-07-021-1/+1
|
* convert a bunch of typesBob Halley2020-07-0211-97/+38
|
* port to parserBob Halley2020-07-021-1/+1
|
* Make dns.rdata.to_wire take a restricted parser.Brian Wellington2020-07-022-9/+10
| | | | Move the restriction to 'rdlen' to the caller.
* Simplify parser position tracking.Brian Wellington2020-07-022-15/+12
|
* convert to parserBob Halley2020-07-023-24/+9
|
* add get_remaining()Bob Halley2020-07-021-0/+3
|
* port MXBase to parserBob Halley2020-07-021-10/+3
|
* Use the parser with name support!Bob Halley2020-07-021-1/+2
|
* The Chaos A RR has no reason to inherit from mxbase.Bob Halley2020-07-021-2/+2
|
* convert _WireReader to use the parserBob Halley2020-07-021-34/+18
|
* fix get_struct()Bob Halley2020-07-021-1/+1
|
* Add basic from_parser() support to rdata including scaffolding for ↵Bob Halley2020-07-022-6/+48
| | | | not-yet-refactored classes.
* seek via parser constructorBob Halley2020-07-021-2/+1
|
* Do not raise in restrict_to() cleanup if something already is raising; allow ↵Bob Halley2020-07-021-3/+11
| | | | seek to end.
* initial binary importBob Halley2020-07-025-29/+171
|
* lintBob Halley2020-07-012-3/+4
|
* Merge pull request #527 from bwelling/tsigkeyBob Halley2020-07-019-99/+174
|\ | | | | Add dns.tsig.Key class.
| * Better deal with backwards compatibility.Brian Wellington2020-07-014-25/+31
| | | | | | | | | | | | | | | | If dns.tsigkeyring.from_text() creates dns.tsig.Key objects with the default algorithm, that causes problems for code that specifies a different algorithm. There's no good way to handle this, so change dns.tsigkeyring.from_text() to not create dns.tsig.Key objects unless it knows the algorithm.
| * Explicitly use the key's algorithm.Brian Wellington2020-07-011-2/+2
| |
| * Add dns.tsig.Key class.Brian Wellington2020-07-019-96/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This creates a new class to represent a TSIG key, containing name, secret, and algorithm. The keyring format is changed to be {name : key}, and the methods in dns.tsigkeyring are updated to deal with old and new formats. The Message class is updated to use dns.tsig.Key, although (to avoid breaking existing code), it stores them in the keyring field. Message.use_tsig() can accept either explicit keys, or keyrings; it will extract and/or create a key. dns.message.from_wire() can accept either a key or a keyring in the keyring parameter. If passed a key, it will now raise if the TSIG record in the message was signed with a different key. If passed a keyring containing keys (as opposed to bare secrets), it will check that the TSIG record's algorithm matches that of the key.
* | Merge pull request #526 from bwelling/amtrelayBob Halley2020-07-019-59/+215
|\ \ | |/ |/| Adds support for the AMTRELAY type
| * Merge remote-tracking branch 'upstream/master' into amtrelayBrian Wellington2020-07-0114-122/+192
| |\ | |/ |/|
* | try to deconfuse codecovBob Halley2020-07-013-2/+7
| |
* | 2.0.0rc2 versioningBob Halley2020-07-014-4/+4
| |
* | updateBob Halley2020-07-011-0/+9
| |
* | turn off Cobertura; only cover dns dirBob Halley2020-07-011-6/+5
| |
* | increase resolver coverageBob Halley2020-07-012-2/+60
| |
* | add back no cover for things we cannot cover on windows without mockingBob Halley2020-07-011-8/+8
| |
* | expose windows resolver code to coverage testingBob Halley2020-07-011-11/+11
| |
* | getting closer with codecov on azure...Bob Halley2020-07-011-1/+1
| |
* | avoid low-level wait tests on WindowsBob Halley2020-07-011-0/+3
| |
* | another codecov on azure-pipelines attemptBob Halley2020-07-011-1/+9
| |
* | remove ancient windows supportBob Halley2020-07-011-45/+25
| |
* | update message.pyi to reflect sections changeBob Halley2020-07-011-4/+1
| |
* | lintBob Halley2020-06-301-1/+1
| |
* | more query coverageBob Halley2020-06-301-0/+57
| |
* | azure upload did not work; revertBob Halley2020-06-302-7/+0
| |
* | try to upload to codecov from azure-pipelinesBob Halley2020-06-302-1/+8
| |
* | remove unused tox.iniBob Halley2020-06-301-46/+0
| |
| * Add support for the AMTRELAY type.Brian Wellington2020-07-019-59/+215
|/
* Add Tokenizer.concatenate_remaining_identifiers()Brian Wellington2020-06-3010-81/+28
| | | | | | Replace identical code duplicated in a number of rdatatype implementations that concatenated all of the remaining tokens in order to decode them.
* One more dnssec test.Brian Wellington2020-06-301-0/+4
|
* Add more dnssec coverage testing.Brian Wellington2020-06-302-1/+45
|
* Merge pull request #525 from bwelling/tsigBob Halley2020-06-309-217/+331
|\ | | | | Adds support for a TSIG record class.
| * Update for OPT/TSIG changes.Brian Wellington2020-06-301-12/+2
| |
| * Remove dns.message.Message multi field.Brian Wellington2020-06-302-8/+6
| | | | | | | | | | The only user of this is the internal _WireReader class, so just pass it the flag rather than store it on the message.