Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clients, responses and objects #64

Merged
merged 1 commit into from
May 10, 2018
Merged

Clients, responses and objects #64

merged 1 commit into from
May 10, 2018

Conversation

jelu
Copy link
Member

@jelu jelu commented May 10, 2018

  • README/examples/readme.lua: Update example to use filter.coro
  • examples/dumpdns-qr.lua: Use core.objects, filter.coro and local variables
  • examples/dumpdns.lua: Use core.objects, filter.coro and core.object.dns:print()
  • examples/filter_rcode.lua: Use core.objects and filter.coro
  • examples/playqr.lua: Add example of replaying DNS queries and showing the original response vs received response
  • examples/replay.lua:
    • Add -t to use output.tcpcli
    • Add -u to use output.udpcli
    • Use core.object.dns:print()
  • core.compat: Add documentation
  • core.object:
    • Add core.object.payload
    • core_object_copy(): Disable copying of core.object.udp
  • core.object.dns:
    • Issue core.object.dns #39: Parse core.object.payload instead of core.object.udp
    • Add rr_reset() to reset the walking of resource records
    • Add print() to print the DNS message
  • core.object.ip:
    • Remove payload attributes in favor of core.object.payload
    • Add source() and destination() to get a string representation of the IP addresses
  • core.object.ip6:
    • Remove payload attributes in favor of core.object.payload
    • Add source(pretty) and destination(pretty) to get a string representation of the IP addresses, if pretty is true then return easier to read addresses (RFC 5952)
  • core.object.payload: Add new object to hold the payload of any other object with the option to have padding
  • core.object.tcp: Remove payload attributes in favor of core.object.payload
  • core.object.udp: Remove payload attributes in favor of core.object.payload
  • core.objects: Add new module to easier require() all objects
  • filter.coro: Handle error on resume
  • filter.layer: Use core.object.payload for all payloads
  • core.output.tcpcli:
    • Use core.object.payload on receive instead of core.object.tcp or core.object.udp
    • Issue output.tcpcli #47: Add producer to receive responses
    • Use non-blocking mode as default
  • core.output.udpcli:
    • Use core.object.payload on receive instead of core.object.tcp or core.object.udp
    • Issue output.udpcli #46: Add producer to receive responses
    • Use non-blocking mode as default

- `README`/`examples/readme.lua`: Update example to use `filter.coro`
- `examples/dumpdns-qr.lua`: Use `core.objects`, `filter.coro` and local variables
- `examples/dumpdns.lua`: Use `core.objects`, `filter.coro` and `core.object.dns:print()`
- `examples/filter_rcode.lua`: Use `core.objects` and `filter.coro`
- `examples/playqr.lua`: Add example of replaying DNS queries and showing the original response vs received response
- `examples/replay.lua`:
  - Add `-t` to use `output.tcpcli`
  - Add `-u` to use `output.udpcli`
  - Use `core.object.dns:print()`
- `core.compat`: Add documentation
- `core.object`:
  - Add `core.object.payload`
  - `core_object_copy()`: Disable copying of `core.object.udp`
- `core.object.dns`:
  - Issue DNS-OARC#39: Parse `core.object.payload` instead of `core.object.udp`
  - Add `rr_reset()` to reset the walking of resource records
  - Add `print()` to print the DNS message
- `core.object.ip`:
  - Remove payload attributes in favor of `core.object.payload`
  - Add `source()` and `destination()` to get a string representation of the IP addresses
- `core.object.ip6`:
  - Remove payload attributes in favor of `core.object.payload`
  - Add `source(pretty)` and `destination(pretty)` to get a string representation of the IP addresses, if `pretty` is true then return easier to read addresses (RFC 5952)
- `core.object.payload`: Add new object to hold the payload of any other object with the option to have padding
- `core.object.tcp`: Remove payload attributes in favor of `core.object.payload`
- `core.object.udp`: Remove payload attributes in favor of `core.object.payload`
- `core.objects`: Add new module to easier `require()` all objects
- `filter.coro`: Handle error on resume
- `filter.layer`: Use `core.object.payload` for all payloads
- `core.output.tcpcli`:
  - Use `core.object.payload` on receive instead of `core.object.tcp` or `core.object.udp`
  - Issue DNS-OARC#47: Add producer to receive responses
  - Use non-blocking mode as default
- `core.output.udpcli`:
  - Use `core.object.payload` on receive instead of `core.object.tcp` or `core.object.udp`
  - Issue DNS-OARC#46: Add producer to receive responses
  - Use non-blocking mode as default
@jelu jelu merged commit 6062ec0 into DNS-OARC:develop May 10, 2018
@jelu jelu deleted the cli-recv branch May 10, 2018 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant