how to enable SCTP traffic in Icehouse

asked 2015-04-24 07:55:49 -0600

Pcjayasinghe gravatar image

updated 2015-04-27 08:39:20 -0600

SGPJ gravatar image

Hi

I have configured two servers. One act as a SCTP Server and other act as a SCTP Client. Client send SCTP request to server but from server end couldn't see any traffic coming from the client. Please help me to sort this issue.

Servers Results

*netstat -nap | grep sctp*

sctp                10.210.10.131:55600                                     LISTEN      23515/sctp_test 



 *tcpdump -ni any sctp*

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 65535 bytes

------------------------ Nothing --------------------------------

Client Result 
-----------------
*netstat -nap | grep sctp*

sctp       0 152019 10.210.10.132:55601         10.210.10.131:55600         CLOSE       13204/sctp_test



  *tcpdump -ni any sctp*

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 65535 bytes

18:23:26.914381 IP 10.210.10.132.55601 > 10.210.10.131.55600: sctp (1) [INIT] [init tag: 2400629262] [rwnd: 62464] [OS: 10] [MIS: 65535] [init TSN: 406208339] 
18:23:29.914007 IP 10.210.10.132.55601 > 10.210.10.131.55600: sctp (1) [INIT] [init tag: 2400629262] [rwnd: 62464] [OS: 10] [MIS: 65535] [init TSN: 406208339]
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-08 05:39:50 -0600

Pcjayasinghe gravatar image

updated 2015-05-08 05:53:44 -0600

uts9 gravatar image

1st install conntrack tools

 [root@amos modules]# yum install
 conntrack-tools

Go to /etc/sysconfig/modules/ path

 [root@amos modules]# cd
 /etc/sysconfig/modules/

Create a file <file_name>.modules

[root@amos modules]# vi
iptables_sctp.modules

Script

 #!/bin/sh

exec /sbin/modprobe ip_conntrack_proto_sctp >/dev/null> 2>&1

Change the file permission

[root@amos modules]# chmos +x
iptables_sctp.modules

Enable module

[root@amos modules]# modprobe
ip_conntrack_proto_sctp

Check the available SCTP sessions

[root@amos modules]#conntrack --proto
sctp -L

From more info about the module creating please check this URL : link text

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-04-24 07:55:49 -0600

Seen: 1,722 times

Last updated: May 08 '15