Index: head/www/transproxy/Makefile =================================================================== --- head/www/transproxy/Makefile (nonexistent) +++ head/www/transproxy/Makefile (revision 10338) @@ -0,0 +1,26 @@ +# New ports collection makefile for: transproxy +# Version required: 0.3 +# Date created: Fri Mar 27 21:24:13 WST 1998 +# Whom: Peter Wemm +# +# $FreeBSD$ +# + +DISTNAME= transproxy-0.3 +CATEGORIES= www net +MASTER_SITES= ftp://ftp.nlc.net.au/pub/linux/www/ +DISTFILES= transproxy-0.3.tgz + +MAINTAINER= peter@FreeBSD.ORG + +ALL_TARGET= tproxy + +OSVERSION!= sysctl -n kern.osreldate +.if ${OSVERSION} < 300000 +BROKEN= "transproxy requires ipfilter, available in 3.0 or later" +.endif + +do-install: + cd ${WRKSRC}; ${INSTALL_PROGRAM} ${WRKSRC}/tproxy ${PREFIX}/sbin + +.include Property changes on: head/www/transproxy/Makefile ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/www/transproxy/distinfo =================================================================== --- head/www/transproxy/distinfo (nonexistent) +++ head/www/transproxy/distinfo (revision 10338) @@ -0,0 +1 @@ +MD5 (transproxy-0.3.tgz) = 12e38e77223f5c697fc2a1a5dc0cac36 Property changes on: head/www/transproxy/distinfo ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/www/transproxy/files/patch-aa =================================================================== --- head/www/transproxy/files/patch-aa (nonexistent) +++ head/www/transproxy/files/patch-aa (revision 10338) @@ -0,0 +1,25 @@ +--- Makefile.dist Mon Feb 17 22:41:07 1997 ++++ Makefile Fri Mar 27 21:57:17 1998 +@@ -11,15 +11,15 @@ + # PAY_THE_PENALTY Slow down if they don't use proxy directly. + # + +-OPTIONS=-DDNS_LOOKUPS #-DUSELESS_DNS_LOOKUPS ++CFLAGS+=-DIPFILTER -DDNS_LOOKUPS #-DUSELESS_DNS_LOOKUPS + +-CC=gcc +-CFLAGS=-O2 -m486 -Wall $(OPTIONS) +-LDFLAGS=-s +-LIBS= #-lresolv ++#CC=gcc ++#CFLAGS=-O2 -m486 -Wall $(OPTIONS) ++#LDFLAGS=-s ++#LIBS= #-lresolv + +-RM=rm -f +-INSTALL=install ++#RM=rm -f ++#INSTALL=install + + TARGETNAME=in.tproxyd + Property changes on: head/www/transproxy/files/patch-aa ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/www/transproxy/pkg-comment =================================================================== --- head/www/transproxy/pkg-comment (nonexistent) +++ head/www/transproxy/pkg-comment (revision 10338) @@ -0,0 +1 @@ +transparent www proxy driver for IPFILTER (NOT ipfw!!) Property changes on: head/www/transproxy/pkg-comment ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/www/transproxy/pkg-descr =================================================================== --- head/www/transproxy/pkg-descr (nonexistent) +++ head/www/transproxy/pkg-descr (revision 10338) @@ -0,0 +1,20 @@ +transproxy - transparently proxy HTTP and other requests. + +This program is used with Darren Reed's IPFILTER package and used +to intercept things like http requests and divert them to a www 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. + +Unlike some other transparent proxy solutions, this does not require the +proxy run on the machine itself. + +Use something like: +/usr/local/sbin/tproxy -b 127.0.0.1 -s 8081 [squidip] [squidport] + +(bind to localhost for safety), and the following ipnat rules: + +rdr ppp0 0.0.0.0/0 port 80 -> 127.0.0.1 port 8081 +rdr ppp1 0.0.0.0/0 port 80 -> 127.0.0.1 port 8081 +[..etc..] Property changes on: head/www/transproxy/pkg-descr ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/www/transproxy/pkg-plist =================================================================== --- head/www/transproxy/pkg-plist (nonexistent) +++ head/www/transproxy/pkg-plist (revision 10338) @@ -0,0 +1 @@ +sbin/tproxy Property changes on: head/www/transproxy/pkg-plist ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property