pbr: initial commit
authorStan Grishin <stangri@melmac.ca>
Mon, 31 Oct 2022 23:08:01 +0000 (23:08 +0000)
committerStan Grishin <stangri@melmac.ca>
Sat, 3 Dec 2022 02:38:02 +0000 (02:38 +0000)
commitb90c80aae442d71cfa5acda51cfa11ea10fdb18e
treea6faefd0a0a928787e4e2792d5014ebfff6437d5
parente5083a9dba86aeb4aa2fc07089af9a0f121e8070
pbr: initial commit

* The makefile produces the nft and iptables capable `pbr` package
  and the `pbr-iptables` package for legacy setups
* This replaces `vpnbypass` and `vpn-policy-routing` packages
* I'm soliciting feedback on this package and my intention is to
  update the version to 1.0.0 before this is merged, but I need the
  feedback on this and luci-app-pbr before then.

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 47eca64cb82a5459668fc14df9422e365c8343b6)
33 files changed:
net/pbr/Makefile [new file with mode: 0644]
net/pbr/files/README.md [new file with mode: 0644]
net/pbr/files/etc/config/pbr [new file with mode: 0644]
net/pbr/files/etc/config/pbr.iptables [new file with mode: 0644]
net/pbr/files/etc/hotplug.d/firewall/70-pbr [new file with mode: 0755]
net/pbr/files/etc/hotplug.d/iface/70-pbr [new file with mode: 0644]
net/pbr/files/etc/init.d/pbr.init [new file with mode: 0755]
net/pbr/files/etc/uci-defaults/90-pbr [new file with mode: 0644]
net/pbr/files/etc/uci-defaults/91-pbr [new file with mode: 0644]
net/pbr/files/usr/share/nftables.d/chain-post/mangle_forward/30-pbr.nft [new file with mode: 0644]
net/pbr/files/usr/share/nftables.d/chain-post/mangle_input/30-pbr.nft [new file with mode: 0644]
net/pbr/files/usr/share/nftables.d/chain-post/mangle_output/30-pbr.nft [new file with mode: 0644]
net/pbr/files/usr/share/nftables.d/chain-post/mangle_postrouting/30-pbr.nft [new file with mode: 0644]
net/pbr/files/usr/share/nftables.d/chain-post/mangle_prerouting/30-pbr.nft [new file with mode: 0644]
net/pbr/files/usr/share/nftables.d/table-post/30-pbr.nft [new file with mode: 0644]
net/pbr/files/usr/share/pbr/pbr.firewall.include [new file with mode: 0644]
net/pbr/files/usr/share/pbr/pbr.user.aws [new file with mode: 0644]
net/pbr/files/usr/share/pbr/pbr.user.netflix [new file with mode: 0644]
net/pbr/test.sh [new file with mode: 0644]
net/vpn-policy-routing/Makefile [deleted file]
net/vpn-policy-routing/files/README.md [deleted file]
net/vpn-policy-routing/files/vpn-policy-routing.aws.user [deleted file]
net/vpn-policy-routing/files/vpn-policy-routing.config [deleted file]
net/vpn-policy-routing/files/vpn-policy-routing.firewall.hotplug [deleted file]
net/vpn-policy-routing/files/vpn-policy-routing.init [deleted file]
net/vpn-policy-routing/files/vpn-policy-routing.netflix.user [deleted file]
net/vpn-policy-routing/test.sh [deleted file]
net/vpnbypass/Makefile [deleted file]
net/vpnbypass/files/README.md [deleted file]
net/vpnbypass/files/vpnbypass.config [deleted file]
net/vpnbypass/files/vpnbypass.hotplug [deleted file]
net/vpnbypass/files/vpnbypass.init [deleted file]
net/vpnbypass/test.sh [deleted file]