2022-06-29 21:50:10 +03:00
2022-06-29 21:50:10 +03:00
2022-06-29 21:50:10 +03:00
2022-06-29 21:50:10 +03:00
2022-06-29 21:50:10 +03:00
2022-06-29 21:50:10 +03:00
2022-06-29 21:50:10 +03:00
2022-06-29 21:50:10 +03:00
2022-06-29 21:50:10 +03:00
2022-06-29 21:50:10 +03:00

attachment

NGINX attachment compilation instructions

Compiling this repository

  1. Clone this repository
  2. Run CMake command (we recommand something like cmake -DCMAKE_INSTALL_PREFIX=<output path> <repository path>).
  3. From the repositoy directory run make install

For example:

 $ git clone https://github.com/openappsec/attachment.git
 $ cd attachment/
 $ cmake  -DCMAKE_INSTALL_PREFIX=build_out .
 $ make install

For the NGINX plugin

Grab the nginx source code from nginx.org, for example, the version 1.23.0 (see nginx compatibility), and then build the source with this module:

 $ module_path=/absolute/path/to/attachment

 $ wget 'http://nginx.org/download/nginx-1.23.0.tar.gz'
 $ tar -xzvf nginx-1.23.0.tar.gz
 $ cd nginx-1.23.0/

 $ ./configure  --add-dynamic-module=$module_path --with-cc-opt="-I $module_path/core/include/attachments"

 $ make modules

NGINX plugin associated libraries

The NGINX plugin uses these libraries: shmem_ipc, compression_utils, and nginx_attachment_util.

They can be found under the lib directory in the <output path> given to the CMake.

Description
Attachments connect between processes that provide HTTP data and the open-appsec Agent security logic.
Readme Pixar 1.2 MiB
Languages
C 83.6%
Go 5.4%
C++ 4%
Python 2.6%
Lua 1.6%
Other 2.8%