Problem with banIP

Hello,

i have the problem that when i want to install banIP, i am told it has to install “logd”.
But this will not be installed because it is already used by syslog_ng.
Can I safely use the overwrite option in this case?
Maybe @dibdot has some advice?

Omnia 1GB
TurrisOS: 5.1.4

Best regards!

Hi,
please just wait for the next banIP version. The current version has never been tested on my turris device. I let you know, when the update is available.

1 Like

Thanks for your answer, I will wait.
I came across it when I was looking for a way to block Facebook. Unfortunately “adblock” does not have such a separate list.
anudeepND has such a list available:

https://raw.githubusercontent.com/anudeepND/blacklist/master/facebook.txt

I also find the functions of banIP very good.

Best regards!

Just block these domains:

facebook.com
facebook.net
facebook.co.in
facebook.co.uk
fbcdn.com
fbcdn.net
fbsbx.com
fb.me
fb.com
tfbnw.net

Hi,

I have the same problem here and I am still unable to install and use banip. Is there a workaround I can use before the update is available ?

Thanks!

Well … completely untested …

wget https://downloads.openwrt.org/releases/19.07.5/packages/x86_64/packages/banip_0.3.11-1_all.ipk
wget https://downloads.openwrt.org/releases/19.07.5/packages/x86_64/luci/luci-app-banip_git-20.354.35687-9ea6057-1_all.ipk

opkg install banip<..> --nodeps
opkg install luci-app-banip<...>

Enable the service in LuCI under System=>Startup
Enable/Configure banIP under Services ...

root@turris:~# /etc/init.d/banip status_service
::: banIP runtime information
  + status     : enabled
  + version    : 0.3.11
  + util_info  : /usr/bin/curl, true
  + ipset_info : 3 IPSets with overall 2661 IPs/Prefixes
  + backup_dir : /tmp
  + last_run   : 20.12.2020 21:46:04
  + system     : Turris Omnia, TurrisOS 5.1.4 589c3cf4e08731e4971d2db6c83e16b5ab959878

… again, no promises that it currently works on TurrisOS (installed on hbs branch).

Hope this helps!
Dirk

P.S. To get the CLI “status_service” running, you have to manually edit /etc/init.d/banip, e.g.:

[...]
Old:
EXTRA_COMMANDS="refresh"

New:
EXTRA_COMMANDS="refresh status_service"
[...]

Hi,
just let you know that banIP 0.7.1 is now in OpenWrt master. It has been successfully tested with Turris OS 5.2.0 (hbl branch). The download links etc. will be found here.

Please note: remove your old banIP installation (incl. config) before you try to update to latest release.

Hi Dirk,

after the update to Turris OS6 came me again your great “banIP” in mind and what can I say …
Runs absolutely round and a big thank you at this point!
Keep up the good work, I would also support financially!

Best regards!

1 Like