1. 15 Apr, 2024 19 commits
  2. 13 Apr, 2024 4 commits
    • Robert Schmidt's avatar
      Rewrite sctp_create_new_listener() to handle DNS, IPv6 · dfa01216
      Robert Schmidt authored
      Rewrite sctp_create_new_listener() to use getaddrinfo() to look up
      IPv4/IPv6 addresses via a common interface. This allows to use e.g. DNS,
      and enables the SCTP library to listen on IPv6 ports.
      
      To support the above, the corresponding message is changed to not take
      an IPv4 address on 4 bytes (and separate IPv6), but a single name that
      will be resolved via getaddrinfo()
      
      The previous init message used to allow multiple IPv4/IPv6 addresses;
      since this is not used anywhere, remove the corresponding functionality.
      
      Modify all uses of this ITTI message to copy te SCTP init bind addr into
      ITTI message.
      dfa01216
    • Robert Schmidt's avatar
      Rewrite sctp_handle_new_association_req() to handle hostnames and IPv6 · 0d128f9c
      Robert Schmidt authored
      Use getaddrinfo() to look up IP (v4/v6) addresses. The old
      interface of separately specifying IPv4 and IPv6 addresses is
      preserved, but both fields allow to specify types of addresses, and we
      will remove one field in the future.
      0d128f9c
    • Robert Schmidt's avatar
      Introduce additional option to bind on separate IFs for F1-C/U in DU · e65cb0cf
      Robert Schmidt authored
      After the last commit, it is not possible to bind on separate interfaces
      for F1-C and F1-U. In other words, it is for instance not possible to
      have the F1-C on one subnet on one physical interface, and F1-U on
      another subnet on another physical interface. This commit introduces a
      second option MACRLCs.[0].local_n_address_f1u to allow to bind F1-U on
      an alternative address; if it is not specified, the interface of F1-C is
      reused.
      
      The above only works for the DU; no corresponding option exists for the
      CU. For the CU, use separate CU-CP and CU-UP.
      
      Use it in the CI.
      e65cb0cf
    • Robert Schmidt's avatar
      Revert "F1AP SCTP: don't bind local address" · a1935185
      Robert Schmidt authored
      This reverts commit 28411652.
      
      The problem is that (1) we don't really support multi-homing, but (2) on
      some system, if the other IP addresses that the operating system
      considers part of the multi-homed connection are HEARTBEAT'ed (e.g.,
      docker), they answer with SCTP ABORT, which breaks the entire
      connection.
      
      In other words, force single-homing by binding. For F1-U uses, another
      option will be introduced that allows to bind to a separate interface
      for F1-U (separate from F1-C), if necessary.
      
      Closes #727
      a1935185
  3. 12 Apr, 2024 13 commits
  4. 11 Apr, 2024 4 commits