]> git.ipfire.org Git - thirdparty/ldns.git/log
thirdparty/ldns.git
21 years agoHUGE cleanup of the resolver
Miek Gieben [Tue, 25 Jan 2005 14:06:16 +0000 (14:06 +0000)] 
HUGE cleanup of the resolver

21 years agoWOW - only 2 changes needed :-)
Miek Gieben [Tue, 25 Jan 2005 13:29:34 +0000 (13:29 +0000)] 
WOW - only 2 changes needed :-)

21 years agocompiles again. Started on converting everything
Miek Gieben [Tue, 25 Jan 2005 13:27:56 +0000 (13:27 +0000)] 
compiles again. Started on converting everything

21 years agoresolver tweaks
Miek Gieben [Tue, 25 Jan 2005 13:20:24 +0000 (13:20 +0000)] 
resolver tweaks
ldns_dname added in rdata.h
ldns.h now includes resolver.h

21 years agoremoved rdata.h design info
Miek Gieben [Tue, 25 Jan 2005 12:54:28 +0000 (12:54 +0000)] 
removed rdata.h design info

21 years agooverview doc addded
Miek Gieben [Tue, 25 Jan 2005 12:36:40 +0000 (12:36 +0000)] 
overview doc addded

21 years agodocumentation can now be generated from doxygen
Miek Gieben [Mon, 24 Jan 2005 15:25:11 +0000 (15:25 +0000)] 
documentation can now be generated from doxygen

21 years agodoc update and ofcourse no program is complete without perl-helper programs
Miek Gieben [Mon, 24 Jan 2005 15:04:17 +0000 (15:04 +0000)] 
doc update and ofcourse no program is complete without perl-helper programs

21 years agoadded run-test4 (from the documentation)
Miek Gieben [Mon, 24 Jan 2005 13:45:36 +0000 (13:45 +0000)] 
added run-test4 (from the documentation)
program will not compile (yet), but should in a few
days

21 years agodo the right thing
Miek Gieben [Mon, 24 Jan 2005 13:31:20 +0000 (13:31 +0000)] 
do the right thing

21 years agopfewww. str2rdf_dname does something
Miek Gieben [Mon, 24 Jan 2005 13:27:58 +0000 (13:27 +0000)] 
pfewww. str2rdf_dname does something

21 years agopartially str2rdf_dname
Miek Gieben [Mon, 24 Jan 2005 11:27:23 +0000 (11:27 +0000)] 
partially str2rdf_dname

21 years agoB64 define in buffer
Miek Gieben [Mon, 24 Jan 2005 10:24:25 +0000 (10:24 +0000)] 
B64 define in buffer
added _frm_data to rdf_new to copy pointer contents
moved to new function in str2host

21 years agodoh
Jelte Jansen [Fri, 21 Jan 2005 10:16:55 +0000 (10:16 +0000)] 
doh

21 years agostr/txt conversion added
Miek Gieben [Thu, 20 Jan 2005 15:24:03 +0000 (15:24 +0000)] 
str/txt conversion added

21 years agofixed dname thingy to void* change
Jelte Jansen [Thu, 20 Jan 2005 15:17:42 +0000 (15:17 +0000)] 
fixed dname thingy to void* change

21 years agoadded dns.h for dns specific defines
Miek Gieben [Thu, 20 Jan 2005 15:03:56 +0000 (15:03 +0000)] 
added dns.h for dns specific defines
added str2rdf for A and AAAA
assorted updates and stuff

and.... it compiles :) With a lot of warnings though

21 years agoldns_rdf2buffer_dname is nu helemaal kapot - kan ik zo 123 niet fixen
Miek Gieben [Thu, 20 Jan 2005 14:54:40 +0000 (14:54 +0000)] 
ldns_rdf2buffer_dname is nu helemaal kapot - kan ik zo 123 niet fixen
De rest compileert, dus void* lijkt goed te gaan

21 years agominor tweaks
Miek Gieben [Thu, 20 Jan 2005 14:23:00 +0000 (14:23 +0000)] 
minor tweaks

21 years agotest
Jelte Jansen [Thu, 20 Jan 2005 14:21:16 +0000 (14:21 +0000)] 
test

21 years agobogus check commmit
Miek Gieben [Thu, 20 Jan 2005 14:14:25 +0000 (14:14 +0000)] 
bogus check commmit

21 years agofunction names more inline with the rest
Miek Gieben [Thu, 20 Jan 2005 13:53:38 +0000 (13:53 +0000)] 
function names more inline with the rest

21 years agoheader made matching
Miek Gieben [Thu, 20 Jan 2005 13:24:05 +0000 (13:24 +0000)] 
header made matching

21 years agoadded skeleton function for str2host conversion routines.
Miek Gieben [Thu, 20 Jan 2005 13:15:44 +0000 (13:15 +0000)] 
added skeleton function for str2host conversion routines.

21 years agooff by 1
Jelte Jansen [Thu, 20 Jan 2005 12:48:46 +0000 (12:48 +0000)] 
off by 1

21 years agomake sure everything in example is in the doc
Miek Gieben [Thu, 20 Jan 2005 11:03:39 +0000 (11:03 +0000)] 
make sure everything in example is in the doc

21 years agomore stuff added
Miek Gieben [Thu, 20 Jan 2005 10:55:07 +0000 (10:55 +0000)] 
more stuff added

21 years agomoved example into API.xml
Miek Gieben [Wed, 19 Jan 2005 16:03:23 +0000 (16:03 +0000)] 
moved example into API.xml

21 years agoxmlified documentation. It's almost there
Miek Gieben [Wed, 19 Jan 2005 15:15:44 +0000 (15:15 +0000)] 
xmlified documentation. It's almost there

21 years agojelte comments
Miek Gieben [Wed, 19 Jan 2005 14:06:22 +0000 (14:06 +0000)] 
jelte comments

21 years agoadded APL printing
Jelte Jansen [Wed, 19 Jan 2005 13:52:05 +0000 (13:52 +0000)] 
added APL printing

21 years agofixed some tabbing
Jelte Jansen [Wed, 19 Jan 2005 12:31:22 +0000 (12:31 +0000)] 
fixed some tabbing
fixed allocation bug in some b64 call
added NSEC printing

21 years agoI hate documenting. I hate documentation
Miek Gieben [Wed, 19 Jan 2005 10:26:26 +0000 (10:26 +0000)] 
I hate documenting. I hate documentation

21 years agodoc doc doc doc
Miek Gieben [Wed, 19 Jan 2005 10:17:52 +0000 (10:17 +0000)] 
doc doc doc doc

21 years agoconcatted all _api files together. forget doxygen for this
Miek Gieben [Tue, 18 Jan 2005 14:28:54 +0000 (14:28 +0000)] 
concatted all _api files together. forget doxygen for this

21 years agohmm, doxygen complains about wrong documentation
Miek Gieben [Tue, 18 Jan 2005 13:56:41 +0000 (13:56 +0000)] 
hmm, doxygen complains about wrong documentation

21 years ago:p
Jelte Jansen [Tue, 18 Jan 2005 13:05:45 +0000 (13:05 +0000)] 
:p

21 years agofixed dname label count error
Jelte Jansen [Tue, 18 Jan 2005 12:48:39 +0000 (12:48 +0000)] 
fixed dname label count error
added some exotic rrtype support

21 years agomucho doxygen aanpassingen
Miek Gieben [Tue, 18 Jan 2005 12:45:24 +0000 (12:45 +0000)] 
mucho doxygen aanpassingen

21 years agoprepare for doxygen documentation
Miek Gieben [Tue, 18 Jan 2005 10:29:00 +0000 (10:29 +0000)] 
prepare for doxygen documentation

21 years agodocs added. Comments from Jelte processed
Miek Gieben [Mon, 17 Jan 2005 12:35:01 +0000 (12:35 +0000)] 
docs added. Comments from Jelte processed

21 years agottl is 32 bits
Miek Gieben [Mon, 17 Jan 2005 10:25:15 +0000 (10:25 +0000)] 
ttl is 32 bits

21 years agomore stuff added
Miek Gieben [Wed, 12 Jan 2005 14:31:52 +0000 (14:31 +0000)] 
more stuff added

21 years agogazillion includes to make it compile on freebsd
Miek Gieben [Wed, 12 Jan 2005 13:55:54 +0000 (13:55 +0000)] 
gazillion includes to make it compile on freebsd

21 years agostart of making ldns network aware
Miek Gieben [Wed, 12 Jan 2005 13:48:56 +0000 (13:48 +0000)] 
start of making ldns network aware

21 years agofixed some rdata definitions
Jelte Jansen [Wed, 12 Jan 2005 13:39:39 +0000 (13:39 +0000)] 
fixed some rdata definitions
added some 2buffer rr types

21 years agoadded ipv6 flag
Miek Gieben [Wed, 12 Jan 2005 12:35:43 +0000 (12:35 +0000)] 
added ipv6 flag

21 years agonet.c: put all your net stuff here
Miek Gieben [Tue, 11 Jan 2005 12:44:26 +0000 (12:44 +0000)] 
net.c: put all your net stuff here

21 years agomore access functions, nothing fancy (yet)
Miek Gieben [Tue, 11 Jan 2005 12:11:49 +0000 (12:11 +0000)] 
more access functions, nothing fancy (yet)

21 years agoadding the file might help
Miek Gieben [Tue, 11 Jan 2005 11:23:07 +0000 (11:23 +0000)] 
adding the file might help

21 years agoread/write access functions for the resolver struct
Miek Gieben [Tue, 11 Jan 2005 11:16:16 +0000 (11:16 +0000)] 
read/write access functions for the resolver struct
nothing fancy

21 years agoadded wire2host & host2str support for some basic types and WKS
Jelte Jansen [Tue, 11 Jan 2005 10:59:49 +0000 (10:59 +0000)] 
added wire2host & host2str support for some basic types and WKS

21 years agoreadded int48 as TSIGTIME. Is it _only_ used in tsig??
Miek Gieben [Tue, 11 Jan 2005 10:42:50 +0000 (10:42 +0000)] 
readded int48 as TSIGTIME. Is it _only_ used in tsig??

21 years agoadded resolver.h
Miek Gieben [Tue, 11 Jan 2005 10:37:18 +0000 (10:37 +0000)] 
added resolver.h

Started imp. of the Net::DNS::Resolver object
query funtions (to be written) should operate on this
structure and return a ldns_pkt

21 years agoadded TODO - to keep track on what I was doing and want to be doing
Miek Gieben [Tue, 11 Jan 2005 10:35:14 +0000 (10:35 +0000)] 
added TODO - to keep track on what I was doing and want to be doing
updated syntax file for vim
added make tags

21 years agoremoved the INT48 stuff
Miek Gieben [Tue, 11 Jan 2005 09:49:28 +0000 (09:49 +0000)] 
removed the INT48 stuff

21 years agoadded status flag in ldns_buffer, and removed all extra buffer_printf return checks...
Jelte Jansen [Mon, 10 Jan 2005 10:23:29 +0000 (10:23 +0000)] 
added status flag in ldns_buffer, and removed all extra buffer_printf return checks from host2str.c
(some choices could probably use some discussion :)

21 years agofixed bug in wire2rdf_str
Jelte Jansen [Fri, 24 Dec 2004 12:49:23 +0000 (12:49 +0000)] 
fixed bug in wire2rdf_str

21 years agoadded new test that reads packet from drill-formatted hexdump
Jelte Jansen [Fri, 24 Dec 2004 11:34:38 +0000 (11:34 +0000)] 
added new test that reads packet from drill-formatted hexdump
(which can be created with drill -w <file> <query>), for wire2host
and host2str testing)

added example hexdump packet (which is read if no filename is given)

fixed bug when reading bad rcode

21 years agooops
Jelte Jansen [Fri, 24 Dec 2004 10:24:04 +0000 (10:24 +0000)] 
oops

21 years agoadded lookup tables for rcodes and opcodes
Jelte Jansen [Fri, 24 Dec 2004 10:22:48 +0000 (10:22 +0000)] 
added lookup tables for rcodes and opcodes

21 years agoadded test targets for easier testing
Jelte Jansen [Fri, 24 Dec 2004 10:22:34 +0000 (10:22 +0000)] 
added test targets for easier testing

21 years agolittle experiment with checks for *all* buffer printfs...
Jelte Jansen [Thu, 23 Dec 2004 15:13:44 +0000 (15:13 +0000)] 
little experiment with checks for *all* buffer printfs...

21 years agouse **rd in str2host - modified some header, removed statis from buffer2str - tested...
Miek Gieben [Thu, 23 Dec 2004 13:50:40 +0000 (13:50 +0000)] 
use **rd in str2host - modified some header, removed statis from buffer2str - tested str2host functions

21 years agoother test packet in run-test0
Jelte Jansen [Thu, 23 Dec 2004 12:26:03 +0000 (12:26 +0000)] 
other test packet in run-test0
fixed bug in wireformat array
added temporary debug messages in status check macros

21 years agorrset -> rr_list
Jelte Jansen [Thu, 23 Dec 2004 10:20:35 +0000 (10:20 +0000)] 
rrset -> rr_list

21 years agoprefixes
Jelte Jansen [Wed, 22 Dec 2004 15:48:52 +0000 (15:48 +0000)] 
prefixes
rr type string now found through descriptor

21 years agonever trust a computer to do your work
Jelte Jansen [Wed, 22 Dec 2004 14:50:45 +0000 (14:50 +0000)] 
never trust a computer to do your work

21 years agorr2buf rest of rr
Jelte Jansen [Wed, 22 Dec 2004 14:46:19 +0000 (14:46 +0000)] 
rr2buf rest of rr
added ldns_lookup tables to get strings for names
(lookup tables may need to be moved to better location)

21 years agoif-i-don't-commit-now-conflicts-will-set-us-up-the-bomb commit
Jelte Jansen [Wed, 22 Dec 2004 13:02:28 +0000 (13:02 +0000)] 
if-i-don't-commit-now-conflicts-will-set-us-up-the-bomb commit
added access functions for rr and rrset and packet
more host2str functionality
more wire2host functionality

21 years agoLink in compatibility functions.
Erik Rozendaal [Wed, 22 Dec 2004 12:57:22 +0000 (12:57 +0000)] 
Link in compatibility functions.

21 years agomore functions added, renamed to fit ldns_ naming scheme
Miek Gieben [Wed, 22 Dec 2004 12:55:31 +0000 (12:55 +0000)] 
more functions added, renamed to fit ldns_ naming scheme

21 years agob64_ntop, b64_pton, malloc, and timegm compatibility functions.
Erik Rozendaal [Wed, 22 Dec 2004 12:54:36 +0000 (12:54 +0000)] 
b64_ntop, b64_pton, malloc, and timegm compatibility functions.

21 years agosplint
Miek Gieben [Wed, 22 Dec 2004 12:44:12 +0000 (12:44 +0000)] 
splint

21 years agoShut up splint.
Erik Rozendaal [Wed, 22 Dec 2004 12:42:28 +0000 (12:42 +0000)] 
Shut up splint.

21 years agotest functions for str2host
Miek Gieben [Wed, 22 Dec 2004 12:41:53 +0000 (12:41 +0000)] 
test functions for str2host

21 years agoadd the file
Miek Gieben [Wed, 22 Dec 2004 12:38:46 +0000 (12:38 +0000)] 
add the file

21 years agohost2str.c: Added helper function to convert a buffer to a zero
Erik Rozendaal [Wed, 22 Dec 2004 12:36:32 +0000 (12:36 +0000)] 
host2str.c: Added helper function to convert a buffer to a zero
terminated string.  Properly free temporary buffers if RDF conversion
fails.

21 years agorun-test1.c added. str2host stuff
Miek Gieben [Wed, 22 Dec 2004 12:34:38 +0000 (12:34 +0000)] 
run-test1.c added. str2host stuff

21 years agoreadded POSIX stuff to configure.ac. Made another conversion function - still complains
Miek Gieben [Wed, 22 Dec 2004 12:20:23 +0000 (12:20 +0000)] 
readded POSIX stuff to configure.ac. Made another conversion function - still complains
about implicit decl of timegm - all LOT of casting magic - not sure if this will work out

21 years agohost2str.c: (ldns_rdf2str) Assume buffer is '\0' terminated, which it
Erik Rozendaal [Wed, 22 Dec 2004 12:13:36 +0000 (12:13 +0000)] 
host2str.c: (ldns_rdf2str) Assume buffer is '\0' terminated, which it
is if ldns_buffer_printf is used.

21 years agolint options
Jelte Jansen [Wed, 22 Dec 2004 11:59:46 +0000 (11:59 +0000)] 
lint options

21 years agoadded prefixes in packet.[ch]
Jelte Jansen [Wed, 22 Dec 2004 11:52:15 +0000 (11:52 +0000)] 
added prefixes in packet.[ch]
some more 2buffer functions

21 years agokilled local var updated vim syntax
Miek Gieben [Wed, 22 Dec 2004 11:38:34 +0000 (11:38 +0000)] 
killed local var updated vim syntax

21 years agobuffer.c: Check for allocation failures. (ldns_buffer_export) Mark the buffer
Erik Rozendaal [Wed, 22 Dec 2004 11:09:12 +0000 (11:09 +0000)] 
buffer.c: Check for allocation failures.  (ldns_buffer_export) Mark the buffer
fixed and return a pointer to the data.  (ldns_buffer_free) Only free the
buffer data if the buffer is not fixed.

21 years ago__X define gone
Miek Gieben [Tue, 21 Dec 2004 15:22:26 +0000 (15:22 +0000)] 
__X define gone

21 years agostill leave out the htons
Miek Gieben [Tue, 21 Dec 2004 15:01:36 +0000 (15:01 +0000)] 
still leave out the htons

21 years agodo not use htons for now
Miek Gieben [Tue, 21 Dec 2004 14:32:58 +0000 (14:32 +0000)] 
do not use htons for now

21 years agoInclude sys/types.h.
Erik Rozendaal [Tue, 21 Dec 2004 14:30:02 +0000 (14:30 +0000)] 
Include sys/types.h.

21 years agoRemove checks for int8_t, etc.
Erik Rozendaal [Tue, 21 Dec 2004 14:27:18 +0000 (14:27 +0000)] 
Remove checks for int8_t, etc.

21 years agoStop being pedantic.
Erik Rozendaal [Tue, 21 Dec 2004 14:26:25 +0000 (14:26 +0000)] 
Stop being pedantic.

21 years agoCheck for u_char, u_short, u_long types so htons can be used with
Erik Rozendaal [Tue, 21 Dec 2004 14:22:58 +0000 (14:22 +0000)] 
Check for u_char, u_short, u_long types so htons can be used with
POSIX_SOURCE C code.

21 years agoadded some functions to buffer.c (destroy and export)
Jelte Jansen [Tue, 21 Dec 2004 14:22:55 +0000 (14:22 +0000)] 
added some functions to buffer.c (destroy and export)
host2str shaken, not stirred, rdf conversions use buffers now, and there are (or will be) 2str wrappers for different levels (rdata, rr, packet?)

21 years agoNeeded for htons.
Erik Rozendaal [Tue, 21 Dec 2004 14:16:02 +0000 (14:16 +0000)] 
Needed for htons.

21 years agoit compiles ok on Linux
Miek Gieben [Tue, 21 Dec 2004 14:07:44 +0000 (14:07 +0000)] 
it compiles ok on Linux

21 years agoget it to compile on linux first
Miek Gieben [Tue, 21 Dec 2004 14:06:17 +0000 (14:06 +0000)] 
get it to compile on linux first

21 years agofirst start made for str2host conversion. Ugly as hell - not sure if it even works
Miek Gieben [Tue, 21 Dec 2004 13:51:10 +0000 (13:51 +0000)] 
first start made for str2host conversion. Ugly as hell - not sure if it even works

21 years agodirect copy from zonec.c from NSD
Miek Gieben [Tue, 21 Dec 2004 13:31:28 +0000 (13:31 +0000)] 
direct copy from zonec.c from NSD

21 years agobuf.h: Removed. Use buffer.h.
Erik Rozendaal [Tue, 21 Dec 2004 13:26:55 +0000 (13:26 +0000)] 
buf.h: Removed. Use buffer.h.

21 years agoconversion2str for A
Miek Gieben [Tue, 21 Dec 2004 13:17:13 +0000 (13:17 +0000)] 
conversion2str for A