python - An issue about IPv6 address in Scapy -


i'm using scapy in python2.6 , met issue ipv6 address:

from scapy.all import * p = ipv6(src = '1:0:0:1::1', dst = '2:0:0:2::2') print p.src, p.dst p.show() 

it seems scapy replaced every continuation of '0' '::', result of print turned out be:

1::1::1 2::2::2 

and p.show() part raised exception complaining illegal syntax ip address.

is problem unsolved in scapy or there configuration not right in scapy? thx in advance.

i'm having same issue on fedora 26 installation. after searching in github issue-list of scapy project. i've discovered following bug-reports , fixes:

bugreport: 0 block in ipv6 route prefix misinterpreted #359

changeset 1 (note: linux/unix )

changeset 2 (note: windows , linux/unix )

these changes made in dec 16/jan 17. version 2.3.3 dates oct 2016. when 2.3.4 released, contain these 2 fixes.


Comments