Hadron67 / ndp_fix

Respond all ipv6 neighbor solicitation messages in macOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ndp_fix

Respond all ipv6 neighbor solicitation messages in MacOS.

To compile and run:

gcc -o ndp_fix ndp_fix.c
sudo ./ndp_fix

Because it uses raw socket, sudo is required.

Why

MacOS does not respond neighbor solicitations with global source addresses (see here and here). So if the router uses global source address for neighbor discovery protocol it will be unable to get the device's MAC address and cannot forward packets to it, even if the device has successfully configured a global ipv6 address via SLAAC or DHCPv6.

About

Respond all ipv6 neighbor solicitation messages in macOS


Languages

Language:C 100.0%