BANGNA(1)

2024-08-16

NAME

bangna - TCP compression proxy

SYNOPSIS

bangna [-bdghrsVZz] [-l level] host port listen-port

DESCRIPTION

bangna is a TCP proxy that compresses or decompresses incoming data. Usually, two instances of bangna are running. The one running on the server side is started with the -r option (reverse proxy), the other one without. If no compression algorithm is chosen, the default algorithm will be chosen. host and port define the address bangna will connect to on an incoming connection. listen-port is the port where bangna listens for new connections.

The options are as follows:

-b

Use bzip2 for (de)compression.

-d

Use Deflate for (de)compression.

-g

Use Gzip for (de)compression.

-h

Print a short usage string and exit.

-l level

Set the compression level to level. Currently, this parameter does not affect bzip2.

-r

Act as a reverse proxy.

-s

Run in IPv6 mode.

-V

Print the version information and exit.

-Z

Use Zstandard for (de)compression.

-z

Use zlib for (de)compression.

AUTHORS

Created and maintained by Hannes Braun <hannes@hannesbraun.net>. Up-to-date sources can be found at https://git.sr.ht/~hannes/bangna. Bugs and patches can be submitted by email to ~hannes/public-inbox@lists.sr.ht.