ipv6-config-update 0.1.1
Loading...
Searching...
No Matches
ipv6-config-update

C++ GitHub tag (with filter) License GitHub commits since latest release (by SemVer including pre-releases) CodeQL QA Tests Coverage Status Dependabot GitHub Pages pre-commit Stargazers CMake Prettier Qt

@Tatsh Buy Me A Coffee Libera.Chat Mastodon Follow Patreon

This program updates configuration files which contain a CIDR of your IPv6 network. An example would be smb.conf under the hosts allow option. If an update is made on this file, you may want to reload the smb unit. This application is fully controlled by settings.

You may want this to run periodically if your ISP uses DHCPv6 and may change the IP randomly (or when the lease expires).

Settings

Located in XDG location such as ~/.config/Tatsh/ipv6-config-update.conf. If running as root, /etc/ipv6-config-update.conf will be used.

[main]
interface = interface name to use
files = file, paths, to, update
prefixLength = 56
units = systemd, units, to, restart, like, smb.service

Limitations

Only multiple of eight prefix lengths are supported.

Timer

This project contains a systemd timer which runs every 15 minutes.

Building

You must have CMake, libsystemd, Qt Network and Qt DBus installed.

cd path-to-source
mkdir build
cd build
cmake ..
make

Debugging

export "QT_LOGGING_RULES=*.debug=true;qt.*=false"