Skip to content

v0.5.9

Choose a tag to compare

@github-actions github-actions released this 22 Nov 05:16
· 21 commits to main since this release

Quota Manager v0.5.9.

Install on the gateway laptop:

sudo apt install ./quota-manager_0.5.9_all.deb

Or, with the apt repository configured (see README):

sudo apt-get update && sudo apt-get install quota-manager

Other distros:

# Fedora / RHEL family
sudo dnf install ./quota-manager-0.5.9-1.noarch.rpm

# Arch / Manjaro
sudo pacman -U quota-manager-0.5.9-1-any.pkg.tar.zst

# Any other systemd distro
tar xzf quota-manager-0.5.9.tar.gz && cd quota-manager-0.5.9 && sudo ./install.sh

The package configures the network stack, installs the Python
dependencies into /opt/quota-manager/.venv, wires the
quota-gateway systemd service and starts it. See the README for
the post-install router steps (disable DHCP, disable IPv6/RA).


Added:

  • Turn the gateway off from the dashboard (System → Power). It stops everything the gateway runs and keeps it off after a reboot, removes its firewall and speed-limit rules, and can also power the computer off. Turn DHCP back on in the router first (and, if it is bridged, let it dial the ISP itself again), or the home stays offline. To turn it back on: sudo systemctl enable --now dnsmasq quota-gateway. Contributed by @amr-elgharip2006.
  • In WAN mode the gateway now notices a PPPoE session that is connected but carries no internet (on We/ETIS lines this shows up as a 100.127.x.x address) and re-dials by itself after two minutes, waiting longer between attempts (3, 5, 10, then 15 minutes) so the line is never hammered. Contributed by @amr-elgharip2006.

Fixed:

  • Devices stopped getting an IP address a day or so after a per-person or per-device website block, or a per-device DNS server, was added. Those rules were written in a form DNS does not accept, so the next DNS restart (a reboot, a network change) failed and took DHCP and DNS down for the whole home. Such rules are no longer written that way, a per-device DNS server is now handed to that device directly, and if DNS ever rejects a new rules file the gateway puts the last working one back. Updating repairs an affected gateway on its own. Note: website block/allow rules apply to every device; per-person and per-device website rules are skipped (with a warning in the log) because DNS cannot apply them to one device. Reported by @osamaadel89010-cpu. Contributed by @amr-elgharip2006.
  • WAN mode could end up with a dead 100.127.x.x address. We/ETIS allow one session per account, and three things could open a second one: renewing the public IP re-dialed instantly while the ISP still held the old session; the PPPoE connection re-dialed instantly after a drop; and "Test PPPoE connection" dialed a second session next to the live one. Renewing now waits 10 seconds between hanging up and dialing, the connection waits 20 seconds before re-dialing and notices a dead session within about a minute, and the test checks the live connection instead of dialing again. Existing gateways pick up the new connection settings on the next start. Contributed by @amr-elgharip2006.