Hello dear comunity users
I’m looking for TCP/SCTP load balancing with following requirements:
LB should be able to get some trigger from external system and close transport session based on it
dynamic banancing configuration change
Do you think VyOS will be useful for my case?
BR
syncer
August 1, 2016, 5:13pm
2
Hello,
I believe VyOS is not for your case.
You may want to look into HAProxy or NGINX
HAProxy doesn’t support SCTP, unfortunately
will check NGINX, thanks
elico
October 20, 2018, 4:58pm
4
I have been working on an example for a similar service (proxy).
opened 04:42PM - 20 Oct 18 UTC
I want to write a code to a proxy which utilizes a TCP to SCTP to SCTP to TCP co… nnection.
The basic idea is that the client will want to use a HTTP proxy(which can only be used over http/tcp) but to overcome couple network limitations such as roaming and couple other scenarios use SCTP.
The proxy(Squid-Cache) has a public IP address and listens on TCP but has no support for SCTP.
Since this proxy supports the PROXY protocol(from haproxy) it can provide the TCP proxy with the clients connections details such as src IP+port and dst IP+port.
Then the TCP proxy can apply ACL's that will take into account the src and destination IP+port.
So two SCTP proxies:
- listens on TCP ip:port and always connects and forwards connections to a specific SCTP ip:port
- listens on SCTP ip:port and forwards connections to the proxy(local) TCP ip:port with or without PROXY protocol connection header.
I am testing couple ideas such as SCTP without streams multiplexing which would be like TCP.
Also due to HTTP/2.0 being a stream multiplexing oriented service the only benefit of SCTP would be LB and redundancy of connections which fits scenarios like ROAMING or flapping connections.
elico
November 6, 2018, 9:30pm
6
@hagbard I am not sure I am following how keepalived will help?
Maybe lvs but not sure.
keepalive is using lvs and it supports load balancing sctp.