Comments (8)
Fixed in 1.0.1-1.
from source.openwrt.melmac.net.
@stangri No, the problem is still relevant.
root@OpenWrt:~# /etc/init.d/pbr version
1.0.1-1
root@OpenWrt:~# /etc/init.d/pbr reload
Activating traffic killswitch [✓]
Setting up routing for 'wan/eth0/xxx' [✗]
Setting up routing for 'wg0/10.9.0.129' [✗]
Deactivating traffic killswitch [✓]
Running /etc/pbr.st7105.user [✓]
pbr 1.0.1-1 monitoring interfaces: wan wg0
ERROR: Failed to set up 'wan/eth0/xxx'!
ERROR: Failed to set up 'wg0/10.9.0.129'!
ERROR: Failed to set up any gateway!
from source.openwrt.melmac.net.
nftset create_user_set wan src mac user 0x010000
+ local 'command=create_user_set' 'iface=wan' 'target=src' 'type=mac' 'uid=user' 'comment=' 'param=0x010000' 'mark=0x010000'
+ local nftset4 nftset6 i param4 param6
+ local 'ipv4_error=1' 'ipv6_error=1'
+ nftset4=pbr_wan_4_src_mac_user
+ nftset6=pbr_wan_6_src_mac_user
+ '[' -x /usr/sbin/nft ]
+ '[' 22 -gt 255 ]
+ nft4 add set inet fw4 pbr_wan_4_src_mac_user '{ type ether_addr; flags interval; auto-merge; policy memory; comment ""; }'
+ '[' -x /usr/sbin/nft ]
+ /usr/sbin/nft add set inet fw4 pbr_wan_4_src_mac_user '{ type ether_addr; flags interval; auto-merge; policy memory; comment ""; }'
+ ipv4_error=0
+ nft6 add set inet fw4 pbr_wan_6_src_mac_user '{ type ether_addr; flags interval; auto-merge; policy memory; comment ""; }'
+ '[' -n ]
+ return 0
+ ipv6_error=0
+ nft add rule inet fw4 pbr_prerouting ether saddr @pbr_wan_4_src_mac_user goto pbr_mark_0x010000
+ '[' -x /usr/sbin/nft ]
+ /usr/sbin/nft add rule inet fw4 pbr_prerouting ether saddr @pbr_wan_4_src_mac_user goto pbr_mark_0x010000
+ ipv4_error=0
+ nft add rule inet fw4 pbr_prerouting ether saddr @pbr_wan_6_src_mac_user goto pbr_mark_0x010000
+ '[' -x /usr/sbin/nft ]
+ /usr/sbin/nft add rule inet fw4 pbr_prerouting ether saddr @pbr_wan_6_src_mac_user goto pbr_mark_0x010000
+ '[' -z ]
+ ipv6_error=1
+ return 1
+ s=1
+ return 1
+ state add errorSummary errorFailedSetup wan/eth0/xxx
+ local 'action=add' 'param=errorSummary' 'value=errorFailedSetup'
+ shift 3
+ local 'extras=wan/eth0/xxx'
+ local line error_id error_extra label
+ eval echo '$errorSummary'
+ echo
+ line=
+ eval 'errorSummary=${line:+$line#}${value}${extras:+ $extras}'
+ errorSummary='errorFailedSetup wan/eth0/xxx'
+ output_fail
+ s=1
+ output 1 '\033[0;31m\xe2\x9c\x97\033[0m'
+ local msg memmsg logmsg
But IPv6 is disabled in /etc/config/pbr
from source.openwrt.melmac.net.
Can you post lines 528-532 from the /etc/init.d/pbr
on your router?
from source.openwrt.melmac.net.
if [ "$ipv4_error" -eq '0' ] || [ "$ipv6_error" -eq '0' ]; then
return 0
else
return 1
fi
from source.openwrt.melmac.net.
I've tried enabling one user file on my router and still can't reproduce. To confirm or reject my suspicion, can you please disable the user file on your router and run reload?
from source.openwrt.melmac.net.
Can you please try 1.0.1-2
from my repo?
from source.openwrt.melmac.net.
@stangri Okay, just a moment.
from source.openwrt.melmac.net.
Related Issues (20)
- [pbr][wish] support adguardhome.ipset as resolver_set option HOT 28
- [PBR] Issue: Service starts with "ip: bad line 11: 1 tokens found, 2 needed" HOT 6
- [PBR] Issue: Database /etc/iproute2/rt_tables is corrupted HOT 5
- [wireshark-helper] Issue: cannot find dependency luci-lua-runtime for luci-app-wireshark-helper HOT 10
- [pbr] Issue: No place to file `pbr` issues? HOT 1
- [pbr] Issue: resolvers are unavailable despite installing all requirements HOT 8
- [pbr] issue: Inconsistent routing with PBR/OpenVPN HOT 10
- [pbr] issue: cannot chose routing via wireguard interface if wan is default interface, only wan interface available for pbr rules HOT 10
- pbr service error: failed to set up interfaces HOT 6
- [pbr] wish: interface specific rule reload on interface restart - wireguard interface restart causes pbr to re-apply rules for all interfaces HOT 6
- [pbr] issue: timeout waiting for wan gateway on USB-based WAN HOT 4
- [https-dns-proxy] Incorrect error code checking
- [pbr] issue: Switch from uci <command> to uci_<command> causes segfault HOT 27
- [pbr] issue: PBR intermittently ineffective after a few hours and all traffic routed over VPN HOT 8
- [pbr] issue: Regression from 1.1.1-7 to 1.1.3-25 - overlaps in `src_addr` arguments among `policy` entries results in cryptic `nft` failures HOT 6
- [pbr] error on ipv6 only network: ERROR: The pbr 1.1.4-1 service failed to discover WAN gateway! HOT 17
- [pbr] wish:https-dns-proxy support custom address h3:// HOT 1
- [fakeinternet] Issue: cannot find dependency luci-lua-runtime for luci-app-fakeinternet HOT 1
- Errors when adding this repo as "feed" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from source.openwrt.melmac.net.