SCTP Discussions

Text archives Help


[SCTP-Discussion] IP address checks


Chronological Thread 
  • From: Hollaus Thomas <thomas.hollaus AT siemens.at>
  • To: "'discussion AT sctp.de'" <discussion AT sctp.de>
  • Subject: [SCTP-Discussion] IP address checks
  • Date: Tue Mar 12 16:27:02 2002
  • List-id: SCTP Discussions <discussion.sctp.de>

Title: IP address checks

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




Archive powered by MHonArc 2.6.19+.

Top of page