Commit Graph

4079 Commits

Author SHA1 Message Date
Miek Gieben 54f158c23d Helper functions for base64 encoding/decoding 2011-01-15 10:38:14 +01:00
Miek Gieben 3e11fafac5 Fix the keygen alg: fill the correct bytes 2011-01-14 19:15:25 +01:00
Miek Gieben 15bf984f3f LabelCount() made public and various other tweaks 2011-01-14 18:55:18 +01:00
Miek Gieben 79b926d862 no need to be in git 2011-01-14 18:26:23 +01:00
Miek Gieben ab4a5b5477 Love interfaces
Using interfaces to make key.Generate and Sign much more generic
2011-01-14 18:25:36 +01:00
Miek Gieben 0c95585952 Signing works, dont know yet if it would validate 2011-01-14 13:22:24 +01:00
Miek Gieben fff721c6e0 more stuff removed from the TODO 2011-01-14 12:14:41 +01:00
Miek Gieben 67230e9759 Fixed signing stuff (doesn't work yet)
Need a nice priv-key representation to make it all work
2011-01-14 12:10:54 +01:00
Miek Gieben a60238bdde Remove unwanted wire conversion functions 2011-01-14 11:57:28 +01:00
Miek Gieben 728b575b60 Make signing a method of DNSKEY 2011-01-13 17:14:14 +01:00
Miek Gieben af1d7ba702 small update 2011-01-13 17:12:19 +01:00
Miek Gieben 70fe0a61e3 update the TODO 2011-01-13 17:03:57 +01:00
Miek Gieben 53bea506ba Fix the documentation of the responder package 2011-01-13 16:52:12 +01:00
Miek Gieben ea275e888e Use intefaces better and stick to net.Addr 2011-01-13 16:44:20 +01:00
Miek Gieben 4246a85b55 update the TODO 2011-01-13 16:17:36 +01:00
Miek Gieben fea310bbcf New API
rename resolver.DnsMsg to resolver.Msg. shorter and better
Adapt all files to this change
2011-01-13 16:12:02 +01:00
Miek Gieben c176c33c16 small tweaks 2011-01-13 15:57:35 +01:00
Miek Gieben ea68b035e9 Fix the UDP/TCP handling for the responder 2011-01-13 15:14:27 +01:00
Miek Gieben 8582967bab enforce the keysize 2011-01-13 08:48:05 +01:00
Miek Gieben 4109a032b9 more stuff 2011-01-12 16:41:17 +01:00
Miek Gieben 1ee22eb579 more happy with the interface 2011-01-12 16:33:56 +01:00
Miek Gieben a2ef425b84 doc updates 2011-01-12 00:30:42 +01:00
Miek Gieben 0130dde9f9 Figured out API for server side stuff 2011-01-12 00:20:05 +01:00
Miek Gieben 57b1e2f714 First stab at server support
Cherry pick GRONG for the server stuff (only server.go) seems
interesting.

Still working on the responder idea of GRONG and how to implement
it in godns
2011-01-11 23:33:07 +01:00
Miek Gieben 586337bf57 Remove zlutser 2011-01-11 20:24:20 +01:00
Miek Gieben 99d40351b8 Put GRONGs responder here 2011-01-11 09:55:01 +01:00
Miek Gieben 222d01625c Fix presentation for NSEC3 2011-01-10 16:18:01 +01:00
Miek Gieben 578304226f Add dnskey gen for RSA keys 2011-01-10 16:10:15 +01:00
Miek Gieben 69f9bc6ecd Start packing nsec/nsec3 typeBitMap 2011-01-09 22:51:36 +01:00
Miek Gieben d3f9bbe2c9 Set order correctly 2011-01-09 22:06:24 +01:00
Miek Gieben 7da3d0bcb7 Fix the NSEC(3) bitmap 2011-01-09 22:02:25 +01:00
Miek Gieben 15fedf72e7 nsec type list must be uint16 2011-01-09 20:46:21 +01:00
Miek Gieben 44999ab9e7 Merge branch 'master' of github.com:miekg/godns 2011-01-09 20:07:44 +01:00
Miek Gieben 232b6e62a5 re-add tests 2011-01-09 20:07:13 +01:00
Miek Gieben 4f8537dde2 incorp. in the main dns package 2011-01-09 20:00:37 +01:00
Miek Gieben 42ce4d3085 Fix tsig -- needs testing 2011-01-09 15:54:23 +01:00
Miek Gieben a6fee19f4c Fix tsig by making timeSigned a 64 bit int
only use the lower 48 bits to make it all work
2011-01-09 15:30:45 +01:00
Miek Gieben 42660c2a8e fix up the rest 2011-01-09 10:34:29 +01:00
Miek Gieben 19edd05274 Fold dnssec back into dns
It is more natural. Otherwise tsig and tkey needed to be
put in their own packages
2011-01-09 10:31:23 +01:00
Miek Gieben 5ef9f57db4 some minor updates 2011-01-09 00:12:59 +01:00
Miek Gieben ac687f284a Tsig
* add some testcases for tsig
* add unpack/pack stuff -- doesn't work correctly yet
2011-01-09 00:11:22 +01:00
Miek Gieben 11a1c753a8 Pack a uint48 as a [3]uint16 2011-01-08 23:47:24 +01:00
Miek Gieben 1b39853f03 tsig generation; first stab 2011-01-08 22:39:15 +01:00
Miek Gieben b2e9fc8d84 Added TSIG
By defining a new struct I can re-use all the nice
stuff in msg.go
2011-01-08 21:51:20 +01:00
Miek Gieben c6655f6e6d No newline in the OPT record 2011-01-08 19:45:59 +01:00
Miek Gieben 91cc627bcf tweaks to the todo 2011-01-08 19:28:59 +01:00
Miek Gieben 51a3e06b53 Fix and cleanup DNSSEC code
Key extraction is the same for all RSA DNSKEYs, so all RSA keys
are handled. Even the older RSAMD5 is now supported.
2011-01-08 19:10:47 +01:00
Miek Gieben fc8e6345af Fix examples and add notify prog
Show how simple a dns-notify becomes.
2011-01-08 13:46:51 +01:00
Miek Gieben b5de7e1745 Fix the testsuite 2011-01-07 10:09:46 +01:00
Miek Gieben 8b2c267b99 update todo 2011-01-06 15:30:18 +01:00