From owner-freebsd-questions@FreeBSD.ORG Fri Feb 1 23:23:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C61A16A418 for ; Fri, 1 Feb 2008 23:23:51 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from farris.bafirst.com (adsl-074-165-190-154.sip.jan.bellsouth.net [74.165.190.154]) by mx1.freebsd.org (Postfix) with ESMTP id 3232D13C447 for ; Fri, 1 Feb 2008 23:23:51 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from HOME.encontacto.net ([189.129.17.152]) by farris.bafirst.com with esmtp; Fri, 01 Feb 2008 17:13:47 -0600 id 0006D41B.47A3A7AB.000138E5 Received: from localhost (localhost [127.0.0.1]) (uid 80) by HOME.encontacto.net with local; Fri, 01 Feb 2008 17:13:47 -0600 id 0004AC0C.47A3A7AB.000159F1 Received: from 172.16.0.14 (172.16.0.14 [172.16.0.14]) by intranet.encontacto.net (Horde Framework) with HTTP; Fri, 01 Feb 2008 17:13:47 -0600 Message-ID: <20080201171347.12753vwhfgtk11uo@intranet.encontacto.net> Date: Fri, 01 Feb 2008 17:13:47 -0600 From: eculp To: freebsd-questions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) Subject: Squid3.0 missing something with pf transparent proxy. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2008 23:23:51 -0000 I haven't been using squid since version 2.5. I just built a new 3.0 and did a very basic configuration that works fine configuring the prefs -> advanced -> network and adding the host and port but when I use the pf redirect it seems to not get the url parsing right for some reason. I put http://www.google.com and see 1201906217.304 0 172.16.0.14 NONE/400 1809 GET /google.com/ - NONE/- text/html 1201906217.466 0 172.16.0.14 NONE/400 1809 GET /favicon.ico - NONE/- text/html 1 in the squid access.log rather than http:://www.google.com.and the screen shows: http://encontacto.net/transSquid3.0.png The pf redirect, etc is working fine, /dev/pf has squid as the group with rw perms, I have no idea where to look. I've got the idea that I must have missed something in the 3.0 configuration. Does anyone have it working and could you give me a hint or maybe share your squid.conf that works, just the diffs from the squid.conf.dist. Thanks, ed