NethServer / nethsecurity

NethSecurity image and build environment
https://www.nethsecurity.org/
Other
90 stars 6 forks source link

Threat shield: empty subscription feed #496

Closed filippocarletti closed 2 months ago

filippocarletti commented 2 months ago

The 5 feeds for subscribed systems are always empty.

Steps to reproduce

Expected behavior

nft list set inet banIP nethesislvl3v4 shows a list of IPs.

Actual behavior

May 3 17:09:47 fw banIP-0.9.4-3[16535]: skip empty feed 'nethesislvl3v4'

Components

ns-threat_shield - 0.0.2-1

filippocarletti commented 2 months ago

Somewhere between beta1 and rc2 gawk has substituted awk.

gsanchietti commented 2 months ago

The change has been introduced by this banip commit: https://github.com/openwrt/packages/commit/5af101564a9f889807e0e2762934e03cb0259eb1

gsanchietti commented 2 months ago

Testing image: 23.05.3-ns.0.0.5-rc2-26-gb3db7a3

gsanchietti commented 2 months ago

Verified: after applying the patch, the sets are correctly loaded.

But I've found another bug, see #507