1999-12-29 08:35:07 +00:00
|
|
|
transproxy - transparently proxy HTTP requests.
|
1998-03-28 08:20:32 +00:00
|
|
|
|
1999-12-29 08:35:07 +00:00
|
|
|
This program is used with ipfw's fwd rules or Darren Reed's IPFILTER
|
|
|
|
package, and is used to intercept HTTP requests and divert them to a
|
|
|
|
HTTP proxy server (eg: squid), without requiring user intervention or
|
|
|
|
configuration.
|
1998-03-28 08:20:32 +00:00
|
|
|
|
|
|
|
It accepts connections on the redirected port, connects to the real proxy
|
1999-12-29 08:35:07 +00:00
|
|
|
server, and transports data between the two sockets. The original HTTP
|
|
|
|
request is modified to allow the HTTP proxy server to fetch the correct
|
|
|
|
document. In most cases this doesn't cause any DNS activity.
|
1998-03-28 08:20:32 +00:00
|
|
|
|
|
|
|
Unlike some other transparent proxy solutions, this does not require the
|
1999-12-29 08:35:07 +00:00
|
|
|
HTTP proxy server to run on the machine itself.
|
1998-03-28 08:20:32 +00:00
|
|
|
|
1999-12-29 08:35:07 +00:00
|
|
|
See /usr/local/sbin/tproxyrun for an example of how to add filter rules
|
|
|
|
and start tproxy. Also see /usr/local/sbin/tproxywatch for an example of
|
|
|
|
how to ensure that tproxy keeps running regardless of faults.
|