<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Which cisco device is going the WCCP?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> tproxy-bounces@lists.balabit.hu
[mailto:tproxy-bounces@lists.balabit.hu] <b><span style='font-weight:bold'>On
Behalf Of </span></b>Engr.M.monzur Alam<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, May 12, 2009 9:43
AM<br>
<b><span style='font-weight:bold'>To:</span></b> tproxy@lists.balabit.hu<br>
<b><span style='font-weight:bold'>Cc:</span></b>
tproxy-request@lists.balabit.hu<br>
<b><span style='font-weight:bold'>Subject:</span></b> [tproxy] Tproxy with WCCP
configure error</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I
successfully configure tproxy all the steps. (Patching Centos, Patching
iptables, Building squid). And also WCCP configuration with L4 WCCPv2. When I
trying check gre0 tunnel with any packet flow but don&#8217;t found any
request.</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>My
error
showed&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>[root@heldas]#
tcpdump -i gre0</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>tcpdump:
WARNING: arptype 778 not supported by libpcap - falling back to cooked socket</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>tcpdump:
verbose output suppressed, use -v or -vv for full protocol decode</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>listening
on gre0, link-type LINUX_SLL (Linux cooked), capture size 96 bytes</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>^C</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>0
packets captured</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>0
packets received by filter</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>0
packets dropped by kernel</span></font> <o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>My
iptables script
is&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;</span></font>
<o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>#/bin/bash</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>/sbin/iptables
-t mangle -N DIVERT</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>/sbin/iptables
-t mangle -A PREROUTING -p tcp -m socket -j DIVERT</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>/sbin/iptables
-t mangle -A DIVERT -j MARK --set-mark 1</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>/sbin/iptables
-t mangle -A DIVERT -j ACCEPT</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>/sbin/iptables
-t mangle -A PREROUTING -p tcp --dport 80 -j TPROXY --tproxy-mark 0x1/0x1
--on-port 3129</span></font> <o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>My
Physical connectivity structure is &#8230;&#8230;..</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Internet
cloud to Cisco core router to Juniper firewall to Distributed Cisco router to
Core Cisco switch to TPROXY&nbsp; </span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Please
give me a solution &#8230;</span></font> <o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Thanks</span></font>
<br>
Engr.Mohammad <font size=2 face=Arial><span style='font-size:10.0pt;font-family:
Arial'>Monzur Alam</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Network
&amp; System Admin</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Grameen
CyberNet Ltd.</span></font> <br>
<st1:place w:st="on"><st1:City w:st="on"><font size=2 face=Arial><span
  style='font-size:10.0pt;font-family:Arial'>Dhaka</span></font></st1:City><font
 size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>, <st1:country-region
 w:st="on">Bangladesh</st1:country-region></span></font></st1:place> <o:p></o:p></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>