Discussion:
IPv6 Fragmentation - can't detect response
Mick Jones
2014-02-02 15:32:30 UTC
Permalink
Hi all,

I am trying to fragment an IPv6 using scapy and then detect if a response is
received, for example:

i =
IPv6(dst="www.vk.com")/IPv6ExtHdrFragment()/ICMPv6EchoRequest()/"AAAAAAAAAA"

sr1(fragment6(i,56))

However, scapy never detects a response, even though I am able to see a
response in wireshark/tcpdump.

Is this expected behaviour? If this is expected behaviour, how can I use
scapy to detect if there has been a response?

If it isn't expected behaviour, could someone please provide a potential
workaround.

Regards,

Mick


---------------------------------------------------------------------
To unsubscribe, send a mail to scapy.ml-***@secdev.org
Guillaume Valadon
2014-02-04 08:29:47 UTC
Permalink
Hi,
Post by Mick Jones
Is this expected behaviour? If this is expected behaviour, how can I use
scapy to detect if there has been a response?
Unfortunately, Scapy doesn't know how to refragment IP packets. You have
to implement refragmentation in your script

Guillaume



---------------------------------------------------------------------
To unsubscribe, send a mail to scapy.ml-***@secdev.org

Loading...