Stefan Berger
51d3fb0276
nwfilter: add XML attribute to control iptables state match
...
This patch adds an optional XML attribute to a nwfilter rule to give the user control over whether the rule is supposed to be using the iptables state match or not. A rule may now look like shown in the XML below with the statematch attribute either having value '0' or 'false' (case-insensitive).
[...]
<rule action='accept' direction='in' statematch='false'>
<tcp srcmacaddr='1:2:3:4:5:6'
srcipaddr='10.1.2.3' srcipmask='32'
dscp='33'
srcportstart='20' srcportend='21'
dstportstart='100' dstportend='1111'/>
</rule>
[...]
I am also extending the nwfilter schema and add this attribute to a test case.
2010-06-17 14:12:34 -04:00
..
2009-09-10 12:25:42 +01:00
2010-06-15 07:31:10 -06:00
2010-05-25 17:37:00 -04:00
2010-05-20 13:50:03 -04:00
2010-05-20 13:50:03 -04:00
2010-01-19 21:13:03 +01:00
2009-10-28 15:57:49 +01:00
2009-10-28 15:57:49 +01:00
2009-12-14 14:58:23 +01:00
2010-03-08 09:26:04 -05:00
2010-06-17 14:12:34 -04:00
2010-06-17 14:12:34 -04:00
2010-05-17 16:28:02 -06:00
2010-06-08 16:31:50 +01:00
2010-06-15 07:31:10 -06:00
2010-06-08 13:14:26 -04:00
2010-06-08 13:14:26 -04:00
2009-10-16 10:52:27 -04:00
2009-10-16 10:52:27 -04:00
2010-06-16 23:06:12 +02:00
2010-06-15 07:31:10 -06:00
2010-06-15 07:31:10 -06:00
2010-06-15 07:31:10 -06:00
2010-04-20 20:58:24 +02:00
2010-03-31 13:36:54 +02:00
2009-11-26 12:07:17 +00:00
2010-01-15 16:28:05 +00:00
2009-12-15 17:46:04 +01:00
2010-05-12 08:41:10 +02:00
2010-05-25 15:53:19 -06:00
2009-10-07 12:18:13 +02:00
2010-01-15 16:28:05 +00:00
2010-05-20 13:50:03 -04:00
2010-04-08 21:54:43 +02:00
2010-01-15 16:28:05 +00:00
2009-10-07 12:18:13 +02:00
2010-01-15 16:28:05 +00:00
2010-02-10 13:32:48 +00:00
2009-10-07 12:18:13 +02:00
2009-10-07 12:18:13 +02:00
2010-05-21 20:08:57 +02:00
2010-01-15 16:28:05 +00:00
2010-02-10 13:31:28 +00:00
2010-01-15 16:28:05 +00:00
2010-02-10 13:32:01 +00:00
2010-05-18 19:23:32 +02:00
2010-04-06 11:09:46 -04:00
2010-04-27 07:26:12 -04:00
2010-04-02 10:18:55 -06:00
2008-05-29 15:21:45 +00:00
2010-04-09 03:35:47 -04:00
2010-05-17 16:28:02 -06:00
2010-06-08 16:31:50 +01:00
2010-04-27 12:01:32 +02:00
2009-02-03 13:08:59 +00:00
2010-05-12 08:41:10 +02:00
2010-05-12 08:41:10 +02:00
2009-12-15 17:46:04 +01:00
2010-04-14 17:34:12 +02:00
2009-10-08 16:34:22 +02:00
2009-09-21 14:41:44 +01:00
2010-02-10 11:49:23 +00:00
2010-05-12 08:41:10 +02:00
2010-03-09 19:22:28 +01:00
2010-01-15 16:28:05 +00:00
2010-06-08 13:14:26 -04:00
2010-01-15 16:28:05 +00:00
2010-02-10 13:32:11 +00:00
2010-01-15 16:28:05 +00:00
2010-03-25 09:28:24 +01:00
2010-03-24 01:07:57 +01:00
2010-03-09 19:22:28 +01:00
2010-04-22 09:00:30 -06:00
2009-07-16 15:06:42 +02:00
2009-07-27 16:45:01 +01:00
2009-07-16 15:06:42 +02:00
2010-05-12 08:41:10 +02:00
2010-05-12 08:41:10 +02:00
2010-05-12 08:41:10 +02:00
2010-05-12 08:41:10 +02:00
2010-05-12 08:41:10 +02:00
2010-06-17 11:57:54 -06:00
2010-04-14 11:17:18 -06:00
2010-04-21 00:37:46 +02:00
2009-09-21 14:41:42 +01:00
2010-03-18 16:48:05 +01:00
2010-02-10 11:49:23 +00:00
2010-04-21 00:37:46 +02:00