Skip to content

fix(banip): update installation scripts and add feed rebuilding logic - #1922

Open
m-dilorenzi wants to merge 2 commits into
mainfrom
fix_banip_update_issue
Open

m-dilorenzi wants to merge 2 commits into
mainfrom
fix_banip_update_issue

Conversation

@m-dilorenzi

@m-dilorenzi m-dilorenzi commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

This PR fixes an issue introduced by the banIP upgrade to version 1.8.10, which caused enterprise feeds not to load correctly.

Changes:

  • Add the 97-nethsec-banip-feeds uci-default. When banip.custom.feeds is still in the 1.0 format (rule_4) and banip 1.8 is installed, it rebuilds the file with ts-ip.
  • Reload banIP in the ns-threat_shield postinst, so the rebuilt feeds are loaded right away.
  • Drop the explicit 20_threat_shield call from the postinst: default_postinst already runs it before.
  • Rename 97-nethsec-banip-insights to 98-nethsec-banip-insights to avoid two uci-defaults with the same number.

Closes: #1921

@m-dilorenzi m-dilorenzi self-assigned this Oct 7, 2026
Comment thread packages/ns-threat_shield/files/97-nethsec-banip-feeds
Comment thread packages/ns-threat_shield/README.md
Comment thread packages/ns-threat_shield/Makefile Outdated
@m-dilorenzi
m-dilorenzi requested a review from Tbaile October 7, 2026 10:29

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Threat Shield IP: enterprise feeds skipped after upgrade from banIP 1.0

2 participants