<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" 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)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Batang;
        panose-1:2 3 6 0 0 1 1 1 1 1;}
@font-face
        {font-family:Gulim;
        panose-1:2 11 6 0 0 1 1 1 1 1;}
@font-face
        {font-family:GulimChe;
        panose-1:2 11 6 9 0 1 1 1 1 1;}
@font-face
        {font-family:Gulim;
        panose-1:2 11 6 0 0 1 1 1 1 1;}
@font-face
        {font-family:Batang;
        panose-1:2 3 6 0 0 1 1 1 1 1;}
@font-face
        {font-family:GulimChe;
        panose-1:2 11 6 9 0 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-autospace:none;
        word-break:break-hangul;
        font-size:10.0pt;
        font-family:Batang;}
h4
        {margin:0cm;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        text-autospace:none;
        word-break:break-hangul;
        font-size:10.0pt;
        font-family:GulimChe;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Gulim;
        color:windowtext;}
 /* Page Definitions */
 @page Section1
        {size:595.3pt 841.9pt;
        margin:99.25pt 3.0cm 3.0cm 3.0cm;
        layout-grid:18.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=KO link=blue vlink=purple>

<div class=Section1 style='layout-grid:18.0pt'>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>Hi people, <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>My network daemon program can</span></font><font
face=Arial><span lang=EN-US style='font-family:Arial'>&#8217;</span></font><font
face=&#44404;&#47548;><span lang=EN-US style='font-family:Gulim'>t receive any
packet from iptables</span></font><font face=Arial><span lang=EN-US
style='font-family:Arial'>&#8217;</span></font><font face=&#44404;&#47548;><span
lang=EN-US style='font-family:Gulim'>s REDIRECT after patching cttproxy-2.6.12-2.0.2.tar.gz.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>Of course, I checked it out that
REDIRECT worked before patching in the same-kernel.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>(So, I tried it in Fedora kernel(2.6.12-1.1376_FC3).
It was worse. The system was halting without any message.)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><b><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim;font-weight:bold'>&lt;&lt;My system configuration&gt;&gt;<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim;font-weight:bold'>Linux-kernel
version  :</span></font></b><font face=&#44404;&#47548;><span lang=EN-US
style='font-family:Gulim'> 2.6.12 original (no warning, no error when patching)<o:p></o:p></span></font></p>

<p class=MsoNormal><b><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim;font-weight:bold'>Gcc version &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :</span></font></b><font
face=&#44404;&#47548;><span lang=EN-US style='font-family:Gulim'> gcc (GCC)
3.4.4 20050721 (Red Hat 3.4.4-2)<o:p></o:p></span></font></p>

<p class=MsoNormal><b><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim;font-weight:bold'>Modules :<o:p></o:p></span></font></b></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>Module&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp; Size&nbsp; Used by<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>ipt_REDIRECT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; 2688&nbsp; 1<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>ipt_physdev&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp; 2832&nbsp; 1<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>iptable_filter&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3584&nbsp; 0<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>iptable_tproxy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; 19780&nbsp; 0<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>iptable_nat&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; 27976&nbsp; 3 ipt_REDIRECT,iptable_tproxy<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>ip_conntrack&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp; 44040&nbsp; 2 iptable_tproxy,iptable_nat<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>ipt_TPROXY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp; 2688&nbsp; 0<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>ip_tables&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; 24448&nbsp; 6
ipt_REDIRECT,ipt_physdev,iptable_filter,iptable_tproxy,iptable_nat,ipt_TPROXY<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>video&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; 16388&nbsp; 0<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><b><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim;font-weight:bold'>Device Network
state : Bridge <o:p></o:p></span></font></b></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>bridge name&nbsp;&nbsp;&nbsp;&nbsp;
bridge
id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
STP enabled&nbsp;&nbsp;&nbsp;&nbsp; interfaces<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>br0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
8000.00d06809c827&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
eth3<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-indent:15.0pt'><font size=2 face=&#44404;&#47548;><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eth1<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><b><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim;font-weight:bold'>IP table Rule :
(iptables -m physdev -t nat -A PREROUTING --physdev-in eth1 -d A.B.C.D -p tcp
--dport 80 -j REDIRECT --to-port 2101)<o:p></o:p></span></font></b></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>Chain PREROUTING (policy ACCEPT)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>target&nbsp;&nbsp;&nbsp;&nbsp; prot &nbsp;&nbsp;opt
&nbsp;source&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
destination<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>REDIRECT&nbsp;&nbsp; tcp&nbsp;
--&nbsp; anywhere&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A.B.C.D&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
PHYSDEV match --physdev-in eth1 tcp dpt:http redir ports 2101<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><b><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim;font-weight:bold'>CPU info:</span></font></b><font
face=&#44404;&#47548;><span lang=EN-US style='font-family:Gulim'> 2 x Intel(R)
Xeon(TM) CPU 3.00GHz (Hiper-Threading : On)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><b><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim;font-weight:bold'>netstat info:
(telnet A.B.C.D 80)</span></font></b><font face=&#44404;&#47548;><span
lang=EN-US style='font-family:Gulim'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>Active Internet connections (w/o
servers)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>Proto Recv-Q Send-Q Local
Address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Foreign
Address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
State&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>tcp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0
192.168.0.107:2101&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
192.168.0.101:1147&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
SYN_RECV<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>Thanks, in advance.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=&#44404;&#47548;><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>