]> git.ipfire.org Git - thirdparty/ldns.git/log
thirdparty/ldns.git
20 years agoadded time_t conversion stuff to test rrsig validity
Miek Gieben [Wed, 24 Aug 2005 11:20:22 +0000 (11:20 +0000)] 
added time_t conversion stuff to test rrsig validity

20 years agomisc commit
Miek Gieben [Wed, 24 Aug 2005 10:45:01 +0000 (10:45 +0000)] 
misc commit

20 years agosignzone takes origin from zonefile if not specified
Jelte Jansen [Wed, 24 Aug 2005 08:58:36 +0000 (08:58 +0000)] 
signzone takes origin from zonefile if not specified
fixed quoted string support in frm_str

20 years agonaming/syntax
Miek Gieben [Wed, 24 Aug 2005 08:13:57 +0000 (08:13 +0000)] 
naming/syntax

20 years agoI know what I print
Miek Gieben [Tue, 23 Aug 2005 19:45:25 +0000 (19:45 +0000)] 
I know what I print

20 years agosplint fails; parseerror
Miek Gieben [Tue, 23 Aug 2005 19:40:59 +0000 (19:40 +0000)] 
splint fails; parseerror

20 years agomore lua stuff
Miek Gieben [Tue, 23 Aug 2005 19:15:56 +0000 (19:15 +0000)] 
more lua stuff

dig now says (when I ancount++ in a pkt):
dig @localhost -p 5353 any miek.nl
;; Warning: Message parser reports malformed message packet.

20 years agoupd.read will not work from within the lib-stuff. The rest all works
Miek Gieben [Tue, 23 Aug 2005 18:55:48 +0000 (18:55 +0000)] 
upd.read will not work from within the lib-stuff. The rest all works

20 years agothis still works. Enable lua-like syntax by wrapping the stuff in a lib.
Miek Gieben [Tue, 23 Aug 2005 18:02:37 +0000 (18:02 +0000)] 
this still works. Enable lua-like syntax by wrapping the stuff in a lib.

20 years agouse luaL_reg to get lua-like syntax for DNS pkt manipulation
Miek Gieben [Tue, 23 Aug 2005 10:49:33 +0000 (10:49 +0000)] 
use luaL_reg to get lua-like syntax for DNS pkt manipulation

20 years agothis bit me before
Miek Gieben [Tue, 23 Aug 2005 10:10:18 +0000 (10:10 +0000)] 
this bit me before

20 years agoIT's ALIVE - setting id's works and so does interfacing with dig
Miek Gieben [Tue, 23 Aug 2005 10:07:39 +0000 (10:07 +0000)] 
IT's ALIVE - setting id's works and so does interfacing with dig

20 years agodrill1 inline with ldns again
Miek Gieben [Tue, 23 Aug 2005 09:33:36 +0000 (09:33 +0000)] 
drill1 inline with ldns again

20 years agowe're able to write packets back to client. Dig now complains about diff. id's. Lets...
Miek Gieben [Tue, 23 Aug 2005 09:26:25 +0000 (09:26 +0000)] 
we're able to write packets back to client. Dig now complains about diff. id's. Lets try drill

20 years agofinished CERT type from string. renamed some values and functions, removed old code
Jelte Jansen [Tue, 23 Aug 2005 09:26:22 +0000 (09:26 +0000)] 
finished CERT type from string. renamed some values and functions, removed old code

20 years agoconvert of sockaddr back to an rdf and a port number
Miek Gieben [Tue, 23 Aug 2005 09:03:59 +0000 (09:03 +0000)] 
convert of sockaddr back to an rdf and a port number

20 years agoconvert sockaddr_storage to rdf and port number
Miek Gieben [Tue, 23 Aug 2005 08:28:26 +0000 (08:28 +0000)] 
convert sockaddr_storage to rdf and port number

20 years agoadded seperate sorting algorithm for zone signing (sort by owner-class-type)
Jelte Jansen [Thu, 18 Aug 2005 11:48:27 +0000 (11:48 +0000)] 
added seperate sorting algorithm for zone signing (sort by owner-class-type)
nsec creation modifications

20 years agoarg old revision crept back from the pit
Jelte Jansen [Thu, 18 Aug 2005 11:08:36 +0000 (11:08 +0000)] 
arg old revision crept back from the pit

20 years agocast
Jelte Jansen [Thu, 18 Aug 2005 09:11:31 +0000 (09:11 +0000)] 
cast

20 years agoorigin is now really read from soa if not specified
Jelte Jansen [Thu, 18 Aug 2005 09:06:52 +0000 (09:06 +0000)] 
origin is now really read from soa if not specified
fixed comment issue between () (like it is often the case in soa records)
fixed WKS reading when protocol is specified with integer instead of mnemonic

20 years agoadded special case for quoted TXT rr rdata fields
Jelte Jansen [Thu, 18 Aug 2005 08:46:21 +0000 (08:46 +0000)] 
added special case for quoted TXT rr rdata fields
line ending in comment is correctly read now

20 years agoupdated tests
Jelte Jansen [Thu, 18 Aug 2005 08:05:24 +0000 (08:05 +0000)] 
updated tests

20 years agotxt can contain spaces too
Jelte Jansen [Wed, 17 Aug 2005 14:38:37 +0000 (14:38 +0000)] 
txt can contain spaces too

20 years agofixed bug in dname reading (dnames ending in \. were botched)
Jelte Jansen [Wed, 17 Aug 2005 14:20:42 +0000 (14:20 +0000)] 
fixed bug in dname reading (dnames ending in \. were botched)

20 years agoremoved unnecesary printfs
Jelte Jansen [Wed, 17 Aug 2005 13:36:45 +0000 (13:36 +0000)] 
removed unnecesary printfs
only sign in-zone data, and skip RRSIGS

20 years agolint
Jelte Jansen [Wed, 17 Aug 2005 11:23:36 +0000 (11:23 +0000)] 
lint

20 years agotowards a working signer
Jelte Jansen [Wed, 17 Aug 2005 10:25:28 +0000 (10:25 +0000)] 
towards a working signer

20 years agomake line parser continue not return empty strings or strings that only contain '\n'
Jelte Jansen [Wed, 17 Aug 2005 09:48:58 +0000 (09:48 +0000)] 
make line parser continue not return empty strings or strings that only contain '\n'

20 years agoadded bit_set function
Jelte Jansen [Tue, 16 Aug 2005 13:28:56 +0000 (13:28 +0000)] 
added bit_set function
added last (?) str2host stuff
made frm_fp framework to know line nr (for errors and debugging)

20 years agolint
Jelte Jansen [Tue, 16 Aug 2005 10:05:02 +0000 (10:05 +0000)] 
lint

20 years agonsap support for str2host
Jelte Jansen [Tue, 16 Aug 2005 09:56:32 +0000 (09:56 +0000)] 
nsap support for str2host
made hex reading more lenient

20 years agostr2host for WKS records
Jelte Jansen [Tue, 16 Aug 2005 09:46:57 +0000 (09:46 +0000)] 
str2host for WKS records

20 years agolint
Jelte Jansen [Mon, 15 Aug 2005 14:28:47 +0000 (14:28 +0000)] 
lint

20 years agomore types
Jelte Jansen [Mon, 15 Aug 2005 13:51:27 +0000 (13:51 +0000)] 
more types

20 years agostr2host for APL rdata types
Jelte Jansen [Mon, 15 Aug 2005 09:42:15 +0000 (09:42 +0000)] 
str2host for APL rdata types

20 years agoadd rrsig values when signing (orig_ttl, keytag, dates, etc)
Jelte Jansen [Fri, 12 Aug 2005 12:04:12 +0000 (12:04 +0000)] 
add rrsig values when signing (orig_ttl, keytag, dates, etc)

20 years agoduh
Jelte Jansen [Fri, 12 Aug 2005 12:00:59 +0000 (12:00 +0000)] 
duh

20 years agomade zone signing function, untested, but it seems to produce something :)
Jelte Jansen [Fri, 12 Aug 2005 09:52:35 +0000 (09:52 +0000)] 
made zone signing function, untested, but it seems to produce something :)
(actual crypto signing functions are not completed yet)
added ldns_rr_list_pop_rrset() that pops the first rrset from the list, which of course has to be sorted

20 years agoplease don't commit non-compiling code. commented it out for now.
Jelte Jansen [Fri, 12 Aug 2005 08:15:05 +0000 (08:15 +0000)] 
please don't commit non-compiling code. commented it out for now.

20 years agodamn upd you still need server state
Miek Gieben [Thu, 11 Aug 2005 19:57:40 +0000 (19:57 +0000)] 
damn upd you still need server state

20 years agoprint fix, network fixes in lua code (was typo). Still doesn't work though
Miek Gieben [Thu, 11 Aug 2005 18:39:36 +0000 (18:39 +0000)] 
print fix, network fixes in lua code (was typo). Still doesn't work though

20 years agoreading pkts goes ok. Writing pkt does not seem to reach drill/dig
Miek Gieben [Thu, 11 Aug 2005 17:11:12 +0000 (17:11 +0000)] 
reading pkts goes ok. Writing pkt does not seem to reach drill/dig

20 years agobug fixed! ha! :-). ldns_buffer_new_frm_str however needs to be called with a alloced...
Miek Gieben [Thu, 11 Aug 2005 17:00:07 +0000 (17:00 +0000)] 
bug fixed! ha! :-). ldns_buffer_new_frm_str however needs to be called with a alloced buffer... seems a bit strange to me. btw: valgrind goes crazy on my lua code

20 years agobogus malloc to pinpoint crash
Miek Gieben [Thu, 11 Aug 2005 14:29:22 +0000 (14:29 +0000)] 
bogus malloc to pinpoint crash

20 years agofix for when rrsig is 2wire'd before having an actual signature
Jelte Jansen [Thu, 11 Aug 2005 14:26:47 +0000 (14:26 +0000)] 
fix for when rrsig is 2wire'd before having an actual signature

20 years agocorrect includes
Miek Gieben [Thu, 11 Aug 2005 14:13:13 +0000 (14:13 +0000)] 
correct includes

20 years agofree'em
Jelte Jansen [Thu, 11 Aug 2005 13:43:35 +0000 (13:43 +0000)] 
free'em

20 years agosomehow somewhere,the lua stuff crashes while plain ldns does not
Miek Gieben [Thu, 11 Aug 2005 13:43:06 +0000 (13:43 +0000)] 
somehow somewhere,the lua stuff crashes while plain ldns does not
Last updates for ldns networking, except for the lua-net-bug fix

20 years agoread keys, some small fixes
Jelte Jansen [Thu, 11 Aug 2005 13:09:33 +0000 (13:09 +0000)] 
read keys, some small fixes

20 years agomore network and lua fixes
Miek Gieben [Thu, 11 Aug 2005 12:52:47 +0000 (12:52 +0000)] 
more network and lua fixes

20 years agoldns_buffer2pkt_wire added
Miek Gieben [Thu, 11 Aug 2005 12:26:27 +0000 (12:26 +0000)] 
ldns_buffer2pkt_wire added

20 years agolint
Miek Gieben [Thu, 11 Aug 2005 11:45:55 +0000 (11:45 +0000)] 
lint

20 years agonetwork stuff core ready. Lua also works.
Miek Gieben [Thu, 11 Aug 2005 11:41:51 +0000 (11:41 +0000)] 
network stuff core ready. Lua also works.

20 years agordf2sockaddr changes; give back the size. This leads to more code deletion :-)
Miek Gieben [Thu, 11 Aug 2005 10:46:50 +0000 (10:46 +0000)] 
rdf2sockaddr changes; give back the size. This leads to more code deletion :-)

20 years agoghe
Jelte Jansen [Thu, 11 Aug 2005 10:45:10 +0000 (10:45 +0000)] 
ghe

20 years agodoxygen
Jelte Jansen [Thu, 11 Aug 2005 10:18:42 +0000 (10:18 +0000)] 
doxygen

20 years agomemory fixes
Jelte Jansen [Thu, 11 Aug 2005 10:13:20 +0000 (10:13 +0000)] 
memory fixes

20 years agolint fixes and tcp seems to work again. The magic of it all overwhelmes(?) me
Miek Gieben [Thu, 11 Aug 2005 10:13:18 +0000 (10:13 +0000)] 
lint fixes and tcp seems to work again. The magic of it all overwhelmes(?) me

20 years agonetworking cleanup - seperating out server/client, udp/tcp. Might need to be a little...
Miek Gieben [Thu, 11 Aug 2005 09:54:33 +0000 (09:54 +0000)] 
networking cleanup - seperating out server/client, udp/tcp. Might need to be a little more consistent

20 years agosome network updates
Miek Gieben [Thu, 11 Aug 2005 08:33:11 +0000 (08:33 +0000)] 
some network updates

20 years agolint
Jelte Jansen [Wed, 10 Aug 2005 15:19:58 +0000 (15:19 +0000)] 
lint

20 years agoadded not-too-clean-for-now-but-working code to get ugly rfc3597 compliance (*all...
Jelte Jansen [Wed, 10 Aug 2005 15:18:12 +0000 (15:18 +0000)] 
added not-too-clean-for-now-but-working code to get ugly rfc3597 compliance (*all* rdata fields may be represented by \# format)

20 years agofixed reading of hex string to rdf
Jelte Jansen [Wed, 10 Aug 2005 15:15:35 +0000 (15:15 +0000)] 
fixed reading of hex string to rdf

20 years agorns can print out pkt from the wire. Need to rethink the API a bit
Miek Gieben [Wed, 10 Aug 2005 14:07:25 +0000 (14:07 +0000)] 
rns can print out pkt from the wire. Need to rethink the API a bit

20 years agoudp doesn't use the upd? Manpage mention other uses, but not sure if we should change
Miek Gieben [Wed, 10 Aug 2005 13:55:51 +0000 (13:55 +0000)] 
udp doesn't use the upd? Manpage mention other uses, but not sure if we should change

20 years agodon't crash when not getting a pkt
Miek Gieben [Wed, 10 Aug 2005 13:40:38 +0000 (13:40 +0000)] 
don't crash when not getting a pkt

20 years agoup the version for doxygen docu
Miek Gieben [Wed, 10 Aug 2005 13:24:05 +0000 (13:24 +0000)] 
up the version for doxygen docu

20 years agofucking docu
Miek Gieben [Wed, 10 Aug 2005 13:23:23 +0000 (13:23 +0000)] 
fucking docu

20 years agoadded little todo
Jelte Jansen [Wed, 10 Aug 2005 13:18:37 +0000 (13:18 +0000)] 
added little todo

20 years agomade owner and type optional, like ttl
Jelte Jansen [Wed, 10 Aug 2005 12:54:44 +0000 (12:54 +0000)] 
made owner and type optional, like ttl

20 years agoregister it
Miek Gieben [Wed, 10 Aug 2005 12:43:49 +0000 (12:43 +0000)] 
register it

20 years agoread a packet from the wire from within lua - not sure how to test this...
Miek Gieben [Wed, 10 Aug 2005 12:43:12 +0000 (12:43 +0000)] 
read a packet from the wire from within lua - not sure how to test this...

20 years agomove port info to socket creation time. Removed more dead(?) code
Miek Gieben [Wed, 10 Aug 2005 12:15:53 +0000 (12:15 +0000)] 
move port info to socket creation time. Removed more dead(?) code

20 years agoremoved dead code
Miek Gieben [Wed, 10 Aug 2005 11:54:01 +0000 (11:54 +0000)] 
removed dead code

20 years agoadd udp counterpart for tcp
Miek Gieben [Wed, 10 Aug 2005 11:42:59 +0000 (11:42 +0000)] 
add udp counterpart for tcp

20 years agofixed reading for strings containing TXT rrtype
Jelte Jansen [Wed, 10 Aug 2005 11:07:24 +0000 (11:07 +0000)] 
fixed reading for strings containing TXT rrtype
fixed reading strings containing rr with unknown number of rdata fields

20 years agodead code?
Miek Gieben [Wed, 10 Aug 2005 10:35:24 +0000 (10:35 +0000)] 
dead code?

20 years agooops
Jelte Jansen [Wed, 10 Aug 2005 10:20:25 +0000 (10:20 +0000)] 
oops

20 years agoabsoluteness check on dname strings
Jelte Jansen [Wed, 10 Aug 2005 10:14:49 +0000 (10:14 +0000)] 
absoluteness check on dname strings

20 years agoupdate to reflect new ldns_rr_new_frm_str func
Miek Gieben [Wed, 10 Aug 2005 10:03:23 +0000 (10:03 +0000)] 
update to reflect new ldns_rr_new_frm_str func

20 years agocatch possible error in cat
Jelte Jansen [Wed, 10 Aug 2005 09:54:39 +0000 (09:54 +0000)] 
catch possible error in cat

20 years agoof course, don't add anything is name is absolute already
Jelte Jansen [Wed, 10 Aug 2005 09:52:10 +0000 (09:52 +0000)] 
of course, don't add anything is name is absolute already

20 years agolint fix
Miek Gieben [Wed, 10 Aug 2005 09:45:46 +0000 (09:45 +0000)] 
lint fix

20 years agomade a start with zonesigner tool (mostly for testing upcoming zonesign functionality...
Jelte Jansen [Wed, 10 Aug 2005 09:43:59 +0000 (09:43 +0000)] 
made a start with zonesigner tool (mostly for testing upcoming zonesign functionality, but if it works, hey, another tool ready!)
added support for default ttl and owner completion in rr_new_frm_str and rr_new_frm_fp, which is used by zone_new_frm_fp

20 years agoadded rdf to lua + sockaddr conversion. Almost ready to read/write from wire
Miek Gieben [Wed, 10 Aug 2005 09:39:26 +0000 (09:39 +0000)] 
added rdf to lua + sockaddr conversion. Almost ready to read/write from wire

20 years agodone for today
Miek Gieben [Tue, 9 Aug 2005 14:29:59 +0000 (14:29 +0000)] 
done for today

20 years agolint
Miek Gieben [Tue, 9 Aug 2005 13:48:59 +0000 (13:48 +0000)] 
lint

20 years agoadding some udp equivs for the tcp send/receive stuff. Good for lua, good for making...
Miek Gieben [Tue, 9 Aug 2005 13:42:08 +0000 (13:42 +0000)] 
adding some udp equivs for the tcp send/receive stuff. Good for lua, good for making a ldns nameserver

20 years agoadded recv upd to recv w/o sending a pkt
Miek Gieben [Tue, 9 Aug 2005 13:33:14 +0000 (13:33 +0000)] 
added recv upd to recv w/o sending a pkt

20 years agoinsert now works properly
Miek Gieben [Tue, 9 Aug 2005 13:11:21 +0000 (13:11 +0000)] 
insert now works properly

20 years agocan read headers bits
Miek Gieben [Tue, 9 Aug 2005 12:18:17 +0000 (12:18 +0000)] 
can read headers bits

20 years agoimplement insert_rr. Also found subtle bug in rr_list pop (of by 1)
Miek Gieben [Tue, 9 Aug 2005 12:01:55 +0000 (12:01 +0000)] 
implement insert_rr. Also found subtle bug in rr_list pop (of by 1)

20 years agoimplement insert_rr. Also found subtle bug in rr_list pop (of by 1)
Miek Gieben [Tue, 9 Aug 2005 12:00:49 +0000 (12:00 +0000)] 
implement insert_rr. Also found subtle bug in rr_list pop (of by 1)

20 years agocnversion stuff
Miek Gieben [Tue, 9 Aug 2005 10:20:17 +0000 (10:20 +0000)] 
cnversion stuff

20 years agobetter naming, everything in one dir
Miek Gieben [Tue, 9 Aug 2005 08:56:37 +0000 (08:56 +0000)] 
better naming, everything in one dir

20 years agomove lua stuff to its own directory
Miek Gieben [Tue, 9 Aug 2005 08:34:12 +0000 (08:34 +0000)] 
move lua stuff to its own directory

20 years agosome changes
Miek Gieben [Tue, 9 Aug 2005 08:30:04 +0000 (08:30 +0000)] 
some changes

20 years agomore code and logging and randomness
Miek Gieben [Mon, 8 Aug 2005 16:32:57 +0000 (16:32 +0000)] 
more code and logging and randomness

20 years agoswapping rr's in a packet and reversing works
Miek Gieben [Mon, 8 Aug 2005 15:44:56 +0000 (15:44 +0000)] 
swapping rr's in a packet and reversing works