Miek Gieben
c7dd37b000
Fix TXT validation
2012-02-22 22:11:40 +01:00
Miek Gieben
b47f11ff9c
Dont know what I wanted with this
2012-02-19 15:49:02 +01:00
Miek Gieben
73299288aa
Remove the TODO
2012-02-19 15:38:21 +01:00
Miek Gieben
9bdd445088
HIP pack support - not tested
2012-02-19 15:37:27 +01:00
Miek Gieben
c82a1af1e3
HIP unpack support -- not tested
2012-02-19 15:33:12 +01:00
Miek Gieben
f45d4d933d
Add length for base64 encodings
2012-02-19 15:24:26 +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
37ef7bd219
More TXT related fixes
...
Add two corner cases for testing
2012-02-13 19:08:37 +01:00
Miek Gieben
d235bf4c2e
Remove debugging stuff
2012-02-13 16:18:42 +01:00
Miek Gieben
c30821fece
Fix TXT packing and unpacking
2012-02-13 16:12:26 +01:00
Miek Gieben
2c44133163
Fixes for the new presentation of txt records
2012-02-13 15:59:40 +01:00
Miek Gieben
77b60231e7
If we add a dot to a name, be sure to remove one from the length
2012-02-05 11:33:55 +01:00
Miek Gieben
b639fa305d
Fix overflow when the buffer is really small
2012-01-29 19:11:55 +01:00
Miek Gieben
402ce277df
add the strings for these rcodes too
2012-01-29 18:55:49 +01:00
Miek Gieben
09ac6c8dc5
gofmt
2012-01-28 00:35:37 +01:00
Miek Gieben
bc2b826f38
Remove udpsize from ListenAndServer, too ugly
2012-01-27 08:45:33 +01:00
Miek Gieben
784713d0e0
Docs
2012-01-26 22:52:29 +01:00
Miek Gieben
4f588a5d15
documentation
2012-01-26 22:46:59 +01:00
Miek Gieben
04cbdae47a
Fix DS overflow when unpacking
2012-01-23 20:29:47 +01:00
Miek Gieben
7b67cbff49
Set the timeouts throughout the code. New Golang api
2012-01-23 20:25:15 +01:00
Miek Gieben
6e6b67afd5
Fix NSEC(3) with no bitmap
2012-01-23 11:30:26 +01:00
Miek Gieben
67573c14b3
Implement NSEC3 NODATA proof
2012-01-22 11:33:51 +01:00
Miek Gieben
f25584e94e
Overflow fixes
2012-01-21 12:35:19 +01:00
Miek Gieben
5917838cbb
gofmt
2012-01-20 12:24:20 +01:00
Miek Gieben
ea789b6f23
Add nsec3 NXDOMAIN proof
2012-01-19 19:48:09 +01:00
Miek Gieben
7bffcd35bb
Start with nsec3 validation
2012-01-17 19:16:58 +01:00
Miek Gieben
c0af79d3b3
slightly better documentation
2012-01-16 21:57:57 +01:00
Miek Gieben
240879c40d
Documentation
2012-01-16 21:49:17 +01:00
Miek Gieben
9f3a1c1f13
Documentation and make ParseKey private (parseKey)
2012-01-16 21:44:49 +01:00
Miek Gieben
96d79c6816
Fix NSEC3/NSEC parsing. Looks much saner now
2012-01-16 13:45:45 +01:00
Miek Gieben
1ae8cb4101
Check nsec unpacking
2012-01-15 20:46:11 +01:00
Miek Gieben
b4bf6278de
Remove println
2012-01-15 17:18:44 +01:00
Miek Gieben
06fdc07772
Fix nsec3 decoding
2012-01-15 17:18:02 +01:00
Miek Gieben
0dcb849ca2
Fix NSEC3 encoding
2012-01-15 13:53:32 +01:00
Miek Gieben
e76189c8f7
NSEC3 working for types < 256
2012-01-15 13:20:53 +01:00
Miek Gieben
dc6c6d7c9e
NSEC3 is starting to work
2012-01-15 12:15:05 +01:00
Miek Gieben
03a8ee13a2
NSEC3 encoding works
...
Only for 1 windows, but dig has stopped complaining. This
needs to be streamlined a little, but its looking good.
2012-01-14 11:08:42 +01:00
Miek Gieben
7f6a5f4497
Its isnt slow
2012-01-12 21:32:50 +01:00
Miek Gieben
7ddb5feb69
RawRdlength seems to work;
2012-01-12 21:10:29 +01:00
Miek Gieben
036d6e4c2c
Fix edns0 overflow message
2012-01-12 20:22:21 +01:00
Miek Gieben
92a51b4374
Who wrote what
2012-01-12 10:53:19 +01:00
Miek Gieben
2543321215
Fix the packing failure
...
non-fqdn don't generate an packing failure. Need to do something
about this. Maybe not returning a bool from pack, but a real Error
2012-01-11 21:19:46 +01:00
Miek Gieben
eb12c526f2
Add more tests
2012-01-11 21:03:47 +01:00
Miek Gieben
3886728bdb
Add debug prints back in msg.go
2012-01-11 20:50:08 +01:00
Miek Gieben
416eb764c7
Much better message length
2012-01-11 20:37:26 +01:00
Miek Gieben
f1a3b31384
Make a packStructCompress() to leave packStruct() simpler
2012-01-11 20:33:38 +01:00
Miek Gieben
eafe995a56
Add a compression flag to msg struct
2012-01-11 20:26:39 +01:00
Miek Gieben
0008471adf
Add empty CompressedLen function
2012-01-11 20:12:38 +01:00
Miek Gieben
13f1f5b066
Question is compressible IMO
2012-01-11 16:22:58 +01:00