Initial Commit
- initial default booting image
This commit is contained in:
29
package/nginx-naxsi/Config.in
Normal file
29
package/nginx-naxsi/Config.in
Normal file
@@ -0,0 +1,29 @@
|
||||
config BR2_PACKAGE_NGINX_NAXSI
|
||||
bool "nginx-naxsi"
|
||||
depends on BR2_PACKAGE_NGINX_HTTP
|
||||
# uses pcre2, so nginx needs to be built with pcre2 support
|
||||
select BR2_PACKAGE_PCRE2
|
||||
help
|
||||
NAXSI means Nginx Anti XSS & SQL Injection.
|
||||
|
||||
Technically, it is a third party nginx module, available as
|
||||
a package for many UNIX-like platforms. This module, by
|
||||
default, reads a small subset of simple (and readable) rules
|
||||
containing 99% of known patterns involved in website
|
||||
vulnerabilities. For example, <, | or drop are not supposed
|
||||
to be part of a URI.
|
||||
|
||||
Being very simple, those patterns may match legitimate
|
||||
queries, it is the Naxsi's administrator duty to add
|
||||
specific rules that will whitelist legitimate
|
||||
behaviours. The administrator can either add whitelists
|
||||
manually by analyzing nginx's error log, or (recommended)
|
||||
start the project with an intensive auto-learning phase that
|
||||
will automatically generate whitelisting rules regarding a
|
||||
website's behaviour.
|
||||
|
||||
In short, Naxsi behaves like a DROP-by-default firewall, the
|
||||
only task is to add required ACCEPT rules for the target
|
||||
website to work properly.
|
||||
|
||||
https://github.com/nbs-system/naxsi
|
||||
4
package/nginx-naxsi/nginx-naxsi.hash
Normal file
4
package/nginx-naxsi/nginx-naxsi.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# Locally calculated
|
||||
sha256 dbe2177411457f1cba98ee4673ce31876994ad06bdce5ecc0ee66384ef0e420e nginx-naxsi-d714f1636ea49a9a9f4f06dba14aee003e970834.tar.gz
|
||||
sha256 589ed823e9a84c56feb95ac58e7cf384626b9cbf4fda2a907bc36e103de1bad2 LICENSE
|
||||
sha256 d0732bc23658db5b9749e3f9cd4fe0f9b3e132b5955adccb08821845fe2a21c8 naxsi_src/ext/libinjection/COPYING
|
||||
12
package/nginx-naxsi/nginx-naxsi.mk
Normal file
12
package/nginx-naxsi/nginx-naxsi.mk
Normal file
@@ -0,0 +1,12 @@
|
||||
################################################################################
|
||||
#
|
||||
# nginx-naxsi
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NGINX_NAXSI_VERSION = d714f1636ea49a9a9f4f06dba14aee003e970834
|
||||
NGINX_NAXSI_SITE = $(call github,nbs-system,naxsi,$(NGINX_NAXSI_VERSION))
|
||||
NGINX_NAXSI_LICENSE = GPL-3.0, BSD-3-Clause (libinjection)
|
||||
NGINX_NAXSI_LICENSE_FILES = LICENSE naxsi_src/ext/libinjection/COPYING
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user