summaryrefslogtreecommitdiff
path: root/pjnath/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-04-13 21:48:44 +0000
committerBenny Prijono <bennylp@teluu.com>2008-04-13 21:48:44 +0000
commit4a8f891d8fafd8dec50620ce45076dbe112f9f3e (patch)
treed40dc7094548ee80099ca845c0b01f34cd70a596 /pjnath/include
parent848e880ca8c2811caeccceba3f325d28c63adec0 (diff)
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)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1924 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath/include')
-rw-r--r--pjnath/include/pjnath/stun_msg.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/pjnath/include/pjnath/stun_msg.h b/pjnath/include/pjnath/stun_msg.h
index c88397bc..7c3805ea 100644
--- a/pjnath/include/pjnath/stun_msg.h
+++ b/pjnath/include/pjnath/stun_msg.h
@@ -1158,7 +1158,15 @@ enum pj_stun_decode_options
* When specified, it tells the session NOT to authenticate the
* message.
*/
- PJ_STUN_NO_AUTHENTICATE = 4
+ PJ_STUN_NO_AUTHENTICATE = 4,
+
+ /**
+ * Disable FINGERPRINT verification. This option can be used when calling
+ * #pj_stun_msg_check() and #pj_stun_msg_decode() to disable the
+ * verification of FINGERPRINT, for example when the STUN usage says when
+ * FINGERPRINT mechanism shall not * be used.
+ */
+ PJ_STUN_NO_FINGERPRINT_CHECK = 8
};