
99% of your userbase will be covered by this. This configures resolved, which is the DNS daemon on almost all Linux distributions. You should be able to use the tool resolvectl. It doesn’t always achieve what you want and when it does, it creates a broken system. VPN clients should not be able to change /etc/nf.
#Ivpn review code#
echo 9.9.9.9 | resolvconf -a wlp3s0).Īnd sometimes it returns an error: run-parts: /etc/resolvconf/update.d/libc exited with return code 1. Unfortunately, usage of resolvconf does not take effect on the host system (e.g. It means, again, the application needs access to /etc/nf to configure it properly (to create a symlink to a correct file).Īnyway, I was tried the resolvconf with properly configured systemd-resolved on the host machine: So, any manipulations with resolvconf/systemd-resolve/resolvectl do not have an effect.

On my machine, for example, it points to /run/resolvconf/nf.

The systemd-resolved functionality does not work when /etc/nf linked to something else than /run/systemd/resolve/nf. I have doubts that using resolvconf approach will work on every user’s machine: I don’t see here the danger to harm user configuration. It just makes a backup copy of /etc/nf (in your case, it is a link to /run/systemd/resolve/nf) and replaces it on the configuration required for the current VPN connection.Īfter the VPN disconnects - the daemon restores the previous configuration.Īdditionally, the OS is overwriting this file with the original data on every reboot. Thanks in application do not change /run/systemd/resolve/nf at all. I kindly ask you to approve the package and allow auto-connect for the interfaces: system-files, network-control, firewall-control.
#Ivpn review software#
The interfaces above are critical for our software to work properly. firewall-control - IVPN client needs to control firewall rules (iptables) to avoid any potential IP leaks.network-control - ability to establish VPN connections and monitor network settings/chnages.system-files - (for /etc/nf and /etc/) we have to control global DNS configuration when VPN is connected (and we have to keep and restore original DNS settings when VPN disconnected ).Interfaces explanation (needed for the daemon part of the package): The software I want to publish is an open-source VPN client
#Ivpn review manual#
The package was automatically blocked for manual review because of system-files interface with read/write access for two files: plugs:
