├── .gitignore ├── GNUmakefile ├── LICENSE ├── LICENSE.LGPLv3 ├── NEWS.md ├── README.md ├── etc ├── NetworkManager │ └── dispatcher.d │ │ ├── 08-ipv6-prefix │ │ ├── 09-ddns │ │ ├── 90-transmission │ │ ├── 95-radvd-gen │ │ ├── 96-interface-action │ │ └── pre-down.d │ │ ├── 08-ipv6-prefix │ │ └── 96-interface-action ├── nmutils │ ├── ddns-functions │ ├── dispatcher_action │ ├── general-functions │ └── ipv6_utils.sh └── systemd │ └── system │ ├── ddns-onboot@.service │ └── ddns-onboot@.timer ├── examples ├── complex │ ├── ddns-eth0-from-eth0.conf │ ├── ddns-eth0.conf │ ├── ddns-eth1-from-eth0.conf │ ├── ddns-eth1.conf │ ├── general.conf │ ├── ifa50-mylogger-eth1.conf │ ├── ipv6-prefix-eth0.conf │ ├── ipv6-prefix-eth1-from-eth0.conf │ ├── ipv6-prefix-eth2-from-eth0.conf │ ├── radvd-gen.conf │ └── radvd.conf.templ └── simple │ ├── ifa99-rsyslog-eth0.conf │ ├── ipv6-prefix-eth0.conf │ └── radvd.conf.templ ├── meson.build ├── meson_options.txt ├── nmutils.spec ├── selinux ├── GNUmakefile ├── nmutils.fc └── nmutils.te └── test ├── Makefile ├── bin ├── dhclient-mock ├── dhcpcd-mock ├── dig-mock ├── dummy-mock ├── ip-mock ├── nmcli-mock ├── nsupdate-mock ├── radvd-trigger ├── rdisc6-mock ├── resolvconf-mock ├── resolvectl-mock ├── systemctl-mock └── systemd-run-mock ├── conf ├── 1-ip-mock-addrs ├── 1-radvd.conf.templ ├── 2-ip-mock-addrs ├── 2-radvd.conf.templ ├── 3-ip-mock-addrs ├── 3-radvd.conf.templ ├── 4-ip-mock-addrs ├── 4-radvd.conf ├── 4-radvd.conf.templ ├── common.conf ├── ddns-br1-from-wan0.conf ├── ddns-br1-from-wan1.conf ├── ddns-eth0-from-eth0.conf ├── ddns-eth0.conf ├── ddns-eth1.conf ├── dig-mock-names ├── general.conf ├── ip-mock-addrs ├── ip-mock-monitor ├── ip-mock-routes ├── ipv6-prefix-br0-from-wan0.conf ├── ipv6-prefix-br1-from-wan0.conf ├── ipv6-prefix-eth3-from-wan0.conf ├── ipv6-prefix-wan1.conf ├── ipv6-prefix-wan2.conf ├── nm-ddns-br1-from-xxx.conf ├── nm-ddns-eth0.conf ├── nmcli-mock-values ├── nmg_xtest ├── radvd-gen.conf ├── shtest_setup ├── test-ddns.conf ├── testweb-ddns.conf └── xtest_setup ├── ddns-test ├── expected ├── 1-radvd.conf ├── 2-radvd.conf ├── 3-radvd.conf └── 4-radvd.conf ├── general-test ├── ipv6-prefix-addr-test ├── ipv6-prefix-dhclient-test ├── ipv6-prefix-dhcpcd-test ├── ipv6-prefix-nm-test ├── nm-ddns-test └── radvd-test /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/.gitignore -------------------------------------------------------------------------------- /GNUmakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/GNUmakefile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSE.LGPLv3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/LICENSE.LGPLv3 -------------------------------------------------------------------------------- /NEWS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/NEWS.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/README.md -------------------------------------------------------------------------------- /etc/NetworkManager/dispatcher.d/08-ipv6-prefix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/etc/NetworkManager/dispatcher.d/08-ipv6-prefix -------------------------------------------------------------------------------- /etc/NetworkManager/dispatcher.d/09-ddns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/etc/NetworkManager/dispatcher.d/09-ddns -------------------------------------------------------------------------------- /etc/NetworkManager/dispatcher.d/90-transmission: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/etc/NetworkManager/dispatcher.d/90-transmission -------------------------------------------------------------------------------- /etc/NetworkManager/dispatcher.d/95-radvd-gen: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/etc/NetworkManager/dispatcher.d/95-radvd-gen -------------------------------------------------------------------------------- /etc/NetworkManager/dispatcher.d/96-interface-action: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/etc/NetworkManager/dispatcher.d/96-interface-action -------------------------------------------------------------------------------- /etc/NetworkManager/dispatcher.d/pre-down.d/08-ipv6-prefix: -------------------------------------------------------------------------------- 1 | ../08-ipv6-prefix -------------------------------------------------------------------------------- /etc/NetworkManager/dispatcher.d/pre-down.d/96-interface-action: -------------------------------------------------------------------------------- 1 | ../96-interface-action -------------------------------------------------------------------------------- /etc/nmutils/ddns-functions: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/etc/nmutils/ddns-functions -------------------------------------------------------------------------------- /etc/nmutils/dispatcher_action: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/etc/nmutils/dispatcher_action -------------------------------------------------------------------------------- /etc/nmutils/general-functions: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/etc/nmutils/general-functions -------------------------------------------------------------------------------- /etc/nmutils/ipv6_utils.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/etc/nmutils/ipv6_utils.sh -------------------------------------------------------------------------------- /etc/systemd/system/ddns-onboot@.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/etc/systemd/system/ddns-onboot@.service -------------------------------------------------------------------------------- /etc/systemd/system/ddns-onboot@.timer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/etc/systemd/system/ddns-onboot@.timer -------------------------------------------------------------------------------- /examples/complex/ddns-eth0-from-eth0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/examples/complex/ddns-eth0-from-eth0.conf -------------------------------------------------------------------------------- /examples/complex/ddns-eth0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/examples/complex/ddns-eth0.conf -------------------------------------------------------------------------------- /examples/complex/ddns-eth1-from-eth0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/examples/complex/ddns-eth1-from-eth0.conf -------------------------------------------------------------------------------- /examples/complex/ddns-eth1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/examples/complex/ddns-eth1.conf -------------------------------------------------------------------------------- /examples/complex/general.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/examples/complex/general.conf -------------------------------------------------------------------------------- /examples/complex/ifa50-mylogger-eth1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/examples/complex/ifa50-mylogger-eth1.conf -------------------------------------------------------------------------------- /examples/complex/ipv6-prefix-eth0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/examples/complex/ipv6-prefix-eth0.conf -------------------------------------------------------------------------------- /examples/complex/ipv6-prefix-eth1-from-eth0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/examples/complex/ipv6-prefix-eth1-from-eth0.conf -------------------------------------------------------------------------------- /examples/complex/ipv6-prefix-eth2-from-eth0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/examples/complex/ipv6-prefix-eth2-from-eth0.conf -------------------------------------------------------------------------------- /examples/complex/radvd-gen.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/examples/complex/radvd-gen.conf -------------------------------------------------------------------------------- /examples/complex/radvd.conf.templ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/examples/complex/radvd.conf.templ -------------------------------------------------------------------------------- /examples/simple/ifa99-rsyslog-eth0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/examples/simple/ifa99-rsyslog-eth0.conf -------------------------------------------------------------------------------- /examples/simple/ipv6-prefix-eth0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/examples/simple/ipv6-prefix-eth0.conf -------------------------------------------------------------------------------- /examples/simple/radvd.conf.templ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/examples/simple/radvd.conf.templ -------------------------------------------------------------------------------- /meson.build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/meson.build -------------------------------------------------------------------------------- /meson_options.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/meson_options.txt -------------------------------------------------------------------------------- /nmutils.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/nmutils.spec -------------------------------------------------------------------------------- /selinux/GNUmakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/selinux/GNUmakefile -------------------------------------------------------------------------------- /selinux/nmutils.fc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/selinux/nmutils.fc -------------------------------------------------------------------------------- /selinux/nmutils.te: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/selinux/nmutils.te -------------------------------------------------------------------------------- /test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/Makefile -------------------------------------------------------------------------------- /test/bin/dhclient-mock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/bin/dhclient-mock -------------------------------------------------------------------------------- /test/bin/dhcpcd-mock: -------------------------------------------------------------------------------- 1 | dummy-mock -------------------------------------------------------------------------------- /test/bin/dig-mock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/bin/dig-mock -------------------------------------------------------------------------------- /test/bin/dummy-mock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/bin/dummy-mock -------------------------------------------------------------------------------- /test/bin/ip-mock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/bin/ip-mock -------------------------------------------------------------------------------- /test/bin/nmcli-mock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/bin/nmcli-mock -------------------------------------------------------------------------------- /test/bin/nsupdate-mock: -------------------------------------------------------------------------------- 1 | dummy-mock -------------------------------------------------------------------------------- /test/bin/radvd-trigger: -------------------------------------------------------------------------------- 1 | dummy-mock -------------------------------------------------------------------------------- /test/bin/rdisc6-mock: -------------------------------------------------------------------------------- 1 | dummy-mock -------------------------------------------------------------------------------- /test/bin/resolvconf-mock: -------------------------------------------------------------------------------- 1 | dummy-mock -------------------------------------------------------------------------------- /test/bin/resolvectl-mock: -------------------------------------------------------------------------------- 1 | dummy-mock -------------------------------------------------------------------------------- /test/bin/systemctl-mock: -------------------------------------------------------------------------------- 1 | dummy-mock -------------------------------------------------------------------------------- /test/bin/systemd-run-mock: -------------------------------------------------------------------------------- 1 | dummy-mock -------------------------------------------------------------------------------- /test/conf/1-ip-mock-addrs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/1-ip-mock-addrs -------------------------------------------------------------------------------- /test/conf/1-radvd.conf.templ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/1-radvd.conf.templ -------------------------------------------------------------------------------- /test/conf/2-ip-mock-addrs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/2-ip-mock-addrs -------------------------------------------------------------------------------- /test/conf/2-radvd.conf.templ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/2-radvd.conf.templ -------------------------------------------------------------------------------- /test/conf/3-ip-mock-addrs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/3-ip-mock-addrs -------------------------------------------------------------------------------- /test/conf/3-radvd.conf.templ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/3-radvd.conf.templ -------------------------------------------------------------------------------- /test/conf/4-ip-mock-addrs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/4-ip-mock-addrs -------------------------------------------------------------------------------- /test/conf/4-radvd.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/4-radvd.conf -------------------------------------------------------------------------------- /test/conf/4-radvd.conf.templ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/4-radvd.conf.templ -------------------------------------------------------------------------------- /test/conf/common.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/common.conf -------------------------------------------------------------------------------- /test/conf/ddns-br1-from-wan0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/ddns-br1-from-wan0.conf -------------------------------------------------------------------------------- /test/conf/ddns-br1-from-wan1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/ddns-br1-from-wan1.conf -------------------------------------------------------------------------------- /test/conf/ddns-eth0-from-eth0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/ddns-eth0-from-eth0.conf -------------------------------------------------------------------------------- /test/conf/ddns-eth0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/ddns-eth0.conf -------------------------------------------------------------------------------- /test/conf/ddns-eth1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/ddns-eth1.conf -------------------------------------------------------------------------------- /test/conf/dig-mock-names: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/dig-mock-names -------------------------------------------------------------------------------- /test/conf/general.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/general.conf -------------------------------------------------------------------------------- /test/conf/ip-mock-addrs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/ip-mock-addrs -------------------------------------------------------------------------------- /test/conf/ip-mock-monitor: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/ip-mock-monitor -------------------------------------------------------------------------------- /test/conf/ip-mock-routes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/ip-mock-routes -------------------------------------------------------------------------------- /test/conf/ipv6-prefix-br0-from-wan0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/ipv6-prefix-br0-from-wan0.conf -------------------------------------------------------------------------------- /test/conf/ipv6-prefix-br1-from-wan0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/ipv6-prefix-br1-from-wan0.conf -------------------------------------------------------------------------------- /test/conf/ipv6-prefix-eth3-from-wan0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/ipv6-prefix-eth3-from-wan0.conf -------------------------------------------------------------------------------- /test/conf/ipv6-prefix-wan1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/ipv6-prefix-wan1.conf -------------------------------------------------------------------------------- /test/conf/ipv6-prefix-wan2.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/ipv6-prefix-wan2.conf -------------------------------------------------------------------------------- /test/conf/nm-ddns-br1-from-xxx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/nm-ddns-br1-from-xxx.conf -------------------------------------------------------------------------------- /test/conf/nm-ddns-eth0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/nm-ddns-eth0.conf -------------------------------------------------------------------------------- /test/conf/nmcli-mock-values: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/nmcli-mock-values -------------------------------------------------------------------------------- /test/conf/nmg_xtest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/nmg_xtest -------------------------------------------------------------------------------- /test/conf/radvd-gen.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/radvd-gen.conf -------------------------------------------------------------------------------- /test/conf/shtest_setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/shtest_setup -------------------------------------------------------------------------------- /test/conf/test-ddns.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/test-ddns.conf -------------------------------------------------------------------------------- /test/conf/testweb-ddns.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/testweb-ddns.conf -------------------------------------------------------------------------------- /test/conf/xtest_setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/conf/xtest_setup -------------------------------------------------------------------------------- /test/ddns-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/ddns-test -------------------------------------------------------------------------------- /test/expected/1-radvd.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/expected/1-radvd.conf -------------------------------------------------------------------------------- /test/expected/2-radvd.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/expected/2-radvd.conf -------------------------------------------------------------------------------- /test/expected/3-radvd.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/expected/3-radvd.conf -------------------------------------------------------------------------------- /test/expected/4-radvd.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/expected/4-radvd.conf -------------------------------------------------------------------------------- /test/general-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/general-test -------------------------------------------------------------------------------- /test/ipv6-prefix-addr-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/ipv6-prefix-addr-test -------------------------------------------------------------------------------- /test/ipv6-prefix-dhclient-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/ipv6-prefix-dhclient-test -------------------------------------------------------------------------------- /test/ipv6-prefix-dhcpcd-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/ipv6-prefix-dhcpcd-test -------------------------------------------------------------------------------- /test/ipv6-prefix-nm-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/ipv6-prefix-nm-test -------------------------------------------------------------------------------- /test/nm-ddns-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/nm-ddns-test -------------------------------------------------------------------------------- /test/radvd-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshambar/nmutils/HEAD/test/radvd-test --------------------------------------------------------------------------------