<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/pbr/files/etc/uci-defaults, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-07-19T00:26:28Z</updated>
<entry>
<title>pbr: update to 1.2.2-20</title>
<updated>2026-07-19T00:26:28Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2026-07-17T18:05:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=fbd708f050099cd43ef7683b38f0efaabefcb154'/>
<id>urn:sha1:fbd708f050099cd43ef7683b38f0efaabefcb154</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.2-20

  - Bump PKG_RELEASE to 20.
  - Add Erik Conijn as a co-maintainer.

files/etc/init.d/pbr:
  - Update packageCompat to 27.
  - Standardize gateway warning messages.
  - Add ubus_get_data helper for improved error/warning handling.
  - Preserve JSON namespace in json() for better error handling.
  - Refine device retrieval logic for OpenVPN interfaces.
  - Improve display of IPv4/IPv6 gateways for consistency.
  - Adjust service start trigger to only block on errors, not warnings.
  - Ensure 'error' field is populated in ubus status when no gateways
    are available.

files/etc/uci-defaults/90-pbr:
  - Remove sed rule for '/etc/pbr/' to '/usr/share/pbr/' path
    update.

Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
<entry>
<title>pbr: update to 1.2.1-45</title>
<updated>2026-01-09T02:04:37Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2025-12-29T00:55:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=89ef3e28e6ea6a457ad9829ba2d0035e37d48d89'/>
<id>urn:sha1:89ef3e28e6ea6a457ad9829ba2d0035e37d48d89</id>
<content type='text'>
Makefile:
* remove traces of variants and simplify
* more sensible DEPENDS section (thanks @BKPepe)

Init-script:
* introduce prefixlength option to speed up tables operations (thanks @egc112)

Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
<entry>
<title>pbr: update to 1.2.1-r41</title>
<updated>2025-12-13T01:20:11Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2025-12-11T20:00:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=315ef8adf28a0798491d6cb3401c1841cf90cf09'/>
<id>urn:sha1:315ef8adf28a0798491d6cb3401c1841cf90cf09</id>
<content type='text'>
Remove many obsolete files.

Makefile:
* remove netifd-flavour related code
* remove trailing white spaces

Init-script:
* proper deletion of default network rules for IPv{4,6}
* fix netifd function error when IPv6 is enabled
* remove trailing white spaces

Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
<entry>
<title>pbr: update to 1.2.1-r35</title>
<updated>2025-12-09T01:41:03Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2025-12-08T19:51:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=8bf5f683fec7af107808435d9e31a0cd838d4491'/>
<id>urn:sha1:8bf5f683fec7af107808435d9e31a0cd838d4491</id>
<content type='text'>
pbr 1.2.1-r35

Makefile:
* split uci-defaults into different purpose files
* add handling of netifd integration

Config:
* update with default values for all options (thanks @betonmischer86)

Init-script:
* add netifd integration handling
* add ip() function to emulate ip rule replace
* add netbird intrfaces support (thanks @egc112)
* reorganize loading/handling of options in load_package_config()
* improve display of interface triggers in service_triggers()
* remove chains cleanup from stop_service() due to exclusive use of fw4 nft files
* improve status_service() output
* drop input and postrouting as valid options for policy chain

Uci-defaults files:
* 91-pbr-nft: cosmetic improvements

Default nft files:
* drop use of input and postrouting chanins

Custom User files:
* dns-prefetch: functional improvements (thanks @betonmischer86)

Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
<entry>
<title>pbr: update to 1.2.0-r2</title>
<updated>2025-10-10T23:34:52Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2025-10-07T22:31:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=de224a5587aabf828769603a9e41070dad2fe2bf'/>
<id>urn:sha1:de224a5587aabf828769603a9e41070dad2fe2bf</id>
<content type='text'>
Makefile:
* stop shipping/dealing with the firewall hotplug (obsolete)
* install a third user-script (dnsprefetch) by @betonmischer

Config:
* remove obsolete options
* include the new user script

Init-script:
* start much earlier so that on boot, the procd_add_raw_trigger works on all systems
* create a ubus() helper function so that service delete does not produce "Command not found"
* rename options to better reflect their function:
  * procd_lan_device to lan_device
  * procd_wan_interface to uplink_interface
  * procd_wan6_interface to uplink_interface6
  * procd_wan6_metric to uplink_interface6_metric
  * wan_ip_rules_priority to uplink_ip_rules_priority
  * wan_mark to uplink_mark
* visually separate run-time variables from variables loaded from config options
* use ${IPKG_INSTROOT} when sourcing files
* fix typo in str_to_dnsmasq_nftset()
* use pidof to kill dnsmasq in dnsmasq_kill()
* add helper function uci_add_list_if_new()
* add helper function uci_changes()
* add helper function ubus() so that service delete does not produce "Command not found"
* implement the dnsmasq features check similar to dnsmasq init script
* add get_url() function similar to luci package
* add/modify error and warning messages
* change how mktemp is used for more reliable file creation
* unset non-true boolean package config options on load for easier checks later
* improve handling of nft/nft set options
* fewer calls to resolver() and resolver() optimization to speed up the service
* use softlinks instead of duplicating dnsmasq nftset files into each instance
* prevent duplication of dnsmasq nftset elements
* option to target a specific dest dns port in DNS policies
* bugfix: more reliable interface reloads
* display README links to errors/warnings sections if any errors/warnings discovered

Uci-defaults:
* transition from old options to new ones

Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
<entry>
<title>pbr: 1.1.7-65 bugfixes and improvements</title>
<updated>2024-12-07T02:47:16Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2024-12-07T02:01:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=ad1b32bc63e6bf5dc19d416bc223540d0c6e5732'/>
<id>urn:sha1:ad1b32bc63e6bf5dc19d416bc223540d0c6e5732</id>
<content type='text'>
Maintainer: me
Compile tested: x86_64, Dell EMC Edge620, OpenWrt 24.10.0-rc2
Run tested: x86_64, Dell EMC Edge620, OpenWrt 24.10.0-rc2

Description:
* stop building netifd flavour until netifd isuees are resolved
* improve output()
* improve inline_set()
* improve is_config_enabled()
* bugfix is_domain()
* improve is_supported_protocol()
* improve is_supported_interface()
* bugfix is_tor_running()
* improve ipv4_leases_to_nftset()
* improve ipv6_leases_to_nftset()
* add check for ip-full binary on start
* bugfix: load environment on boot
* bugfix: hack around dnsmasq confdir instances
* bugfix: IPv6-related fixes for internet_routing() and status_service()
* improve netifd setup by bringing code into the init script from uci-defaults
* bugfix: do not attempt to use IPv6 prefixes in pbr.user.aws if IPv6 support is disabled in pbr config

Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
<entry>
<title>pbr: update to 1.1.7-47</title>
<updated>2024-10-31T17:04:56Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2024-10-31T01:45:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=ceda7c95ffcc296442f2e0b9249c66219e0deb80'/>
<id>urn:sha1:ceda7c95ffcc296442f2e0b9249c66219e0deb80</id>
<content type='text'>
* bump compat version to accommodate new strings
* update dnsmasq-related code to better support separate confdirs
  for separate instances
* remove procd_lan_interface as it didn't reflect that it's a list of devices
* introduce procd_lan_device list
* improve the output() function (thanks @bigsmile74)
* remove duplicate uci_get_device
* improve ipv6 detection and interface setup
* improve dhcp force detection for interfaces name differently from lan
* fix array/element parameters for some json operations
* remove unneeded null redirects for `try` calls
* remove (iptables-only) capitalized chain names form validation
* working pbr-netifd flavor

Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
<entry>
<title>pbr: update to 1.1.7-10</title>
<updated>2024-09-20T20:22:24Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2024-09-19T16:20:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=1a00273aed4ba90cb1ada9e92a031ee63f86a841'/>
<id>urn:sha1:1a00273aed4ba90cb1ada9e92a031ee63f86a841</id>
<content type='text'>
* allow using WG servers as gateways if explicitly set in supported_interface
* automatically execute user scripts in /etc/pbr.d/
* change the dnsmasq restart logic on start/reload/restart
* further nft file atomic mode-related code cleanup
* fix spelling in error message

Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
<entry>
<title>pbr: update to 1.1.7-7</title>
<updated>2024-09-05T20:26:46Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2024-09-03T20:15:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=3219c50828914d82da375e959b06da3f6f40d2a4'/>
<id>urn:sha1:3219c50828914d82da375e959b06da3f6f40d2a4</id>
<content type='text'>
Makefile:
* remove pbr-iptables flavour

Init-script:
* improve detection of wireguard server and client instances
* integrate wg_server_and_client into init script
* remove traffic_killswitch() and trap() and related options/code
* remove internal nft_file_support variable as fw4 nft file is the only running mode
* improve debug() and is_supported_interface() functions
* improve detection of incompatible user script files
* double-quote some strings due to shellcheck errors
* flush ip rules from pbr tables instead of deleting last one

Other files:
* remove /usr/share/pbr/pbr.user.wg_server_and_client as obsolete
* remove references to the file above in config on update thru uci-defaults
* minor updates to netifd uci-defaults script

Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
<entry>
<title>pbr: update to 1.1.6-20</title>
<updated>2024-08-06T01:44:34Z</updated>
<author>
<name>Stan Grishin</name>
</author>
<published>2024-08-03T23:17:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=920d64734aeacbc00738b3529b1fb0b6c631d187'/>
<id>urn:sha1:920d64734aeacbc00738b3529b1fb0b6c631d187</id>
<content type='text'>
This version is the final version supporting iptables and:

* it separates the old iptables/nft-capable init script from the new nft-only init script
* the new nft-script is a significant rewrite of the old recursive calls/policy parsing
  and tries to create inline nft sets which offers performance improvements

Signed-off-by: Stan Grishin &lt;stangri@melmac.ca&gt;
</content>
</entry>
</feed>
