summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorShan Wei <shanwei@cn.fujitsu.com>2010-06-08 14:15:39 +0200
committerPatrick McHardy <kaber@trash.net>2010-06-08 14:15:39 +0200
commitb9f458f87453a62cea7aeb0441e7a2ac05689f91 (patch)
treed436baa82c1a919ce04d9fc51c5b87742190cf0c /extensions
parentfdc19bea817086425c1ad2ad6a2b732eb610fb76 (diff)
xt_sctp: Trace DATA chunk that supports SACK-IMMEDIATELY extension
SACK-IMMEDIATELY extension has defined in: http://tools.ietf.org/html/draft-tuexen-tsvwg-sctp-sack-immediately-03. And the latest kernel has added a I flag in DATA chunk to support this extension. So let iptables/netfilter can trace it. Signed-off-by: Shan Wei<shanwei@cn.fujitsu.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libxt_sctp.c2
-rw-r--r--extensions/libxt_sctp.man2
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libxt_sctp.c b/extensions/libxt_sctp.c
index 441f12e2..92bdb079 100644
--- a/extensions/libxt_sctp.c
+++ b/extensions/libxt_sctp.c
@@ -97,7 +97,7 @@ struct sctp_chunk_names {
/*'ALL' and 'NONE' will be treated specially. */
static const struct sctp_chunk_names sctp_chunk_names[]
-= { { .name = "DATA", .chunk_type = 0, .valid_flags = "-----UBE"},
+= { { .name = "DATA", .chunk_type = 0, .valid_flags = "----IUBE"},
{ .name = "INIT", .chunk_type = 1, .valid_flags = "--------"},
{ .name = "INIT_ACK", .chunk_type = 2, .valid_flags = "--------"},
{ .name = "SACK", .chunk_type = 3, .valid_flags = "--------"},
diff --git a/extensions/libxt_sctp.man b/extensions/libxt_sctp.man
index 1ecf05cc..633e4034 100644
--- a/extensions/libxt_sctp.man
+++ b/extensions/libxt_sctp.man
@@ -11,7 +11,7 @@ Chunk types: DATA INIT INIT_ACK SACK HEARTBEAT HEARTBEAT_ACK ABORT SHUTDOWN SHUT
chunk type available flags
.br
-DATA U B E u b e
+DATA I U B E i u b e
.br
ABORT T t
.br