Skip to content

ikucuze/ndppd

 
 

Repository files navigation

NDPPD

ndppd, or NDP Proxy Daemon, is a daemon that proxies neighbor discovery messages. It listens for neighbor solicitations on a specified interface and responds with neighbor advertisements - as described in RFC 4861 (section 7.2).

Current status

Version 0.x has been discontinued, and is being replaced by 1.0-devel which you can find here.

Autostartup Setup

To enable autostartup of the compiled ndppd please follow the steps below, you will have needed to setup your configuration and compiled this project already. For this tutorial I have used the directory /home/ubnt to store my compiled ndppd and its configuration. Change these to your liking.

1 Create and chmod the startup scripts.

sudo touch /config/scripts/post-config.d/ipv6.sh && sudo touch /config/scripts/daemon.sh
sudo chmod 755 /config/scripts/post-config.d/ipv6.sh && sudo chmod 755 /config/scripts/daemon.sh

2 Now popullate the files with this startup code.

  • Change the ndppd directories used to where you saved yours, same with the configuration file.
  • Make sure that if you are using an editor on windows over SFTP to popullate these files that EOL Conversion is set to Unix (LF).
/config/scripts/post-config.d/ipv6.sh
#!/bin/bash
nohup /config/scripts/ipv6.sh & 
/config/scripts/daemon.sh
#!/bin/bash
sudo /home/ubnt/ndppd -c /home/ubnt/ndppd.conf

3 Make sure that ndppd is executable too and you're done!

sudo chmod 755 /home/ubnt/ndppd

All you have to do now is reboot the router and everything should be running smoothly.

About

NDP Proxy Daemon

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 82.9%
  • C 12.0%
  • Roff 3.6%
  • Other 1.5%