From: >p3dRø< <p.v...@pu...> - 2008-12-12 15:47:33
|
Hi, thanks for the answers. I tried installing libsctp-dev libsctp1 lksctp-tools packages in my Debian Edge system because it\'s similar than Ubuntu Hardy and then run: # checksctp SCTP supported pedropolian:/usr/src/kernel-kbuild-2.6-3# uname -a Linux pedropolian 2.6.18-6-686 #1 SMP Sun Feb 10 22:11:31 UTC 2008 i686 GNU/Linux So I tried to run the test programs that comes with lksctp: sctp/lksctp-tools-1.0.9/src/apps# ./peel_server bind port 0 fd uses port 1024 Gak, can\'t set events errno:22 sctp/lksctp-tools-1.0.9/src/apps# netstat |grep 1024 There\'s nothing in 1024 port. sctp/lksctp-tools-1.0.9/src/apps# ./nagle_rcv -H 192.168.1.35 -P -1025 nagle_rcv.c 1 BROK : setsockopt(11): Invalid argument DUMP_CORE ./sctputil.h: 258 Violación de segmento I was searching but I can\'t find where is the config file where I should change de CONFIG_IP_SCTP=m value. What am I doing wrong ? where is the config file? Pedro ------ Mensaje original ------- De : hs...@gm... Para : p.v...@pu..., lks...@li... Fecha : Fri, 12 Dec 2008 16:34:04 +0900 Asunto : Re: [Lksctp-developers] SCTP - make: *** [v4test] Error 1 >Ubuntu Hardy already comes with everything you need to use SCTP. >Simply make sure you install the SCTP libraries and tools with > > >sudo apt-get install libsctp-dev libsctp1 lksctp-tools > > >Then you can start developing applications that use SCTP transport. If >you want a newer kernel make sure you follow the Master Kernel Thread >(http://ubuntuforums.org/showthread.php?t=311158) so you have SCTP >enabled on the new kernel. > > >regards >Horacio > >On Fri, Dec 12, 2008 at 2:50 PM, Wei Yongjun <yj...@cn...> wrote: >> >>> I\'m a student of telecommunication engineering from Peru in South America and >>> and learning to use SCTP in Linux. I want to run a SCTP server and client in >>> order to capture packets with wireshark and analize the 4-way handshake. >>> >>> I wonder if you can help me to install lksctp package over my distribution of >>> Linux. I have Ubuntu Hardy with kernel 2.6.24-19. I downloaded kernel 2.6.16 but >>> it didn\'t compiled. (I also tried to start SCTP in a Debian Edge with kernel 2.6.8) >>> >>> $./configure (worked) >>> $make (worked) >>> but when it come to SCTP regression testing by >>> $make v4test >>> we got the following error >>> ./test_assoc_abort >>> test_assoc_abort.c 1 BROK : socket: Socket type not supported >>> >> >> This message said you kernel does not support SCTP. >> >> Did you config CONFIG_IP_SCTP to be compiled? >> Try this: >> # cd linux-2.6.8 <--- patch of your source code >> # grep CONFIG_IP_SCTP .config >> CONFIG_IP_SCTP=m >> >> or used command checksctp to check this. >> # checksctp >> SCTP supported >> >> >>> DUMP_CORE ../../src/testlib/sctputil.h: 137 >>> /bin/sh: line 1: 10553 Segmentation fault ./$a >>> test_assoc_abort fails >>> make: *** [v4test] Error 1 >>> >>> Thanks in advance, >>> >>> Pedro Valera >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. >>> The future of the web can\'t happen without you. Join us at MIX09 to help >>> pave the way to the Next Web now. Learn more and register at >>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >>> _______________________________________________ >>> Lksctp-developers mailing list >>> Lks...@li... >>> https://lists.sourceforge.net/lists/listinfo/lksctp-developers >>> >>> >>> >> >> >> ------------------------------------------------------------------------------ >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. >> The future of the web can\'t happen without you. Join us at MIX09 to help >> pave the way to the Next Web now. Learn more and register at >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >> _______________________________________________ >> Lksctp-developers mailing list >> Lks...@li... >> https://lists.sourceforge.net/lists/listinfo/lksctp-developers >> > |