---
name: transproxy
version: 1.6
origin: www/transproxy
comment: Transparent HTTP proxy for ipfw's fwd rule or IPFILTER's ipnat command
arch: freebsd:9:x86:64
www: http://transproxy.sourceforge.net/
maintainer: sem@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 34915
desc: |
  transproxy - transparently proxy HTTP requests.

  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.

  It accepts connections on the redirected port, connects to the real proxy
  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.

  Unlike some other transparent proxy solutions, this does not require the
  HTTP proxy server to run on the machine itself.

  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.

  WWW: http://transproxy.sourceforge.net/
categories: [www]
files:
  /usr/local/etc/rc.d/tproxy: 04e69d730ac2cecdab15761f7db503ea000a70085c1dc79f367cf08d0721b412
  /usr/local/man/man8/tproxy.8.gz: 99c399bd3a33d4b8cca04e692c5de7c3c9aac01fc348dfd731d41bf6b0148ed9
  /usr/local/sbin/tproxy: 1e5cbf1bd103a02e96b4a4fd41ffd3dbb1fb93a6f0dad70bb497ae4118bdf712
  /usr/local/sbin/tproxyrun: c0ed17f798734ecc05a847dc6dfbbd08150e14bb0ae7fa6723d268da80a6ee4c
  /usr/local/sbin/tproxywatch: 1e19066506dd1b1e5ce2ae430c3ddb38724a8f39cb61b85ecbe502bbaa7c5ef0
scripts:
  post-install: |
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
  post-deinstall: |
    cd /usr/local
