summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_sctp.t
Commit message (Collapse)AuthorAgeFilesLines
* libxt_sctp: fix array out of range in print_chunkhuaibin Wang2017-11-131-6/+3
| | | | | | | | | | | | | | | | | For chunk type ASCONF, ASCONF_ACK and FORWARD_TSN, sctp_chunk_names[].chunk_type is not equal to the corresponding index in sctp_chunk_names[]. Using this field leads to a segmentation fault (index out of range). Example $ iptables -A INPUT -p sctp --chunk-type all ASCONF,ASCONF_ACK,FORWARD_TSN -j ACCEPT $ iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Segmentation fault Signed-off-by: huaibin Wang <huaibin.wang@6wind.com> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* extensions: libxt_sctp: add unit testPablo Neira Ayuso2013-10-071-0/+32
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>