Mailing List Archive

[lvs-users] About ipvs of sctp configuration
helloMy name is Zhao Qing£¬I come from China£¬Would like to ask you a question¡£I want to try to use ipvsadm use sctp protocol configuration ipvs£¬But the man ipvsadm did not specify£¬Do you have this information can guide me to complete the configuration on sctp agreement ipvs distribute it?

My system is centos 6.4 kernel 2.6.32-358.el6.x86_64

ipvs 1.2.1 and ipvsadm1.26 can complete the task sctp distribute it?

http://www.linuxvirtualserver.org/ according to the instructions is possible, but google did not search the available examples and explanations, so to find you¡£

This is my problem, I hope you did not bother to£¬I wish you a happy work¡£


overcastsky.zhao@gmail.com

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
Re: [lvs-users] About ipvs of sctp configuration [ In reply to ]
IPVS & kernel STCP had been patched by Daniel Borkman & Julian and Others 2010/2013

see Treads: http://www.spinics.net/lists/linux-sctp/msg02683.html
and http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2906f66a5682e5670a5eefe991843689b8d8563f

--
Mit freundlichen Grüßen / Best Regards

Horst Venzke ; PGP NET : 1024G/082F2E6D ; http://www.remsnet.de

Legal Notice: This transmittal and/or attachments may be privileged or confidential. It is intended solely for the addressee named above. Any review, dissemination, or copying is strictly prohibited. If you received this transmittal in error, please notify us immediately by reply and immediately delete this message and all its attachments. Thank you.


> Gesendet: Freitag, 12. Dezember 2014 um 02:58 Uhr
> Von: "overcastsky.zhao@gmail.com" <overcastsky.zhao@gmail.com>
> An: lvs-users <lvs-users@linuxvirtualserver.org>
> Betreff: [lvs-users] About ipvs of sctp configuration
>
>
>
>
>
>
>
> helloMy name is Zhao Qing,I come from China,Would like to ask you a question。I want to try to use ipvsadm use sctp protocol configuration ipvs,But the man ipvsadm did not specify,Do you have this information can guide me to complete the configuration on sctp agreement ipvs distribute it?
>
> My system is centos 6.4 kernel 2.6.32-358.el6.x86_64
>
> ipvs 1.2.1 and ipvsadm1.26 can complete the task sctp distribute it?
>
> http://www.linuxvirtualserver.org/ according to the instructions is possible, but google did not search the available examples and explanations, so to find you。
>
> This is my problem, I hope you did not bother to,I wish you a happy work。
>
>
> overcastsky.zhao@gmail.com
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
> Send requests to lvs-users-request@LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
Re: [lvs-users] About ipvs of sctp configuration [ In reply to ]
Hello,

On Fri, 12 Dec 2014, overcastsky.zhao@gmail.com wrote:

> helloMy name is Zhao Qing,I come from China,Would like to ask you a question。I want to try to use ipvsadm use sctp protocol configuration ipvs,But the man ipvsadm did not specify,Do you have this information can guide me to complete the configuration on sctp agreement ipvs distribute it?
>
> My system is centos 6.4 kernel 2.6.32-358.el6.x86_64
>
> ipvs 1.2.1 and ipvsadm1.26 can complete the task sctp distribute it?
>
> http://www.linuxvirtualserver.org/ according to the instructions is possible, but google did not search the available examples and explanations, so to find you。
>
> This is my problem, I hope you did not bother to,I wish you a happy work。

Latest ipvsadm version can be obtained with:

# git clone git://git.kernel.org/pub/scm/utils/kernel/ipvsadm/ipvsadm.git

But SCTP support is missing from ipvsadm.
May be we have to implement --sctp-service option.
Currently, admins use fwmark service to support SCTP, for example:

# Mark SCTP (protocol 132):
iptables -t mangle -A INPUT -p 132 -d $VIP ... -j MARK --set-mark 1
# Add fwmark-based service as usually
ipvsadm -A -f 1 -s wlc
ipvsadm -a -f 1 -r $RIP:$RPORT -m

Regards

--
Julian Anastasov <ja@ssi.bg>