<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=굴림><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=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><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'>’</span></font><font
face=굴림><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'>’</span></font><font face=굴림><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=굴림><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=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><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=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p> </o:p></span></font></p>
<p class=MsoNormal><b><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim;font-weight:bold'><<My system configuration>><o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim;font-weight:bold'>Linux-kernel
version :</span></font></b><font face=굴림><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=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim;font-weight:bold'>Gcc version :</span></font></b><font
face=굴림><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=굴림><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=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>Module
Size Used by<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>ipt_REDIRECT
2688 1<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>ipt_physdev
2832 1<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>iptable_filter
3584 0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>iptable_tproxy
19780 0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>iptable_nat
27976 3 ipt_REDIRECT,iptable_tproxy<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>ip_conntrack
44040 2 iptable_tproxy,iptable_nat<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>ipt_TPROXY
2688 0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>ip_tables
24448 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=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>video
16388 0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p> </o:p></span></font></p>
<p class=MsoNormal><b><font size=2 face=굴림><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=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>bridge name
bridge
id
STP enabled interfaces<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>br0
8000.00d06809c827
no
eth3<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:15.0pt'><font size=2 face=굴림><span
lang=EN-US style='font-size:10.0pt;font-family:Gulim'>
eth1<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p> </o:p></span></font></p>
<p class=MsoNormal><b><font size=2 face=굴림><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=굴림><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=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>target prot opt
source
destination<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>REDIRECT tcp
-- anywhere A.B.C.D
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=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p> </o:p></span></font></p>
<p class=MsoNormal><b><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim;font-weight:bold'>CPU info:</span></font></b><font
face=굴림><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=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p> </o:p></span></font></p>
<p class=MsoNormal><b><font size=2 face=굴림><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=굴림><span
lang=EN-US style='font-family:Gulim'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><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=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>Proto Recv-Q Send-Q Local
Address
Foreign
Address
State <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'>tcp
0 0
192.168.0.107:2101
192.168.0.101:1147
SYN_RECV<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><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=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=굴림><span lang=EN-US
style='font-size:10.0pt;font-family:Gulim'><o:p> </o:p></span></font></p>
</div>
</body>
</html>