Tinyproxy is a non-caching, HTTP proxy and TCP tunnel. Its main feature is the ability to restrict Internet access to a list of approved sites (thus keeping the kiddies' eyes clean). If access control is your only requirement, then tinyproxy is a worthwhile alternative to Squid, a more full-featured proxy that is ten times larger.

1. Configuration

1.1. Daemon Settings

User username
Group groupname

Port port_number
Listen ip_address

Bind ip_address

PidFile "pathspec"

1.2. Spawn Settings

StartServers integer
MinSpareServers integer
MaxSpareServers integer
MaxClients integer

MaxRequestsPerChild integer

Timeout seconds

1.3. Logging

LogLevel {info,connect,notice,warning,error,critical}
SysLog {On,Off}
LogFile "pathspec"

1.4. HTTP Headers

ViaProxyName string

XTinyproxy host

Anonymous "http_header"

Upstream proxy_addr:port [domain or network]

1.5. Access Control -- clients

Allow host/network
Deny host/network

1.6. Access Control -- servers

FilterDefaultDeny {Yes|No}
Filter "pathspec"
FilterURLs {On|Off}
FilterExtended {On|Off}
FilterCaseSensitive {On|Off}

ConnectPort port

1.7. Web Pages

ErrorFile staus_code "pathspec"
DefaultErrorFile "pathspec"

StatHost hostname
StatFile "pathspec"

1.8. Surrogate (Reverse Proxy)

ReverseOnly {Yes|No}
ReversePath "URI" "URL"
ReverseMagic {Yes|No}
ReverseBaseURL "URL"

2. Troubleshooting

If you find the message "Could not allocate memory for child counting." in /etc/tinyproxy/tinyproxy.log, make sure the /tmp directory has the right permissions and is writable for nobody. The easiest way is to do a "chmod 1777 /tmp".


CategoryPackage

tinyproxy (last edited 2006-12-07 11:17:49 by KommandozeilenJunkie)

Almost all of these pages are editable, create an account and click the edit (Edit) button at the top of the page.