2016-12-20 18:37:38 +01:00
|
|
|
# Tinyproxy
|
2000-02-16 17:32:49 +00:00
|
|
|
|
2009-09-27 19:08:46 +05:30
|
|
|
Tinyproxy is a small, efficient HTTP/SSL proxy daemon released under the
|
|
|
|
GNU General Public License. Tinyproxy is very useful in a small network
|
|
|
|
setting, where a larger proxy would either be too resource intensive, or
|
|
|
|
a security risk. One of the key features of Tinyproxy is the buffering
|
|
|
|
connection concept. In effect, Tinyproxy will buffer a high speed
|
|
|
|
response from a server, and then relay it to a client at the highest
|
|
|
|
speed the client will accept. This feature greatly reduces the problems
|
|
|
|
with sluggishness on the Internet. If you are sharing an Internet
|
|
|
|
connection with a small network, and you only want to allow HTTP
|
|
|
|
requests to be allowed, then Tinyproxy is a great tool for the network
|
|
|
|
administrator.
|
2000-02-16 17:32:49 +00:00
|
|
|
|
2016-12-20 18:37:38 +01:00
|
|
|
For more info, please visit [the Tinyproxy web site](https://tinyproxy.github.io/).
|
2000-02-16 17:32:49 +00:00
|
|
|
|
|
|
|
|
2016-12-20 18:37:38 +01:00
|
|
|
## Installation
|
2008-05-24 16:48:45 +05:30
|
|
|
|
2016-12-20 18:58:30 +01:00
|
|
|
Tinyproxy uses a standard GNU `configure` script based on the automake
|
|
|
|
system. If compiling from a git checkout, you need to first run
|
2000-02-16 17:32:49 +00:00
|
|
|
|
2016-12-20 18:58:30 +01:00
|
|
|
```
|
|
|
|
./autogen.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
from the top level directory to generate the `configure` script.
|
|
|
|
The release tarball contains the pre-created `configure` script,
|
2017-10-13 14:02:49 -07:00
|
|
|
so when building from a release, you can skip this step.
|
2016-12-20 18:58:30 +01:00
|
|
|
Then basically all you need to do is
|
2001-10-25 16:28:24 +00:00
|
|
|
|
2016-12-20 18:37:38 +01:00
|
|
|
|
|
|
|
```
|
2009-09-27 19:08:46 +05:30
|
|
|
./configure
|
|
|
|
make
|
|
|
|
make install
|
2016-12-20 18:37:38 +01:00
|
|
|
```
|
2001-10-25 16:28:24 +00:00
|
|
|
|
2009-09-27 19:08:46 +05:30
|
|
|
in the top level directory to compile and install Tinyproxy. There are
|
|
|
|
additional command line arguments you can supply to `configure`. They
|
|
|
|
include:
|
2000-02-16 17:32:49 +00:00
|
|
|
|
2016-12-20 18:37:38 +01:00
|
|
|
- `--enable-debug`:
|
|
|
|
If you would like to turn on full debugging support.
|
2001-10-25 16:28:24 +00:00
|
|
|
|
2016-12-20 18:37:38 +01:00
|
|
|
- `--enable-xtinyproxy`:
|
|
|
|
Compile in support for the XTinyproxy header, which is sent to any
|
|
|
|
web server in your domain.
|
2010-01-19 19:12:24 +05:30
|
|
|
|
2016-12-20 18:37:38 +01:00
|
|
|
- `--enable-filter`:
|
|
|
|
Allows Tinyproxy to filter out certain domains and URLs.
|
2010-01-19 19:12:24 +05:30
|
|
|
|
2016-12-20 18:37:38 +01:00
|
|
|
- `--enable-upstream`:
|
|
|
|
Enable support for proxying connections through another proxy server.
|
2010-01-19 19:12:24 +05:30
|
|
|
|
2016-12-20 18:37:38 +01:00
|
|
|
- `--enable-transparent`:
|
|
|
|
Allow Tinyproxy to be used as a transparent proxy daemon.
|
2020-09-07 18:08:09 +01:00
|
|
|
Unlike other work modes, transparent proxying doesn't require explicit
|
|
|
|
configuration and works automatically when traffic is redirected to
|
|
|
|
the proxy using the appropriate firewall rules.
|
2010-01-19 19:12:24 +05:30
|
|
|
|
2016-12-24 02:36:58 +01:00
|
|
|
- `--enable-reverse`:
|
|
|
|
Enable reverse proxying.
|
|
|
|
|
2016-12-20 18:37:38 +01:00
|
|
|
- `--with-stathost=HOST`:
|
|
|
|
Set the default name of the stats host.
|
2000-02-16 17:32:49 +00:00
|
|
|
|
2016-12-20 18:58:30 +01:00
|
|
|
For more information about the build system, read the INSTALL file
|
|
|
|
that is generated by `autogen.sh` and comes with the release tar ball.
|
|
|
|
|
|
|
|
|
2000-09-12 00:16:57 +00:00
|
|
|
|
2016-12-20 18:37:38 +01:00
|
|
|
## Support
|
2000-02-16 17:32:49 +00:00
|
|
|
|
|
|
|
|
2016-12-20 18:37:38 +01:00
|
|
|
If you are having problems with Tinyproxy, please raise an
|
|
|
|
[issue on github](https://github.com/tinyproxy/tinyproxy/issues).
|
2001-10-25 16:28:24 +00:00
|
|
|
|
2000-02-16 17:32:49 +00:00
|
|
|
|
2016-12-20 18:37:38 +01:00
|
|
|
## Contributing
|
2001-06-24 18:19:12 +00:00
|
|
|
|
2009-09-27 19:08:46 +05:30
|
|
|
If you would like to contribute a feature, or a bug fix to the Tinyproxy
|
2016-12-20 18:37:38 +01:00
|
|
|
source, please clone the
|
|
|
|
[git repository from github](https://github.com/tinyproxy/tinyproxy.git)
|
|
|
|
and create a [pull request](https://github.com/tinyproxy/tinyproxy/pulls).
|
2000-02-16 17:32:49 +00:00
|
|
|
|
2009-09-09 10:52:17 +02:00
|
|
|
|
2016-12-20 18:37:38 +01:00
|
|
|
## Community
|
2009-09-09 10:52:17 +02:00
|
|
|
|
2016-12-20 18:37:38 +01:00
|
|
|
You can meet developers and users to discuss development,
|
|
|
|
patches and deployment issues in the `#tinyproxy` IRC channel on
|
|
|
|
Freenode (`irc.freenode.net`).
|