#redirect #header #rules #web #filtering #body #io

redirectionio

Redirection IO Library to handle matching rule, redirect and filtering headers and body

14 stable releases

new 2.11.2 May 17, 2024
2.11.0 Feb 27, 2024
2.9.0 Oct 2, 2023
2.8.0 May 26, 2023
2.4.0 Aug 3, 2022

#3 in #body

Download history 6/week @ 2024-02-02 191/week @ 2024-02-23 111/week @ 2024-03-01 6/week @ 2024-03-08 2/week @ 2024-03-15 6/week @ 2024-03-29

887 downloads per month

MIT license

375KB
10K SLoC

Contains (obscure autoconf code, 2KB) configure.ac

About

rust library that process redirect and filtering from rules coming of https://redirection.io/

This library is mainly used in proxies and agent of redirectionio.

Installation

You only to install this library if you wish to compile apache or nginx proxies or build the web assembly module.

Library

You need rust and cargo to compile this library, to install on your system run the following commands:

autoreconf -i
./configure
make

You can run make install (with root permissions) to install this library into your system, this is required if you need to compile some of our modules against this library.

Tests

Some tests are generated. Templates are located in tests/templates folder. If you update them, you need to run cargo build to (re)generate the tests.


lib.rs:

This crate provides a library for matching, handling and logging http requests with redirectionio rule format.

Dependencies

~16–31MB
~537K SLoC