]> git.ipfire.org Git - thirdparty/ldns.git/log
thirdparty/ldns.git
21 years agoprintf's be gone
Miek Gieben [Mon, 18 Apr 2005 08:34:37 +0000 (08:34 +0000)] 
printf's be gone

21 years agoremove printf's -> dprintf
Miek Gieben [Mon, 18 Apr 2005 08:20:11 +0000 (08:20 +0000)] 
remove printf's -> dprintf

need some openssl-like get_error_function that is thread safe

21 years agossl autoconf stuff lifted from NSD
Miek Gieben [Wed, 13 Apr 2005 12:27:04 +0000 (12:27 +0000)] 
ssl autoconf stuff lifted from NSD

21 years agoSimon says: it is finished
Miek Gieben [Wed, 13 Apr 2005 11:13:44 +0000 (11:13 +0000)] 
Simon says: it is finished

21 years agoreally clean the resolver list
Miek Gieben [Wed, 13 Apr 2005 11:05:44 +0000 (11:05 +0000)] 
really clean the resolver list

21 years agoadded ldns_fskipcs for FILE*
Miek Gieben [Wed, 13 Apr 2005 10:37:14 +0000 (10:37 +0000)] 
added ldns_fskipcs for FILE*
used that in resolv.conf reader, it now parses open's /etc/resolv.conf
some tweaks
default dprintf to print (for debugging)

21 years agosome debug
Miek Gieben [Tue, 12 Apr 2005 14:02:53 +0000 (14:02 +0000)] 
some debug

21 years agochanged comment
Miek Gieben [Tue, 12 Apr 2005 13:46:20 +0000 (13:46 +0000)] 
changed comment

21 years agoanother nice program from the master
Miek Gieben [Tue, 12 Apr 2005 13:43:11 +0000 (13:43 +0000)] 
another nice program from the master

21 years agodprintf as debug thingy added in util.h
Miek Gieben [Tue, 12 Apr 2005 12:57:49 +0000 (12:57 +0000)] 
dprintf as debug thingy added in util.h

21 years agomore libtool changes, it still doesn\'t keep its mouth shut
Miek Gieben [Tue, 12 Apr 2005 12:42:15 +0000 (12:42 +0000)] 
more libtool changes, it still doesn\'t keep its mouth shut

21 years agolibtool advances - it actually creates something
Miek Gieben [Tue, 12 Apr 2005 12:08:30 +0000 (12:08 +0000)] 
libtool advances - it actually creates something

21 years agomade a start with supporting other algorithms for tsig
Jelte Jansen [Tue, 12 Apr 2005 10:37:56 +0000 (10:37 +0000)] 
made a start with supporting other algorithms for tsig

21 years agoparsing is much more robust now. Comments are handled, multilined
Miek Gieben [Mon, 11 Apr 2005 11:35:19 +0000 (11:35 +0000)] 
parsing is much more robust now. Comments are handled, multilined
soa records with ( and ) an comments are parsed correctly.

some lint fixes

21 years agonow it really should work (cleanly)
Miek Gieben [Mon, 11 Apr 2005 10:43:28 +0000 (10:43 +0000)] 
now it really should work (cleanly)

21 years agoit works! Check this in to have get a revision
Miek Gieben [Mon, 11 Apr 2005 09:58:13 +0000 (09:58 +0000)] 
it works! Check this in to have get a revision

21 years agominor improvements in dsa creation, not working completely yet
Jelte Jansen [Thu, 7 Apr 2005 13:39:10 +0000 (13:39 +0000)] 
minor improvements in dsa creation, not working completely yet

21 years agosome more testing - this time multilined rr's... does not work as designed
Miek Gieben [Thu, 7 Apr 2005 13:29:46 +0000 (13:29 +0000)] 
some more testing - this time multilined rr's... does not work as designed

21 years agoRRSIG's inception/expiration data is now printed as YYYYMMDDHHMMSS
Miek Gieben [Thu, 7 Apr 2005 13:06:50 +0000 (13:06 +0000)] 
RRSIG's inception/expiration data is now printed as YYYYMMDDHHMMSS
just as in bind

21 years agorrsig rdata as LDNS_RDF_TYPE_TIME
Miek Gieben [Thu, 7 Apr 2005 12:41:27 +0000 (12:41 +0000)] 
rrsig rdata as LDNS_RDF_TYPE_TIME

21 years agowe have too many functions
Miek Gieben [Thu, 7 Apr 2005 12:16:41 +0000 (12:16 +0000)] 
we have too many functions

21 years agosome ugly free's added
Miek Gieben [Thu, 7 Apr 2005 11:17:16 +0000 (11:17 +0000)] 
some ugly free's added

21 years agoexit(0)
Miek Gieben [Thu, 7 Apr 2005 11:08:36 +0000 (11:08 +0000)] 
exit(0)

21 years agothe TTL is now optional and mnemomics can used (1d1h) etc
Miek Gieben [Thu, 7 Apr 2005 11:03:40 +0000 (11:03 +0000)] 
the TTL is now optional and mnemomics can used (1d1h) etc

21 years agostrtottl added
Miek Gieben [Thu, 7 Apr 2005 10:41:49 +0000 (10:41 +0000)] 
strtottl added

21 years agorobustness checks in dnssec stuff
Miek Gieben [Thu, 7 Apr 2005 09:04:55 +0000 (09:04 +0000)] 
robustness checks in dnssec stuff

21 years agoremoved printfs. Return NULL on rr conversion failures
Miek Gieben [Thu, 7 Apr 2005 08:55:51 +0000 (08:55 +0000)] 
removed printfs. Return NULL on rr conversion failures

21 years ago\DDD is working
Miek Gieben [Thu, 7 Apr 2005 08:43:56 +0000 (08:43 +0000)] 
\DDD is working

21 years agoquoting still doens't work, but this is only due to the
Miek Gieben [Thu, 7 Apr 2005 08:38:25 +0000 (08:38 +0000)] 
quoting still doens't work, but this is only due to the
crappy routine in ldns_str2rdf_dname - once that is fixed
dname can be any name the rfc allows.

ldns_unquote is depricated and ifdef-ed

21 years agoneater handling of no response
Jelte Jansen [Thu, 7 Apr 2005 08:38:22 +0000 (08:38 +0000)] 
neater handling of no response

21 years agomove ldns_unquote to ldns_rdf_new_frm_str. Not yet modified dname_new_frm_str yet...
Miek Gieben [Wed, 6 Apr 2005 13:46:29 +0000 (13:46 +0000)] 
move ldns_unquote to ldns_rdf_new_frm_str. Not yet modified dname_new_frm_str yet, as it does labelize a string

21 years agoduh, you need to double escape the escapes
Miek Gieben [Wed, 6 Apr 2005 11:44:26 +0000 (11:44 +0000)] 
duh, you need to double escape the escapes

21 years agoleft in the debug code - something is not quite right
Miek Gieben [Wed, 6 Apr 2005 10:04:18 +0000 (10:04 +0000)] 
left in the debug code - something is not quite right
but, I'm off to lunch

21 years ago\'port\' of zoctect - see the comments. What to do?
Miek Gieben [Wed, 6 Apr 2005 08:59:53 +0000 (08:59 +0000)] 
\'port\' of zoctect - see the comments. What to do?

21 years agocorrect placement of the freeing of rdata again
Miek Gieben [Wed, 6 Apr 2005 08:53:54 +0000 (08:53 +0000)] 
correct placement of the freeing of rdata again

21 years agoaah, the joy of return codes
Miek Gieben [Wed, 6 Apr 2005 08:43:06 +0000 (08:43 +0000)] 
aah, the joy of return codes

21 years agoremoved normalize as it did nothing extra anymore
Miek Gieben [Wed, 6 Apr 2005 08:17:35 +0000 (08:17 +0000)] 
removed normalize as it did nothing extra anymore

21 years agotokenizer now skips multiple occurrences of delimiters in a row
Jelte Jansen [Wed, 6 Apr 2005 08:04:07 +0000 (08:04 +0000)] 
tokenizer now skips multiple occurrences of delimiters in a row

21 years agoreturn the rr, up until the parsing went wrong
Miek Gieben [Tue, 5 Apr 2005 14:23:45 +0000 (14:23 +0000)] 
return the rr, up until the parsing went wrong

21 years agoremoved double FREEs, lint checks
Miek Gieben [Tue, 5 Apr 2005 14:05:40 +0000 (14:05 +0000)] 
removed double FREEs, lint checks

21 years agoremoved comment
Miek Gieben [Tue, 5 Apr 2005 13:42:48 +0000 (13:42 +0000)] 
removed comment

21 years agoadded bgetc function to operate on buffer the same way as one
Miek Gieben [Tue, 5 Apr 2005 13:29:46 +0000 (13:29 +0000)] 
added bgetc function to operate on buffer the same way as one
would on files.

rr.c now used the new parser.

commit this now so that I can test on the open

21 years agoremoved dead code
Jelte Jansen [Tue, 5 Apr 2005 12:46:18 +0000 (12:46 +0000)] 
removed dead code
fixed memory leaks

21 years agoreplaced sscanf with tokenizer
Jelte Jansen [Tue, 5 Apr 2005 09:44:52 +0000 (09:44 +0000)] 
replaced sscanf with tokenizer
added some debug messages

21 years agomemory was off by 1
Jelte Jansen [Mon, 4 Apr 2005 14:28:42 +0000 (14:28 +0000)] 
memory was off by 1

21 years agomemories
Jelte Jansen [Mon, 4 Apr 2005 11:59:41 +0000 (11:59 +0000)] 
memories

21 years agofixed EOF check when reading resolv.conf (entered infinite loop here)
Jelte Jansen [Mon, 4 Apr 2005 09:43:29 +0000 (09:43 +0000)] 
fixed EOF check when reading resolv.conf (entered infinite loop here)

21 years agonew function added that will make resolv.conf handling much easier - though slower
Miek Gieben [Thu, 31 Mar 2005 14:15:16 +0000 (14:15 +0000)] 
new function added that will make resolv.conf handling much easier - though slower

21 years agokilled readword - can now slowly convert /etc/resolv.conf parse function
Miek Gieben [Thu, 31 Mar 2005 13:51:09 +0000 (13:51 +0000)] 
killed readword  -  can now slowly convert /etc/resolv.conf parse function

21 years agoready to transform ldns_resolver_new_frm_fp
Miek Gieben [Thu, 31 Mar 2005 13:43:50 +0000 (13:43 +0000)] 
ready to transform ldns_resolver_new_frm_fp

21 years agoour labs priv key. Now also used for testing purposes :-)
Miek Gieben [Thu, 31 Mar 2005 13:19:57 +0000 (13:19 +0000)] 
our labs priv key. Now also used for testing purposes :-)
(or: how not to handle your priv. key)

21 years agomade the delimeters configureable. The ldns_get_keyword_data function
Miek Gieben [Thu, 31 Mar 2005 13:19:12 +0000 (13:19 +0000)] 
made the delimeters configureable. The ldns_get_keyword_data function
will handle all details of priv key parsing

21 years agore-do the parser. This is the lowlevel framework.
Miek Gieben [Thu, 31 Mar 2005 12:27:30 +0000 (12:27 +0000)] 
re-do the parser. This is the lowlevel framework.
Next up: incorperate this in the rr_frm_str function and see
what other changes are needed

21 years agosome thoughts
Miek Gieben [Thu, 31 Mar 2005 08:04:58 +0000 (08:04 +0000)] 
some thoughts

21 years agoit signs perfectly. It's the verify that is fucked up.
Miek Gieben [Wed, 30 Mar 2005 15:46:23 +0000 (15:46 +0000)] 
it signs perfectly. It's the verify that is fucked up.
prob. because the inception/expiration is 0?

Need to find a way to compare known good sigs with what we
produce....

21 years agocorrected includes
Miek Gieben [Wed, 30 Mar 2005 15:37:39 +0000 (15:37 +0000)] 
corrected includes

21 years agofixed RSA key conversion and signature check
Jelte Jansen [Wed, 30 Mar 2005 10:28:57 +0000 (10:28 +0000)] 
fixed RSA key conversion and signature check
modified T calculation of DSA keys (segfault is gone, don't know if T is correct now)
added key algo = sig algo checks in verification

21 years agoremoved debug prints
Jelte Jansen [Tue, 29 Mar 2005 12:44:43 +0000 (12:44 +0000)] 
removed debug prints
tried to make total rebuild of tsig code but that only became more of a mess

21 years agotsig answer verification works!
Jelte Jansen [Thu, 24 Mar 2005 15:29:56 +0000 (15:29 +0000)] 
tsig answer verification works!
code a bit of a mess now, cleanup on the TODO

21 years agomove comments to header files
Miek Gieben [Thu, 24 Mar 2005 13:19:45 +0000 (13:19 +0000)] 
move comments to header files

21 years agodsa is also a bit of a mess :(
Miek Gieben [Thu, 24 Mar 2005 12:46:38 +0000 (12:46 +0000)] 
dsa is also a bit of a mess :(

21 years agoit signs and verifies, but complains about the key not being
Miek Gieben [Thu, 24 Mar 2005 12:40:04 +0000 (12:40 +0000)] 
it signs and verifies, but complains about the key not being
correctly padded

21 years agonot setting the orit_ttl field in the key may lead to weird results
Miek Gieben [Thu, 24 Mar 2005 12:32:23 +0000 (12:32 +0000)] 
not setting the orit_ttl field in the key may lead to weird results

21 years agoadded tsig fields to the resolver structure,
Jelte Jansen [Wed, 23 Mar 2005 15:00:00 +0000 (15:00 +0000)] 
added tsig fields to the resolver structure,
if both are set, packets are automatically signed and verified
(signing works, verification of answers is still buggy, but only produces a warning atm)

21 years agodoxygen comments -> .h + tweaking
Jelte Jansen [Wed, 23 Mar 2005 12:39:01 +0000 (12:39 +0000)] 
doxygen comments -> .h + tweaking

21 years agocrypto sign/verification fails
Miek Gieben [Wed, 23 Mar 2005 12:37:01 +0000 (12:37 +0000)] 
crypto sign/verification fails

21 years agodebugging added - for testing on open
Miek Gieben [Wed, 23 Mar 2005 12:33:07 +0000 (12:33 +0000)] 
debugging added - for testing on open

21 years agotweaks
Miek Gieben [Wed, 23 Mar 2005 12:22:31 +0000 (12:22 +0000)] 
tweaks

make lint is now called in the StartTest@open

21 years agosome thought and examples on parsing
Miek Gieben [Wed, 23 Mar 2005 12:16:11 +0000 (12:16 +0000)] 
some thought and examples on parsing

21 years agoonly check real sources - bail out if lint check fails
Miek Gieben [Wed, 23 Mar 2005 12:10:23 +0000 (12:10 +0000)] 
only check real sources - bail out if lint check fails

21 years agoit does not crash, it does not hang
Miek Gieben [Wed, 23 Mar 2005 11:48:49 +0000 (11:48 +0000)] 
it does not crash, it does not hang
it does not verify

21 years agokeytag stuff solved by not recalculating it
Miek Gieben [Wed, 23 Mar 2005 11:43:00 +0000 (11:43 +0000)] 
keytag stuff solved by not recalculating it
need some nicer access functions on keys - but most of the
infrastructure to sign is there now

21 years agosome keytag weirdness
Miek Gieben [Wed, 23 Mar 2005 10:52:41 +0000 (10:52 +0000)] 
some keytag weirdness
most of the stuff seems to be working
inception/expiration is on the todo

21 years agoalso set the flag in the priv key struct
Miek Gieben [Wed, 23 Mar 2005 10:17:03 +0000 (10:17 +0000)] 
also set the flag in the priv key struct

21 years agoit signs
Miek Gieben [Wed, 23 Mar 2005 10:02:32 +0000 (10:02 +0000)] 
it signs
(no idea wether the sig checks out, but it's a start)

21 years agomore lint, removed obsolete tests
Jelte Jansen [Tue, 22 Mar 2005 15:08:02 +0000 (15:08 +0000)] 
more lint, removed obsolete tests

21 years agofixed splint test on open
Jelte Jansen [Tue, 22 Mar 2005 14:35:09 +0000 (14:35 +0000)] 
fixed splint test on open
added some typecasts for splint (original writer: please check for possible dataloss)

21 years agook, still doesn't fully work. I quit
Miek Gieben [Tue, 22 Mar 2005 13:48:34 +0000 (13:48 +0000)] 
ok, still doesn't fully work. I quit

21 years agodebug's weg
Miek Gieben [Tue, 22 Mar 2005 13:45:39 +0000 (13:45 +0000)] 
debug's weg

21 years agodebug stuff and a
Miek Gieben [Tue, 22 Mar 2005 13:37:24 +0000 (13:37 +0000)] 
debug stuff and a
ldns_rr_new_frm_type() which return a fully allocated (but empty)
rr structure - this is needed for all the rr_functions.

21 years agomoved all obsolete tests to test/
Jelte Jansen [Tue, 22 Mar 2005 13:36:18 +0000 (13:36 +0000)] 
moved all obsolete tests to test/

21 years agosome tweaks
Miek Gieben [Tue, 22 Mar 2005 13:27:53 +0000 (13:27 +0000)] 
some tweaks

21 years agofixed lots of doxygen warnings
Jelte Jansen [Tue, 22 Mar 2005 13:24:42 +0000 (13:24 +0000)] 
fixed lots of doxygen warnings
moved comments from dnssec.c to dnssec.h

21 years agoit does _something_
Miek Gieben [Tue, 22 Mar 2005 12:52:24 +0000 (12:52 +0000)] 
it does _something_

21 years agosome important fixes and ... a new run-test program
Miek Gieben [Tue, 22 Mar 2005 12:35:00 +0000 (12:35 +0000)] 
some important fixes  and ... a new run-test program

21 years agohighly experimental conversion code to generate a DNSKEY rr from a ldns_key
Miek Gieben [Tue, 22 Mar 2005 11:14:02 +0000 (11:14 +0000)] 
highly experimental conversion code to generate a DNSKEY rr from a ldns_key

21 years agominor stuff
Miek Gieben [Mon, 21 Mar 2005 14:07:44 +0000 (14:07 +0000)] 
minor stuff

21 years agokey generation stuff
Miek Gieben [Mon, 21 Mar 2005 13:57:40 +0000 (13:57 +0000)] 
key generation stuff

21 years agothere is code to sign something - no clue wether it works are not
Miek Gieben [Mon, 21 Mar 2005 13:11:16 +0000 (13:11 +0000)] 
there is code to sign something - no clue wether it works are not

21 years agosmall null check
Jelte Jansen [Mon, 21 Mar 2005 13:09:23 +0000 (13:09 +0000)] 
small null check

21 years agoremoved splint do-not-check comment
Miek Gieben [Mon, 21 Mar 2005 12:10:37 +0000 (12:10 +0000)] 
removed splint do-not-check comment

21 years agoReplaced macro's with functions.
Erik Rozendaal [Mon, 21 Mar 2005 11:41:51 +0000 (11:41 +0000)] 
Replaced macro's with functions.

21 years agolint
Miek Gieben [Mon, 21 Mar 2005 11:27:07 +0000 (11:27 +0000)] 
lint

21 years agosome includes changed, more work on the signing
Miek Gieben [Mon, 21 Mar 2005 11:11:14 +0000 (11:11 +0000)] 
some includes changed, more work on the signing

21 years agosome macro magic - some signing preparations
Miek Gieben [Mon, 21 Mar 2005 10:13:55 +0000 (10:13 +0000)] 
some macro magic - some signing preparations

21 years agodon't build the test-progs in all-target
Miek Gieben [Mon, 21 Mar 2005 09:41:29 +0000 (09:41 +0000)] 
don't build the test-progs in all-target
2 casts added in dnssec.c

21 years agowat miek wil
Jelte Jansen [Thu, 17 Mar 2005 14:44:16 +0000 (14:44 +0000)] 
wat miek wil

21 years agoreplaced the pkt_get_sigs with the more generale get_rr_list_by_name_and_type
Jelte Jansen [Thu, 17 Mar 2005 13:44:08 +0000 (13:44 +0000)] 
replaced the pkt_get_sigs with the more generale get_rr_list_by_name_and_type
added an rr_compare_ds that 'sees' no difference between a dnskey and its ds representation
more functions for chasing

21 years agoadded write function for a//aaaa record
Miek Gieben [Wed, 16 Mar 2005 20:06:27 +0000 (20:06 +0000)] 
added write function for a//aaaa record

21 years agotodo has actually shrank
Miek Gieben [Wed, 16 Mar 2005 19:59:03 +0000 (19:59 +0000)] 
todo has actually shrank