Ignore:
Timestamp:
Apr 13, 2008 9:48:44 PM (16 years ago)
Author:
bennylp
Message:

More ticket #485: fixed TURN server permission not allowing peer with the same IP to get through, and added option to disable FINGERPRINT verification in TURN server since it is currently broken when TURN is used with ICE (which has a FINGERPRINT in its Binding Request)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/stun_msg.c

    r1877 r1924  
    18691869 
    18701870        /* Check if FINGERPRINT attribute is present */ 
    1871         if (GETVAL16H(pdu, msg_len + 20 - 8) == PJ_STUN_ATTR_FINGERPRINT) { 
     1871        if ((options & PJ_STUN_NO_FINGERPRINT_CHECK )==0 &&  
     1872            GETVAL16H(pdu, msg_len + 20 - 8) == PJ_STUN_ATTR_FINGERPRINT)  
     1873        { 
    18721874            pj_uint16_t attr_len = GETVAL16H(pdu, msg_len + 20 - 8 + 2); 
    18731875            pj_uint32_t fingerprint = GETVAL32H(pdu, msg_len + 20 - 8 + 4); 
Note: See TracChangeset for help on using the changeset viewer.