Sign inSign up

ajoergensen/privoxy

By ajoergensen

Updated over 1 year ago

Privoxy filtering http proxy

Image
14

100K+

ajoergensen/privoxy repository overview

Privoxy

Usage

docker run --rm -d --name privoxy -p 8118:8118 ajoergensen/privoxy

If you want to use your own config, start like this

docker run --rm -d --name privoxy -p 8118:8118 -v $PWD/privoxy.conf:/etc/privoxy/config:ro ajoergensen/privoxy

Environment

DEBUG_LEVEL: Sets the debug value (log level). Default is 0. See below LISTEN_ADDRESS: Changes port (and address) Privoxy listens on. Default is :8118 - Only makes sense to change if using --net host TOGGLE: If set to 0, Privoxy will start in "toggled off" mode, i.e. mostly behave like a normal, content-neutral proxy with both ad blocking and content filtering disabled. Default is 1 (enabled)

Logging

The log is sent to stdout and be configured by setting the environment variable DEBUG_LEVEL

 The available debug levels are:

   debug     1 # Log the destination for each request Privoxy let through. See also debug 1024.
   debug     2 # show each connection status
   debug     4 # show I/O status
   debug     8 # show header parsing
   debug    16 # log all data written to the network
   debug    32 # debug force feature
   debug    64 # debug regular expression filters
   debug   128 # debug redirects
   debug   256 # debug GIF de-animation
   debug   512 # Common Log Format
   debug  1024 # Log the destination for requests Privoxy didn't let through, and the reason why.
   debug  2048 # CGI user interface
   debug  4096 # Startup banner and warnings.
   debug  8192 # Non-fatal errors
   debug 32768 # log all data read from the network
   debug 65536 # Log the applying actions

 To select multiple debug levels, you can either add them or
 use multiple debug lines.

 A debug level of 1 is informative because it will show you
 each request as it happens. 1, 1024, 4096 and 8192 are
 recommended so that you will notice when things go wrong. The
 other levels are probably only of interest if you are hunting
 down a specific problem. They can produce a hell of an output
 (especially 16).

 If you are used to the more verbose settings, simply enable
 the debug lines below again.

 If you want to use pure CLF (Common Log Format), you should
 set "debug 512" ONLY and not enable anything else.

 Privoxy has a hard-coded limit for the length of log messages.
 If it's reached, messages are logged truncated and marked with
 "... [too long, truncated]".

 Please don't file any support requests without trying to
 reproduce the problem with increased debug level first. Once
 you read the log messages, you may even be able to solve the
 problem on your own.

Tag summary

Content type

Image

Digest

sha256:de3967b42

Size

17.5 MB

Last updated

over 1 year ago

docker pull ajoergensen/privoxy