[srslte-users] SCTP ASCONF && Missing implementation?

Pedro Alvarez pedro.alvarez at softwareradiosystems.com
Thu Jul 4 09:58:18 UTC 2019


Hi Roderick,

Which distro/kernel are you using?

Have you tried doing the following:

"""
*sysctl -w net.sctp.addip_enable*=1

*sysctl -w net.sctp.addip_noauth_enable=1 #this disables authentication,
not safe in a production *
*sysctl -w net.sctp.default_auto_asconf=1*

*"""*

There is some info on the rational behind those flags here:
http://rainbowtux.blogspot.com/2012/10/sctp-multi-homing-with-dynamic-address.html

Let me know if that works for you, I'm quite curious about this.

Regards,
Pedro

On Thu, Jul 4, 2019 at 9:04 AM Roderick Groesbeek <
R.Groesbeek at wearetriple.com> wrote:

> Hi People,
>
> I'm trying to connect srsenb to an Aricent/Altran EPC.
> But it fails in the MME communication, see below.
>
> Is this something that is deliberately not coped with in srsenb?
> Could/Should I hack the support for it in the source code? (if so, any
> kickstart hints?)
>
>
>
>
> According to https://tools.ietf.org/html/rfc5061#page-5
> this must be acknowledged.
>
> RFC 5061 - Stream Control Transmission Protocol (SCTP) Dynamic Address
> Reconfiguration - Internet Engineering Task Force
> <https://tools.ietf.org/html/rfc5061#page-5>
> RFC 5061 SCTP Dynamic Address Reconfiguration September 2007
> 1.Introduction A local host may have multiple points of attachment to the
> Internet, giving it a degree of fault tolerance from hardware failures.
> SCTP was developed to take full advantage of such a multi-homed host to
> provide a fast failover and association survivability in the face of such
> hardware failures.
> tools.ietf.org
>
>
>
> 31 2.786994261 192.168.0.52 100.100.100.220 SCTP 84 INIT
> 33 2.797602863 100.100.100.220 192.168.0.52 SCTP 952 INIT_ACK
> 34 2.797652779 192.168.0.52 100.100.100.220 SCTP 916 COOKIE_ECHO
> 35 2.809712390 100.100.100.220 192.168.0.52 SCTP 62 COOKIE_ACK
> 36 2.809956541 192.168.0.52 100.100.100.220 S1AP 116 S1SetupRequest
> 37 2.809976818 100.100.100.220 192.168.0.52 SCTP 80 ASCONF
> Frame 37: 80 bytes on wire (640 bits), 80 bytes captured (640 bits) on
> interface 0
> Linux cooked capture
> Internet Protocol Version 4, Src: 100.100.100.220, Dst: 192.168.0.52
> Stream Control Transmission Protocol, Src Port: 36412 (36412), Dst Port:
> 57401 (57401)
>     Source port: 36412
>     Destination port: 57401
>     Verification tag: 0x7737b667
>     [Association index: 0]
>     Checksum: 0xa5a539b0 [unverified]
>     [Checksum Status: Unverified]
>     ASCONF chunk
>         Chunk type: ASCONF (193)
>         Chunk flags: 0x00
>         Chunk length: 32
>         Sequence number: 0x414bc735
>         IPv4 address parameter (Address: 100.100.100.220)
>             Parameter type: IPv4 address (0x0005)
>             Parameter length: 8
>             IP Version 4 address: 100.100.100.220
>         Set primary address parameter (Address: 100.100.100.220,
> correlation ID: 0)
>             Parameter type: Set primary address (0xc004)
>             Parameter length: 16
>             Correlation_id: 0x00000000
>             IPv4 address parameter (Address: 100.100.100.220)
>                 Parameter type: IPv4 address (0x0005)
>                 Parameter length: 8
>                 IP Version 4 address: 100.100.100.220
>
>
> 38 2.809988052 192.168.0.52 100.100.100.220 SCTP 88 ERROR
>
> Frame 38: 88 bytes on wire (704 bits), 88 bytes captured (704 bits) on
> interface 0
> Linux cooked capture
> Internet Protocol Version 4, Src: 192.168.0.52, Dst: 100.100.100.220
> Stream Control Transmission Protocol, Src Port: 57401 (57401), Dst Port:
> 36412 (36412)
>     Source port: 57401
>     Destination port: 36412
>     Verification tag: 0x414bc735
>     [Association index: 0]
>     Checksum: 0xea569815 [unverified]
>     [Checksum Status: Unverified]
>     ERROR chunk
>         Chunk type: ERROR (9)
>         Chunk flags: 0x00
>         Chunk length: 40
>         Unrecognized chunk type cause (Type: 193 (ASCONF))
>             Cause code: Unrecognized chunk type (0x0006)
>             Cause length: 36
>             ASCONF chunk
>                 Chunk type: ASCONF (193)
>                 Chunk flags: 0x00
>                 Chunk length: 32
>                 Sequence number: 0x414bc735
>                 IPv4 address parameter (Address: 100.100.100.220)
>                     Parameter type: IPv4 address (0x0005)
>                     Parameter length: 8
>                     IP Version 4 address: 100.100.100.220
>                 Set primary address parameter (Address: 100.100.100.220,
> correlation ID: 0)
>                     Parameter type: Set primary address (0xc004)
>                     Parameter length: 16
>                     Correlation_id: 0x00000000
>                     IPv4 address parameter (Address: 100.100.100.220)
>                         Parameter type: IPv4 address (0x0005)
>                         Parameter length: 8
>                         IP Version 4 address: 100.100.100.220
>
> 39 2.820425679 100.100.100.220 192.168.0.52 S1AP 92 S1SetupFailure
> [Misc-cause=unspecified]
> 40 2.820471379 192.168.0.52 100.100.100.220 SCTP 64 SACK
> 41 2.820692627 100.100.100.220 192.168.0.52 SCTP 62 ABORT
> 42 2.830521878 100.100.100.220 192.168.0.52 SCTP 62 ABORT
>
> Thnx!
>
>
> _______________________________________________
> srslte-users mailing list
> srslte-users at lists.softwareradiosystems.com
> http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20190704/95f0f69a/attachment.htm>


More information about the srsran-users mailing list