Peter Lei <[EMAIL PROTECTED]> writes:

> >>But this reminds me; doesn't SCTP use the same port number space
    as TCP?

Not anymore.

> >     basically the same space, but they do have separate entries on
> >     /etc/services and http://www.iana.org/assignments/port-numbers.
> >     for instance, http is only defined for http/tcp and http/udp at this
> >     point of time.  only a limited number of sctp services are defined on
> >     IANA assignment page.
> > 
> >     and since we have "foo/sctp" on /etc/services, we need to pass
> >     "sctp" as 2nd arg to getservbyport(3).

> Actualy, RFC2960 explictily states that "All current TCP ports shall be
> automatically reserved in the SCTP port address space." in the IANA
> considerations section.

This was updated, but not documented well. Because it is not clear
that an application that runs over TCP can also run over SCTP (and
vice versa) without some application-specific considerations,
automatically allocating ports from both spaces for an application was
deemed not-so-good an idea. So at this point, the SCTP and TCP port
spaces are not shared.

Thomas

--------------------------------------------------------------------
IETF IPv6 working group mailing list
[EMAIL PROTECTED]
Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------

Reply via email to