#redirect #header #web #filtering #rules #body #agent

redirectionio

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

14 stable releases

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

#435 in Web programming

26 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
~520K SLoC