Willem Toorop [Fri, 23 Sep 2011 13:04:31 +0000 (13:04 +0000)]
Fedora packaging spec and fixing tests to run on Max OS-X (leopard).
Fixes include maintaining old value of LD_LIBRARY_PATH and DYLD_LIBRARY_PATH and removal of -Wl,--rpath from the LDFLAGS in configure.ac
Willem Toorop [Thu, 22 Sep 2011 19:55:11 +0000 (19:55 +0000)]
Paul Wouter's release candidate review:
Removed ipcalc dependency of ldnsx.
Removed the unused function 'ldns_rr_list_contains_name' from ldns-verify-zone.c
And a very ugly syntax error in Makefile.in
Willem Toorop [Tue, 20 Sep 2011 22:35:17 +0000 (22:35 +0000)]
Added the ldnsx python module from Christopher Olah to the contrib directory.
Also provided a --with-pyldnsx option with configuring that defaults to installing pyldnsx when pyldns is installed too.
Willem Toorop [Mon, 19 Sep 2011 21:28:39 +0000 (21:28 +0000)]
Suppress warnings from automatically generated code by SWIG.
Reformat some of the comments to prevent "warning: marco .... not defined" messages
Adapted configure.ac to nu use PYTHON_VERSION directly (as advised in the ax_python_devel package).
Willem Toorop [Mon, 19 Sep 2011 13:00:43 +0000 (13:00 +0000)]
Nameservers should not get the unreachable status if TCP hasn't been tried yet.
Thanks to Christopher Olah and Paul Wouters (see "pyLDNS Problems" thread on the ldns-users list).
Willem Toorop [Sun, 11 Sep 2011 21:38:03 +0000 (21:38 +0000)]
1. Doxygen for printing and to text converting functions with ldns_output_format specification (and inclusion in ldns_symbols.def), and
2. Extra functions to accomodate the construction of a hashed to unhashed name map (rbtree).
Also, the usage of such a map to annotate NSEC3 RRs with the unhashed versions of their owner and next owner names in the comment section of a textual representation.
Finalizes RT#539 and Bugzilla#366.
Willem Toorop [Fri, 9 Sep 2011 08:56:42 +0000 (08:56 +0000)]
More conventional order of arguments.
And an extra data field in ldns_output_format in which for example a rbtree mapping nsec3 hashes to names could be passed along.
Willem Toorop [Mon, 5 Sep 2011 15:04:30 +0000 (15:04 +0000)]
New versions of the functions that convert packets, rr's and rr-lists to string.
Before, default comments were giving describing various aspects of the RR.
With the new functions one can specify which comments are desirable.
See RT#539
Willem Toorop [Fri, 2 Sep 2011 20:25:59 +0000 (20:25 +0000)]
ldns_fetch_valid_domain_keys should look deeper than just one level to look for keys that have signed a domain's DS.
For example the DS for 224.154.213.in-addr.arpa is signed with a key from 213.in-addr.arpa. Two levels deeper.
Willem Toorop [Wed, 24 Aug 2011 18:36:34 +0000 (18:36 +0000)]
Fix usage of divides and modulus in the utility time funtions.
i.e. if number of seconds is negative (for example -70) then in C
seconds % 60 = -10
and seconds / 60 = -1
but our algorithm expects
seconds % 60 = 50
and seconds / 60 = -2
Willem Toorop [Tue, 28 Jun 2011 12:15:32 +0000 (12:15 +0000)]
Bugfix 394 of leaking sockets:
when ldns_udp_send_query returned a error when used from ldns_udp_bgsend and ldns_tcp_bgsend, the newly created socket was not closed nor returned.
Now it is closed.
Willem Toorop [Tue, 24 May 2011 11:46:34 +0000 (11:46 +0000)]
Review comment improvements from Matthijs.
Fix for examples to compile on systems with openssl < 1.0 in the 01-compile.tpkg test.
Changed default timeout to 5 seconds.
Willem Toorop [Wed, 18 May 2011 14:15:05 +0000 (14:15 +0000)]
code review #1: Extra info on NSEC records only when verbosity is up
code review #2: Rename serial_arithmitics_gmtime_r to ldns_serial_arithmitics_gmtime_r (and all the other added functions in util.h) and add to ldns_symbols.def.
code review #3: Comment swap of ldns_dnssec_verify_denial_nsec3_match, ldns_verify_rrsig_buffers and ldns_dnssec_verify_denial_nsec3
code review #4: Finishing the sentence in the comment about opt-out handling in function ldns_dnssec_create_nsec3.
code review #5: Just do rd-strlen = strlen(rd) once in rr.c
code review #6: Moved setting of output variables from acx_nlnetlabs.m4 to configure.ac so acx_nlnetlabs.m4 doesn't have to be merged into NSD and Unbound.
Willem Toorop [Wed, 18 May 2011 12:44:09 +0000 (12:44 +0000)]
Get rid of copying of local resolver nameservers to the active resolver in securetrace.
It might be worthwhile to query "." if no root-servers are available, but this is not the place or way to address that.