Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
Update naxsi core rules
« previous
next »
Print
Pages: [
1
]
Author
Topic: Update naxsi core rules (Read 2967 times)
Fright
Hero Member
Posts: 1777
Karma: 164
Update naxsi core rules
«
on:
November 05, 2020, 06:30:40 pm »
Hi!
sometimes naxsi core rules are updated (most recent version is Oct 26, 2020)
how to update the core rules correctly?
I think that i cant just run (i dont see any config check for same rule id or some in .php)
/usr/local/opnsense/scripts/nginx/naxsi_rule_download.php
need to delete all core rules and policies from config first (it looks like it's easier to change the rules manually)?
«
Last Edit: November 06, 2020, 08:21:26 am by Fright
»
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: Update naxsi core rules
«
Reply #1 on:
November 09, 2020, 08:28:02 am »
if anyone is interested. Since in the config the locations, policies, rules are linked by uuid, I did not find a quick way to add the ability to update the rules (need to download the rules, search for the id in the config, update rules etc.. and I'm too lazy). since the rules are rarely updated, I gave up and just added and update the core rules according to
https://github.com/nbs-system/naxsi/commit/e6fbcd61b2fcdf2e32f448edff9edc8dbcecec5e
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
Update naxsi core rules