python - My scapy ipv6 route list is empty. How can i fix it. -
i coding in python , working ipv6. program wrote says sending packets upon closer inspection wireshark realized not send them out. source of problem scapy not innately find ipv6 route list, i.e. interfaces used in order send packet out. list empty.
moreover, when printing dnet.intf()
prints possible interfaces there no ipv6 interface in there. how can add new ipv6 interface? here ip config:
ethernet adapter local area connection 4: connection-specific dns suffix . : ecs.soton.ac.uk ipv6 address. . . . . . . . . . . : 2001:630:d0:f105:5cfe:e988:421a:a7b7 temporary ipv6 address. . . . . . : 2001:630:d0:f105:e8bc:7c26:9a40:31b8 link-local ipv6 address . . . . . : fe80::5cfe:e988:421a:a7b7%17 ipv4 address. . . . . . . . . . . : 152.78.61.39 subnet mask . . . . . . . . . . . : 255.255.255.0 default gateway . . . . . . . . . : fe80::210:18ff:fee5:5bfa%17 152.78.61.254 tunnel adapter 6to4 adapter: media state . . . . . . . . . . . : media disconnected connection-specific dns suffix . : tunnel adapter teredo tunneling pseudo-interface: connection-specific dns suffix . : ipv6 address. . . . . . . . . . . : 2001:0:5ef5:79fd:142e:398d:67b1:c2d8 link-local ipv6 address . . . . . : fe80::142e:398d:67b1:c2d8%13 default gateway . . . . . . . . . : tunnel adapter isatap.ecs.soton.ac.uk: media state . . . . . . . . . . . : media disconnected connection-specific dns suffix . : ecs.soton.ac.uk
and here list of interfaces scapy finds (no ipv6 found):
{'flags': 33, 'link_addr': b0:90:20:52:41:53, 'type': 6, 'name': 'eth0', 'mtu': 1500l} {'flags': 33, 'link_addr': b0:90:20:52:41:53, 'type': 6, 'name': 'eth1', 'mtu': 1500l} {'flags': 33, 'link_addr': 00:50:56:a0:1e:df, 'type': 6, 'name': 'eth2', 'mtu': 1500l} {'flags': 33, 'link_addr': 00:50:56:a0:1e:df, 'type': 6, 'name': 'eth3', 'mtu': 1500l} {'flags': 33, 'link_addr': b0:90:20:52:41:53, 'type': 6, 'name': 'eth4', 'mtu': 1500l} {'flags': 33, 'link_addr': b0:90:20:52:41:53, 'type': 6, 'name': 'eth5', 'mtu': 1500l} {'flags': 32, 'link_addr': 00:50:56:a0:00:6c, 'type': 6, 'name': 'eth6', 'mtu': 0l} {'flags': 32, 'link_addr': 00:50:56:a0:01:0e, 'type': 6, 'name': 'eth7', 'mtu': 0l} {'flags': 32, 'link_addr': 00:50:56:a0:6e:61, 'type': 6, 'name': 'eth8', 'mtu': 0l} {'addr': 152.78.61.39/24, 'mtu': 1500l, 'flags': 33, 'link_addr': 00:50:56:a0:1e:df, 'type': 6, 'name': 'eth9'} {'flags': 33, 'link_addr': b0:90:20:52:41:53, 'type': 6, 'name': 'eth10', 'mtu': 1500l} {'flags': 33, 'link_addr': b0:90:20:52:41:53, 'type': 6, 'name': 'eth11', 'mtu': 1500l} {'flags': 33, 'type': 23, 'name': 'ppp0', 'mtu': 1494l} {'flags': 33, 'link_addr': 20:41:53:59:4e:ff, 'type': 23, 'name': 'ppp1', 'mtu': 3256l} {'addr': 127.0.0.1/8, 'flags': 3, 'type': 24, 'name': 'lo0', 'mtu': 1500l} {'flags': 33, 'type': 131, 'name': 'tun0', 'mtu': 4091l} {'flags': 32, 'type': 131, 'name': 'tun1', 'mtu': 1480l} {'flags': 33, 'type': 131, 'name': 'tun2', 'mtu': 1460l} {'flags': 33, 'type': 131, 'name': 'tun3', 'mtu': 1464l} {'flags': 32, 'type': 131, 'name': 'tun4', 'mtu': 1280l} {'flags': 32, 'type': 131, 'name': 'tun5', 'mtu': 1280l} {'flags': 33, 'type': 131, 'name': 'tun6', 'mtu': 1472l} {'flags': 32, 'type': 131, 'name': 'tun7', 'mtu': 1280l}
finally, conf.route6
list empty.
please me fix problem, whole dissertation depends on , not easy problem fix unless have inside information.
Comments
Post a Comment