Commit Graph

964 Commits

Author SHA1 Message Date
Miek Gieben fb68e29eb1 Create fp as a type 2011-09-19 22:27:56 +02:00
Miek Gieben 1b96a4413a added 2011-09-19 15:16:05 +02:00
Miek Gieben 7d73d6e9e1 Make opcode public and fix the IsEdns0 2011-09-19 13:34:16 +02:00
Miek Gieben 5960047748 Make them public 2011-09-19 13:25:02 +02:00
Miek Gieben 4228e0ad7d a new line
Add a newline before printing the EDNS record.
Make it look like a real pseudo section
2011-09-15 21:57:10 +02:00
Miek Gieben c5c1a0eecc start with nsec3 proving 2011-09-15 20:13:21 +02:00
Miek Gieben af63a2f45d fix edns0 and thus dnssec 2011-09-15 16:04:56 +02:00
Miek Gieben 83817a219b update the todo 2011-09-12 10:43:26 +02:00
Miek Gieben d4ca7c23f3 update readme and fix spelling mistakes 2011-09-12 10:13:50 +02:00
Miek Gieben 21e2f63b4c more server stuff 2011-09-11 22:10:04 +02:00
Miek Gieben 0ffb28d3d9 start adding support for tsig in axfr 2011-09-11 21:34:42 +02:00
Miek Gieben 18256533ff tweaks 2011-09-11 21:32:36 +02:00
Miek Gieben 6f78219c22 Documentation updates 2011-09-11 20:47:25 +02:00
Miek Gieben 6ef13c3cbd Start thinking about server side axfr 2011-09-11 17:24:52 +02:00
Miek Gieben d814a20623 test multiple messages 2011-09-11 17:01:55 +02:00
Miek Gieben 1f03789dcb edns0 helper funtions 2011-09-11 13:01:18 +02:00
Miek Gieben 5352363707 SetEdns0 helper function 2011-09-11 12:57:06 +02:00
Miek Gieben 0f609697b9 Fix time checking in TSIG 2011-09-11 12:41:54 +02:00
Miek Gieben ab911d41f9 Small tweaks 2011-09-11 01:42:46 +02:00
Miek Gieben 74935417e6 Remove dead code from the test 2011-09-11 01:37:59 +02:00
Miek Gieben f252e2f3f0 Add documentation and fix the tests for TSIG
Everything is working, I get a complete TSIG verified AXFR from
miek.nl.
2011-09-11 01:37:06 +02:00
Miek Gieben 3be73fcea9 Tsig fixes
make tsig easier to use and even transparant when using the API
2011-09-11 01:10:47 +02:00
Miek Gieben 356b532385 Things start to work again. Now axfr and tsig 2011-09-11 00:33:13 +02:00
Miek Gieben e4acc12f44 Remove debugging code 2011-09-11 00:32:00 +02:00
Miek Gieben 313640276f Make async querying work again 2011-09-11 00:31:03 +02:00
Miek Gieben cd17a26192 Give the channels more sane names
Rename ChannelQuery to QueryChan and
ChannelReply to ReplyChan, both sound much better
2011-09-11 00:20:44 +02:00
Miek Gieben c939840fb2 Fix the examples
Esp. those using xfr functions
2011-09-10 21:37:57 +02:00
Miek Gieben 406edadf20 Make the tests compile again 2011-09-10 21:22:42 +02:00
Miek Gieben c9332fad8c remove client.Dial/Close
Was a hack to make qperf faster
2011-09-10 21:12:46 +02:00
Miek Gieben befa590883 Double check this 2011-09-10 16:59:25 +02:00
Miek Gieben 6e72207318 Simplify tsig
Add a couple of errors, and make the function signature
of the tis function more inline with the dnssec ones.
2011-09-10 16:50:27 +02:00
Miek Gieben caf69b662c Add Ixfr back in
Fix ixfr. Don't be smart about iterpreting the ixfr itself,
just funnel the packets back to the client, but do obey the
ixfr algorithm
2011-09-10 16:49:22 +02:00
Miek Gieben d367484d6f move the code around 2011-09-10 14:59:21 +02:00
Miek Gieben bec4153541 slight updates to the TODO 2011-09-10 14:48:22 +02:00
Miek Gieben 19bf874769 Use a new type to send back request,answer
a type Exchange has been added, which makes communicating with
the resolver more strait forward.

This will also be used in the *xfr functions.
2011-09-10 14:26:08 +02:00
Miek Gieben b7ca96e7d4 Normalize errors
Use the errors as defined in msg.go and a few.
2011-09-09 10:21:04 +02:00
Taral 22cd1ba11f Make nsec3.go compile 2011-09-08 12:54:48 -07:00
Taral 24a912919f Change Sign() and Verify() to return more useful os.Error 2011-09-08 12:14:41 -07:00
Taral 220ad18ded Remove redundant sorting and fix small error 2011-09-08 12:14:06 -07:00
Taral ca33c9ad0e Add sorting to DNSSEC signature verify 2011-09-08 12:14:06 -07:00
Miek Gieben 2de43f486f documentation 2011-09-08 19:41:26 +02:00
Miek Gieben e8b68c8621 documentation 2011-09-08 19:35:02 +02:00
Miek Gieben ec11e6abd3 documentation 2011-09-08 19:28:00 +02:00
Miek Gieben c104ee05b8 documentation updates 2011-09-08 19:25:45 +02:00
Miek Gieben 6034016b29 tweak the documentation a bit 2011-09-08 08:30:17 +02:00
Miek Gieben 7897c8f088 Add RSASHA1NSEC3SHA1 alg
From Taral <taralx@gmail.com>
2011-09-08 08:26:40 +02:00
Miek Gieben fa34fe67ca move around the get/set methods 2011-09-02 14:28:40 +02:00
Miek Gieben 3c9412d7f0 comments 2011-09-02 14:01:55 +02:00
Miek Gieben bcdd140924 Disable the ns target 2011-09-02 13:46:57 +02:00
Miek Gieben 31b2aec24e Parse differently
Returned each parsed RR on a channel and let the caller decide what
to do with it.

Ragel is still broken, so this is non tested code.
2011-09-02 13:44:35 +02:00