From owner-freebsd-ipfw@FreeBSD.ORG Fri Mar 12 10:05:02 2004 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4610516A4CE for ; Fri, 12 Mar 2004 10:05:02 -0800 (PST) Received: from mail3.firstlink.com (mail3.firstlink.com [66.37.141.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26EBF43D2D for ; Fri, 12 Mar 2004 10:05:02 -0800 (PST) (envelope-from dvm@firstlink.com) Received: from jackstraw (66-37-143-139.corp.firstlink.com [66.37.143.139]) by mail3.firstlink.com (Postfix) with ESMTP id A7E6DE196C for ; Fri, 12 Mar 2004 11:05:01 -0700 (MST) From: Dan Vande More To: freebsd-ipfw@freebsd.org In-Reply-To: <20040312100054.A63349@xorpc.icir.org> References: <1079113870.1238.8.camel@dvmgentoo> <20040312100054.A63349@xorpc.icir.org> Content-Type: text/plain Message-Id: <1079114684.1240.22.camel@dvmgentoo> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 12 Mar 2004 11:04:44 -0700 Content-Transfer-Encoding: 7bit Subject: Re: transparent squid bridge X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dvm@firstlink.com List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 18:05:02 -0000 I did try it manually, several times. My question in that scenario, is: Will it still work with: src/sys/netinet/ip_fw2.c,v 1.51.2.1 2003/12/23 12:25:56 maxim and src/sys/netinet/ip_input.c,v 1.259 2003/11/26 20:31:13 andre When I did apply it manually, it *seemed* like it didn't work. I admit it could have easily been user error. Thanks! Dan On Fri, 2004-03-12 at 11:00, Luigi Rizzo wrote: > On Fri, Mar 12, 2004 at 10:51:10AM -0700, Dan Vande More wrote: > > Hey all > > how about applying the patch manually ? It is so trivial > it would have taken less than posting this message... > > cheers > luigi > > > Trying to get freebsd to do some simple redirecting using ipfw2. > > > > Luigi Rizzo's patch isn't working. > > > > http://www.freebsdforums.org/forums/showthread.php?threadid=14795 > > > > Applying the patch yields: > > > > ******************************************************** > > Hmm... Looks like a unified diff to me... > > The text leading up to this was: > > -------------------------- > > |RCS file: /home/ncvs/src/sys/netinet/ip_fw2.c,v > > |retrieving revision 1.6.2.16 > > |diff -u -r1.6.2.16 ip_fw2.c > > |--- ip_fw2.c 17 Jul 2003 06:03:39 -0000 1.6.2.16 > > |+++ ip_fw2.c 22 Sep 2003 22:21:38 -0000 > > -------------------------- > > Patching file ip_fw2.c using Plan A... > > patch: **** malformed patch at line 7: goto done; > > ********************************************************* > > > > Is this ever going to make it's way into the main source code? > > Does any one have a working patch for this, the full file or an > > alternative setup? > > > > It doesn't matter which version of freebsd I have to run, I just need a > > version. > > > > All I really want is a box, with 2 network cards. > > This box sits between users and the outgoing router acting as a bridge. > > The box sees all outbound port 80 connections, diverts them to squid > > running on itself. > > Squid retrieves the site, caches the data, etc. > > > > I can do it with openbsd/pf but openbsd in and of itself can't handle > > much of a load. > > Using the same rules in freebsd pf that I do in openbsd, can I expect it > > to work? > > > > Thanks! > > > > Dan Vande More > > > > _______________________________________________ > > freebsd-ipfw@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > > To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-ipfw@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"