]>
git.ipfire.org Git - thirdparty/ldns.git/log
Miek Gieben [Wed, 24 Aug 2005 11:20:22 +0000 (11:20 +0000)]
added time_t conversion stuff to test rrsig validity
Miek Gieben [Wed, 24 Aug 2005 10:45:01 +0000 (10:45 +0000)]
misc commit
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
Miek Gieben [Wed, 24 Aug 2005 08:13:57 +0000 (08:13 +0000)]
naming/syntax
Miek Gieben [Tue, 23 Aug 2005 19:45:25 +0000 (19:45 +0000)]
I know what I print
Miek Gieben [Tue, 23 Aug 2005 19:40:59 +0000 (19:40 +0000)]
splint fails; parseerror
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.
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
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.
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
Miek Gieben [Tue, 23 Aug 2005 10:10:18 +0000 (10:10 +0000)]
this bit me before
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
Miek Gieben [Tue, 23 Aug 2005 09:33:36 +0000 (09:33 +0000)]
drill1 inline with ldns again
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
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
Miek Gieben [Tue, 23 Aug 2005 09:03:59 +0000 (09:03 +0000)]
convert of sockaddr back to an rdf and a port number
Miek Gieben [Tue, 23 Aug 2005 08:28:26 +0000 (08:28 +0000)]
convert sockaddr_storage to rdf and port number
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
Jelte Jansen [Thu, 18 Aug 2005 11:08:36 +0000 (11:08 +0000)]
arg old revision crept back from the pit
Jelte Jansen [Thu, 18 Aug 2005 09:11:31 +0000 (09:11 +0000)]
cast
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
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
Jelte Jansen [Thu, 18 Aug 2005 08:05:24 +0000 (08:05 +0000)]
updated tests
Jelte Jansen [Wed, 17 Aug 2005 14:38:37 +0000 (14:38 +0000)]
txt can contain spaces too
Jelte Jansen [Wed, 17 Aug 2005 14:20:42 +0000 (14:20 +0000)]
fixed bug in dname reading (dnames ending in \. were botched)
Jelte Jansen [Wed, 17 Aug 2005 13:36:45 +0000 (13:36 +0000)]
removed unnecesary printfs
only sign in-zone data, and skip RRSIGS
Jelte Jansen [Wed, 17 Aug 2005 11:23:36 +0000 (11:23 +0000)]
lint
Jelte Jansen [Wed, 17 Aug 2005 10:25:28 +0000 (10:25 +0000)]
towards a working signer
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'
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)
Jelte Jansen [Tue, 16 Aug 2005 10:05:02 +0000 (10:05 +0000)]
lint
Jelte Jansen [Tue, 16 Aug 2005 09:56:32 +0000 (09:56 +0000)]
nsap support for str2host
made hex reading more lenient
Jelte Jansen [Tue, 16 Aug 2005 09:46:57 +0000 (09:46 +0000)]
str2host for WKS records
Jelte Jansen [Mon, 15 Aug 2005 14:28:47 +0000 (14:28 +0000)]
lint
Jelte Jansen [Mon, 15 Aug 2005 13:51:27 +0000 (13:51 +0000)]
more types
Jelte Jansen [Mon, 15 Aug 2005 09:42:15 +0000 (09:42 +0000)]
str2host for APL rdata types
Jelte Jansen [Fri, 12 Aug 2005 12:04:12 +0000 (12:04 +0000)]
add rrsig values when signing (orig_ttl, keytag, dates, etc)
Jelte Jansen [Fri, 12 Aug 2005 12:00:59 +0000 (12:00 +0000)]
duh
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
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.
Miek Gieben [Thu, 11 Aug 2005 19:57:40 +0000 (19:57 +0000)]
damn upd you still need server state
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
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
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
Miek Gieben [Thu, 11 Aug 2005 14:29:22 +0000 (14:29 +0000)]
bogus malloc to pinpoint crash
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
Miek Gieben [Thu, 11 Aug 2005 14:13:13 +0000 (14:13 +0000)]
correct includes
Jelte Jansen [Thu, 11 Aug 2005 13:43:35 +0000 (13:43 +0000)]
free'em
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
Jelte Jansen [Thu, 11 Aug 2005 13:09:33 +0000 (13:09 +0000)]
read keys, some small fixes
Miek Gieben [Thu, 11 Aug 2005 12:52:47 +0000 (12:52 +0000)]
more network and lua fixes
Miek Gieben [Thu, 11 Aug 2005 12:26:27 +0000 (12:26 +0000)]
ldns_buffer2pkt_wire added
Miek Gieben [Thu, 11 Aug 2005 11:45:55 +0000 (11:45 +0000)]
lint
Miek Gieben [Thu, 11 Aug 2005 11:41:51 +0000 (11:41 +0000)]
network stuff core ready. Lua also works.
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 :-)
Jelte Jansen [Thu, 11 Aug 2005 10:45:10 +0000 (10:45 +0000)]
ghe
Jelte Jansen [Thu, 11 Aug 2005 10:18:42 +0000 (10:18 +0000)]
doxygen
Jelte Jansen [Thu, 11 Aug 2005 10:13:20 +0000 (10:13 +0000)]
memory fixes
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
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
Miek Gieben [Thu, 11 Aug 2005 08:33:11 +0000 (08:33 +0000)]
some network updates
Jelte Jansen [Wed, 10 Aug 2005 15:19:58 +0000 (15:19 +0000)]
lint
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)
Jelte Jansen [Wed, 10 Aug 2005 15:15:35 +0000 (15:15 +0000)]
fixed reading of hex string to rdf
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
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
Miek Gieben [Wed, 10 Aug 2005 13:40:38 +0000 (13:40 +0000)]
don't crash when not getting a pkt
Miek Gieben [Wed, 10 Aug 2005 13:24:05 +0000 (13:24 +0000)]
up the version for doxygen docu
Miek Gieben [Wed, 10 Aug 2005 13:23:23 +0000 (13:23 +0000)]
fucking docu
Jelte Jansen [Wed, 10 Aug 2005 13:18:37 +0000 (13:18 +0000)]
added little todo
Jelte Jansen [Wed, 10 Aug 2005 12:54:44 +0000 (12:54 +0000)]
made owner and type optional, like ttl
Miek Gieben [Wed, 10 Aug 2005 12:43:49 +0000 (12:43 +0000)]
register it
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...
Miek Gieben [Wed, 10 Aug 2005 12:15:53 +0000 (12:15 +0000)]
move port info to socket creation time. Removed more dead(?) code
Miek Gieben [Wed, 10 Aug 2005 11:54:01 +0000 (11:54 +0000)]
removed dead code
Miek Gieben [Wed, 10 Aug 2005 11:42:59 +0000 (11:42 +0000)]
add udp counterpart for tcp
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
Miek Gieben [Wed, 10 Aug 2005 10:35:24 +0000 (10:35 +0000)]
dead code?
Jelte Jansen [Wed, 10 Aug 2005 10:20:25 +0000 (10:20 +0000)]
oops
Jelte Jansen [Wed, 10 Aug 2005 10:14:49 +0000 (10:14 +0000)]
absoluteness check on dname strings
Miek Gieben [Wed, 10 Aug 2005 10:03:23 +0000 (10:03 +0000)]
update to reflect new ldns_rr_new_frm_str func
Jelte Jansen [Wed, 10 Aug 2005 09:54:39 +0000 (09:54 +0000)]
catch possible error in cat
Jelte Jansen [Wed, 10 Aug 2005 09:52:10 +0000 (09:52 +0000)]
of course, don't add anything is name is absolute already
Miek Gieben [Wed, 10 Aug 2005 09:45:46 +0000 (09:45 +0000)]
lint fix
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
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
Miek Gieben [Tue, 9 Aug 2005 14:29:59 +0000 (14:29 +0000)]
done for today
Miek Gieben [Tue, 9 Aug 2005 13:48:59 +0000 (13:48 +0000)]
lint
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
Miek Gieben [Tue, 9 Aug 2005 13:33:14 +0000 (13:33 +0000)]
added recv upd to recv w/o sending a pkt
Miek Gieben [Tue, 9 Aug 2005 13:11:21 +0000 (13:11 +0000)]
insert now works properly
Miek Gieben [Tue, 9 Aug 2005 12:18:17 +0000 (12:18 +0000)]
can read headers bits
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)
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)
Miek Gieben [Tue, 9 Aug 2005 10:20:17 +0000 (10:20 +0000)]
cnversion stuff
Miek Gieben [Tue, 9 Aug 2005 08:56:37 +0000 (08:56 +0000)]
better naming, everything in one dir
Miek Gieben [Tue, 9 Aug 2005 08:34:12 +0000 (08:34 +0000)]
move lua stuff to its own directory
Miek Gieben [Tue, 9 Aug 2005 08:30:04 +0000 (08:30 +0000)]
some changes
Miek Gieben [Mon, 8 Aug 2005 16:32:57 +0000 (16:32 +0000)]
more code and logging and randomness
Miek Gieben [Mon, 8 Aug 2005 15:44:56 +0000 (15:44 +0000)]
swapping rr's in a packet and reversing works