From owner-freebsd-questions Fri Mar 31 2:27:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from balrog.rt.ru (balrog.rt.ru [195.161.0.169]) by hub.freebsd.org (Postfix) with ESMTP id E3A1937B921 for ; Fri, 31 Mar 2000 02:27:19 -0800 (PST) (envelope-from dima@rt.ru) Received: from rt.ru (localhost [127.0.0.1]) by balrog.rt.ru (8.9.3/8.9.3) with ESMTP id OAA31189; Fri, 31 Mar 2000 14:27:13 +0400 (MSD) (envelope-from dima@rt.ru) Message-ID: <38E47D81.2E278445@rt.ru> Date: Fri, 31 Mar 2000 14:27:13 +0400 From: "Dmitry S. Rzhavin" Organization: Rostelecom X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-20000103-CURRENT i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: Alejandro Ramirez Cc: FreeBSD Questions Subject: Re: squid and wccp References: <38DA3109.F7A8597F@rt.ru> <096801bf99b0$19f8e8e0$020a0a0a@megared.net.mx> <38E31786.7034FC27@rt.ru> <004201bf9a63$d285ff20$020a0a0a@megared.net.mx> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alejandro Ramirez wrote: > Hi, > > > Sure I tried it. I've read Doc/FAQ/FAQ-17.html. Here the steps I made then > : > > configured squid with --enable-kill-parent-hack -enable-time-hack > > --disable-ident-lookups > > For better performance, try not compiling squid with --enable-time-hack. > > > then added "wccp_router=ip.of.my.cisco" to squid.conf > > This has to be the primary ip address in the cisco router interface. > > > Cisco says like "I see proxy, forwarding requests to it" and web stopped r > ight > > after it. > Did you configured GRE for FreeBSD??? > Applied patch. donno if it mean "configured"? > > > I downloaded patches as recommended in "Configuring FreeBSD" section, appl > ied > > them > > The gre.patch file doesnt apply directly to FreeBSD 3.4, you will have to di > vide them in to several patches, and apply them one by one to the specified > file in your /usr/src/sys tree; the options patch section, you will have to > apply it manually in the /usr/src/sys/conf/options file, the gre.c file it h > as been updated and corrected for some bugs, try downloading the new one. > I applied all patches from gre.patch (http://www.squid-cache.org/WCCP-support/FreeBSD/gre.patch). Then I dowloaded http://www.squid-cache.org/WCCP-support/FreeBSD/gre.c and putted it into /usr/src/sys/netinet/. Is it right gre.c and if not, where can I get latest version? > > > (I'm using FBSD 3.4) and made kernel. Nothing changed. Then I've read "17. > 6 > > Transparent > > caching with FreeBSD" but decided that this section is for virtual web hos > ting > > acceleration > > No, you "MUST" do it in order to wccp works, start from the following paragr > aph: > > FreeBSD-3.0 has much better support for connection hijacking, so I suggest y > ou start with that. You need to build a kernel with the following options... > ... > > > and for people who have FreeBSD as router. As far as I understood, in my c > ase > > cisco will do > > this work. (Am I wrong?) I've read "Standard Linux GRE Tunnel" and found t > hat > > they > > configuring "gre tunnel". Do I need to configure it under FreeBSD too? > > A GRE tunnel no, just install the GRE implementation in the kernel, and conf > igure your server for Transparent Caching. > > > And one more question: What if I install FBSD 4.0? There are patches for 3 > .x > > only. > > does it mean I cant configure dquid to use wccp under 4.0? > > Yes you can, the procedure its the same as for the 3.X branch, and the patch > es are the same too. > > > PS: Sorry for my awful eglish :( > > Dont be!!! > > P.S. Try to copy all your mails to the list, so other people can learn an ma > ke improvements to the topic in question, there are many guys in the list wi > th a lot of knowlege. > > Have Fun... > Ales To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message