python - Receiving Custom Protocol Packets With Scapy and NetFilter Queue -
i doing project involves shimming packet custom layer containing specific fields. managed using guide here:
http://www.secdev.org/projects/scapy/doc/build_dissect.html
the guide great on how build , send packets custom layers, not on how receive them.
i have packet form:
ip()/customlayer()/icmp() and sending packet host receive packet using python's netfilter queue , scapy libraries.
my question is, how receive incoming packet custom layers in , still have access fields? trying parse packet with
ip(packet) seems not working.. appreciated!
have tried declare empty packet first?
pkt = ip()/customlayer()/icmp() and then
pkt = ip(packet) look here , may find solution problem: extract scapy custom layer
Comments
Post a Comment