All of lore.kernel.org
 help / color / mirror / Atom feed
* [IPTABLES][PATCH 1/2] xt_sctp: Trace DATA chunk that supports SACK-IMMEDIATELY
@ 2010-06-06 18:08 ` Shan Wei
  0 siblings, 0 replies; 4+ messages in thread
From: Shan Wei @ 2010-06-06 18:08 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: netfilter-devel, linux-sctp

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>
---
 extensions/libxt_sctp.c   |    2 +-
 extensions/libxt_sctp.man |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/extensions/libxt_sctp.c b/extensions/libxt_sctp.c
index 441f12e..92bdb07 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 1ecf05c..01a2e79 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
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [IPTABLES][PATCH 1/2] xt_sctp: Trace DATA chunk that supports SACK-IMMEDIATELY extension
@ 2010-06-06 18:08 ` Shan Wei
  0 siblings, 0 replies; 4+ messages in thread
From: Shan Wei @ 2010-06-06 18:08 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: netfilter-devel, linux-sctp

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>
---
 extensions/libxt_sctp.c   |    2 +-
 extensions/libxt_sctp.man |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/extensions/libxt_sctp.c b/extensions/libxt_sctp.c
index 441f12e..92bdb07 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 1ecf05c..01a2e79 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
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [IPTABLES][PATCH 1/2] xt_sctp: Trace DATA chunk that supports
  2010-06-06 18:08 ` [IPTABLES][PATCH 1/2] xt_sctp: Trace DATA chunk that supports SACK-IMMEDIATELY extension Shan Wei
@ 2010-06-08 12:16   ` Patrick McHardy
  -1 siblings, 0 replies; 4+ messages in thread
From: Patrick McHardy @ 2010-06-08 12:16 UTC (permalink / raw)
  To: Shan Wei; +Cc: netfilter-devel, linux-sctp

On 06.06.2010 20:08, Shan Wei wrote:
> 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.

Applied, thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [IPTABLES][PATCH 1/2] xt_sctp: Trace DATA chunk that supports SACK-IMMEDIATELY extension
@ 2010-06-08 12:16   ` Patrick McHardy
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick McHardy @ 2010-06-08 12:16 UTC (permalink / raw)
  To: Shan Wei; +Cc: netfilter-devel, linux-sctp

On 06.06.2010 20:08, Shan Wei wrote:
> 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.

Applied, thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-08 12:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-06 18:08 [IPTABLES][PATCH 1/2] xt_sctp: Trace DATA chunk that supports SACK-IMMEDIATELY Shan Wei
2010-06-06 18:08 ` [IPTABLES][PATCH 1/2] xt_sctp: Trace DATA chunk that supports SACK-IMMEDIATELY extension Shan Wei
2010-06-08 12:16 ` [IPTABLES][PATCH 1/2] xt_sctp: Trace DATA chunk that supports Patrick McHardy
2010-06-08 12:16   ` [IPTABLES][PATCH 1/2] xt_sctp: Trace DATA chunk that supports SACK-IMMEDIATELY extension Patrick McHardy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.