[OpenSIPS-Devel] [OpenSIPS/opensips] ee4d05: TCP connection and alias lookup: Add matching by t...

Liviu Chircu liviu at opensips.org
Tue May 24 19:45:12 CEST 2016


  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ee4d057146617fba25fe1da2baa8d3bbd37501c0
      https://github.com/OpenSIPS/opensips/commit/ee4d057146617fba25fe1da2baa8d3bbd37501c0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2016-05-24 (Tue, 24 May 2016)

  Changed paths:
    M modules/tlsops/tls_select.c
    M modules/tlsops/tlsops.c
    M tcp_main.c
    M tcp_server.h

  Log Message:
  -----------
  TCP connection and alias lookup: Add matching by transport

The fact that all currently supported TCP-oriented protocols have different
standard ports is not an excuse for not including the transport into the
match condition (i.e. dest IP address + dest port + dest transport).

This may very well prevent issues with messages being sent out over the
wrong TCP connection in a number of scenarios where we employ TCP connection
reusage over both plain TCP and TLS with a Proxy that specifies the same port
in the topmost Via header when it establishes each of the two connections.




More information about the Devel mailing list