Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
README
/examples/readme.lua
: Update example to usefilter.coro
examples/dumpdns-qr.lua
: Usecore.objects
,filter.coro
and local variablesexamples/dumpdns.lua
: Usecore.objects
,filter.coro
andcore.object.dns:print()
examples/filter_rcode.lua
: Usecore.objects
andfilter.coro
examples/playqr.lua
: Add example of replaying DNS queries and showing the original response vs received responseexamples/replay.lua
:-t
to useoutput.tcpcli
-u
to useoutput.udpcli
core.object.dns:print()
core.compat
: Add documentationcore.object
:core.object.payload
core_object_copy()
: Disable copying ofcore.object.udp
core.object.dns
:core.object.payload
instead ofcore.object.udp
rr_reset()
to reset the walking of resource recordsprint()
to print the DNS messagecore.object.ip
:core.object.payload
source()
anddestination()
to get a string representation of the IP addressescore.object.ip6
:core.object.payload
source(pretty)
anddestination(pretty)
to get a string representation of the IP addresses, ifpretty
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 paddingcore.object.tcp
: Remove payload attributes in favor ofcore.object.payload
core.object.udp
: Remove payload attributes in favor ofcore.object.payload
core.objects
: Add new module to easierrequire()
all objectsfilter.coro
: Handle error on resumefilter.layer
: Usecore.object.payload
for all payloadscore.output.tcpcli
:core.object.payload
on receive instead ofcore.object.tcp
orcore.object.udp
core.output.udpcli
:core.object.payload
on receive instead ofcore.object.tcp
orcore.object.udp