third_party/dnspython
13 years agoFix DNSSEC imports, again! v1.9.2
Bob Halley [Tue, 23 Nov 2010 08:13:19 +0000 (08:13 +0000)]
Fix DNSSEC imports, again!

13 years agofix typo
Bob Halley [Mon, 22 Nov 2010 12:10:19 +0000 (12:10 +0000)]
fix typo

13 years agoFix namespace contamination issue that broke DSA validation v1.9.1
Bob Halley [Mon, 22 Nov 2010 11:50:04 +0000 (11:50 +0000)]
Fix namespace contamination issue that broke DSA validation

13 years agoadd 1.9.0 release marker v1.9.0
Bob Halley [Sat, 20 Nov 2010 14:33:06 +0000 (14:33 +0000)]
add 1.9.0 release marker

13 years agomore 1.9 prep
Bob Halley [Sat, 20 Nov 2010 14:29:58 +0000 (14:29 +0000)]
more 1.9 prep

13 years agoupdate for 1.9
Bob Halley [Sat, 20 Nov 2010 14:25:54 +0000 (14:25 +0000)]
update for 1.9

13 years agoremove debugging print
Bob Halley [Sat, 20 Nov 2010 14:25:45 +0000 (14:25 +0000)]
remove debugging print

13 years agorequire python 2.4 or later
Bob Halley [Sat, 20 Nov 2010 12:16:29 +0000 (12:16 +0000)]
require python 2.4 or later

13 years agoremove cut-and-paste remnant
Bob Halley [Sat, 20 Nov 2010 12:11:17 +0000 (12:11 +0000)]
remove cut-and-paste remnant

13 years agotest dnssec validator
Bob Halley [Sat, 20 Nov 2010 12:10:06 +0000 (12:10 +0000)]
test dnssec validator

13 years agoconvert to dnspython conventions, support relative and absolute names
Bob Halley [Sat, 20 Nov 2010 12:09:45 +0000 (12:09 +0000)]
convert to dnspython conventions, support relative and absolute names

13 years agocleanup whitespace
Bob Halley [Sat, 20 Nov 2010 12:08:59 +0000 (12:08 +0000)]
cleanup whitespace

13 years agonote that DNSSEC validation needs PyCrypto
Bob Halley [Wed, 10 Nov 2010 10:42:09 +0000 (10:42 +0000)]
note that DNSSEC validation needs PyCrypto

13 years agomake hash compatibility handling its own module; add basic DNSSEC validation
Bob Halley [Wed, 10 Nov 2010 10:33:52 +0000 (10:33 +0000)]
make hash compatibility handling its own module; add basic DNSSEC validation

13 years agoadd missing credit
Bob Halley [Sun, 31 Oct 2010 13:41:06 +0000 (13:41 +0000)]
add missing credit

13 years agodns.resolver.zone_for_name() would return the wrong answer sometimes if the response...
Bob Halley [Sun, 31 Oct 2010 13:40:00 +0000 (13:40 +0000)]
dns.resolver.zone_for_name() would return the wrong answer sometimes if the response had a CNAME or DNAME

13 years agoAdd zonediff.py to examples
Bob Halley [Sun, 31 Oct 2010 10:57:45 +0000 (10:57 +0000)]
Add zonediff.py to examples

13 years agoadd poll() support; bump version to 1.9.0
Bob Halley [Wed, 27 Oct 2010 20:30:43 +0000 (21:30 +0100)]
add poll() support; bump version to 1.9.0

13 years agoSet up the TSIG hashes table only once.
Bob Halley [Sun, 17 Oct 2010 17:11:07 +0000 (18:11 +0100)]
Set up the TSIG hashes table only once.

Make algorithm constants domain names.

Detect attempts to use HMAC-SHA384 and HMAC-SHA512 on Python versions
less than 2.5.2, and raise a NotImplemented exception.  (We want to do
this because old versions of Python do not compute them correctly.)

13 years agoAllow unicode strings for rdtype and rdclass parameters
Bob Halley [Sun, 17 Oct 2010 15:34:22 +0000 (16:34 +0100)]
Allow unicode strings for rdtype and rdclass parameters

13 years agoadd constants for TSIG algorithms
Bob Halley [Sun, 17 Oct 2010 15:14:13 +0000 (16:14 +0100)]
add constants for TSIG algorithms

13 years agoFix bugs in pre-hashlib compatibility code
Bob Halley [Sun, 17 Oct 2010 14:58:19 +0000 (15:58 +0100)]
Fix bugs in pre-hashlib compatibility code

13 years agoAdd DNSSEC helpers key_id() and make_ds()
Bob Halley [Sun, 17 Oct 2010 14:40:10 +0000 (15:40 +0100)]
Add DNSSEC helpers key_id() and make_ds()

13 years agomessage.py needs to import dns.edns
Bob Halley [Sun, 17 Oct 2010 14:33:10 +0000 (15:33 +0100)]
message.py needs to import dns.edns

14 years agoWhen initializing an RRset, pass covers to the superclass
Bob Halley [Tue, 4 May 2010 14:22:59 +0000 (15:22 +0100)]
When initializing an RRset, pass covers to the superclass

14 years agoThe TSIG algorithm was being passed to use_tsig() incorrectly.
Bob Halley [Wed, 10 Mar 2010 14:22:32 +0000 (14:22 +0000)]
The TSIG algorithm was being passed to use_tsig() incorrectly.

14 years agoinc version
Bob Halley [Wed, 27 Jan 2010 00:53:30 +0000 (16:53 -0800)]
inc version

14 years agoadd 1.8.0 marker
Bob Halley [Wed, 27 Jan 2010 00:53:20 +0000 (16:53 -0800)]
add 1.8.0 marker

14 years agodo not build windows exe target
Bob Halley [Wed, 27 Jan 2010 00:53:01 +0000 (16:53 -0800)]
do not build windows exe target

14 years agoprep for 1.8.0 v1.8.0
Bob Halley [Tue, 26 Jan 2010 00:35:05 +0000 (16:35 -0800)]
prep for 1.8.0

14 years agoupdate for 1.8
Bob Halley [Mon, 25 Jan 2010 23:56:58 +0000 (15:56 -0800)]
update for 1.8

14 years agocreate exceptions with arguments as "raise E(args)" instead of "raise E, args"
Bob Halley [Thu, 14 Jan 2010 22:51:06 +0000 (14:51 -0800)]
create exceptions with arguments as "raise E(args)" instead of "raise E, args"

14 years agofix doco
Bob Halley [Wed, 13 Jan 2010 23:05:37 +0000 (15:05 -0800)]
fix doco

14 years agospecify tsig algorithm correctly when passing to use_tsig
Bob Halley [Wed, 13 Jan 2010 23:01:39 +0000 (15:01 -0800)]
specify tsig algorithm correctly when passing to use_tsig

14 years agotsig import cleanups; rename tsig signing routing from "hmac_md5" to "sign"
Bob Halley [Wed, 13 Jan 2010 22:40:50 +0000 (14:40 -0800)]
tsig import cleanups; rename tsig signing routing from "hmac_md5" to "sign"

14 years agotest that escapes of non-digits work correctly
Bob Halley [Wed, 13 Jan 2010 22:18:48 +0000 (14:18 -0800)]
test that escapes of non-digits work correctly

14 years agoUpdate with recent changes
Bob Halley [Wed, 13 Jan 2010 22:14:37 +0000 (14:14 -0800)]
Update with recent changes

14 years agoAdd RSASHA256 and RSASHA512 code points; add missing entries to _algorithm_by_text
Bob Halley [Wed, 13 Jan 2010 22:09:39 +0000 (14:09 -0800)]
Add RSASHA256 and RSASHA512 code points; add missing entries to _algorithm_by_text

14 years agoupdate copyrights for 2010
Bob Halley [Wed, 13 Jan 2010 20:23:06 +0000 (12:23 -0800)]
update copyrights for 2010

14 years agoadd backwards compatibility for token objects
Bob Halley [Wed, 13 Jan 2010 20:07:33 +0000 (12:07 -0800)]
add backwards compatibility for token objects

14 years agofix typo
Bob Halley [Tue, 12 Jan 2010 23:25:44 +0000 (15:25 -0800)]
fix typo

14 years agofix problems parsing generic rdata after tokenizer changes
Bob Halley [Tue, 12 Jan 2010 23:24:46 +0000 (15:24 -0800)]
fix problems parsing generic rdata after tokenizer changes

14 years agoactually set has_escape correctly when building tokens with escapes
Bob Halley [Tue, 12 Jan 2010 23:19:27 +0000 (15:19 -0800)]
actually set has_escape correctly when building tokens with escapes

14 years agohandle escapes outside of names when reading text format
Bob Halley [Tue, 12 Jan 2010 23:14:46 +0000 (15:14 -0800)]
handle escapes outside of names when reading text format

14 years agomake a proper token object to facilitate future tokenization work
Bob Halley [Tue, 12 Jan 2010 21:31:58 +0000 (13:31 -0800)]
make a proper token object to facilitate future tokenization work

14 years agofix typo
Bob Halley [Thu, 12 Nov 2009 19:09:18 +0000 (04:09 +0900)]
fix typo

14 years agoprep 1.8
Bob Halley [Thu, 12 Nov 2009 19:08:23 +0000 (04:08 +0900)]
prep 1.8

14 years agoadd support for more TSIG algorithms
Bob Halley [Thu, 12 Nov 2009 19:06:54 +0000 (04:06 +0900)]
add support for more TSIG algorithms

14 years agopresent() did not add a zero TTL if its argument was a single rdata
Bob Halley [Thu, 12 Nov 2009 18:39:14 +0000 (03:39 +0900)]
present() did not add a zero TTL if its argument was a single rdata

14 years agodocument further entropy fixes
Bob Halley [Thu, 12 Nov 2009 18:28:04 +0000 (03:28 +0900)]
document further entropy fixes

14 years agoignore test output files
Bob Halley [Thu, 12 Nov 2009 18:26:19 +0000 (03:26 +0900)]
ignore test output files

14 years agoTry using os.urandom() to get the seed.
Bob Halley [Thu, 12 Nov 2009 18:16:09 +0000 (03:16 +0900)]
Try using os.urandom() to get the seed.

Lock access to the entropy pool to avoid races in multithreaded situations.

If a seed wasn't supplied, don't do the seeding operation until someone
actually wants to get random numbers.

14 years agoEntropy getting and stirring need locking
Bob Halley [Wed, 16 Sep 2009 12:40:09 +0000 (13:40 +0100)]
Entropy getting and stirring need locking

14 years agoSet the socket used for xfrs to nonblocking mode.
Bob Halley [Mon, 27 Jul 2009 07:26:09 +0000 (09:26 +0200)]
Set the socket used for xfrs to nonblocking mode.

14 years agoFix SRV record comparison
Bob Halley [Thu, 23 Jul 2009 18:26:51 +0000 (11:26 -0700)]
Fix SRV record comparison

14 years agoUse the right resolver instance
Bob Halley [Thu, 23 Jul 2009 18:22:25 +0000 (11:22 -0700)]
Use the right resolver instance

14 years agoOpen /dev/random unbuffered
Bob Halley [Tue, 23 Jun 2009 17:23:46 +0000 (18:23 +0100)]
Open /dev/random unbuffered

14 years agoInc version
Bob Halley [Tue, 23 Jun 2009 17:23:19 +0000 (18:23 +0100)]
Inc version

14 years agoupdate for 1.7.1 v1.7.1
Bob Halley [Fri, 19 Jun 2009 15:08:10 +0000 (16:08 +0100)]
update for 1.7.1

14 years agoPrep 1.7.1
Bob Halley [Fri, 19 Jun 2009 14:59:47 +0000 (15:59 +0100)]
Prep 1.7.1

14 years agoHandle negative prerequisites
Bob Halley [Fri, 19 Jun 2009 12:11:53 +0000 (13:11 +0100)]
Handle negative prerequisites

14 years agoignore html v1.7.0
Bob Halley [Fri, 19 Jun 2009 11:49:59 +0000 (12:49 +0100)]
ignore html

14 years agoSet the domain correctly on Windows
Bob Halley [Fri, 19 Jun 2009 11:35:21 +0000 (12:35 +0100)]
Set the domain correctly on Windows

14 years agoFinal 1.7 prep
Bob Halley [Fri, 19 Jun 2009 11:26:16 +0000 (12:26 +0100)]
Final 1.7 prep

14 years agoAdd to_digestable() methods to rdata classes
Bob Halley [Fri, 19 Jun 2009 10:57:39 +0000 (11:57 +0100)]
Add to_digestable() methods to rdata classes

14 years ago_addresses_equal() needs the af
Bob Halley [Fri, 19 Jun 2009 10:56:25 +0000 (11:56 +0100)]
_addresses_equal() needs the af

14 years agoDo not compress names in HIP RRs
Bob Halley [Fri, 19 Jun 2009 10:04:10 +0000 (11:04 +0100)]
Do not compress names in HIP RRs

14 years agoAdd HIP RR type
Bob Halley [Fri, 19 Jun 2009 09:16:19 +0000 (10:16 +0100)]
Add HIP RR type

14 years agoAdd option to keep test output
Bob Halley [Fri, 19 Jun 2009 09:11:57 +0000 (10:11 +0100)]
Add option to keep test output

14 years agoAdd DLV support
Bob Halley [Thu, 18 Jun 2009 16:48:58 +0000 (17:48 +0100)]
Add DLV support

14 years agoadd MANIFEST and dist
Bob Halley [Thu, 18 Jun 2009 15:08:22 +0000 (16:08 +0100)]
add MANIFEST and dist

14 years agoAdd missing ChangeLog entries for TSIG validation fix and entropy module
Bob Halley [Thu, 18 Jun 2009 13:54:04 +0000 (14:54 +0100)]
Add missing ChangeLog entries for TSIG validation fix and entropy module

14 years agoAdd DNSSEC constants
Bob Halley [Thu, 18 Jun 2009 13:45:03 +0000 (14:45 +0100)]
Add DNSSEC constants

14 years agoAdd BADTRUNC
Bob Halley [Thu, 18 Jun 2009 13:43:59 +0000 (14:43 +0100)]
Add BADTRUNC

14 years agoupdate
Bob Halley [Thu, 18 Jun 2009 13:15:50 +0000 (14:15 +0100)]
update

14 years agoWhen checking for "same address", use the binary form of the address.
Bob Halley [Thu, 18 Jun 2009 13:10:28 +0000 (14:10 +0100)]
When checking for "same address", use the binary form of the address.

By doing that, we don't get confused if the textual forms for the addresses
are equivalent but different (which can happen with IPv6 addresses).

Thanks to Kim Davies for finding this bug.

14 years agoupdate to include resolver query patch
Bob Halley [Thu, 18 Jun 2009 10:24:50 +0000 (11:24 +0100)]
update to include resolver query patch

14 years agoAllow a source port to be specified
Bob Halley [Thu, 18 Jun 2009 10:22:15 +0000 (11:22 +0100)]
Allow a source port to be specified

14 years agoupdate copyrights
Bob Halley [Thu, 18 Jun 2009 10:18:04 +0000 (11:18 +0100)]
update copyrights

14 years agoupdate for 2009
Bob Halley [Thu, 18 Jun 2009 10:14:35 +0000 (11:14 +0100)]
update for 2009

14 years agoupdate
Bob Halley [Thu, 18 Jun 2009 10:07:20 +0000 (11:07 +0100)]
update

14 years agoAdd NSEC3PARAM support
Bob Halley [Thu, 18 Jun 2009 10:07:10 +0000 (11:07 +0100)]
Add NSEC3PARAM support

14 years agodo not import dns.name
Bob Halley [Thu, 18 Jun 2009 10:06:26 +0000 (11:06 +0100)]
do not import dns.name

14 years agoFix NSEC tests; add NSEC3 tests
Bob Halley [Thu, 18 Jun 2009 09:54:24 +0000 (10:54 +0100)]
Fix NSEC tests; add NSEC3 tests

14 years agoAdd NSEC3 support
Bob Halley [Thu, 18 Jun 2009 09:51:58 +0000 (10:51 +0100)]
Add NSEC3 support

14 years agoadd .gitignore
Bob Halley [Thu, 18 Jun 2009 09:51:21 +0000 (10:51 +0100)]
add .gitignore

14 years agoFix NSEC.to_text()
Bob Halley [Wed, 17 Jun 2009 14:10:59 +0000 (15:10 +0100)]
Fix NSEC.to_text()

15 years agoUpdate version to 1.7.0
Bob Halley [Sun, 12 Apr 2009 00:35:57 +0000 (01:35 +0100)]
Update version to 1.7.0

15 years agoadd more type codes, make NSEC a singleton, fix whitespace
Bob Halley [Tue, 31 Mar 2009 01:03:55 +0000 (01:03 +0000)]
add more type codes, make NSEC a singleton, fix whitespace

15 years agomake EDNS options comparable
Bob Halley [Mon, 30 Mar 2009 23:32:22 +0000 (23:32 +0000)]
make EDNS options comparable

15 years agoadd UDP IXFR support
Bob Halley [Mon, 30 Mar 2009 23:20:07 +0000 (23:20 +0000)]
add UDP IXFR support

15 years agodocument options
Bob Halley [Mon, 30 Mar 2009 23:10:03 +0000 (23:10 +0000)]
document options

15 years agoadd one_rr_per_rrset mode switch to methods which parse messages from wire format
Bob Halley [Mon, 30 Mar 2009 22:58:26 +0000 (22:58 +0000)]
add one_rr_per_rrset mode switch to methods which parse messages from wire format

15 years agofix typos
Bob Halley [Mon, 30 Mar 2009 20:41:55 +0000 (20:41 +0000)]
fix typos

15 years agoEDNS option support
Bob Halley [Mon, 30 Mar 2009 20:41:20 +0000 (20:41 +0000)]
EDNS option support

15 years agoadd DS RR fix ChangeLog
Bob Halley [Thu, 16 Oct 2008 14:30:16 +0000 (14:30 +0000)]
add DS RR fix ChangeLog

15 years agoallow multiple chunks in DS RR Base64
Bob Halley [Thu, 16 Oct 2008 14:26:28 +0000 (14:26 +0000)]
allow multiple chunks in DS RR Base64

15 years agoadd entropy module
Bob Halley [Wed, 8 Oct 2008 09:35:24 +0000 (09:35 +0000)]
add entropy module

15 years agovalidate TSIGs using the absolute name; use new entropy module
Bob Halley [Wed, 8 Oct 2008 09:34:59 +0000 (09:34 +0000)]
validate TSIGs using the absolute name; use new entropy module

15 years agodeobfuscate code; thanks to Andre van der Vlies
Bob Halley [Tue, 5 Aug 2008 17:08:59 +0000 (17:08 +0000)]
deobfuscate code; thanks to Andre van der Vlies