Navigation


Changeset 1203:92f33e5ecb77 in freeDiameter for libfdcore


Ignore:
Timestamp:
Jun 14, 2013, 1:21:42 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Do not attempt connecting to addresses advertised by the remote peer during CER/CEA. This creates issues when e.g. local addresses are advertized. Diameter RFC specifies that these addresses are for the purpose of validating the incoming packets, which is not very useful considering we have reliable lower layer (TLS or IPsec).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/p_cnx.c

    r1198 r1203  
    122122        }
    123123       
     124        /* We don't use the alternate addresses that were sent by the remote peer */
     125        CHECK_FCT( fd_ep_clearflags(&peer->p_hdr.info.pi_endpoints, EP_FL_ADV) );
     126       
     127       
    124128        /* Now check we have at least one address to attempt */
    125129        if (FD_IS_LIST_EMPTY(&peer->p_hdr.info.pi_endpoints)) {
Note: See TracChangeset for help on using the changeset viewer.