[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nufw-devel] Re: [PATCH 2/3] [libnetfilter_conntrack] fixed duration con
From: |
Eric Leblond |
Subject: |
[Nufw-devel] Re: [PATCH 2/3] [libnetfilter_conntrack] fixed duration connection |
Date: |
Sat, 08 Apr 2006 22:23:27 +0200 |
User-agent: |
Debian Thunderbird 1.0.7 (X11/20051017) |
Patrick McHardy wrote:
> Eric Leblond wrote:
>
>>Hi,
>>
>>This patch add support for the IPS_FIXED_TIMEOUT state.
> I didn't see the patch adding support for this in the kernel. Since
> there is no seperate fixed timeout anymore, this also looks obsolete.
> The way I understood the kernel patch, you would just do two netlink
> operations:
>
> - set flag FIXED_TIMEOUT
> - change timeout using CTA_TIMEOUT
>
> Am I missing something?
Clearly not. I was a little bit too tired yesterday and I've done a "svn
diff" in the bad directory. Please ignore previous patch and consider
this far smaller one.
Best regards,
--
Eric Leblond
Index: include/libnetfilter_conntrack/libnetfilter_conntrack.h
===================================================================
--- include/libnetfilter_conntrack/libnetfilter_conntrack.h (révision 6578)
+++ include/libnetfilter_conntrack/libnetfilter_conntrack.h (copie de
travail)
@@ -191,6 +191,11 @@
/* Connection is dying (removed from lists), can not be unset. */
IPS_DYING_BIT = 9,
IPS_DYING = (1 << IPS_DYING_BIT),
+
+ /* Connection has fixed timeout. */
+ IPS_FIXED_TIMEOUT_BIT = 10,
+ IPS_FIXED_TIMEOUT = (1 << IPS_FIXED_TIMEOUT_BIT),
+
};
enum {
- [Nufw-devel] Re: [PATCH 1/3] [kernel patch] fixed duration connection, (continued)
- [Nufw-devel] Re: [PATCH 1/3] [kernel patch] fixed duration connection, Eric Leblond, 2006/04/11
- [Nufw-devel] Re: [PATCH 1/3] [kernel patch] fixed duration connection, Harald Welte, 2006/04/12
- [Nufw-devel] Re: [PATCH 1/3] [kernel patch] fixed duration connection, Harald Welte, 2006/04/12
- [Nufw-devel] Re: [PATCH 1/3] [kernel patch] fixed duration connection, Patrick McHardy, 2006/04/12
- [Nufw-devel] Re: [PATCH 1/3] [kernel patch] fixed duration connection, Eric Leblond, 2006/04/13
- [Nufw-devel] Re: [PATCH 1/3] [kernel patch] fixed duration connection, Patrick McHardy, 2006/04/20
- [Nufw-devel] Re: [PATCH 1/3] [kernel patch] fixed duration connection, Eric Leblond, 2006/04/21
- [Nufw-devel] Re: [PATCH 1/3] [kernel patch] fixed duration connection, Patrick McHardy, 2006/04/21
- [Nufw-devel] Re: [PATCH 2/3] [libnetfilter_conntrack] fixed duration connection, Eric Leblond, 2006/04/07
- [Nufw-devel] Re: [PATCH 2/3] [libnetfilter_conntrack] fixed duration connection, Patrick McHardy, 2006/04/08
- [Nufw-devel] Re: [PATCH 2/3] [libnetfilter_conntrack] fixed duration connection,
Eric Leblond <=
- [Nufw-devel] Re: [PATCH 0/3] [conntrack] fixed duration connection, Eric Leblond, 2006/04/07
- [Nufw-devel] Re: [PATCH 3/3] [conntrack] fixed duration connection, Eric Leblond, 2006/04/07