netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: How to drop an idle connection with iptables?
@ 2011-11-23 10:48 lu zhongda
  2011-11-23 12:37 ` Brian J. Murrell
  0 siblings, 1 reply; 20+ messages in thread
From: lu zhongda @ 2011-11-23 10:48 UTC (permalink / raw)
  To: netfilter

Hi Lloyd Standish:
     Thanks for your feedback greatly.
     I felt the scenario you described is not really what I want to know.

     I want to know if there is any way to set up iptables so
     that it will drop a connection after that connection has been idle 
for a specified period of time?

    I have tried connection tracking function of iptables, however it 
seems not work for my case.
    I wonder whether there are some other means to achieve this.
    Thanks.

    Best Regards.

 > Follows:
 >      Does anyone know about how to drop an idle connection when timeouts?
 >      Thanks for any feedback in advance.
 > Best Regards.
 > Lu Zhongda
 >

+ I think you are referring to what is called "dead gateway detection."  
There are patches for current kernels to allow netfilter to do this 
(http://www.ssi.bg/~ja/#routes).



^ permalink raw reply	[flat|nested] 20+ messages in thread
* How to drop an idle connection with iptables?
@ 2011-11-22 12:22 陆仲达
  2011-11-23  3:27 ` Lloyd Standish
  0 siblings, 1 reply; 20+ messages in thread
From: 陆仲达 @ 2011-11-22 12:22 UTC (permalink / raw)
  To: netfilter

Follows:
     Does anyone know about how to drop an idle connection when timeouts?
     Thanks for any feedback in advance.
Best Regards. 
Lu Zhongda



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2011-12-01 10:39 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-23 10:48 How to drop an idle connection with iptables? lu zhongda
2011-11-23 12:37 ` Brian J. Murrell
2011-11-24  9:46   ` lu zhongda
2011-11-24 11:30     ` Brian J. Murrell
2011-11-25  5:37       ` lu zhongda
2011-11-25 11:16         ` Brian J. Murrell
2011-11-25 13:45           ` lu zhongda
2011-11-25 14:20             ` Nikolay Kichukov
2011-11-26 11:32               ` lu zhongda
2011-12-01 10:22                 ` Anatoly Muliarski
2011-12-01 10:39                   ` Jan Engelhardt
2011-11-25 20:01             ` John Haxby
2011-11-26 11:30               ` lu zhongda
2011-11-25  1:14     ` Gao feng
2011-11-25  3:40       ` lu zhongda
2011-11-25  3:41       ` lu zhongda
2011-11-25  3:59         ` lu zhongda
2011-11-25  5:39         ` Gao feng
  -- strict thread matches above, loose matches on Subject: below --
2011-11-22 12:22 陆仲达
2011-11-23  3:27 ` Lloyd Standish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).