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

This branch is 2 commits ahead of sho7650/ndppd:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

eb674e0 · Oct 16, 2021
Apr 19, 2020
May 6, 2019
Sep 18, 2011
Jul 1, 2017
Sep 18, 2011
Oct 16, 2021
Apr 18, 2016
Oct 16, 2021
Oct 18, 2016
Oct 20, 2018
Feb 3, 2012
Jul 5, 2017
Jul 2, 2017
May 17, 2017

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 [email protected]:/ndppd/local/sbin
scp scripts/ndppd [email protected]:/config/scripts/post-config.d
scp scripts/ndppd.initscript [email protected]:/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%