From: Patrick Schaaf Subject: Re: separation of sysctl and tcp-window-tracking patch? Date: Fri, 13 Dec 2002 13:06:25 +0100 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <20021213120625.GA21253@oknodo.bof.de> References: <1039702486.2373.17.camel@pc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netfilter-devel@lists.netfilter.org Return-path: To: James Ralston Content-Disposition: inline In-Reply-To: Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org > Failing a helper, I'm unable to come up with anything better than > adjusting timeouts on a per-port basis... What about a single new target, CTTIMEOUT or something, having a single parameter, a relative timeout in seconds. Whenever that target hits, and we have a connection hanging off our skb, the connection's timeout will be refreshed to now+the_given_timeout. This could be equally used to lower TCP ESTABLISHED timeouts for certain uses, and for extending the UDP timeouts discussed here. You would use normal, arbitrary matches to select _which_ packets should receive the treatment. I have not thought about the interplay with the current automatic timeout selection. Anybody? best regards Patrick