[OpenSIPS-Devel] [OpenSIPS/opensips] 9dde6d: Expose the real ports (src/dst) used by TC-based w...

Bogdan Andrei IANCU noreply at github.com
Thu May 23 13:12:27 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9dde6d5f00626ac78cec948c84443b2caea33013
      https://github.com/OpenSIPS/opensips/commit/9dde6d5f00626ac78cec948c84443b2caea33013
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-05-23 (Thu, 23 May 2019)

  Changed paths:
    M modules/proto_bin/proto_bin.c
    M modules/proto_hep/proto_hep.c
    M modules/proto_tls/proto_tls.c
    M modules/proto_ws/proto_ws.c
    M modules/proto_wss/proto_wss.c
    M net/proto_tcp/proto_tcp.c
    M socket_info.h

  Log Message:
  -----------
  Expose the real ports (src/dst) used by TC-based write op

As src/dst ports may be ephemeral, expose (via holders in socket_info struct) the real used ports during the last write operation

Related to #1692


  Commit: d6a663f9b9b33205120519b85135fe4bc34b852d
      https://github.com/OpenSIPS/opensips/commit/d6a663f9b9b33205120519b85135fe4bc34b852d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-05-23 (Thu, 23 May 2019)

  Changed paths:
    M modules/tracer/tracer.c

  Log Message:
  -----------
  Trace the real ports (from IP level) instead of SIP level ports

As the TCP based ops may report different ports at IP level versus SIP level, trace (if available) the IP level information.

Related to #1692


  Commit: 929c854b084cdbf9c6cf8e253f9fa60fcdec3c18
      https://github.com/OpenSIPS/opensips/commit/929c854b084cdbf9c6cf8e253f9fa60fcdec3c18
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-05-23 (Thu, 23 May 2019)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  Store in TCP conns the real ephemeral port and not the listening port

Related to #1692


Compare: https://github.com/OpenSIPS/opensips/compare/d39f07d656e2...929c854b084c



More information about the Devel mailing list