saminiir / level-ip

A hacker's userspace TCP/IP stack
https://www.saminiir.com
MIT License
2.61k stars 379 forks source link

Unsupported IP header/ ethernet type msgs #28

Open ahmedwahdan opened 5 years ago

ahmedwahdan commented 5 years ago

Describe your issue

This is the log when running sudo ./lvl-ip

~/level-ip$ sudo ./lvl-ip Unsupported ethertype 86dd ARP was not for us Unknown IP header proto : 2 Unsupported ethertype 86dd Unknown IP header proto : 17 Unknown IP header proto : 17 Unknown IP header proto : 17 Unsupported ethertype 86dd Unknown IP header proto : 2 Unknown IP header proto : 17 Unknown IP header proto : 17 Unsupported ethertype 86dd Unknown IP header proto : 17 ARP was not for us Unsupported ethertype 86dd Unsupported ethertype 86dd Unsupported ethertype 86dd Unknown IP header proto : 17 Unsupported ethertype 86dd Unsupported ethertype 86dd Unknown IP header proto : 17 Unsupported ethertype 86dd Unknown IP header proto : 17 Unsupported ethertype 86dd Unsupported ethertype 86dd Unsupported ethertype 86dd Unknown IP header proto : 17 Unknown IP header proto : 17 Unknown IP header proto : 17 Unsupported ethertype 86dd Unsupported ethertype 86dd Unknown IP header proto : 17 Unknown IP header proto : 17 Unsupported ethertype 86dd Unknown IP header proto : 17 Unsupported ethertype 86dd Unknown IP header proto : 17 Unsupported ethertype 86dd Unsupported ethertype 86dd Unknown IP header proto : 17 Unsupported ethertype 86dd Unsupported ethertype 86dd Unknown IP header proto : 17 Unsupported ethertype 86dd Unknown IP header proto : 17

Describe your running environment

Ubuntu 16.04 LTS

Jackistang commented 4 years ago

I have the same problem with you.

Jackistang commented 4 years ago

"Unsupported ethertype 86dd." 0x86DD is the IPv6 type, and the IPv6 protocol isn't supported in the programs. But also I don't find the solutions.

oliverhu commented 4 years ago

@Jackistang facing the same issue, thank for pointing out it is due to ipv6. I think the solution would have to be taking the material learnt from the posts and build it out :joy:

helintongh commented 4 years ago

Turn off ipv6 support on your computer. In centos 7,you can sysctl -w net.ipv6.conf.all.disable_ipv6=1 sysctl -w net.ipv6.conf.default.disable_ipv6=1

in ubuntu, you can: sysctl -w net.ipv6.conf.all.disable_ipv6=1 sysctl -w net.ipv6.conf.default.disable_ipv6=1 sysctl -w net.ipv6.conf.lo.disable_ipv6 =1 then will not report this log.