Skip to content

Releases

v0.5.11

Choose a tag to compare

@github-actions github-actions released this 24 Nov 02:46
3605a93

Netrex v0.5.11.

Install on the gateway laptop:

sudo apt install ./quota-manager_0.5.11_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.11-1.noarch.rpm

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

# Any other systemd distro
tar xzf quota-manager-0.5.11.tar.gz && cd quota-manager-0.5.11 && 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).


Changed:

  • Quota Manager is now called Netrex. Same project, same features and the same settings: only the name and logo changed. Your people, devices, usage and dashboard login stay as they are, and the update installs the usual way from the dashboard or apt. The GitHub page moved to github.com/UserJoo9/Netrex (old links forward there), and gateways on 0.5.8 or newer switch their apt source to the new address on their own. If your gateway is older than 0.5.8 and you update with apt, update once from the dashboard first, or point the apt source at https://UserJoo9.github.io/Netrex (see the README).

v0.5.10

Choose a tag to compare

@github-actions github-actions released this 22 Nov 20:02

Quota Manager v0.5.10.

Install on the gateway laptop:

sudo apt install ./quota-manager_0.5.10_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.10-1.noarch.rpm

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

# Any other systemd distro
tar xzf quota-manager-0.5.10.tar.gz && cd quota-manager-0.5.10 && 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:

  • Network drives (Share page). Share a hard disk or flash drive plugged into the gateway, or a folder another PC or the router already shares, with the devices at home at one address (\\192.168.2.1\<name> or smb://192.168.2.1/<name>), no password. For each share you choose who gets in: every device with internet, or only the devices you pick, and each device can be given read-write, read-only or no access. Devices that are cut off (quota used up, paused, a guest still waiting for approval) never get in. Shares are only reachable from the home network, never from the internet side, and come back on their own after a reboot or when a disk is plugged back in. The page installs Samba the first time. The system disk is never offered. Contributed by @amr-elgharip2006.
  • Restart and factory reset (System → Power). Restart the gateway or reboot the whole machine from the dashboard. Factory reset puts every setting back to how a fresh install starts, without uninstalling: optionally keep people, devices, fixed IPs, the bundle, this month's usage and the dashboard password. The line mode (LAN/WAN) and the PPPoE login always stay so the internet keeps working, and the database is backed up to /var/lib/quota-gateway/backups/ first. Contributed by @amr-elgharip2006.

Fixed:

  • Deleting a device (or a person) gave the data it had used back to the bundle and to that person's allowance, so removing a device that had used 30 GB made 30 GB "free" again. The internet provider already counted those GB, so they now keep counting: for the person who used them, and for the bundle even after the person is deleted. Data used by devices deleted before this update counts toward the bundle again after updating, without being assigned to anyone. Correcting a person's usage by hand (usage calibration) also works on their total, deleted devices included.

v0.5.9

Choose a tag to compare

@github-actions github-actions released this 22 Nov 05:16

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.

v0.5.8

Choose a tag to compare

@github-actions github-actions released this 19 Nov 09:31

Quota Manager v0.5.8.

Install on the gateway laptop:

sudo apt install ./quota-manager_0.5.8_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.8-1.noarch.rpm

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

# Any other systemd distro
tar xzf quota-manager-0.5.8.tar.gz && cd quota-manager-0.5.8 && 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:

  • Guest vouchers. Administrators can create one-use guest vouchers with an optional expiry, review their status and revoke unused codes. A guest on the waiting page can enter a voucher to receive the allowance assigned to that code. Pending guests now show as "Pending approval" in the dashboard instead of looking like a quota cut. Contributed by @compnew2006.
  • The dashboard now says why a person or device has no internet: not assigned a quota yet, paused by the admin, monthly quota used up, or daily limit reached. Cut devices and people are highlighted in the list, and a person with only some devices cut shows "2/3 cut".
  • New devices that are waiting for a quota show as "Unassigned" instead of "Blocked", and the quota dropdown shows "Disabled (0 GB - unassigned)" instead of misleadingly showing "Auto".

Changed:

  • Preparing for the project's new name (Netrex): the update check now looks for new releases under the new project address first and under the current one as a fallback, so updates keep arriving before, during and after the move. Nothing changes for you now.
  • On Debian/Ubuntu, if your gateway still gets updates from the old apt address, it now switches to the new address by itself as soon as the new one is online, so apt update keeps working after the move. Nothing to do by hand.

Fixed:

  • A new device that joined the network (0 GB, waiting for a quota) stayed cut even after "Unlimited usage" was switched on. Unlimited now opens it immediately. Reported by @Y3bs.
  • Switching Internet access on for a device or person that is still waiting for a quota now takes effect at once: they join the shared pool. Before, the switch flipped back and looked broken.
  • Installing on systems whose package manager has no internet during installation (Arch / CachyOS) no longer prints a wall of connection errors: the installer notices in two seconds and finishes the setup in the background. If that quick check is wrong (a slow connection, or a custom pip mirror instead of pypi.org), the installer still tries the normal download before reporting a problem.

v0.5.7

Choose a tag to compare

@github-actions github-actions released this 16 Nov 05:15

Quota Manager v0.5.7.

Install on the gateway laptop:

sudo apt install ./quota-manager_0.5.7_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.7-1.noarch.rpm

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

# Any other systemd distro
tar xzf quota-manager-0.5.7.tar.gz && cd quota-manager-0.5.7 && 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).


Fixed:

  • Updating a gateway in WAN mode (the box dials PPPoE itself) could leave every device without an IP address: the installer picked the internal speed-limit interface ifb0 instead of the real network card and moved DHCP, the firewall and speed limits onto it. This only happened when the network card's name sorts after ifb0 (for example lan0, net0, usb0); the usual names (eth0, enp…, eno…, ens…) were not affected. The installer now only auto-picks real network cards and, on an update, keeps the card you already had. Reported and fixed by @amr-elgharip2006.
  • If your gateway was hit by this, updating to 0.5.7 repairs it. To repair it by hand: sudo LAN_IF=<your card> bash /opt/quota-manager/scripts/post_install.sh.
  • After a restart of the gateway, devices could get an IP but no internet because DNS on the gateway address (192.168.2.1) did not answer until DNS was restarted by hand. The gateway now restarts DNS by itself when it has to re-add that address at startup.
  • Installing the Arch package (seen on CachyOS) stopped with "Network is unreachable" and left the program not set up, even with working internet. The installer now finishes the setup by itself about a minute after the package is installed. If you already hit this on 0.5.6, run sudo bash /opt/quota-manager/scripts/post_install.sh arch once, or just install 0.5.7.

v0.5.6

Choose a tag to compare

@github-actions github-actions released this 15 Nov 14:54
bd1b2c2

Quota Manager v0.5.6.

Install on the gateway laptop:

sudo apt install ./quota-manager_0.5.6_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.6-1.noarch.rpm

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

# Any other systemd distro
tar xzf quota-manager-0.5.6.tar.gz && cd quota-manager-0.5.6 && 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:

  • The "waiting for approval" card now shows each new device's name, MAC address, IP and maker, so you can tell exactly who is asking to join before you approve. (If the MAC is partly hidden as "••", turn off the privacy hiding in the dashboard settings.)
  • Passkeys: sign in to the dashboard with your device's fingerprint, face or PIN instead of typing the password. Add one from System > Account. Works only when the dashboard is opened over HTTPS by name (for example its Tailscale address), not on a plain IP address. Contributed by Omar Suleiman (@iomarsuleiman).

Fixed:

  • A new device that opened the dashboard over HTTPS saw "Safari can't open the page / the server unexpectedly dropped the connection" instead of the waiting-for-approval page. It now lands on the approval page correctly.
  • With HTTPS turned on, a new guest who opened any website (or whose phone showed "sign in to network") got a dropped connection and never saw the waiting-for-approval page. The page now opens normally for guests while the dashboard itself stays HTTPS-only. (Uses port 8081 on the gateway; change or turn it off with captive_http_port in config.yaml.)
  • Installing without a working internet connection used to finish as if everything was fine, but the program could not start. The installer now retries the download and, if it still fails, clearly says the setup is not finished and shows the one command to run once the machine is online.

v0.5.5

Choose a tag to compare

@github-actions github-actions released this 09 Nov 21:28

Quota Manager v0.5.5.

Install on the gateway laptop:

sudo apt install ./quota-manager_0.5.5_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.5-1.noarch.rpm

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

# Any other systemd distro
tar xzf quota-manager-0.5.5.tar.gz && cd quota-manager-0.5.5 && 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:

  • A device that sets its own (static) IP is now cut off automatically. Before, it only showed under "Unmanaged devices" and kept its internet. It stays cut until you act on it, from the People page > Unmanaged devices:
    • Manage adds it as a normal device that keeps its IP (it starts at 0 GB, so give it an allowance to connect it). It is then counted and controlled per person like everyone else.
    • Allow lets it keep its internet without managing it.
    • A switch there turns the automatic cut-off off.
  • The cut takes up to about 1.5 minutes after the device appears (the network is scanned every minute).
  • Heads-up: any device you set up with its own fixed IP (printer, camera, NAS...) is cut after this update until you press Allow (or Manage) on it in People > Unmanaged devices.

v0.5.4

Choose a tag to compare

@github-actions github-actions released this 08 Nov 15:35

Quota Manager v0.5.4.

Install on the gateway laptop:

sudo apt install ./quota-manager_0.5.4_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.4-1.noarch.rpm

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

# Any other systemd distro
tar xzf quota-manager-0.5.4.tar.gz && cd quota-manager-0.5.4 && 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:

  • Fedora (.rpm), Arch / Manjaro (.pkg.tar.zst) and a generic tarball with install.sh for any systemd distro, built on every release next to the .deb. The updater installs the right file for how the box was set up (issue #15). Debian behaviour is unchanged. Fedora/Arch/tarball are new in this release and have only been tested in containers so far - please report anything odd on a real box.
  • When everyone runs out of quota and nobody has an add-on pack, the internet now opens for all instead of staying cut (the speed is poor anyway, but better than nothing). It is on by default; you can switch it off under Quota > Open when everyone is out.
  • The moment an add-on pack, a top-up or a bigger bundle adds GB, the box closes again for the people who are out. What was used while it was open is not deducted from the new GB.
  • /share and /milestone have an Arabic / English switch (remembered per browser).
  • /share: a Cancel button for uploads in progress (files and folders). A cancelled upload leaves nothing half-written on the box.

Fixed:

  • OpenWrt 25.12+: the install steps used opkg, which that release no longer has (it uses apk). There is now scripts/install_openwrt.sh that detects apk or opkg and sets everything up (experimental; x86_64/aarch64 recommended).
  • In "Daily plan", the disabled "split the rest over the days" option now says why (it needs a reset day) right next to it.
  • In a person's card, the allowance section no longer repeats the word "Allowance" twice.
  • The update check no longer hides the "What's new" button just after a release, while GitHub still serves the old changelog.

v0.5.3

Choose a tag to compare

@github-actions github-actions released this 06 Nov 09:39

Quota Manager v0.5.3.

Install on the gateway laptop:

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

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

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

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:

  • Optional daily quota (off by default). Turn it on from Quota > Daily quota, then give each person a plan in their card.
  • Two modes: a fixed amount every day (for example 5 GB), or split what is left of the month equally over the days that are left. The day runs from 12:00 AM to 12:00 AM, and the monthly quota stays the hard limit.
  • What a person did not use today can move to the next day (and keep rolling) or be spread over the remaining days.
  • Pick heavier days (a date and an amount): the other days share the rest equally. Changes apply immediately.
  • A person's devices can share the daily pool, get an equal slice each, or a fixed share set on each device's card.
  • Enabling or changing a plan in the middle of the day never cuts anyone: what was already used today is deducted and today's share is still available.
  • Top-ups and packs for the person or the whole house simply raise the month and the plan re-splits. A pack for one device keeps that device working.
  • At the daily limit the person's devices stop until midnight (the status says "Daily limit") and come back by themselves.
  • Optionally the person can adjust their own plan (never the total) from their usage page (/milestone).

Fixed:

  • Updating from the panel no longer switches a WAN-mode box back to LAN (the PPPoE login and NIC are kept).
  • A failure in the update's network setup step no longer leaves the package half-installed with the service disabled.
  • The collapsed (narrow) sidebar came out broken, with no button to bring it back. It now shows only the icons, with the collapse/expand button right under the logo.
  • The "What's new" window showed the release notes as raw text (stray ### and ** marks). It now shows proper headings, bullets and bold text, and English notes read left-to-right inside the Arabic interface.
  • The "What's new" window had both an X and two buttons (Close and Cancel). It now has the X and a single Close button.

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 03 Nov 18:33

Quota Manager v0.5.1.

Install on the gateway laptop:

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

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

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

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).


Fixed

  • Picking from a list in the side panel (e.g. "Belongs to") snapped back before you could press Save. The live refresh every few seconds rebuilt the panel; it now waits while you have an unsaved pick or toggle, and never interrupts a press on a button.
  • The dashboard felt slow on weak machines and inside virtual machines. On 2-core computers or browsers without graphics acceleration it now starts with the light look (no animated background, subtle effects); you can turn the effects back on in System → Appearance. The animated background itself is also about 30% lighter everywhere, unchanged live updates are skipped, and a background tab no longer redraws.
  • Counters stopped after a device got an IPv6 address. In LAN mode with the ARP lock on, an IPv6 address was wrongly pushed into the IPv4 allow-list, which made the whole usage engine switch itself off ("nftables engine unavailable") — no counters until a restart. IPv6 addresses are now skipped for that list.
  • Docs: the virtual-machine guide now explains why the VM must be bridged to a wired adapter (a Wi-Fi bridge makes the internet look fine but the gateway never sees the devices' traffic, so nothing is counted or limited), plus quick checks. The troubleshooting table also covers devices with a manually typed IP.