<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci/applications/luci-app-pbr/root/usr, branch master</title>
<subtitle>Lua Configuration Interface (mirror)</subtitle>
<id>https://git.openwrt.org/project/luci/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/luci/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/'/>
<updated>2026-12-02T15:32:58Z</updated>
<entry>
<title>luci-app-pbr: update to 1.2.4-2</title>
<updated>2026-12-02T15:32:58Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2026-11-05T00:55:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=48f93bd9beb6060f9950b261e494f16f572e1a2b'/>
<id>urn:sha1:48f93bd9beb6060f9950b261e494f16f572e1a2b</id>
<content type='text'>
Maintainer: me
Compile tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.4
Run tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.4

Description:
Update to version 1.2.4 and refactor status page

  - Update PKG_VERSION to 1.2.4 and PKG_RELEASE to 2
  - Update LUCI_URL to docs.mossdef.org
  - Replace jsonfilter with rpcd-mod-ucode in LUCI_DEPENDS

README.md:
  - Update documentation URLs to 1.2.4 version on docs.mossdef.org
  - Update License badge to AGPL-3.0-or-later and link to main branch

htdocs/luci-static/resources/pbr/status.js:
  - Update LuciCompat and ReadmeCompat to 1.2.4 for version checks
  - Update documentation URLs to docs.mossdef.org
  - Add escapeInfo function to safely escape untrusted values
  - Refactor buildGatewayText to buildGatewayElements for better HTML
    structure
  - Remove unused RPC declarations (getInitList, getInterfaces,
    getPlatformSupport, getServiceInfo)
  - Simplify service status polling, remove ubusInfo dependency
  - Centralize initStatus and ubusInfo data into a single reply object
  - Add HTML output elements with 'for' attribute and 'output' role
    for improved accessibility
  - Update warning messages and add new ones for dynamic routing, IP
    gateway detection, and policy issues
  - Update error messages, remove obsolete ones, and add new ones
    for policy and user file issues
  - Use pkg.escapeInfo for config values in warning/error messages

htdocs/luci-static/resources/view/pbr/overview.js:
  - Update load function to use pbr.getInitStatus instead of
    getInterfaces and getPlatformSupport
  - Add dom require
  - Update interface_labels and protocols from statusData
  - Replace ipset_installed, adguardhome_ipset_support, dnsmasq_ipset_support
    with nft_installed and dnsmasq_nftset_support for platform info
  - Remove 'Web UI Configuration' tab
  - Explicitly set dnsmasq.nftset value if configured to prevent silent
    rewrites
  - Set o.rmempty = false for resolver_set to prevent deletion on save
  - Remove 'Rule Create option' (rule_create_option)
  - Add new options for 'Default Uplink Interface (IPv4)'
    (uplink_interface) and 'Default Uplink Interface (IPv6)'
    (uplink_interface6)
  - Set o.rmempty = false for uplink_interface and uplink_interface6
    to keep defaults visible
  - Restrict 'Maximum Table ID' (ip_table_id_max) datatype to
    range(99,32765)
  - Remove 'Add Ignore Target' (webui_show_ignore_target)
  - Remove 'Supported Protocols' (webui_supported_protocol)
  - Filter 'Protocol' dropdown to show only port-capable protocols
    for nftables compatibility
  - Add new options 'Chain' (chain), 'Source MAC' (src_mac),
    'Source IPv4 Address' (src_ip),
    'Source IPv6 Address' (src_ip6), 'Source Port' (src_port),
    'Destination IPv4 Address' (dest_ip),
    'Destination IPv6 Address' (dest_ip6),
    'Destination Port' (dest_port) to policy section
  - Update description for 'Enabled' option in policy section
  - Remove 'Invert' (invert) option from policy section
  - Update description for 'Source Address' (src_addr) and
    'Destination Address' (dest_addr) in policy section
  - Update default value for 'Destination Port' (dest_port) to '0-65535'
  - Remove 'IPv4 only' (ipv4_only) and 'IPv6 only' (ipv6_only)
    options from policy section
  - Remove 'IP Set' (ipset) option from policy section
  - Update placeholder for 'Comment' (comment) option

Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
<entry>
<title>luci-app-pbr: update to 1.2.2-20</title>
<updated>2026-07-19T00:26:56Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2026-07-17T18:14:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=60f87e5d1f80d33e4d366827254bb3501afcd788'/>
<id>urn:sha1:60f87e5d1f80d33e4d366827254bb3501afcd788</id>
<content type='text'>
Maintainer: me
Compile tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.4
Run tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.4

Description:
Update package to PKG_RELEASE 20

  - Updated PKG_RELEASE from 18 to 20.
  - Added Erik Conijn as a package maintainer.

htdocs/luci-static/resources/pbr/status.js:
  - Updated LuciCompat from 26 to 27.
  - Modified buildGatewayText to accept an ipv6Enabled parameter.
  - Passed ipv6_enabled status to buildGatewayText.
  - Conditionally display IPv6 gateway info based on ipv6Enabled.

root/usr/libexec/rpcd/luci.pbr:
  - Updated rpcdCompat from 26 to 27.
  - Added 'ipv6_enabled' to get_init_status output,
    reflecting UCI config.

Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
<entry>
<title>luci-app-pbr: update to 1.2.2-18</title>
<updated>2026-07-01T20:05:49Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2026-07-01T18:15:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=833db995550fea9faa3f9ffb6c90288b4549cc81'/>
<id>urn:sha1:833db995550fea9faa3f9ffb6c90288b4549cc81</id>
<content type='text'>
Maintainer: me
Compile tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.4
Run tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.4

Description:
update to release 18

  - Bump PKG_RELEASE to 18.

htdocs/luci-static/resources/pbr/status.js:
  - Update LuciCompat to 26.
  - Add warning for unknown gateway on interface routing.

root/usr/libexec/rpcd/luci.pbr:
  - Update rpcdCompat to 26.

Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
<entry>
<title>luci-app-pbr: bugfix</title>
<updated>2026-03-27T08:42:39Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2026-03-25T00:41:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=e41b7c1d61f310284514dede3061292ecf2b1b8b'/>
<id>urn:sha1:e41b7c1d61f310284514dede3061292ecf2b1b8b</id>
<content type='text'>
* fix: allow explicitly supported interfaces as targets in policies

Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
<entry>
<title>luci-app-pbr: update to 1.2.2-r6</title>
<updated>2026-02-27T01:01:17Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2026-02-25T19:14:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=5d2db5baad69063ea206f3bbcf640a8fd854a772'/>
<id>urn:sha1:5d2db5baad69063ea206f3bbcf640a8fd854a772</id>
<content type='text'>
Update luci-app-pbr from 1.2.1-r87 to 1.2.2-r6.
This release bumps compat to 25, fixes split-uplink
WAN6 interface filtering in the rpcd backend, adds
error handling to the status overview widget,
normalizes all README anchor links to kebab-case,
and updates the translation template.

Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;

---

- **6 files changed**, +90 / -83 lines (net +7)
- **1 commit**: `cc43913` —
  `luci-app-pbr: update to 1.2.2-r6`

---

- Version bumped from `1.2.1-r87` to `1.2.2-r6`
- URL updated from `github.com/stangri/...` to
  `github.com/mossdef-org/...`
- No dependency changes

---

`rpcdCompat` bumped from `24` to `25`.

`get_supported_interfaces()` now filters out the
WAN6 interface in split-uplink configurations so
it does not appear as a policy target in the UI.

Two filter points added:

1. **`_build_ifaces_supported()` callback** —
   When iterating netifd interfaces, skips any
   interface where `is_split_uplink()` is true
   and `is_uplink6()` matches. Prevents WAN6
   from being added to the supported list.

2. **Firewall zone enumeration loop** — Same
   check applied when iterating interfaces from
   the firewall WAN zone. Skips WAN6 via
   `continue` before the `is_supported_interface`
   check.

**Impact:** In split-uplink setups (separate
interfaces for IPv4 and IPv6 uplinks), the WAN6
interface no longer appears in the policy target
dropdown. Policies should target the WAN4
interface; IPv6 routing follows automatically.

---

**Compat bumps:**
- `LuciCompat`: `24` → `25`
- `ReadmeCompat`: `1.2.1` → `1.2.2`

**README anchor link fixes (2 locations):**
- `#WarningMessagesDetails` →
  `#warning-messages-details`
- `#ErrorMessagesDetails` →
  `#error-messages-details`

**README anchor link fixes (10 locations):**

| Old Anchor                    | New Anchor                    |
|-------------------------------|-------------------------------|
| `#ServiceConfigurationSettings` | `#service-configuration-settings` |
| `#StrictEnforcement`          | `#strict-enforcement`         |
| `#UseResolversSetSupport`     | `#use-resolvers-set-support`  |
| `#WireGuardServerUseCases` (×2) | `#wireguard-server-use-cases` |
| `#IgnoreTarget`               | `#ignore-target`              |
| `#PolicyOptions`              | `#policy-options`             |
| `#DNSPolicyOptions`           | `#dns-policy-options`         |
| `#DSCPTag-BasedPolicies`      | `#dscp-tag-based-policies`    |
| `#CustomUserFiles`            | `#custom-user-files`          |

All anchors converted from PascalCase to
kebab-case to match the current README heading
format.

**Error handling added:**
- Entire `render()` function body wrapped in
  `try/catch` block
- On exception, renders a yellow warning banner:
  `"Unable to retrieve PBR status"` instead of
  crashing the status page
- Prevents unhandled errors from breaking the
  LuCI overview when PBR data is malformed or
  unavailable

**Data access simplified:**
- Old: Verbose fallback object with explicit null
  fields (`enabled: null`, `running: null`,
  `version: null`, `gateways: null`, etc.)
- New: `var reply = (data[0] &amp;&amp; data[0][pkg.Name])`
  `|| {};` — single-line fallback to empty object
- All downstream property access already handles
  undefined values, making the verbose defaults
  unnecessary

**No behavioral changes** to the status table
rendering logic itself (Active/Inactive/Disabled
states, iptables/nft/fw4 mode detection).

---

**1 new string added:**
- `"Unable to retrieve %s status"` — Error
  fallback message for the status overview widget

**0 strings removed, 0 strings reworded.**

All other changes are source line number updates
from the `72_pbr.js` refactoring. Existing
translations remain valid; translators only need
to handle the 1 new entry.

---

- `rpcdCompat` bumped from `24` to `25`
- `LuciCompat` bumped from `24` to `25`
- Requires companion `pbr` package &gt;= 1.2.2
  (for `is_split_uplink()` and `is_uplink6()`
  functions used by the rpcd backend)
- All existing RPC methods preserved; no new
  methods added
- All existing UI functionality preserved

Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
<entry>
<title>luci-app-pbr: update to 1.2.1-r87</title>
<updated>2026-02-05T21:07:01Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2026-01-30T20:45:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=d2e42ca6676fa9234f7bbed3f1aa7c5c53391542'/>
<id>urn:sha1:d2e42ca6676fa9234f7bbed3f1aa7c5c53391542</id>
<content type='text'>
status.js:
* get ubus and gateways info from ubus instead of rpcd calls
* updates to warning/error IDs and texts
* minor formatting/styling updates

rpcd script:
* remove obsolete rpcd calls

ACL file:
* remove obsolete rpcd calls
* add permission for ubus access

Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
<entry>
<title>luci-app-pbr: upgrade to 1.2.1-45</title>
<updated>2026-01-03T01:28:55Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2026-01-03T01:26:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=1ce137b6ca7f5e8114ae7639f57617eadddbef9b'/>
<id>urn:sha1:1ce137b6ca7f5e8114ae7639f57617eadddbef9b</id>
<content type='text'>
Makefile:
* update version to match principal package

Javascript:
* update Compat variables to match principal package
* allow waiting for longer operations to complete
* update warnings/error messages arrays
* add uplink_ip_rules_priority option to WebUI
* remove obsolete input and postrouting chains from WebUI

RPCD script:
* remove gateways string from getInitStatus, as the gateways
  array is returned by its own call

Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
<entry>
<title>luci-app-pbr: update to 1.2.0-r2</title>
<updated>2025-10-07T22:40:54Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2025-10-07T22:40:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=dc279c566d630329d2625e6085ba3f2f2e508de8'/>
<id>urn:sha1:dc279c566d630329d2625e6085ba3f2f2e508de8</id>
<content type='text'>
* sync with principal package

Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
<entry>
<title>luci-app-pbr: sync with principal package</title>
<updated>2025-08-01T02:29:45Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2025-08-01T01:40:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=6b4d69723c311c3bfbfbc54c408e6fd71e5800d2'/>
<id>urn:sha1:6b4d69723c311c3bfbfbc54c408e6fd71e5800d2</id>
<content type='text'>
Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
<entry>
<title>luci-app-pbr: update to sync with principal package</title>
<updated>2024-10-31T01:59:47Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2024-10-31T01:59:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=2a09205aed273a277dd22ca9937b41728b7ceb9c'/>
<id>urn:sha1:2a09205aed273a277dd22ca9937b41728b7ceb9c</id>
<content type='text'>
Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
</feed>
