]>
git.ipfire.org Git - thirdparty/dnspython.git/log
Bob Halley [Thu, 27 Aug 2020 15:26:04 +0000 (08:26 -0700)]
lint
Bob Halley [Thu, 27 Aug 2020 12:46:52 +0000 (05:46 -0700)]
add SMIMEA to whatsnew
Bob Halley [Thu, 27 Aug 2020 12:45:23 +0000 (05:45 -0700)]
Merge pull request #578 from desec-io/master
Adds SMIMEA record type, RFC 8162
Nils Wisiol [Thu, 27 Aug 2020 07:47:02 +0000 (09:47 +0200)]
Adds SMIMEA record type, RFC 8162
Bob Halley [Wed, 26 Aug 2020 16:38:25 +0000 (09:38 -0700)]
Do not split OPENPGPKEY base64 into chunks. #577
Bob Halley [Wed, 26 Aug 2020 14:20:11 +0000 (07:20 -0700)]
try to work around pathing problem for codecov
Bob Halley [Wed, 26 Aug 2020 13:52:14 +0000 (06:52 -0700)]
restore missing windows tuple-fy
Bob Halley [Wed, 26 Aug 2020 13:49:56 +0000 (06:49 -0700)]
use classmethod for Gateway factories
Bob Halley [Wed, 26 Aug 2020 13:20:32 +0000 (06:20 -0700)]
more constructor checking work
Bob Halley [Tue, 25 Aug 2020 16:18:22 +0000 (09:18 -0700)]
remove duplicate isinstance check
Bob Halley [Tue, 25 Aug 2020 16:18:10 +0000 (09:18 -0700)]
use self._as_name()
Bob Halley [Tue, 25 Aug 2020 14:38:31 +0000 (07:38 -0700)]
stronger constructor checking in SVCB/HTTPS params
Bob Halley [Tue, 25 Aug 2020 14:32:11 +0000 (07:32 -0700)]
remove _constify() uses; more complete checking of bitmap windows types like NSEC
Bob Halley [Tue, 25 Aug 2020 13:49:55 +0000 (06:49 -0700)]
constructor checking for EDNS options
Bob Halley [Sun, 23 Aug 2020 02:11:19 +0000 (19:11 -0700)]
is_udp is better as Inbound attribute not parameter to process_message(). Increase coverage.
Bob Halley [Sat, 22 Aug 2020 19:55:53 +0000 (12:55 -0700)]
disable 9.9.9.9 in tests temporarily
Bob Halley [Sat, 22 Aug 2020 19:43:24 +0000 (12:43 -0700)]
minor doco edits
Bob Halley [Sat, 22 Aug 2020 17:43:49 +0000 (10:43 -0700)]
remove parameters that are no longer used in inbound_xfr()
Bob Halley [Sat, 22 Aug 2020 17:42:12 +0000 (10:42 -0700)]
finish type constructor type checking
Bob Halley [Fri, 21 Aug 2020 22:54:57 +0000 (15:54 -0700)]
checkpoint rdata constructor checking
Bob Halley [Fri, 21 Aug 2020 17:12:17 +0000 (10:12 -0700)]
add as_rdataclass() and as_rdatatype(), and use them in rdata constructor
Bob Halley [Fri, 21 Aug 2020 17:11:56 +0000 (10:11 -0700)]
do not call the OPT constructor with rdclass == None
Bob Halley [Fri, 21 Aug 2020 17:10:59 +0000 (10:10 -0700)]
replace duplicated doco with references
Bob Halley [Fri, 21 Aug 2020 16:20:17 +0000 (09:20 -0700)]
Detect and reject attempts to use compressed names in the generic rdata
syntax of a known type.
Bob Halley [Fri, 21 Aug 2020 14:55:27 +0000 (07:55 -0700)]
update whatsnew.rst
Bob Halley [Fri, 21 Aug 2020 14:48:41 +0000 (07:48 -0700)]
Merge pull request #576 from rthalley/xfr
Implement new inbound xfr design.
Bob Halley [Mon, 17 Aug 2020 00:58:29 +0000 (17:58 -0700)]
Implement new inbound xfr design.
Bob Halley [Thu, 20 Aug 2020 12:17:30 +0000 (05:17 -0700)]
add effective origin to origin_information()
Bob Halley [Wed, 19 Aug 2020 23:46:30 +0000 (16:46 -0700)]
Txns and txn managers have a single RdataClass
Bob Halley [Wed, 19 Aug 2020 23:14:24 +0000 (16:14 -0700)]
rename masterfile to zonefile
Bob Halley [Wed, 19 Aug 2020 23:07:24 +0000 (16:07 -0700)]
one import of dns.immutable is enough
Bob Halley [Wed, 19 Aug 2020 23:05:09 +0000 (16:05 -0700)]
Merge branch 'more-immut' into master
This add the immutable decorator to names and rdata, and prepares rdata
for further checking and type conversions in the constructor.
Bob Halley [Wed, 19 Aug 2020 15:24:11 +0000 (08:24 -0700)]
fix timeout computation in async send_tcp()
Bob Halley [Wed, 19 Aug 2020 12:30:30 +0000 (05:30 -0700)]
make name and rdata use the immutable decorator
Bob Halley [Wed, 19 Aug 2020 02:45:33 +0000 (19:45 -0700)]
On win32, skip valid IPv6 addresses that socket.inet_pton() erroneously thinks are invalid.
Bob Halley [Wed, 19 Aug 2020 02:34:20 +0000 (19:34 -0700)]
add instrumentation to find out what v6 addresses windows does not like
Bob Halley [Wed, 19 Aug 2020 02:23:22 +0000 (19:23 -0700)]
store reference to manager in all txns; add origin_information()
Bob Halley [Tue, 18 Aug 2020 13:28:21 +0000 (06:28 -0700)]
node replace_rdataset() should not permit rrsets
Bob Halley [Mon, 17 Aug 2020 13:31:46 +0000 (06:31 -0700)]
add missing copyrights
Bob Halley [Mon, 17 Aug 2020 13:27:07 +0000 (06:27 -0700)]
Update _clone protocol for immutable rdatasets.
Brian Wellington [Fri, 14 Aug 2020 20:30:56 +0000 (13:30 -0700)]
Add tests of IPv4/IPv6 address parsing.
Bob Halley [Fri, 14 Aug 2020 20:29:24 +0000 (13:29 -0700)]
leading single colons are just as bad as trailing ones
Bob Halley [Fri, 14 Aug 2020 20:27:08 +0000 (13:27 -0700)]
Handle some invalid IPv6 literals we erroneously allowed.
Bob Halley [Fri, 14 Aug 2020 13:58:58 +0000 (06:58 -0700)]
Merge pull request #573 from rthalley/dependabot/pip/wheel-tw-0.35.0
Update wheel requirement from ^0.34.2 to ^0.35.0
dependabot[bot] [Fri, 14 Aug 2020 05:23:08 +0000 (05:23 +0000)]
Update wheel requirement from ^0.34.2 to ^0.35.0
Updates the requirements on [wheel](https://github.com/pypa/wheel) to permit the latest version.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/master/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.34.2...0.35.0)
Signed-off-by: dependabot[bot] <support@github.com>
Bob Halley [Fri, 14 Aug 2020 00:52:49 +0000 (17:52 -0700)]
copy the signature of __init__ too
Bob Halley [Fri, 14 Aug 2020 00:42:47 +0000 (17:42 -0700)]
keep following init protocol for __setstate__ when ancestor is Immutable too
Bob Halley [Fri, 14 Aug 2020 00:30:04 +0000 (17:30 -0700)]
apply the immutable init wrapper to __setstate__ too, if present
Bob Halley [Fri, 14 Aug 2020 00:29:42 +0000 (17:29 -0700)]
test name pickling
Bob Halley [Thu, 13 Aug 2020 22:02:39 +0000 (15:02 -0700)]
set class and module properly for decorated immutable classes.
Bob Halley [Thu, 13 Aug 2020 15:08:19 +0000 (08:08 -0700)]
Do not try to set a future that is already set. [#572]
Bob Halley [Thu, 13 Aug 2020 14:31:57 +0000 (07:31 -0700)]
Allow explicit commit/rollback. Prevent multiple txn end. Add txn.changed().
Bob Halley [Thu, 13 Aug 2020 13:31:34 +0000 (06:31 -0700)]
set_serial() -> update_serial()
Bob Halley [Wed, 12 Aug 2020 13:59:59 +0000 (06:59 -0700)]
If we rollback a write, release the write txn and wake someone up.
Don't allow pruning to prune any version >= the version of an active reader.
(This isn't a bug fix as the reader was safe before, but this ensures that
the reader can open a successor version if needed.)
Bob Halley [Wed, 12 Aug 2020 01:07:14 +0000 (18:07 -0700)]
remove broken stats badge
Bob Halley [Wed, 12 Aug 2020 01:07:02 +0000 (18:07 -0700)]
doco update
Bob Halley [Wed, 12 Aug 2020 01:06:34 +0000 (18:06 -0700)]
hide versions
Bob Halley [Tue, 11 Aug 2020 14:42:07 +0000 (07:42 -0700)]
lint
Bob Halley [Tue, 11 Aug 2020 14:38:26 +0000 (07:38 -0700)]
open versions by id or serial; cleanups
Bob Halley [Tue, 11 Aug 2020 14:37:58 +0000 (07:37 -0700)]
remove ImmutableNode from node as it is not used.
Bob Halley [Tue, 11 Aug 2020 01:15:45 +0000 (18:15 -0700)]
Merge pull request #569 from rthalley/transaction
Transaction Support
Bob Halley [Thu, 30 Jul 2020 16:21:03 +0000 (09:21 -0700)]
Transaction support.
Bob Halley [Tue, 11 Aug 2020 01:12:44 +0000 (18:12 -0700)]
detect escapes > 255
Bob Halley [Tue, 11 Aug 2020 01:12:29 +0000 (18:12 -0700)]
detect various bad ttls
Bob Halley [Tue, 11 Aug 2020 01:13:24 +0000 (18:13 -0700)]
Merge pull request #571 from bwelling/tsig-text
Adds support for reading TSIG text format.
Brian Wellington [Mon, 10 Aug 2020 21:27:44 +0000 (14:27 -0700)]
Adds support for reading TSIG text format.
Implements from_text for the TSIG record type, and clean up some other
things.
Fixes the text format to emit fields in the right order; fudge and
time_signed were reversed. This also matches BIND's output format now.
Add get_uint48() to the tokenizer, so that from_text() can use it. Add
get_uint48() to the wire parser, and use it in from_wire, for
consistency.
Change dns.tsig.sign() to use rdata.replace() rather than constructing a
new TSIG record manually; this couldn't be done before, because
replace() uses text format for validation.
Brian Wellington [Mon, 10 Aug 2020 19:37:28 +0000 (12:37 -0700)]
Update SVCB tests.
This adds a few more test cases, and reorders tests / test cases for
consistency.
Bob Halley [Mon, 10 Aug 2020 18:54:17 +0000 (11:54 -0700)]
Merge pull request #570 from bwelling/tsig-new-algorithms
Add support for new TSIG algorithms
Brian Wellington [Mon, 10 Aug 2020 18:43:20 +0000 (11:43 -0700)]
Add support for new TSIG algorithms.
This adds support for the hmac-sha256-128, hmac-sha384-192, and hmac-sha512-256 truncated algorithms.
This also reorders some of the declarations in the TSIG code.
Brian Wellington [Mon, 10 Aug 2020 18:41:22 +0000 (11:41 -0700)]
Fix dns.message.use_tsig().
Passing only a dns.tsig.Key to dns.message.use_tsig() didn't work, as
the placeholder tsig rrset on the message object was created with None
as its name, not the name associated with the key.
Also do a bit of refactoring to make the code more clear.
Bob Halley [Sun, 9 Aug 2020 01:32:55 +0000 (18:32 -0700)]
Simplify $GENERATE range code, add some error checks, and increase test coverage.
Bob Halley [Sun, 9 Aug 2020 01:13:42 +0000 (18:13 -0700)]
mention GSS-TSIG and TKEY in what's new
Bob Halley [Sun, 9 Aug 2020 01:11:07 +0000 (18:11 -0700)]
lint
Bob Halley [Sun, 9 Aug 2020 01:03:52 +0000 (18:03 -0700)]
Merge pull request #530 from nrhall/nrhall-gss-tsig-changes
Add support for gss-tsig and TKEY records to support GSSAPI authentication
Bob Halley [Sat, 8 Aug 2020 14:25:53 +0000 (07:25 -0700)]
The from_text_list() methods for Rdataset and RRset should allow the
full set of parameters that rdata's from_text() allows (i.e. origin,
relativize, and relativize_to).
These parameters were added though the order is slightly different
from dns.rdata.to_text() as in the the rdata version idna_codec is
after origin, relativize, and relativize_to. We already had an
idna_codec for the Rdataset and RRset functions, so we added after it
to keep backwards compatibility.
Bob Halley [Sat, 8 Aug 2020 14:21:37 +0000 (07:21 -0700)]
LOC _exponent_of does not need to do division.
Bob Halley [Sat, 8 Aug 2020 14:19:23 +0000 (07:19 -0700)]
Make SVCB and HTTPS immutable.
Bob Halley [Sat, 8 Aug 2020 14:18:10 +0000 (07:18 -0700)]
Add immutable module.
Bob Halley [Sat, 8 Aug 2020 02:20:30 +0000 (19:20 -0700)]
Merge pull request #568 from rthalley/svcb
SVCB and HTTPS support
Bob Halley [Fri, 7 Aug 2020 03:02:24 +0000 (20:02 -0700)]
SVCB and HTTPS support
Nick Hall [Fri, 7 Aug 2020 22:00:36 +0000 (23:00 +0100)]
Support callable() TSIG keyrings for use-cases like GSSTSig.
Nick Hall [Tue, 4 Aug 2020 16:47:48 +0000 (17:47 +0100)]
Add a lightweight wrapper around the HMAC types and refactor the "is gss-api or not" wrapper functions to just call the class methods
Nick Hall [Tue, 14 Jul 2020 16:59:01 +0000 (17:59 +0100)]
add additional test case with a request/response TSIG
Nick Hall [Fri, 10 Jul 2020 21:48:37 +0000 (22:48 +0100)]
Add a number of additional tests to improve TSIG test coverage relating
to gss-tsig change and some associated refactoring.
Nick Hall [Sun, 5 Jul 2020 23:40:36 +0000 (00:40 +0100)]
Add gss-tsig support to dnspython
Nick Hall [Sun, 3 Feb 2019 14:02:49 +0000 (14:02 +0000)]
Add support for TKEY RR type
Brian Wellington [Fri, 7 Aug 2020 01:10:47 +0000 (18:10 -0700)]
Remove duplicates in the ISDN sample data.
Bob Halley [Tue, 4 Aug 2020 13:48:09 +0000 (06:48 -0700)]
fix loc version not zero test
Bob Halley [Tue, 4 Aug 2020 13:44:06 +0000 (06:44 -0700)]
lint
Bob Halley [Tue, 4 Aug 2020 13:43:44 +0000 (06:43 -0700)]
LOC with version not 0 is a FORMERR
Bob Halley [Tue, 4 Aug 2020 13:16:12 +0000 (06:16 -0700)]
Merge pull request #562 from nrhall/nrhall-message-patch
Expose set_rcode
Bob Halley [Tue, 4 Aug 2020 13:11:23 +0000 (06:11 -0700)]
Merge pull request #564 from rthalley/constants2
Constants generation at end of file approach
Bob Halley [Tue, 4 Aug 2020 13:05:19 +0000 (06:05 -0700)]
test constants with independent code
Bob Halley [Tue, 4 Aug 2020 13:05:00 +0000 (06:05 -0700)]
add enumeration checking helpers
Bob Halley [Mon, 3 Aug 2020 14:00:38 +0000 (07:00 -0700)]
fix case of enum names
Bob Halley [Mon, 3 Aug 2020 13:44:42 +0000 (06:44 -0700)]
multiple # in a comment is ok
Bob Halley [Mon, 3 Aug 2020 13:41:31 +0000 (06:41 -0700)]
remove globals() enum updating
Bob Halley [Mon, 3 Aug 2020 13:35:22 +0000 (06:35 -0700)]
add constants
Bob Halley [Fri, 31 Jul 2020 23:03:09 +0000 (16:03 -0700)]
pylint linting
Nick Hall [Wed, 29 Jul 2020 22:48:42 +0000 (23:48 +0100)]
expose set_rcode in Message