Miek Gieben
|
a8b5ce58e5
|
Small cleanups
|
2014-09-18 09:11:16 +00:00 |
Miek Gieben
|
f94a958587
|
Merge pull request #129 from asergeyev/master
Code for handling unicode/punycode name conversions v2
|
2014-09-18 10:08:04 +01:00 |
Miek Gieben
|
02dd474056
|
Dont export typeToRR (old rr_mk)
|
2014-09-16 07:31:20 +01:00 |
Miek Gieben
|
70556daa85
|
Dont export TypeToParserFunc
|
2014-09-16 07:20:40 +01:00 |
Miek Gieben
|
79861736a2
|
Factor the switch code in favor of TypeToParserFunc
|
2014-09-16 07:16:18 +01:00 |
Miek Gieben
|
17b0941344
|
Create and fill TypeToParserFunc
|
2014-09-16 07:15:34 +01:00 |
Miek Gieben
|
7962679920
|
Identical signature for all setXXX functions
|
2014-09-16 07:15:25 +01:00 |
Miek Gieben
|
e42e91096b
|
make all setTYPE parse function return the same values
|
2014-09-16 07:15:16 +01:00 |
Miek Gieben
|
bcb640ccaf
|
Make rr_mk public and call it TypeToRR
|
2014-09-16 07:15:06 +01:00 |
Alex Sergeyev
|
c37add8d9e
|
Prevented crash on empty string to our funcs +...
* changed encodeBytes to encode and decodeBytes to decode
* fixed few comments
|
2014-09-15 09:02:51 -04:00 |
Alex Sergeyev
|
c38aeeb355
|
Declared variables prior to entering main conversion loops
|
2014-09-15 08:43:08 -04:00 |
Alex Sergeyev
|
d42c1e2bbc
|
Replaced rune(0) to new const
|
2014-09-15 08:38:01 -04:00 |
Alex Sergeyev
|
950dac05e5
|
Changed label splitting and fixed behavior for final period in names.
|
2014-09-15 08:23:08 -04:00 |
Alex Sergeyev
|
c383d91f69
|
Added package header.
|
2014-09-15 07:52:58 -04:00 |
Alex Sergeyev
|
61db5487dd
|
Updated Punycode funcs
* docstrings
* changes to handling invalid punycode names
* updated tests
|
2014-09-13 22:11:53 -04:00 |
Alex Sergeyev
|
e59305ec87
|
Fixed panic calls to be similar to others in library
|
2014-09-12 07:52:33 -04:00 |
Alex Sergeyev
|
a906600891
|
Moved things to subdir and adding functions to convert strings.
|
2014-09-12 07:52:33 -04:00 |
Alex Sergeyev
|
e3c2c0734f
|
Added punycode conversion placeholders and...
internal functions that provide conversion and tests for those
per #120.
|
2014-09-12 07:52:32 -04:00 |
Miek Gieben
|
3d8aa78c0a
|
Merge pull request #127 from asergeyev/txtescapezscan
Fixed TXT parsing with escaped chars
|
2014-09-12 07:18:46 +01:00 |
Alex Sergeyev
|
ae7d973e40
|
Updated code to handle escapes in TXT RDATA
Added test demonstrating error in TXT parsing.
Fixed lexing process and slightly updated conversion
back to strings.
See #126 for details.
|
2014-09-11 21:23:38 -04:00 |
Miek Gieben
|
0aa3021a83
|
Remove all copyright notices
Use the central COPYRIGHT file.
|
2014-09-11 20:57:37 +01:00 |
Miek Gieben
|
cf89d7a324
|
Remove Copyrights from there
|
2014-09-11 20:53:14 +01:00 |
Miek Gieben
|
24296ac36e
|
Remove the GOST scan code.
The code was commented out and was a copy of code with a bug in it.
Basically it is safer to delete this, than to let it in.
|
2014-09-11 20:51:52 +01:00 |
Miek Gieben
|
518ab47648
|
Move the tests into the existing _test.go files.
|
2014-09-11 20:49:20 +01:00 |
Miek Gieben
|
7c8f83b848
|
Merge pull request #125 from FiloSottile/ecdsa_fix
Fix NewPrivateKey ECDSA parsing, and add test
|
2014-09-11 20:45:01 +01:00 |
Miek Gieben
|
b6da65c4b0
|
typo in the docs
|
2014-09-11 08:49:16 +01:00 |
Filippo Valsorda
|
72f550b0ec
|
Fix NewPrivateKey ECDSA parsing, and add test
|
2014-09-10 17:04:39 -07:00 |
Miek Gieben
|
5cdb7e11a3
|
Merge branch 'master' of github.com:miekg/dns
|
2014-09-09 07:53:52 +01:00 |
Miek Gieben
|
ad58c7b338
|
Disabled two failing ECDSA tests
|
2014-09-09 07:53:09 +01:00 |
Miek Gieben
|
6ecd49ff89
|
Fix ECDSA algorithms
Current code was completely wrong, so validation of ECDSA didn't work.
The new tests now works, the old one now doesn't
|
2014-09-09 07:51:15 +01:00 |
Miek Gieben
|
643720d10d
|
Fix ECDSA algorithms
Current code was completely wrong, so validation of ECDSA didn't work.
The new tests now works, the old one now doesn't
|
2014-09-09 07:45:47 +01:00 |
Miek Gieben
|
41a8a22440
|
Merge pull request #123 from cpatulea/master
Update documentation references for EDNS0 and EDNS0_SUBNET.
|
2014-09-08 08:23:48 +01:00 |
Catalin Patulea
|
009c72175f
|
Update documentation references for EDNS0 and EDNS0_SUBNET.
Only EDNS0 is defined in RFC 6891 and EDNS0_SUBNET is actually just a draft.
|
2014-09-05 23:56:41 -04:00 |
Miek Gieben
|
818abf8202
|
Lowercase the Test to test
|
2014-09-05 08:47:23 +01:00 |
Miek Gieben
|
4b1fbc358e
|
Cleanup the test a bit
|
2014-09-05 08:44:31 +01:00 |
Miek Gieben
|
919e4f9daf
|
Add extra (failing) sign/verify test
|
2014-09-05 08:27:22 +01:00 |
Miek Gieben
|
608a5e2c5e
|
Merge pull request #122 from FiloSottile/patch-1
Correct the DNSKEY flag values
|
2014-09-04 23:37:14 +01:00 |
Filippo Valsorda
|
3a7db158f5
|
Correct the DNSKEY flag values
See https://www.iana.org/assignments/dnskey-flags/dnskey-flags.xhtml
Elsewhere in the code 256 (1 << 8) is used numerically for ZONE, so nothing breaks for now.
|
2014-09-04 15:31:23 -07:00 |
Miek Gieben
|
fbc3e49b78
|
Some documentation updates
|
2014-09-02 10:31:15 +00:00 |
Miek Gieben
|
b2755a0543
|
Some docs moved to RFC status
|
2014-08-30 15:46:37 +00:00 |
Miek Gieben
|
bf3728f44f
|
Add line to the readme
|
2014-08-30 15:42:51 +00:00 |
Miek Gieben
|
18c150f21a
|
zoneMatch is not used
|
2014-08-30 15:09:01 +01:00 |
Miek Gieben
|
85189d35e4
|
Add Exchange in the test.
Increases test coverage.
|
2014-08-30 15:06:20 +01:00 |
Miek Gieben
|
10dc4b971d
|
Merge pull request #117 from asergeyev/defaultmux
Addressed #115 (default mux should be cleaned after tests)
|
2014-08-30 14:49:07 +01:00 |
Alex Sergeyev
|
3489112d72
|
Addressed #115 (default mux should be cleaned after tests)
|
2014-08-30 09:45:30 -04:00 |
Miek Gieben
|
1fde15f6f3
|
Merge pull request #116 from asergeyev/master
Removed Goshed from Run???TestServer.
|
2014-08-30 14:42:49 +01:00 |
Alex Sergeyev
|
de77e9d14d
|
Removed Goshed from RunXXXTestServer and...
only used it for shutdown tests where it makes sense.
|
2014-08-30 09:35:54 -04:00 |
Miek Gieben
|
ebc5489482
|
Fix datarace in Start/Shutdown
Add mutex and guard a 'started' boolean as well as the stopUDP
and tcpTCP channels so that 'go test -race' does not trigger.
Closes #111, closes #114
|
2014-08-30 10:34:44 +01:00 |
Miek Gieben
|
06fc321c2c
|
fmt
|
2014-08-30 08:45:10 +01:00 |
Miek Gieben
|
5fd5c6d9eb
|
And actually fix the parsing
|
2014-08-30 08:44:16 +01:00 |