]> git.ipfire.org Git - thirdparty/ldns.git/log
thirdparty/ldns.git
21 years agotesting for ip6 addr printen. Everything is ok
Miek Gieben [Tue, 19 Apr 2005 13:33:08 +0000 (13:33 +0000)] 
testing for ip6 addr printen. Everything is ok

21 years agostatus code return, added ldns_resolver_send_pkt for prebuilt packets (but with some...
Jelte Jansen [Tue, 19 Apr 2005 12:50:14 +0000 (12:50 +0000)] 
status code return, added ldns_resolver_send_pkt for prebuilt packets (but with some resolver options like #retries and later probably some more)

21 years agoparse the /etc/hosts and return a list with all the address you found
Miek Gieben [Tue, 19 Apr 2005 12:15:05 +0000 (12:15 +0000)] 
parse the /etc/hosts and return a list with all the address you found
there. See run-test19 for an example. The resolver doesn't do any
with /etc/hosts (yet?)

21 years agoobey _fail
Miek Gieben [Tue, 19 Apr 2005 11:49:36 +0000 (11:49 +0000)] 
obey _fail

21 years agostart abusing run-test19
Miek Gieben [Tue, 19 Apr 2005 11:39:02 +0000 (11:39 +0000)] 
start abusing run-test19

21 years agodont abuse chaos.c
Miek Gieben [Tue, 19 Apr 2005 11:36:46 +0000 (11:36 +0000)] 
dont abuse chaos.c

21 years agostupid lint
Miek Gieben [Tue, 19 Apr 2005 11:31:39 +0000 (11:31 +0000)] 
stupid lint

21 years agoread /etc/hosts files (incomplete)
Miek Gieben [Tue, 19 Apr 2005 11:21:39 +0000 (11:21 +0000)] 
read /etc/hosts files (incomplete)
ldns chokes on ip6 addresses ending in '0'...?

21 years agorealclean cleans even more
Jelte Jansen [Tue, 19 Apr 2005 09:33:50 +0000 (09:33 +0000)] 
realclean cleans even more
.so is pulled out of the .libs dir for now
fixed some rrsig verification issues

21 years agosome /etc/hosts parsing
Miek Gieben [Mon, 18 Apr 2005 19:23:35 +0000 (19:23 +0000)] 
some /etc/hosts parsing

21 years agomore status returned
Jelte Jansen [Mon, 18 Apr 2005 13:45:16 +0000 (13:45 +0000)] 
more status returned

21 years agoMake libtool use the correct (PIC) files when linking together the shared library
Jelte Jansen [Mon, 18 Apr 2005 13:17:43 +0000 (13:17 +0000)] 
Make libtool use the correct (PIC) files when linking together the shared library

21 years agomoved all available comments to the .h files. Added parameters names as I
Miek Gieben [Mon, 18 Apr 2005 11:43:45 +0000 (11:43 +0000)] 
moved all available comments to the .h files. Added parameters names as I
went along. Not every function has been commented, but we're almost there

21 years agomoved function comments from .c to .h
Miek Gieben [Mon, 18 Apr 2005 10:38:46 +0000 (10:38 +0000)] 
moved function comments from .c to .h

21 years agotodo's done and obsolete comments removed
Jelte Jansen [Mon, 18 Apr 2005 09:37:32 +0000 (09:37 +0000)] 
todo's done and obsolete comments removed

21 years agolint fixlet
Miek Gieben [Mon, 18 Apr 2005 09:04:37 +0000 (09:04 +0000)] 
lint fixlet

21 years agoI still don't get it why libtool, doesn't link the correct .o files to the
Miek Gieben [Mon, 18 Apr 2005 08:59:18 +0000 (08:59 +0000)] 
I still don't get it why libtool, doesn't link the correct .o files to the
shared library

21 years agoblaat
Miek Gieben [Mon, 18 Apr 2005 08:57:54 +0000 (08:57 +0000)] 
blaat

21 years agodont abort - but return LDNS_STATUS_NOT_IMPL
Miek Gieben [Mon, 18 Apr 2005 08:55:11 +0000 (08:55 +0000)] 
dont abort - but return LDNS_STATUS_NOT_IMPL

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/