[OpenSIPS-Devel] [OpenSIPS/opensips] 1bdf0b: Store in TCP conns the real ephemeral port and not...

Bogdan Andrei IANCU noreply at github.com
Tue Jun 11 10:16:33 EDT 2019


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1bdf0b90fa2960b8120f7a633b88440fc70ca2d9
      https://github.com/OpenSIPS/opensips/commit/1bdf0b90fa2960b8120f7a633b88440fc70ca2d9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-06-11 (Tue, 11 Jun 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: d698b42e9094ca820259689d056b679a211eb721
      https://github.com/OpenSIPS/opensips/commit/d698b42e9094ca820259689d056b679a211eb721
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-06-11 (Tue, 11 Jun 2019)

  Changed paths:
    M modules/siptrace/siptrace.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: fdbdcf13e9c1d4aa4ac5a217eacde18a3609c8f2
      https://github.com/OpenSIPS/opensips/commit/fdbdcf13e9c1d4aa4ac5a217eacde18a3609c8f2
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-06-11 (Tue, 11 Jun 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)


Compare: https://github.com/OpenSIPS/opensips/compare/06178ac5b603...fdbdcf13e9c1



More information about the Devel mailing list