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

Bogdan Andrei IANCU noreply at github.com
Tue May 28 02:35:24 EDT 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0bb6fb8a20a65177586b62cef58d9278eb32b1bb
      https://github.com/OpenSIPS/opensips/commit/0bb6fb8a20a65177586b62cef58d9278eb32b1bb
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-05-28 (Tue, 28 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

(cherry picked from commit 9dde6d5f00626ac78cec948c84443b2caea33013)


  Commit: d3aa606ff440bdf900adb91dfee0069f89a62374
      https://github.com/OpenSIPS/opensips/commit/d3aa606ff440bdf900adb91dfee0069f89a62374
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-05-28 (Tue, 28 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

(cherry picked from commit d6a663f9b9b33205120519b85135fe4bc34b852d)


  Commit: 088ffa1ed485aef0066ae0fd4014fa45975c6a41
      https://github.com/OpenSIPS/opensips/commit/088ffa1ed485aef0066ae0fd4014fa45975c6a41
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-05-28 (Tue, 28 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

(cherry picked from commit 929c854b084cdbf9c6cf8e253f9fa60fcdec3c18)


  Commit: 46f4634ec70b6d4a44f65a7864fee6c2c8cc8e59
      https://github.com/OpenSIPS/opensips/commit/46f4634ec70b6d4a44f65a7864fee6c2c8cc8e59
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-05-28 (Tue, 28 May 2019)

  Changed paths:
    M modules/tm/mi.c

  Log Message:
  -----------
  Revert "tm: Fix crash in t_uac_dlg (uninitialized stack var)"

This reverts commit f87c1857d55600ef6271a3de67709c3d92927af8.


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

  Changed paths:
    M modules/tm/mi.c

  Log Message:
  -----------
  Fixed handling of unset socket parameter.

(cherry picked from commit a8a1c077c66350c7f4e9a9348642cab6ce43ae7a)


Compare: https://github.com/OpenSIPS/opensips/compare/d7c9445c8c3d...f125a64c8860



More information about the Devel mailing list