Hi, I have written a patch to add SCTP support for OpenSSH on systems with SCTP capabilities with the following features: - SCTP support can be configured with --with-sctp, but is disabled by default - use SCTP for SSH connections instead of TCP - SCTP's multi-homing is activated for all available addresses by default, if SCTP is used - the sshd can be configured to listen with TCP, SCTP, or both with the "Transport" keyword for sshd_config - the sshd listens on single addresses given with each "ListenAddress" and on multiple addresses multi-homed given with each "ListenMultipleAddresses" (with SCTP) - the ssh client can use SCTP to connected to a server with the -z cmd parameter or the "Transport" keyword for ssh_config - updated man pages - the patch is prepared to add multi-streaming support for SSH channels later I would like to submit the patch if you're interested in SCTP support. Should the patch be created for the latest stable release or the current CVS version? Do you prefer the mailing list or the bug tracker for a submission? Best regards Robin
On 30 May 2012 17:43, Robin Seggelmann <seggelmann at fh-muenster.de> wrote:> I have written a patch to add SCTP support for OpenSSH on systems with SCTP capabilities with the following features:Cool. Forgive me if this is silly question. Does client dynamically runtime add/remove SCTP sessions when end points come available and unavailable? How about when DNS information changes runtime? -- ? ++ytti
On Wed, 30 May 2012, Robin Seggelmann wrote:> Hi, > > I have written a patch to add SCTP support for OpenSSH on systems with SCTP capabilities with the following features: > > - SCTP support can be configured with --with-sctp, but is disabled by default > - use SCTP for SSH connections instead of TCP > - SCTP's multi-homing is activated for all available addresses by default, if SCTP is used > - the sshd can be configured to listen with TCP, SCTP, or both with the "Transport" keyword for sshd_config > - the sshd listens on single addresses given with each "ListenAddress" and on multiple addresses multi-homed given with each "ListenMultipleAddresses" (with SCTP) > - the ssh client can use SCTP to connected to a server with the -z cmd parameter or the "Transport" keyword for ssh_config > - updated man pages > - the patch is prepared to add multi-streaming support for SSH channels later > > I would like to submit the patch if you're interested in SCTP support. > Should the patch be created for the latest stable release or the > current CVS version? Do you prefer the mailing list or the bug tracker > for a submission?Cool - we strongly prefer https://bugzilla.mindrot.org/ for patch submissions. If you upload it there then we will not lose it. -d
Dear all, I just subscribed, therefore I can't answer inline the earlier messages... The FreeBSD SCTP implementation (and I think also the Linux implementation) support a feature called AUTO-ASCONF. If a node gets a new IP-address, or gives up one, it is automatically added or removed from the association. So you don't need to involve DNS in this. And you do not need to write OS specific code to deal with local address changes. Best regards Michael