Commit Graph

94 Commits

Author SHA1 Message Date
AJ ONeal 12fef62e09 WIP Packer 2017-02-16 14:16:21 -07:00
AJ ONeal 367c0207d0 remove cruft 2017-02-16 14:15:53 -07:00
AJ ONeal 6807ffed9e usage and error output 2017-02-16 10:26:15 -07:00
AJ ONeal abf11b7205 add qd, an, ns, and ar counts 2017-02-11 16:01:02 -07:00
AJ ONeal af89bfa000 begin packer and test 2017-02-11 15:41:01 -07:00
AJ ONeal 037247c91b add static sanity check for human error of forgetting DataView endianness 2017-02-11 15:40:21 -07:00
AJ ONeal 6ecb2882dc fix file scope var packet bug 2017-02-11 14:27:44 -07:00
AJ ONeal bd433a8ddf chimney, cleanup, OPT parsing 2017-02-11 14:15:06 -07:00
AJ ONeal 8643e6e3c7 clarify type and class hex vs dec 2017-02-11 09:56:17 -07:00
AJ ONeal 7f673f6fbf only add compression pointer length once 2017-02-11 09:54:27 -07:00
AJ ONeal 8148e25d18 more helpful error 2017-02-11 09:32:50 -07:00
AJ ONeal 92e85bead3 fix bug in test 2017-02-11 09:09:47 -07:00
AJ ONeal bfce448a96 update tests 2017-02-11 09:03:29 -07:00
AJ ONeal f71b9b5aff how to contribute 2017-02-11 08:51:47 -07:00
AJ ONeal 8711c0b16e create proper ArrayBuffer from NodeBuffer https://github.com/nodejs/node/issues/11132 2017-02-06 10:53:07 -07:00
dwes7 ffac12f700 Gave packet a header class 2017-02-04 13:25:31 -07:00
AJ ONeal e3f2551889 note testing 2017-02-02 21:26:05 -07:00
AJ ONeal 99e4dca8a6 add tests 2017-02-02 21:19:59 -07:00
AJ ONeal 228c1d096f ignore generated json files 2017-02-02 21:11:47 -07:00
AJ ONeal 2bd8ea653d script to convert fixtures to json 2017-02-02 21:10:48 -07:00
AJ ONeal 5e125c9a31 don't pass too much data 2017-02-02 19:44:18 -07:00
AJ ONeal 75a03ad902 chimney! 2017-02-02 19:43:56 -07:00
AJ ONeal c65aa77333 add a nugget of wisdom 2017-02-02 19:36:39 -07:00
Daplie 087dc9555d started fixing format to match native dns. Spotted bug in unpacking labels. Not fixed yet 2017-02-02 18:39:32 -07:00
Daplie 59d27abafa clean up 2017-02-02 14:46:25 -07:00
Daplie 41410f8f86 cleanup 2017-02-02 14:11:45 -07:00
Daplie 7dead01aae txt record passes native dns test. 2017-02-02 14:10:40 -07:00
dwes7 1d513519b7 Merge branch 'master' of git.daplie.com:Daplie/dns-lint 2017-02-01 22:11:42 -07:00
dwes7 fd090e2cf1 minor changes 2017-02-01 22:11:07 -07:00
dwes7 8c8ddceddc SRV parser passes test native-dns test 2017-02-01 22:10:21 -07:00
AJ ONeal fb55be240d started browser code 2017-02-01 21:57:40 -07:00
AJ ONeal 2f87cd3797 cleanup 2017-02-01 21:41:33 -07:00
dwes7 bb87a2ea63 pushed wrong dns.type.mx.js 2017-02-01 20:48:41 -07:00
dwes7 88e6779641 finished PTR parser 2017-02-01 20:37:28 -07:00
dwes7 e8edc20080 NS record type parser complete. 2017-02-01 20:32:01 -07:00
Daplie 095def0fda added demo.html file, finished MX record type parser. 2017-02-01 19:45:03 -07:00
Daplie 5f048f3486 left some comments to explain code and my error. Code is kind of confusing for outside readers, but you can kind of see what I'm trying to do. 2017-02-01 18:46:09 -07:00
Daplie 3600809080 almost 2017-02-01 18:41:33 -07:00
Daplie faddeb3b88 started working on the mx record type. Parses but does not have periods in exchange address. 2017-02-01 18:28:43 -07:00
AJ ONeal d87c3019fa minor bugfix for browser use as per #10 2017-01-30 16:34:11 -07:00
AJ ONeal d3fce04a34 refactor as part of #8 compat with native-dns-packet / dns-js 2017-01-30 16:30:08 -07:00
AJ ONeal 0c2184ae00 fix #17 only use explicit big-endian methods 2017-01-30 11:43:41 -07:00
AJ ONeal fa180b0d4b use ab.slice(start, end) instead of ui8 array for rdata 2017-01-30 11:28:12 -07:00
AJ ONeal 6d5251524b simplify dns.type.aaaa.js 2017-01-30 11:21:06 -07:00
dwes7 a05b5d27f2 AAAA now passes the native dns tests. 2017-01-28 18:35:57 -07:00
AJ ONeal 88093062a2 It's a Christmas miracle! refactored and got CNAME in one shot - W00T! 2017-01-28 15:15:27 -07:00
dwes7 11484f70ba reorganzing 2017-01-28 13:53:54 -07:00
AJ ONeal 645c4c654c receive correct object 2017-01-28 13:32:55 -07:00
AJ ONeal d9bbacb0dc link to fixtures 2017-01-28 13:29:45 -07:00
AJ ONeal 562a9ff7c9 add native-dns-packet as a submodule 2017-01-28 13:28:48 -07:00