2017-09-24 00:49:27 +00:00
|
|
|
# DNSparse
|
|
|
|
|
|
|
|
Playing around with parsing dns packets in Javascript.
|
|
|
|
|
|
|
|
## ToDo
|
2017-09-24 00:51:04 +00:00
|
|
|
- [x] Import packet string into Arraybuffer
|
2017-09-27 21:17:06 +00:00
|
|
|
- [x] Parse the headers into a Javascript object
|
|
|
|
- [x] Test/Fix browser JS compatibility
|
|
|
|
|
|
|
|
To see the parsed result of the packet, clone the repo and :
|
|
|
|
|
2017-09-27 21:27:51 +00:00
|
|
|
```npm install && npm start```
|
2017-09-27 21:17:06 +00:00
|
|
|
|
2017-09-27 21:24:32 +00:00
|
|
|
To view in the browser, open `index.html` in your browser and look at the console output.
|
|
|
|
|
2017-09-27 23:48:40 +00:00
|
|
|
The raw packet that is parsed has also been saved as `./data.udp.bin`, if you would like to look at it to parse it some other way.
|
2017-09-24 00:49:27 +00:00
|
|
|
|