NethSecurity 8.8.0: IPS doesn't load rules when persistent storage is enabled

Hi,

I noticed a possible issue with BanIP in NethSecurity.

When Storage is enabled, BanIP does not seem to read the log file correctly, and therefore the expected bans/log processing do not work.

I found that I have to manually set the log file path from the CLI:

uci set banip.global.ban_logreadfile='/mnt/data/log/messages'
uci commit banip
/etc/init.d/banip restart

After applying the above configuration and restarting BanIP, it works as expected.

It seems that when Storage is enabled, BanIP does not automatically detect/use the correct /mnt/data/log/messages path.

Could you please confirm whether this is expected behavior or a bug?

Environment:

  • NethSecurity: 8.8.0
  • BanIP: 1.8.10
  • Storage: Enabled

Thanks!

Μετέφερα αυτό το θέμα σε νέο θέμα για καλύτερη προβολή και για να διατηρήσω τη συζήτηση ξεχωριστή.

Το BanIP δεν διαβάζει σωστά τα αρχεία καταγραφής όταν είναι ενεργοποιημένη η αποθήκευση