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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Liviu Chircu-3
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9dde6d5f00626ac78cec948c84443b2caea33013
      https://github.com/OpenSIPS/opensips/commit/9dde6d5f00626ac78cec948c84443b2caea33013
  Author: Bogdan-Andrei Iancu <[hidden email]>
  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 <[hidden email]>
  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 <[hidden email]>
  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

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel