0dc41ef845
(tests) Implement tests for DNS header parsing
...
* implemented 3 tests
* valid opcodes
* invalid opcodes
* header too short
* fixed byteorder and bit shifting for flags
* added hexdump for main function for testing purposes
2022-04-06 20:19:41 +02:00
cccdf5b5e9
Implement TryFrom for DNSOpCode and DNSRCode. ( #15 )
...
Co-authored-by: Tobias Ottenweller <tobi@ottenweller.net>
Reviewed-on: #15
2022-04-06 20:18:38 +02:00
812264e2ab
(chore) replace flume dependency with std::sync::mpsc ( #12 )
...
Co-authored-by: ddidderr <ddidderr@paul.network>
Reviewed-on: #12
2022-04-06 20:17:48 +02:00
b9ff4c9a51
Move parsing of udp datagram for dns header into model
2022-03-15 17:01:17 +01:00
71223309d7
Code for parsing headers added.
2022-03-13 21:56:17 +01:00