<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=186051811-11122006>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=186051811-11122006>I am using kernel
2.4.32 with tproxy version 2.0.2.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=186051811-11122006>My client is a
transparent proxy.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=186051811-11122006>My client opens a
transparent connection to the server, sends a message and then closes the
connection with FIN. </SPAN></FONT><FONT face=Arial size=2><SPAN
class=186051811-11122006>The server replies with an ACK, WITHOUT sending a
</SPAN></FONT><FONT face=Arial size=2><SPAN
class=186051811-11122006>FIN.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=186051811-11122006>Now I see that the
connection stays in the ip_conntrack table in CLOSE_WAIT state. During
that time I can not reuse the connection. (SYNs to the same dest are not
sent).</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=186051811-11122006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=186051811-11122006>1) Isn't the correct
behavior for that connection is to go to FIN_WAIT_2 state? Is it a
bug?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=186051811-11122006>2) The CLOSE_WAIT
timeout is 500 seconds. Is there a way I can still open a new connection to the
same destination?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=186051811-11122006>- When I use an
older kernel (2.4.18) with old tproxy (version 23) I don't see this
problem.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=186051811-11122006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=186051811-11122006>Help is
appreciated.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=186051811-11122006>Thanks in
advance,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=186051811-11122006>E.R</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=186051811-11122006></SPAN></FONT> </DIV></BODY></HTML>