[PR #107] [MERGED] Dynamic route refresh #316

Closed
opened 2026-03-04 01:36:15 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/spr-networks/super/pull/107
Author: @lts-rad
Created: 1/7/2023
Status: Merged
Merged: 1/7/2023
Merged by: @lts-rad

Base: mainHead: dynamic_route_refresh


📝 Commits (10+)

📊 Changes

9 files changed (+351 additions, -71 deletions)

View changed files

📝 .github/workflows/clearfog-ubuntu-iso.yml (+1 -1)
📝 .github/workflows/pi-ubuntu-iso.yml (+1 -1)
📝 api/code/api.go (+12 -51)
📝 api/code/firewall.go (+301 -14)
📝 api/code/radios.go (+24 -0)
📝 base/setup.sh (+1 -1)
📝 base/template_configs/wifi/hostapd_template.conf (+8 -0)
📝 installer/scripts/install.sh (+1 -1)
📝 wifid/code/hostapd_config (+2 -2)

📄 Description

Dynamic route refresh switches away from DHCP events and static wireguard routes to a poll-based model for establishing routes.

The new logic is as follows:

  1. By default, if a LANIF / lan interface is set up. Clients are configured for that
  2. If a client is available on a Wireless VLAN, client is configured for that
  3. If a client is seen on wireguard, until a DHCP event occurs, configure the client for wireguard

In the future, VLAN support will further update this with VLAN tags.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/spr-networks/super/pull/107 **Author:** [@lts-rad](https://github.com/lts-rad) **Created:** 1/7/2023 **Status:** ✅ Merged **Merged:** 1/7/2023 **Merged by:** [@lts-rad](https://github.com/lts-rad) **Base:** `main` ← **Head:** `dynamic_route_refresh` --- ### 📝 Commits (10+) - [`b273135`](https://github.com/spr-networks/super/commit/b273135fe1060d671f6d30f2a7bbbc3a6dbd8ce6) [ui] Update connectivity to check all wifi interfaces - [`6a85e89`](https://github.com/spr-networks/super/commit/6a85e89d7a5aad2dde22c699f6bda47bf782520a) Merge branch 'main' into dev - [`ed5991a`](https://github.com/spr-networks/super/commit/ed5991a10d4cb90e01b51effa1dd0f1038c84ede) Iosfix, ui updates (#103) - [`304f803`](https://github.com/spr-networks/super/commit/304f8038521d0d437fdefb32f049a6d646e13cb8) Merge branch 'dev' of https://github.com/spr-networks/super into dev - [`88648bd`](https://github.com/spr-networks/super/commit/88648bda55d6e177f530680d74a6e0cfc17a11c7) [build] add fetch-depth: 0 for tags - [`81be17c`](https://github.com/spr-networks/super/commit/81be17c8a31844ac98ccd9809335c611c70cb5a1) [ui] Refactor arrow functions so that users can proxy calls to mesh nodes with remoteURL - [`93d99bc`](https://github.com/spr-networks/super/commit/93d99bce6bf45d47f45721f0ed218870e31da393) [ui] Call into the mesh nodes for online status - [`313a25a`](https://github.com/spr-networks/super/commit/313a25af0ac3a36a20a09128475f49e77bebcda9) Merge branch 'dev' of https://github.com/spr-networks/super into dev - [`5456adb`](https://github.com/spr-networks/super/commit/5456adb3169bf0b99e8230f87b49acd1254510a5) [build] [iso] Create clearfog iso #patch - [`a7179d7`](https://github.com/spr-networks/super/commit/a7179d791b0813fbe09a6983455ab09c1181ffe6) [wifid] Add 802.11k, 802.11v support ### 📊 Changes **9 files changed** (+351 additions, -71 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/clearfog-ubuntu-iso.yml` (+1 -1) 📝 `.github/workflows/pi-ubuntu-iso.yml` (+1 -1) 📝 `api/code/api.go` (+12 -51) 📝 `api/code/firewall.go` (+301 -14) 📝 `api/code/radios.go` (+24 -0) 📝 `base/setup.sh` (+1 -1) 📝 `base/template_configs/wifi/hostapd_template.conf` (+8 -0) 📝 `installer/scripts/install.sh` (+1 -1) 📝 `wifid/code/hostapd_config` (+2 -2) </details> ### 📄 Description Dynamic route refresh switches away from DHCP events and static wireguard routes to a poll-based model for establishing routes. The new logic is as follows: 1) By default, if a LANIF / lan interface is set up. Clients are configured for that 2) If a client is available on a Wireless VLAN, client is configured for that 3) If a client is seen on wireguard, until a DHCP event occurs, configure the client for wireguard In the future, VLAN support will further update this with VLAN tags. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 01:36:15 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/super#316
No description provided.