diff --git a/src/ddebug.h b/src/ddebug.h index 6e1fa95..8ee3ded 100644 --- a/src/ddebug.h +++ b/src/ddebug.h @@ -1,4 +1,12 @@ - +/* + * Coraza connector for nginx + * + * You may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + */ // From: https://raw.githubusercontent.com/openresty/lua-nginx-module/master/src/ddebug.h diff --git a/src/ngx_http_coraza_body_filter.c b/src/ngx_http_coraza_body_filter.c index 7acd81d..22b9e3b 100644 --- a/src/ngx_http_coraza_body_filter.c +++ b/src/ngx_http_coraza_body_filter.c @@ -1,16 +1,11 @@ /* - * Coraza connector for nginx, http://www.coraza.io/ - * Copyright (c) 2015 Trustwave Holdings, Inc. (http://www.trustwave.com/) + * Coraza connector for nginx * * You may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * - * If any of the files related to licensing are missing or if you have any - * other questions related to licensing please contact Trustwave Holdings, Inc. - * directly using the email address security@coraza.io. - * */ #include "ngx_http_coraza_common.h" diff --git a/src/ngx_http_coraza_common.h b/src/ngx_http_coraza_common.h index bebdaf7..01166c2 100644 --- a/src/ngx_http_coraza_common.h +++ b/src/ngx_http_coraza_common.h @@ -1,19 +1,13 @@ /* - * Coraza connector for nginx, http://www.coraza.io/ - * Copyright (c) 2015 Trustwave Holdings, Inc. (http://www.trustwave.com/) + * Coraza connector for nginx * * You may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * - * If any of the files related to licensing are missing or if you have any - * other questions related to licensing please contact Trustwave Holdings, Inc. - * directly using the email address security@coraza.io. - * */ - #ifndef _ngx_http_coraza_COMMON_H_INCLUDED_ #define _ngx_http_coraza_COMMON_H_INCLUDED_ diff --git a/src/ngx_http_coraza_header_filter.c b/src/ngx_http_coraza_header_filter.c index 9f27200..87f2feb 100644 --- a/src/ngx_http_coraza_header_filter.c +++ b/src/ngx_http_coraza_header_filter.c @@ -1,5 +1,5 @@ /* - * Coraza connector for nginx, http://www.modsecurity.org/ + * Coraza connector for nginx * Copyright (c) 2022 Coraza author and contributors (https://www.coraza.io/) * Based on ModSecurity connector for nginx, http://www.modsecurity.org/ * @@ -8,10 +8,6 @@ * * http://www.apache.org/licenses/LICENSE-2.0 * - * If any of the files related to licensing are missing or if you have any - * other questions related to licensing please contact Trustwave Holdings, Inc. - * directly using the email address security@coraza.io. - * */ diff --git a/src/ngx_http_coraza_log.c b/src/ngx_http_coraza_log.c index 1a71d0d..354f014 100644 --- a/src/ngx_http_coraza_log.c +++ b/src/ngx_http_coraza_log.c @@ -1,16 +1,11 @@ /* * Coraza connector for nginx, http://www.coraza.io/ - * Copyright (c) 2015 Trustwave Holdings, Inc. (http://www.trustwave.com/) * * You may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * - * If any of the files related to licensing are missing or if you have any - * other questions related to licensing please contact Trustwave Holdings, Inc. - * directly using the email address security@coraza.io. - * */ diff --git a/src/ngx_http_coraza_module.c b/src/ngx_http_coraza_module.c index c7b5c11..dba9542 100644 --- a/src/ngx_http_coraza_module.c +++ b/src/ngx_http_coraza_module.c @@ -1,23 +1,11 @@ /* * Coraza connector for nginx, http://www.coraza.io/ * - * Based on Coraza's connector. - * - * Coraza nginx connector - * Copyright (c) 2015 Trustwave Holdings, Inc. (http://www.trustwave.com/) - * - * Coraza nginx connector - * Copyright (c) 2022 Coraza - * * You may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * - * If any of the files related to licensing are missing or if you have any - * other questions related to licensing please contact Trustwave Holdings, Inc. - * directly using the email address security@CORAZA.org. - * */ #ifndef CORAZA_DDEBUG diff --git a/src/ngx_http_coraza_pre_access.c b/src/ngx_http_coraza_pre_access.c index e533ff2..1c009e3 100644 --- a/src/ngx_http_coraza_pre_access.c +++ b/src/ngx_http_coraza_pre_access.c @@ -1,16 +1,11 @@ /* - * CORAZA connector for nginx, http://www.CORAZA.org/ - * Copyright (c) 2015 Trustwave Holdings, Inc. (http://www.trustwave.com/) + * Coraza connector for nginx * * You may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * - * If any of the files related to licensing are missing or if you have any - * other questions related to licensing please contact Trustwave Holdings, Inc. - * directly using the email address security@CORAZA.org. - * */ #ifndef CORAZA_DDEBUG diff --git a/src/ngx_http_coraza_rewrite.c b/src/ngx_http_coraza_rewrite.c index 87179db..8f3cbe5 100644 --- a/src/ngx_http_coraza_rewrite.c +++ b/src/ngx_http_coraza_rewrite.c @@ -1,16 +1,11 @@ /* - * Coraza connector for nginx, http://www.coraza.io/ - * Copyright (c) 2015 Trustwave Holdings, Inc. (http://www.trustwave.com/) + * Coraza connector for nginx * * You may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * - * If any of the files related to licensing are missing or if you have any - * other questions related to licensing please contact Trustwave Holdings, Inc. - * directly using the email address security@coraza.io. - * */ #ifndef CORAZA_DDEBUG diff --git a/src/ngx_http_coraza_utils.c b/src/ngx_http_coraza_utils.c index e9be865..05b31b9 100644 --- a/src/ngx_http_coraza_utils.c +++ b/src/ngx_http_coraza_utils.c @@ -1,3 +1,13 @@ +/* + * Coraza connector for nginx + * + * You may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + */ + #include "ddebug.h" #include "ngx_http_coraza_common.h"