Miek Gieben
314a0eebcc
Add support for L32, NID, L64 and LP records
2012-11-18 10:29:05 +01:00
Miek Gieben
5afca3330b
Add tests and uppercase output of L64
2012-11-18 09:10:28 +01:00
Miek Gieben
43cadb2ffd
Add parse test for octects in the name
2012-11-15 09:39:32 +01:00
Miek Gieben
dce8b2e71a
gofmt
2012-10-10 22:17:50 +02:00
Miek Gieben
ca8b17dda2
Fix the tests
2012-10-09 22:15:33 +02:00
Miek Gieben
43f5cb9d27
add test
2012-10-05 09:49:31 +02:00
Miek Gieben
5c80e68e1e
add tests
2012-09-17 08:56:27 +02:00
Miek Gieben
915781ea86
Better naming
2012-09-11 21:45:21 +02:00
Miek Gieben
49eebd3be4
fix benchmarking for zonedata
2012-08-25 21:30:16 +02:00
Miek Gieben
98e06078aa
remove
2012-05-20 18:10:25 +02:00
Miek Gieben
251f3973f0
make it an example test
2012-05-20 15:41:14 +02:00
Miek Gieben
3a2cf2eda3
extra tests
2012-05-20 15:32:07 +02:00
Miek Gieben
9c67491aee
cleanup and extra test
2012-05-20 15:31:35 +02:00
Miek Gieben
7a3af5b729
Support $GENERATE (the bind extension).
...
It is even better than the bind one, because all records are
supported (as long as the output is valid)
2012-05-20 15:28:27 +02:00
Miek Gieben
f0154aa0c2
Fix and test rfc 1982 arithmetic
2012-05-15 12:24:57 +02:00
Miek Gieben
3611c4d458
fmt
2012-05-05 17:37:48 +02:00
Miek Gieben
63f90d6546
LOC record parses (from wire and zonefiles)
2012-05-01 22:28:49 +02:00
Miek Gieben
79ea0f8e31
Fix LOC parsing
2012-05-01 22:21:44 +02:00
Miek Gieben
d30dcf93e0
Doesnt parse from string - otherwise it works
2012-04-30 23:59:15 +02:00
Miek Gieben
2ea2204a8b
add test
2012-04-30 21:57:42 +02:00
Miek Gieben
d85d8f9fe9
Start adding LOC tests
2012-04-30 21:42:58 +02:00
Miek Gieben
872dc4fc6b
Make the private key reading more natural
2012-04-15 20:55:25 +02:00
Miek Gieben
b58c604e17
Add symmetry to the reading of public/private keys
...
Add a NewPrivateKey that works on strings and calls ReadPrivateKey
that works on io.Readers.
2012-04-15 20:50:53 +02:00
Miek Gieben
134b557647
Start with validating Curve algos
2012-04-11 16:20:29 +02:00
Miek Gieben
1e1559423d
Fix EC signing
2012-04-11 16:09:40 +02:00
Miek Gieben
b1099c10b8
More stuff for ecdsa. Need to find good abstraction
2012-04-11 15:42:33 +02:00
Miek Gieben
edf4b3d11b
Test signing with ecdsa
2012-04-11 15:13:17 +02:00
Miek Gieben
a06e3e497c
small tweak in the tests
2012-04-06 19:29:50 +02:00
Miek Gieben
df6d86e937
Fix for when not seeing an RR at all
2012-03-03 17:40:30 +01:00
Miek Gieben
3232814d1b
Fix client side TSIG
...
Redesign of TSIG. Validation is on the TOOD - this can be
done in the same way as in the server.
2012-03-01 22:40:34 +01:00
Miek Gieben
172c89675c
Add another weird looking RR to test
2012-03-01 09:16:28 +01:00
Miek Gieben
5fec355528
Allow TYPExxxx syntax in NSECx records
2012-02-28 20:20:07 +01:00
Miek Gieben
0c0b97f72b
Parsing fix for lines starting with class or TTL
...
name. IN SOA a6.nstld.com. hostmaster.nic.name ....
IN 7200 NS j6.nstld.com.
7200 IN NS k6.nstld.com.
Wasn't handled properly
2012-02-27 18:48:53 +01:00
Miek Gieben
89c05b4f74
gofmt
2012-02-23 19:37:08 +01:00
Miek Gieben
69cecf63bd
Newline in text record
2012-02-23 19:15:06 +01:00
Miek Gieben
9c5c2ee96f
Fix very large SOA/TTL values
2012-02-19 18:36:59 +01:00
Miek Gieben
71a776ddb5
Fix HIP and add ExampleHIP test function
2012-02-19 12:28:31 +01:00
Miek Gieben
88a0052d1d
Fix newline/space handling and braces
...
( dsjkdjk
djsdjk
)
( dkjsdjsd
djskdjsd
)
Are two different strings, the above contains NO spaces, the bottom
one does. This doesn't matter anywhere, except in HIP record, which
say some data may not contain spaces.
2012-02-19 12:04:27 +01:00
Miek Gieben
32ce3502ae
add HIP here too
2012-02-19 11:27:16 +01:00
Miek Gieben
bc6eca4ec4
Put this in a example test function
2012-02-17 20:37:19 +01:00
Miek Gieben
542ca8ed6d
Add ref to 4592 and tests it
2012-02-15 10:28:55 +01:00
Miek Gieben
d89f439689
Extra parse tests
2012-02-15 10:02:21 +01:00
Miek Gieben
ef524d882a
Add features to soa parsing
2012-02-15 09:04:09 +01:00
Miek Gieben
63d8b1feb1
Implement TTLs in words
...
1H, 1M, 1W2D, etc. should now be parsed in TTLs
2012-02-14 15:14:54 +01:00
Miek Gieben
7ef88cf5b3
Add support for @
...
For this to work ParseZone was extended to accept a starting
origin. This way even zonefiles without $ORIGIN would work
as expected. This is an api change.
2012-02-14 13:46:40 +01:00
Miek Gieben
3bb902e549
Add more testing
2012-02-13 21:39:27 +01:00
Miek Gieben
37ef7bd219
More TXT related fixes
...
Add two corner cases for testing
2012-02-13 19:08:37 +01:00
Miek Gieben
2f64868d3c
Add quotes to the parsing engine.
...
Support:
TXT
NAPTR
And other record that we may use.
2012-02-13 13:19:37 +01:00
Miek Gieben
42efa912b5
Almost there with parsing
2012-02-12 23:00:26 +01:00
Miek Gieben
a7b2a88e7a
Parsing TXT records now works OK
2012-02-12 22:24:18 +01:00