]>
git.ipfire.org Git - thirdparty/ldns.git/log
Miek Gieben [Tue, 19 Apr 2005 13:33:08 +0000 (13:33 +0000)]
testing for ip6 addr printen. Everything is ok
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)
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?)
Miek Gieben [Tue, 19 Apr 2005 11:49:36 +0000 (11:49 +0000)]
obey _fail
Miek Gieben [Tue, 19 Apr 2005 11:39:02 +0000 (11:39 +0000)]
start abusing run-test19
Miek Gieben [Tue, 19 Apr 2005 11:36:46 +0000 (11:36 +0000)]
dont abuse chaos.c
Miek Gieben [Tue, 19 Apr 2005 11:31:39 +0000 (11:31 +0000)]
stupid lint
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'...?
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
Miek Gieben [Mon, 18 Apr 2005 19:23:35 +0000 (19:23 +0000)]
some /etc/hosts parsing
Jelte Jansen [Mon, 18 Apr 2005 13:45:16 +0000 (13:45 +0000)]
more status returned
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
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
Miek Gieben [Mon, 18 Apr 2005 10:38:46 +0000 (10:38 +0000)]
moved function comments from .c to .h
Jelte Jansen [Mon, 18 Apr 2005 09:37:32 +0000 (09:37 +0000)]
todo's done and obsolete comments removed
Miek Gieben [Mon, 18 Apr 2005 09:04:37 +0000 (09:04 +0000)]
lint fixlet
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
Miek Gieben [Mon, 18 Apr 2005 08:57:54 +0000 (08:57 +0000)]
blaat
Miek Gieben [Mon, 18 Apr 2005 08:55:11 +0000 (08:55 +0000)]
dont abort - but return LDNS_STATUS_NOT_IMPL
Miek Gieben [Mon, 18 Apr 2005 08:34:37 +0000 (08:34 +0000)]
printf's be gone
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
Miek Gieben [Wed, 13 Apr 2005 12:27:04 +0000 (12:27 +0000)]
ssl autoconf stuff lifted from NSD
Miek Gieben [Wed, 13 Apr 2005 11:13:44 +0000 (11:13 +0000)]
Simon says: it is finished
Miek Gieben [Wed, 13 Apr 2005 11:05:44 +0000 (11:05 +0000)]
really clean the resolver list
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)
Miek Gieben [Tue, 12 Apr 2005 14:02:53 +0000 (14:02 +0000)]
some debug
Miek Gieben [Tue, 12 Apr 2005 13:46:20 +0000 (13:46 +0000)]
changed comment
Miek Gieben [Tue, 12 Apr 2005 13:43:11 +0000 (13:43 +0000)]
another nice program from the master
Miek Gieben [Tue, 12 Apr 2005 12:57:49 +0000 (12:57 +0000)]
dprintf as debug thingy added in util.h
Miek Gieben [Tue, 12 Apr 2005 12:42:15 +0000 (12:42 +0000)]
more libtool changes, it still doesn\'t keep its mouth shut
Miek Gieben [Tue, 12 Apr 2005 12:08:30 +0000 (12:08 +0000)]
libtool advances - it actually creates something
Jelte Jansen [Tue, 12 Apr 2005 10:37:56 +0000 (10:37 +0000)]
made a start with supporting other algorithms for tsig
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
Miek Gieben [Mon, 11 Apr 2005 10:43:28 +0000 (10:43 +0000)]
now it really should work (cleanly)
Miek Gieben [Mon, 11 Apr 2005 09:58:13 +0000 (09:58 +0000)]
it works! Check this in to have get a revision
Jelte Jansen [Thu, 7 Apr 2005 13:39:10 +0000 (13:39 +0000)]
minor improvements in dsa creation, not working completely yet
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
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
Miek Gieben [Thu, 7 Apr 2005 12:41:27 +0000 (12:41 +0000)]
rrsig rdata as LDNS_RDF_TYPE_TIME
Miek Gieben [Thu, 7 Apr 2005 12:16:41 +0000 (12:16 +0000)]
we have too many functions
Miek Gieben [Thu, 7 Apr 2005 11:17:16 +0000 (11:17 +0000)]
some ugly free's added
Miek Gieben [Thu, 7 Apr 2005 11:08:36 +0000 (11:08 +0000)]
exit(0)
Miek Gieben [Thu, 7 Apr 2005 11:03:40 +0000 (11:03 +0000)]
the TTL is now optional and mnemomics can used (1d1h) etc
Miek Gieben [Thu, 7 Apr 2005 10:41:49 +0000 (10:41 +0000)]
strtottl added
Miek Gieben [Thu, 7 Apr 2005 09:04:55 +0000 (09:04 +0000)]
robustness checks in dnssec stuff
Miek Gieben [Thu, 7 Apr 2005 08:55:51 +0000 (08:55 +0000)]
removed printfs. Return NULL on rr conversion failures
Miek Gieben [Thu, 7 Apr 2005 08:43:56 +0000 (08:43 +0000)]
\DDD is working
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
Jelte Jansen [Thu, 7 Apr 2005 08:38:22 +0000 (08:38 +0000)]
neater handling of no response
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
Miek Gieben [Wed, 6 Apr 2005 11:44:26 +0000 (11:44 +0000)]
duh, you need to double escape the escapes
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
Miek Gieben [Wed, 6 Apr 2005 08:59:53 +0000 (08:59 +0000)]
\'port\' of zoctect - see the comments. What to do?
Miek Gieben [Wed, 6 Apr 2005 08:53:54 +0000 (08:53 +0000)]
correct placement of the freeing of rdata again
Miek Gieben [Wed, 6 Apr 2005 08:43:06 +0000 (08:43 +0000)]
aah, the joy of return codes
Miek Gieben [Wed, 6 Apr 2005 08:17:35 +0000 (08:17 +0000)]
removed normalize as it did nothing extra anymore
Jelte Jansen [Wed, 6 Apr 2005 08:04:07 +0000 (08:04 +0000)]
tokenizer now skips multiple occurrences of delimiters in a row
Miek Gieben [Tue, 5 Apr 2005 14:23:45 +0000 (14:23 +0000)]
return the rr, up until the parsing went wrong
Miek Gieben [Tue, 5 Apr 2005 14:05:40 +0000 (14:05 +0000)]
removed double FREEs, lint checks
Miek Gieben [Tue, 5 Apr 2005 13:42:48 +0000 (13:42 +0000)]
removed comment
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
Jelte Jansen [Tue, 5 Apr 2005 12:46:18 +0000 (12:46 +0000)]
removed dead code
fixed memory leaks
Jelte Jansen [Tue, 5 Apr 2005 09:44:52 +0000 (09:44 +0000)]
replaced sscanf with tokenizer
added some debug messages
Jelte Jansen [Mon, 4 Apr 2005 14:28:42 +0000 (14:28 +0000)]
memory was off by 1
Jelte Jansen [Mon, 4 Apr 2005 11:59:41 +0000 (11:59 +0000)]
memories
Jelte Jansen [Mon, 4 Apr 2005 09:43:29 +0000 (09:43 +0000)]
fixed EOF check when reading resolv.conf (entered infinite loop here)
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
Miek Gieben [Thu, 31 Mar 2005 13:51:09 +0000 (13:51 +0000)]
killed readword - can now slowly convert /etc/resolv.conf parse function
Miek Gieben [Thu, 31 Mar 2005 13:43:50 +0000 (13:43 +0000)]
ready to transform ldns_resolver_new_frm_fp
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)
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
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
Miek Gieben [Thu, 31 Mar 2005 08:04:58 +0000 (08:04 +0000)]
some thoughts
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....
Miek Gieben [Wed, 30 Mar 2005 15:37:39 +0000 (15:37 +0000)]
corrected includes
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
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
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
Miek Gieben [Thu, 24 Mar 2005 13:19:45 +0000 (13:19 +0000)]
move comments to header files
Miek Gieben [Thu, 24 Mar 2005 12:46:38 +0000 (12:46 +0000)]
dsa is also a bit of a mess :(
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
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
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)
Jelte Jansen [Wed, 23 Mar 2005 12:39:01 +0000 (12:39 +0000)]
doxygen comments -> .h + tweaking
Miek Gieben [Wed, 23 Mar 2005 12:37:01 +0000 (12:37 +0000)]
crypto sign/verification fails
Miek Gieben [Wed, 23 Mar 2005 12:33:07 +0000 (12:33 +0000)]
debugging added - for testing on open
Miek Gieben [Wed, 23 Mar 2005 12:22:31 +0000 (12:22 +0000)]
tweaks
make lint is now called in the StartTest@open
Miek Gieben [Wed, 23 Mar 2005 12:16:11 +0000 (12:16 +0000)]
some thought and examples on parsing
Miek Gieben [Wed, 23 Mar 2005 12:10:23 +0000 (12:10 +0000)]
only check real sources - bail out if lint check fails
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
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
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
Miek Gieben [Wed, 23 Mar 2005 10:17:03 +0000 (10:17 +0000)]
also set the flag in the priv key struct
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)
Jelte Jansen [Tue, 22 Mar 2005 15:08:02 +0000 (15:08 +0000)]
more lint, removed obsolete tests
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)
Miek Gieben [Tue, 22 Mar 2005 13:48:34 +0000 (13:48 +0000)]
ok, still doesn't fully work. I quit
Miek Gieben [Tue, 22 Mar 2005 13:45:39 +0000 (13:45 +0000)]
debug's weg
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.
Jelte Jansen [Tue, 22 Mar 2005 13:36:18 +0000 (13:36 +0000)]
moved all obsolete tests to test/