[erlang-patches] [PATCH] Fix SCTP multihoming for IPv6
Sun May 13 23:52:56 CEST 2012
regarding the SCTP multihoming, here are three commits on a branch,
I think I've addressed all issues I know of, and hope I haven't introduced
any new issues :)
The first commit sets the 'len' field in the inet/inet6 address
in the inet_drv.c, if that field exists on the host (FreeBSD)
The second commit changes the way the inet_drv.c binds:
the first address is bound using bind, the subsequent addresses
are added one at a time using sctp_bindx.
The third commit adds possibility to mix ipv4 and ipv6 addresses.
For the record, I have had troubles running the tests (both the added
and the existing). They all succeed on my Linux box, but ipv6 tests
fail for sctp on non non-::1 addresses on my virtual Solaris and
FreeBSD machines. I think (hope) that this boils down to bad machine
configurations. On one hand, tcp worked well over ipv6 (to the same
non-::1 addresses), on the other hand, the sctp_darn program (taken
from the lksctp package and ported to FreeBSD) failed for me the
same way my tests did (also tried sysctl that was previously metioned).
Are there other sctp test programs? I had trouble locating them.
If the tests or code would require some changes or further
troubleshooting, please let me know.
More information about the erlang-patches