Skip to content
/ ndppd Public
forked from sho7650/ndppd

NDP Proxy Daemon for USG (Unifi Security Gateway)

License

Notifications You must be signed in to change notification settings

monman53/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.

Changelog for USG (UniFi Security Gateway)

index 00ca22b..3900339 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,12 @@
 ifdef DEBUG
 CXXFLAGS ?= -g -DDEBUG
 else
-CXXFLAGS ?= -O3
+CXXFLAGS = -O3
+LDFLAGS  = -static
 endif

-PREFIX  ?= /usr/local
-CXX     ?= g++
+PREFIX  = /ndppd/local
+CXX     = /usr/bin/mips64-linux-gnuabi64-g++
 GZIP    ?= /bin/gzip
 MANDIR  ?= ${DESTDIR}${PREFIX}/share/man
 SBINDIR ?= ${DESTDIR}${PREFIX}/sbin

how to use

  1. git clone to your home computer
git clone https://github.com/monman53/ndppd.git
  1. run your docker with ndppd directory
docker run -v $PWD/ndppd:/ndppd -it --rm monman/mips64
  1. run make
cd /ndppd
make
  1. copy files to your USG
scp ndppd xxxx@xxx.xxx.xxx.xxx:/ndppd/local/sbin
scp scripts/ndppd xxxx@xxx.xxx.xxx.xxx:/config/scripts/post-config.d
scp scripts/ndppd.initscript xxxx@xxx.xxx.xxx.xxx:/ndppd/local/sbin

!!! check owner and execute flags of these files on your edgerouter

About

NDP Proxy Daemon for USG (Unifi Security Gateway)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

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