I made a "how-to" now that the final version of 22.03 is out on how to get the old version of banIP installed. I did this with OpenWrt 22.03.1 r19777-2853b6d652 . I recommend only doing this during the upgrade because it involves uninstalling Luci and firewall 4. If you are unsure of what you are doing you can become lost, easily. I was hoping to put this off until dibdot released the nftables version but the Wolf SSL vulnerability compelled me to upgrade to the latest version - why not just upgrade the whole system while I'm at it. This is the problem we face while waiting for a banIP solution for nftables; a 0 day comes out and we are reluctant to upgrade to keep our present systems working at the risk of vulnerabilities. Follow this "how-to" at your own risk and read through the instructions thoroughly before proceeding if you choose to do so. This is how I was able to get it to work on 22.03.1 with an e8450. Please read the following “How-To” in its entirety before attempting to go through the steps necessary to remove firewall4 and luci. You will have to reinstall luci (easiest solution) in order to get your menus to show up correctly after removing firewall4. It's also possible to remove the annoying nftables mixed with iptables warning by modifying /usr/share/luci/menu.d/luci-app-status.json and rebooting.
Step 1. Source the .ipk’s for Banip along with the dependencies necessary. I sourced the packages I needed based on the architecture of my router. I have an E8450 which is based on the ARMv8-A processor. Going back to when BanIP was still working, I can find the packages necessary for download here:
https://downloads.openwrt.org/releases/21.02.0/packages/aarch64_cortex-a53/packages/
Source your packages by visiting
https://downloads.openwrt.org/releases/21.02.0/packages/
and select the appropriate package architecture. You will also need to visit
https://downloads.openwrt.org/releases/21.02.0/packages/YOURARCHITECTURE/luci/
(Where YOURARCHITECTURE in the url matches your router architecture e.g. aarch64_cortex-a53 for the E8450) in order to install the luci interface for banip.
You will need the following packages (and any subsequently necessary dependencies such as firewall and iptables-zz-legacy which will come later):
banip_0.7.10-3_all.ipk
luci-app-banip_git-21.165.16952-467b853_all.ipk
Step 2. Transfer banip_0.7.10-3_all.ipk to /tmp/ on your device and keep copies of files transferred to that location on your local system as rebooting will remove them from the tmp directory.
Step 3. Install banIP by creating an SSH session to your OpenWrt device and run the following commands within the /tmp/ directory
opkg install banip_0.7.10-3_all.ipk
Reboot your device after the command is run.
Step 4. BanIP sources your lists by using a pre-defined utility. In my case I like to use curl. It also requires the use of iptables and firewall 3 to work. Start by installing curl or your preferred "get" tool from the software section in Luci or by using opkg from your ssh terminal. Install the iptables-zz-legacy package in the same manner. If you setup ipv6 with banip you will also need to get ip6tables-zz-legacy.
It may be necessary to remove luci files before executing the following commands which can be found further in this how-to. 22.03.01 comes with firewall 4 and it will be necessary to remove it by creating an ssh session and issuing the following commands:
opkg update
opkg remove firewall4
then install firewall 3 by running:
opkg install firewall
reboot
SSH into the router and run the following commands as luci will be inaccessible – you will need to reinstall by first removing all Luci based services and packages:
opkg remove luci* --force-depends
reboot
SSH into the router and run the following:
opkg update
opkg install luci
reboot
You will then need to reinstall your luci-app based packages (can be done from within luci) including luci-app-banip_git-21.165.16952-467b853_all.ipk from the SSH session. Do this by transferring the file to /tmp/ then from /tmp/ on your OpenWRT device run:
opkg install luci-app-banip_git-21.165.16952-467b853_all.ipk
reboot
Do not forget to re-apply your backup configuration files and be aware that attended system upgrades will fail while you have non-published packages installed/selected in your current version. You will have to remove those packages from the list in order to upgrade and then manually reinstall. Make sure to check and backup all of your Luci configurations and settings from cronjobs to backup file lists before uninstalling luci. I noticed strange behaviors of how the wireless was configured from luci on this specific router and found it necessary to restore my wireless, network, and firewall configurations manually in order to get everything back exactly the way I wanted. Remember to make backups and good luck!