Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2002 16:33:40 +0200
From:      Lefteris Tsintjelis <lefty@asda.gr>
To:        freebsd-net@freebsd.org
Subject:   GRE tunnel kernel support for SQUID and Cisco (wccp v1)
Message-ID:  <3DBD4AC4.616F652C@asda.gr>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi all,

It would make a nice addition to the kernel this patch found at
http://www.squid-cache.org/Doc/FAQ/FAQ-17.html. I included it with some
very minor fixes to compile under 4.7-stable.

It adds direct GRE tunnel support to kernel, transparent proxy (use with
wccp v1 enabled routers and Squid boxes)

A very simple step by step howto for some previous message I saw at the
list.

1)      Add gre.c to /usr/src/sys/netinet
2)      Patch kernel with gre-squid.patch (cd /usr/src; patch -p0 <
gre-squid.patch)
3)      Add "option     GRE" to kernel config, rebuild and install (UDP
port 2048 tunnel squid <---> router)
4)      Setup your rc.conf to inculde similar to gre-ipfw.conf rules
5)      Setup squid.conf to use your wccp router (further info @
http://www.squid-cache.org/Doc/FAQ/FAQ-17.html)
6)      Setup your Cisco IOS for wccp webcache version 1 redirection.
7)      DONE. Don't forget to reset :-)

I have tested it with FreeBSD 4.7-STABLE, squid-STABLE 2.4/5 and seems
to be working very STABLE.
Beats Cisco access-list redirection rules by far. Router can handle a
lot more requests for large scale networks.

Lefteris Tsintjelis (lefty@ene.asda.gr)
[-- Attachment #2 --]
/=YsW8CxP6WT4euc'{G2䃝>~Ӛы,7VWNkz-Y˵ڑz͗vtDIn`y
@KRu2xQjok-_UkrB (_=xoAjPEʍjMni˧dQĜwj<.h;.`K%c}ɋUEk3dpFp>z2Os]q|c&rp,rc?ZX;1ǹ1pVo]7cX$^'Y{O3#v`V`{2ǵ/30eStcm<FPw(#EJ`ۋ!ؙp&m8^v-_"W(f!d(=KG֙ʫ7xSp
;AVJٿ1*3rj$vNZE@K` q$ @4X!z
ǫ W`yJHIt>vRfER(eSܘҕKZ"|u#v	UH!+ĀopFeXx{RFi';Dd\89t5+d-WOc=ptm$jg]%ئ豱xL+j+u.˭C
T*@5=jSI~hυiZz[
oRSؒj)WWPy#*҂+=AL"԰NK㼭֣{fdLO~$t/9Sɇt%MaN)tI<L;ásv4k`F0fKN0iv'Y3 pxXN~vp1<kp
fwAdRAzӡ:TucN)7b.>U_ٽ†v
:U(*!TVYiprY|K+}Dx(&
bw?jDz-4}W0ZTYOlt=z	Z;%5Mq.$g[J9X%ym,Az]GpgHӪni*|&YaEyK5y,S#ȿH/\0T^2+hQ]{/vgФ?	MfJ+e@IIӻg?QSd[WiF'  C<I%<;abxH{w$btqx3ɔEQTN_+
U1529DG@kT@=/&=\K<s>gQm8ǚp.0CV~BhHd`uNΑ`#e;_ԦpK2gP0^Y>\"v\.%]I_O(-iNQT`%&C
FǴTLVQ%w1_ExӮ
`2Y3h.;<!*Y_NgԨ6Dxz
f~9ṇTR\wKBaH&n,*śhK0I#ij2 lg(GH"IBv3td_1Izd~*_*_3hQ[-4Qp_tbi	N^/Vpη7\#{5Cv "ΛT"ݼ96ma,zQmC4
->k`-MPj-IJNKo'FjafB9{@:Ёt@$ÙM(

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DBD4AC4.616F652C>