Pablo Neira Ayuso
24de58f465
netfilter: xt_CT: allow to attach timeout policy + glue code
...
This patch allows you to attach the timeout policy via the
CT target, it adds a new revision of the target to ensure
backward compatibility. Moreover, it also contains the glue
code to stick the timeout object defined via nfnetlink_cttimeout
to the given flow.
Example usage (it requires installing the nfct tool and
libnetfilter_cttimeout):
1) create the timeout policy:
nfct timeout add tcp-policy0 inet tcp \
established 1000 close 10 time_wait 10 last_ack 10
2) attach the timeout policy to the packet:
iptables -I PREROUTING -t raw -p tcp -j CT --timeout tcp-policy0
You have to install the following user-space software:
a) libnetfilter_cttimeout:
git://git.netfilter.org/libnetfilter_cttimeout
b) nfct:
git://git.netfilter.org/nfct
You also have to get iptables with -j CT --timeout support.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2012-03-07 17:41:28 +01:00
..
2012-03-07 17:40:35 +01:00
2012-02-04 20:27:58 +01:00
2011-12-16 15:49:52 -05:00
2012-03-07 17:41:25 +01:00
2012-03-07 17:41:25 +01:00
2011-12-25 02:21:45 -05:00
2010-05-13 15:02:08 +02:00
2011-01-18 18:12:24 +01:00
2012-03-07 17:41:28 +01:00
2012-03-07 17:40:53 +01:00
2011-12-27 20:45:28 +01:00
2012-01-12 12:26:56 -08:00
2011-12-19 22:27:29 -05:00
2011-04-04 15:21:02 +02:00
2011-12-19 22:27:29 -05:00
2008-01-31 19:28:07 -08:00
2012-03-07 17:40:46 +01:00
2011-06-06 01:35:10 +02:00
2008-04-14 11:15:52 +02:00
2011-01-18 18:12:24 +01:00
2012-03-07 17:41:10 +01:00
2011-08-30 15:23:03 +02:00
2012-03-07 17:41:22 +01:00
2012-03-07 17:41:22 +01:00
2012-03-07 17:41:22 +01:00
2012-03-07 17:41:22 +01:00
2012-03-07 17:41:22 +01:00
2012-03-07 17:41:22 +01:00
2012-03-07 17:41:22 +01:00
2010-11-15 19:45:13 +01:00
2011-06-06 01:35:10 +02:00
2011-06-06 01:35:10 +02:00
2011-01-18 18:12:24 +01:00
2011-12-27 20:45:28 +01:00
2010-05-13 15:02:08 +02:00
2012-03-07 17:41:25 +01:00
2011-12-19 22:27:29 -05:00
2010-05-13 15:02:08 +02:00
2012-01-12 12:26:56 -08:00
2012-02-09 20:47:53 +01:00
2009-09-30 16:12:20 -07:00
2011-02-17 11:32:38 +01:00
2012-02-26 14:10:06 -05:00
2012-03-07 17:41:28 +01:00
2011-11-01 09:19:49 +01:00
2011-08-30 15:01:20 +02:00
2012-01-14 18:36:33 -08:00
2011-10-31 19:30:28 -04:00
2011-12-16 15:49:52 -05:00
2011-12-03 09:35:10 -08:00
2010-07-15 17:20:46 +02:00
2010-11-15 13:57:56 +01:00
2010-06-08 16:09:52 +02:00
2010-05-11 18:33:37 +02:00
2011-12-25 02:21:45 -05:00
2011-03-15 13:26:32 +01:00
2010-05-11 18:33:37 +02:00
2010-05-11 18:31:17 +02:00
2011-05-10 12:13:36 +02:00
2011-01-18 06:33:54 +01:00
2012-03-07 17:41:28 +01:00
2010-05-11 18:35:27 +02:00
2011-02-03 00:05:43 +01:00
2010-05-11 18:33:37 +02:00
2011-05-10 10:00:21 +02:00
2011-12-27 20:45:25 +01:00
2010-05-11 18:35:27 +02:00
2012-01-16 13:40:54 +01:00
2010-05-11 18:33:37 +02:00
2011-07-01 16:11:15 -07:00
2011-07-01 16:11:15 -07:00
2011-11-01 09:19:49 +01:00
2011-02-04 14:28:58 -08:00
2011-01-13 10:30:27 +09:00
2011-01-18 06:33:54 +01:00
2010-05-11 18:33:37 +02:00
2010-05-11 18:33:37 +02:00
2012-03-07 17:40:59 +01:00
2010-05-11 18:33:37 +02:00
2010-05-11 18:33:37 +02:00
2010-05-11 18:35:27 +02:00
2011-12-25 02:43:17 +01:00
2010-05-11 18:31:17 +02:00
2011-12-16 15:49:52 -05:00
2010-06-08 16:09:52 +02:00
2011-05-07 22:51:12 -07:00
2010-05-11 18:33:37 +02:00
2010-05-11 18:33:37 +02:00
2010-05-11 18:33:37 +02:00
2010-05-11 18:33:37 +02:00
2011-10-31 19:30:28 -04:00
2011-07-29 16:24:46 +02:00
2011-07-20 14:10:19 -07:00
2010-05-11 18:33:37 +02:00
2010-10-15 15:53:27 +02:00
2010-02-10 17:50:47 +01:00
2010-06-09 14:47:40 +02:00
2010-10-21 10:12:48 +11:00
2011-06-21 16:03:17 -07:00
2011-12-16 15:49:52 -05:00
2010-06-08 16:09:52 +02:00
2011-10-31 19:30:28 -04:00
2010-05-11 18:33:37 +02:00
2010-05-11 18:35:27 +02:00
2011-12-16 15:49:52 -05:00
2011-12-16 15:49:52 -05:00
2010-05-11 18:35:27 +02:00
2012-02-22 15:30:15 -05:00
2010-05-13 15:16:27 +02:00
2011-12-16 15:49:52 -05:00
2010-05-11 18:31:17 +02:00
2010-05-11 18:33:37 +02:00