forked from DNS-OARC/dnsjit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- `core.object.dns`: - Issue DNS-OARC#39: Remove private struct and pull in `omg-dns` code - Issue DNS-OARC#39: Add constants and strings for class, type, opcode, rcode etc - Add new objects `core.object.dns.label`, `core.object.dns.q` and `core.object.dns.rr` - Make it possible to reuse a `core.object.dns` for parsing another payload - Rework the way parsing more then just the header is done: - Remove functions `rr_reset()`, `rr_ok()`, `rr_label()`, `rr_type()`, `rr_class()` and `rr_ttl()` - Remove attributes `questions`, `answers`, `authorities` and `additionals` - Add function `parse_q()` and `parse_rr()` - Payload object is now optional for `new()` - Change `parse()`, see documentation - Remove old (non-working) functions `src()` and `dst()` - Remove old (unused) attributes `src_id`, `qr_id`, `dst_id`, `sport` and `dport` - `print()` now displays textual representation of types and codes - `core.object`: Remove prefix for constants - `examples/*`: - Add `respdiff.lua`, based on `playqr.lua` but only uses `output.respdiff` - Remove `playqr.lua` - Update all examples with changes made to `core.object` and `core.object.dns` - `README.md`/Makefiles: Remove `omg-dns` dependency - `filter.layer`: Update parsing to use `memcpy()` and `bswap_nn()` for possible assembler optimization - `input.fpcap`: Update parsing to use `bswap_nn()` for possible assembler optimization - `input.mmpcap`: Update parsing to use `bswap_nn()` for possible assembler optimization
- Loading branch information
Showing
25 changed files
with
1,683 additions
and
1,091 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.