SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] IP address checks


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: discussion AT sctp.de
  • Cc: Hollaus Thomas <thomas.hollaus AT siemens.at>
  • Subject: Re: [SCTP-Discussion] IP address checks
  • Date: Tue Mar 12 19:27:02 2002
  • List-id: SCTP Discussions <discussion.sctp.de>

Dear all,

the rules which should be implemented are described in
draft-stewart-tsvwg-sctpipv6-00.txt. Everything else is
considered a bug. I haven't tested the handling yet but we
can do this for pre18. The address selection for the
INIT chunk should depend on the destination address.

It should also be noted that i have some remarks to
the ID. But this was not top priority. It also seems
that we have a bug in the IPv6 handling which was described
on the list some days ago. We will also test this for pre18.

Best regards
Michael

On Tuesday, March 12, 2002, at 04:26 PM, Hollaus Thomas wrote:

Dear all,

I'm trying to understand the IP address checks on version sctplib-1.0.0-pre17.
Following checks are done:

Retrieving of own addresses on sending of INIT:
IPV4 checks:
- remove Multicast (= Class D = 224.0.0.0/4)
- remove Broadcast (= 255.255.255.255)
- target is not Localhost (= Loopback = 127.0.0.1)
  -> remove Loopback
IPV6 checks:
- remove Multicast (= FF00::/8)
- target is Link Local (= FE80::/10)
  -> ??? not checked on sctplib-1.0.0-pre17, why?
- target is Site Local (= FEC0::/10)
  -> ??? not checked on sctplib-1.0.0-pre17, why?
- target is not Localhost (= Loopback = ::0001)
  -> remove Loopback

Retrieving of own addresses on sending of INIT_ACK:
IPV4 checks:
- remove Multicast (= Class D = 224.0.0.0/4)
- remove Broadcast (= 255.255.255.255)
- target is Localhost (= Loopback = 127.0.0.1)
  -> remove all without Loopback
IPV6 checks:
- remove Multicast (= FF00::/8)
- target is Localhost (= Loopback = ::0001)
  -> remove all without Loopback
- target is Link Local (= FE80::/10)
  -> remove all without Link Local
- target is Site Local (= FEC0::/10)
  -> remove all without Link Local and Site Local
- else
  -> remove Loopback

Receiving of INIT/INIT_ACK:
IPV4 checks:
- remove Class D (= 224.0.0.0/4)
- remove Experimental (= 224.0.0.0/3)
- remove Bad Class (= 240.0.0.0/4)
- remove Any (= 0.0.0.0/0)
- remove Broadcast (= 255.255.255.255/32)
IPV6 checks:
- remove Unspecified (= ::/128)
- remove Multicast (= FF00::/8)
- remove Link Local (= FE80::/10)
- remove Site Local (= FEC0::/10)
  ??? not checked on sctplib-1.0.0-pre17, why?
- remove IPV4 Compat (= ::/96)


The checks on inserting of own addresses in INIT/INIT_ACK and the checks on receiving of INIT/INIT_ACK are not consistent.

E.g.:
- No checks on Link local and site local addresses on sending of INIT but checked on sending of INIT_ACK
- Link local addresses may be inserted in INIT/INIT_ACK, but will be removed on receive of INIT/INIT_ACK
- Link local addresses are checked but site local addresses are not checked on receive of INIT/INIT_ACK


Mit freundlichen Gruessen / Best regards
Thomas Hollaus

SIEMENS AG Austria
Program and Systems Engineering
mailto:thomas.hollaus AT siemens.com
http://www.pse.siemens.at


Michael.Tuexen AT micmac.franken.de





Archive powered by MHonArc 2.6.19+.

Top of page