]> git.ipfire.org Git - thirdparty/ldns.git/log
thirdparty/ldns.git
20 years agoadd portnumber to the api, remove doxygen comments from the higher.c
Miek Gieben [Tue, 11 Apr 2006 11:36:34 +0000 (11:36 +0000)] 
add portnumber to the api, remove doxygen comments from the higher.c
file
minor other tweaks

20 years agoleftovers
Jelte Jansen [Tue, 11 Apr 2006 11:02:26 +0000 (11:02 +0000)] 
leftovers

20 years ago-x works correctly for (parts of) ipv4 ip addresses
Jelte Jansen [Tue, 11 Apr 2006 10:56:16 +0000 (10:56 +0000)] 
-x works correctly for (parts of) ipv4 ip addresses

20 years agoreverse: if no type is given default to PTR otherwise use the type from the cmd line
Miek Gieben [Mon, 10 Apr 2006 13:17:18 +0000 (13:17 +0000)] 
reverse: if no type is given default to PTR otherwise use the type from the cmd line

20 years agodoes this work?
Jelte Jansen [Mon, 10 Apr 2006 11:35:34 +0000 (11:35 +0000)] 
does this work?

20 years agoreturn 0 always - as the check is not 100% and most of the docs are there
Miek Gieben [Mon, 10 Apr 2006 10:47:18 +0000 (10:47 +0000)] 
return 0 always - as the check is not 100% and most of the docs are there

20 years agodoc updates
Miek Gieben [Mon, 10 Apr 2006 10:01:38 +0000 (10:01 +0000)] 
doc updates

20 years agosmall man page change
Jelte Jansen [Mon, 10 Apr 2006 09:39:45 +0000 (09:39 +0000)] 
small man page change

20 years agoupdate.h manpages
Miek Gieben [Mon, 10 Apr 2006 09:39:11 +0000 (09:39 +0000)] 
update.h manpages

20 years agodocumentation updates
Miek Gieben [Mon, 10 Apr 2006 09:33:58 +0000 (09:33 +0000)] 
documentation updates

20 years agooops
Jelte Jansen [Mon, 10 Apr 2006 09:20:50 +0000 (09:20 +0000)] 
oops

20 years agomemories
Jelte Jansen [Mon, 10 Apr 2006 09:16:46 +0000 (09:16 +0000)] 
memories

20 years agoexcept for the 'nothing-to-do' message behaviour is the same for all-static and ...
Jelte Jansen [Mon, 10 Apr 2006 08:35:17 +0000 (08:35 +0000)] 
except for the 'nothing-to-do' message behaviour is the same for all-static and %-stc targets now

20 years agoadded all-static and %-stc targets to examples makefile
Jelte Jansen [Sun, 9 Apr 2006 23:15:45 +0000 (23:15 +0000)] 
added all-static and %-stc targets to examples makefile
this will recompile the examples with libldns.a instead of with a dynamic library dependency.
it will always recompile the program(s), no check if it is up to date.

20 years agodirect compile for examples. replaced single targets with magic line, now to add...
Jelte Jansen [Sun, 9 Apr 2006 22:04:33 +0000 (22:04 +0000)] 
direct compile for examples. replaced single targets with magic line, now to add a program just append it to programs list

20 years agomore betterness
Jelte Jansen [Sun, 9 Apr 2006 21:21:07 +0000 (21:21 +0000)] 
more betterness

20 years agoand fixed test
Jelte Jansen [Sun, 9 Apr 2006 13:12:37 +0000 (13:12 +0000)] 
and fixed test

20 years agobuild stuff was still broken (didn't work from clean build in different dir)
Jelte Jansen [Sun, 9 Apr 2006 13:05:29 +0000 (13:05 +0000)] 
build stuff was still broken (didn't work from clean build in different dir)
should work now: header files are only copied if newer. dependencies on .c files are working, and if you change one header file everything is recompiled to prevent linker errors.

20 years agotypo
Jelte Jansen [Thu, 6 Apr 2006 14:26:34 +0000 (14:26 +0000)] 
typo

20 years agolinktest hoeft toch niet apart
Jelte Jansen [Thu, 6 Apr 2006 14:06:20 +0000 (14:06 +0000)] 
linktest hoeft toch niet apart

20 years agoldns_pkt_rcode
Jelte Jansen [Thu, 6 Apr 2006 13:48:22 +0000 (13:48 +0000)] 
ldns_pkt_rcode

20 years agolinktest uit all
Jelte Jansen [Thu, 6 Apr 2006 13:44:23 +0000 (13:44 +0000)] 
linktest uit all
(moet dus nog wel ergens terug in compile test)

20 years agoalso check answer sections for differences
Jelte Jansen [Thu, 6 Apr 2006 12:51:38 +0000 (12:51 +0000)] 
also check answer sections for differences

20 years agouse the correct target
Miek Gieben [Thu, 6 Apr 2006 12:48:43 +0000 (12:48 +0000)] 
use the correct target

20 years agomake ssl compile more correct
Miek Gieben [Thu, 6 Apr 2006 12:43:34 +0000 (12:43 +0000)] 
make ssl compile more correct

20 years agomake creation of include dir seperate step: make local-install
Miek Gieben [Thu, 6 Apr 2006 12:39:47 +0000 (12:39 +0000)] 
make creation of include dir seperate step: make local-install
fix compile test for that

20 years agoadd slowness to doc
Miek Gieben [Thu, 6 Apr 2006 12:21:13 +0000 (12:21 +0000)] 
add slowness to doc

20 years agodependency on .h files
Jelte Jansen [Thu, 6 Apr 2006 12:01:28 +0000 (12:01 +0000)] 
dependency on .h files

20 years agosrcdir readded
Jelte Jansen [Thu, 6 Apr 2006 11:56:07 +0000 (11:56 +0000)] 
srcdir readded

20 years agonicer verbose output
Jelte Jansen [Thu, 6 Apr 2006 11:48:59 +0000 (11:48 +0000)] 
nicer verbose output

20 years agomake works as it supposed to work
Miek Gieben [Thu, 6 Apr 2006 11:41:06 +0000 (11:41 +0000)] 
make works as it supposed to work

20 years agolint
Jelte Jansen [Thu, 6 Apr 2006 10:46:46 +0000 (10:46 +0000)] 
lint

20 years agorevert changes
Miek Gieben [Thu, 6 Apr 2006 10:39:21 +0000 (10:39 +0000)] 
revert changes

20 years agofixed root server reader again
Jelte Jansen [Thu, 6 Apr 2006 10:24:43 +0000 (10:24 +0000)] 
fixed root server reader again
option arguments need not be separated by space anymore

20 years agoonly compile what is needed, touching the headers still doesn't trigger site wide...
Miek Gieben [Thu, 6 Apr 2006 10:16:04 +0000 (10:16 +0000)] 
only compile what is needed, touching the headers still doesn't trigger site wide re-compile

20 years agosome error messages
Jelte Jansen [Thu, 6 Apr 2006 10:09:27 +0000 (10:09 +0000)] 
some error messages

20 years agofixes
Jelte Jansen [Thu, 6 Apr 2006 09:58:44 +0000 (09:58 +0000)] 
fixes

20 years agoonly check z not *z when assigning in zone.c
Miek Gieben [Thu, 6 Apr 2006 09:47:17 +0000 (09:47 +0000)] 
only check z not *z when assigning in zone.c
keyfetch: use ldns_zone_new_frm_fp_l

20 years agodo not set DO bit + EDNS by default (some servers return FORMERR on edns)
Jelte Jansen [Thu, 6 Apr 2006 09:40:34 +0000 (09:40 +0000)] 
do not set DO bit + EDNS by default (some servers return FORMERR on edns)
just use -D if you want dnssec handling

20 years agochange this prototype too, pkt in the first arg and return status
Miek Gieben [Thu, 6 Apr 2006 09:14:26 +0000 (09:14 +0000)] 
change this prototype too, pkt in the first arg and return status

20 years agoand another 2 (!) byte memory leak
Jelte Jansen [Thu, 6 Apr 2006 09:13:35 +0000 (09:13 +0000)] 
and another 2 (!) byte memory leak

20 years agofree the alloced data
Jelte Jansen [Thu, 6 Apr 2006 09:09:17 +0000 (09:09 +0000)] 
free the alloced data

20 years agocommented out perrors
Jelte Jansen [Thu, 6 Apr 2006 09:02:58 +0000 (09:02 +0000)] 
commented out perrors

20 years agotest for zone with ; at last line
Miek Gieben [Thu, 6 Apr 2006 08:52:04 +0000 (08:52 +0000)] 
test for zone with ; at last line

20 years agoadded a new status that signals: no error, but nothing was read
Miek Gieben [Thu, 6 Apr 2006 08:44:26 +0000 (08:44 +0000)] 
added a new status that signals: no error, but nothing was read
adjust zone reader to check for this

20 years agoput the eof check in the get function
Miek Gieben [Thu, 6 Apr 2006 08:05:16 +0000 (08:05 +0000)] 
put the eof check in the get function

20 years agoinitial version of ldns-keyfetcher
Jelte Jansen [Wed, 5 Apr 2006 14:55:37 +0000 (14:55 +0000)] 
initial version of ldns-keyfetcher

20 years agodon't use functions that alloc without storing the pointer they return to free it...
Jelte Jansen [Wed, 5 Apr 2006 14:44:30 +0000 (14:44 +0000)] 
don't use functions that alloc without storing the pointer they return to free it again

20 years agofree alloced data on error in net.c
Jelte Jansen [Wed, 5 Apr 2006 12:08:19 +0000 (12:08 +0000)] 
free alloced data on error in net.c
don't realloc twice in net.c
free alloced data in packet.c

20 years agocorrectly parse $TTL directive (we ofcourse already had that function)
Miek Gieben [Wed, 5 Apr 2006 09:48:51 +0000 (09:48 +0000)] 
correctly parse $TTL directive (we ofcourse already had that function)
ldns-read-zone now crashes on empty input, but that is related
to the feof(fp) stuff (I guess)

20 years agoremoved duplicate error
Jelte Jansen [Wed, 5 Apr 2006 09:41:07 +0000 (09:41 +0000)] 
removed duplicate error

20 years agocorrectly see $TTL again
Miek Gieben [Wed, 5 Apr 2006 09:37:06 +0000 (09:37 +0000)] 
correctly see $TTL again
added extra status to say: seen TTL, haven't got an rr

need parser for ttls: 1H -> 3600, not 1

20 years agomiek, please check this patch (might need another status code + special case when...
Jelte Jansen [Wed, 5 Apr 2006 08:59:31 +0000 (08:59 +0000)] 
miek, please check this patch (might need another status code + special case when reading files instead of this solution)
(problem is that eof is only set after the parser sees the error (which is 'no input'))

20 years agocomplete the api change, port examples and drill
Miek Gieben [Tue, 4 Apr 2006 14:09:16 +0000 (14:09 +0000)] 
complete the api change, port examples and drill

20 years agovalue was only set when... value had already been set
Jelte Jansen [Tue, 4 Apr 2006 14:05:10 +0000 (14:05 +0000)] 
value was only set when... value had already been set

20 years agoforgot to commit this one too
Jelte Jansen [Tue, 4 Apr 2006 13:47:51 +0000 (13:47 +0000)] 
forgot to commit this one too

20 years agoldns_rdata_new_frm_fp is changed to be in line with the other frm_file functions
Miek Gieben [Tue, 4 Apr 2006 13:33:19 +0000 (13:33 +0000)] 
ldns_rdata_new_frm_fp is changed to be in line with the other frm_file functions

20 years agoadded compare on rr_lists
Jelte Jansen [Tue, 4 Apr 2006 13:33:05 +0000 (13:33 +0000)] 
added compare on rr_lists
added string for NULL error
fixed some memory leaks

20 years agoapi change: ldns_key_new_frm_fp will now also return a status
Miek Gieben [Tue, 4 Apr 2006 13:21:13 +0000 (13:21 +0000)] 
api change: ldns_key_new_frm_fp will now also return a status

20 years agoapi change for ldns_new_zone_frm_* functions
Miek Gieben [Tue, 4 Apr 2006 12:59:39 +0000 (12:59 +0000)] 
api change for ldns_new_zone_frm_* functions

20 years agofixed with help from Jelte
Miek Gieben [Tue, 4 Apr 2006 12:42:26 +0000 (12:42 +0000)] 
fixed with help from Jelte

20 years agofixes: lint and 12 unit test
Miek Gieben [Tue, 4 Apr 2006 12:30:06 +0000 (12:30 +0000)] 
fixes: lint and 12 unit test

20 years agofix 1 fault
Miek Gieben [Tue, 4 Apr 2006 12:21:18 +0000 (12:21 +0000)] 
fix 1 fault

20 years agosome fixes - drill should compile
Miek Gieben [Tue, 4 Apr 2006 11:52:44 +0000 (11:52 +0000)] 
some fixes - drill should compile

20 years agoand now from the correct directory
Miek Gieben [Tue, 4 Apr 2006 11:10:08 +0000 (11:10 +0000)] 
and now from the correct directory

20 years agoapi change
Miek Gieben [Tue, 4 Apr 2006 11:09:02 +0000 (11:09 +0000)] 
api change
the rr is now returned as parameter and ldns_rr_new_frm_str will return
a status mesg

20 years agofixed two possible nullpointers
Jelte Jansen [Tue, 4 Apr 2006 09:09:50 +0000 (09:09 +0000)] 
fixed two possible nullpointers

20 years agofix a number of segfault. piping /dev/urandom in resolver_frm_file now
Miek Gieben [Wed, 29 Mar 2006 13:14:59 +0000 (13:14 +0000)] 
fix a number of segfault. piping /dev/urandom in resolver_frm_file now
work and doesn't crash, same goes for reading zone file (and thus
reading rrs). Stuff looks much more robust.

And... who would have guessed that /dev/urandom is a valid zonefile...?

head -1000 /dev/urandom | ./ldns-read-zone

minus the SOA of course

20 years agoimportant fixes
Miek Gieben [Wed, 29 Mar 2006 12:38:06 +0000 (12:38 +0000)] 
important fixes

20 years agolintje
Jelte Jansen [Wed, 29 Mar 2006 08:26:53 +0000 (08:26 +0000)] 
lintje

20 years agoshow actual wire data on highest verbosity level if dns packet contains error
Jelte Jansen [Wed, 29 Mar 2006 07:50:24 +0000 (07:50 +0000)] 
show actual wire data on highest verbosity level if dns packet contains error

20 years agofoei.
Jelte Jansen [Tue, 28 Mar 2006 12:14:02 +0000 (12:14 +0000)] 
foei.

20 years agonull check
Jelte Jansen [Tue, 28 Mar 2006 09:44:13 +0000 (09:44 +0000)] 
null check

20 years agoadd the file
Miek Gieben [Mon, 27 Mar 2006 13:52:52 +0000 (13:52 +0000)] 
add the file

20 years agoremove: no new feature until after 1.1
Miek Gieben [Mon, 27 Mar 2006 13:51:14 +0000 (13:51 +0000)] 
remove: no new feature until after 1.1

20 years agoupdate todo
Miek Gieben [Mon, 27 Mar 2006 13:46:53 +0000 (13:46 +0000)] 
update todo

20 years agomemcopy befoore free
Jelte Jansen [Mon, 27 Mar 2006 13:39:05 +0000 (13:39 +0000)] 
memcopy befoore free

20 years agoapparently if had forgotten to commit this:
Jelte Jansen [Mon, 27 Mar 2006 09:10:23 +0000 (09:10 +0000)] 
apparently if had forgotten to commit this:
b64 zero length string special case

20 years agohandle comments in resolv.conf and be much more robust
Miek Gieben [Thu, 23 Mar 2006 10:48:58 +0000 (10:48 +0000)] 
handle comments in resolv.conf and be much more robust

20 years agotest for drill -f /urandom. Nice fuzzy test
Miek Gieben [Wed, 22 Mar 2006 16:31:55 +0000 (16:31 +0000)] 
test for drill -f /urandom. Nice fuzzy test

20 years agofail gracefully when reading bogus packets
Miek Gieben [Wed, 22 Mar 2006 16:23:14 +0000 (16:23 +0000)] 
fail gracefully when reading bogus packets

20 years agosmall fixlet - but doesn't fix the crash :(
Miek Gieben [Wed, 22 Mar 2006 16:17:20 +0000 (16:17 +0000)] 
small fixlet - but doesn't fix the crash :(

20 years agodrill now adds edns data etc when writing query to hex file
Jelte Jansen [Wed, 22 Mar 2006 00:48:17 +0000 (00:48 +0000)] 
drill now adds edns data etc when writing query to hex file
ldns needed a small refactoring for this (it was done implicitely when preparing to send a query from a resolver struct)

20 years agoignore more files: all coding stuff there is length related
Miek Gieben [Wed, 15 Mar 2006 09:31:37 +0000 (09:31 +0000)] 
ignore more files: all coding stuff there is length related

open's indent might think differently

20 years agocoding style - dont' check linktest.c
Miek Gieben [Wed, 15 Mar 2006 09:13:27 +0000 (09:13 +0000)] 
coding style - dont' check linktest.c

20 years agocoding style and updated coding test (not all files are checked)
Miek Gieben [Wed, 15 Mar 2006 09:00:27 +0000 (09:00 +0000)] 
coding style and updated coding test (not all files are checked)

20 years agorenamed compiletest to linktest
Jelte Jansen [Wed, 15 Mar 2006 08:14:09 +0000 (08:14 +0000)] 
renamed compiletest to linktest
replaced -lldns with $(LDFLAGS) for correct linking with any optional libraries like ssl

20 years agoupdate test desc
Miek Gieben [Tue, 14 Mar 2006 14:49:57 +0000 (14:49 +0000)] 
update test desc

20 years agodead code removed
Miek Gieben [Tue, 14 Mar 2006 14:45:02 +0000 (14:45 +0000)] 
dead code removed
coding style
util.c: removed soa serial stuff, not needed here

20 years agocoding style, removed dead code
Miek Gieben [Tue, 14 Mar 2006 13:49:38 +0000 (13:49 +0000)] 
coding style, removed dead code

20 years agocoding style
Miek Gieben [Tue, 14 Mar 2006 13:38:56 +0000 (13:38 +0000)] 
coding style

20 years agocoding style, pcat readme removed
Miek Gieben [Tue, 14 Mar 2006 13:27:15 +0000 (13:27 +0000)] 
coding style, pcat readme removed

20 years agoadd coding style test
Miek Gieben [Tue, 14 Mar 2006 13:20:28 +0000 (13:20 +0000)] 
add coding style test

20 years agosmall mandatory compiletest to see if the library was built correctly
Jelte Jansen [Mon, 13 Mar 2006 14:34:39 +0000 (14:34 +0000)] 
small mandatory compiletest to see if the library was built correctly

20 years agofail after 1000 times
Miek Gieben [Mon, 13 Mar 2006 14:08:59 +0000 (14:08 +0000)] 
fail after 1000 times

20 years agopossible endless loop in make clean
Jelte Jansen [Mon, 13 Mar 2006 12:57:52 +0000 (12:57 +0000)] 
possible endless loop in make clean

20 years agouse the correct modulo value
Miek Gieben [Mon, 13 Mar 2006 11:58:01 +0000 (11:58 +0000)] 
use the correct modulo value

20 years agolet all utils use the new ascii format and
Miek Gieben [Mon, 13 Mar 2006 10:07:47 +0000 (10:07 +0000)] 
let all utils use the new ascii format and
ste line to NULL so that realloc works

20 years agoadd prototype
Miek Gieben [Mon, 13 Mar 2006 09:52:09 +0000 (09:52 +0000)] 
add prototype

20 years agoadded getdelim.c because freebsd doesn't have it
Miek Gieben [Mon, 13 Mar 2006 09:47:29 +0000 (09:47 +0000)] 
added getdelim.c because freebsd doesn't have it