summaryrefslogtreecommitdiff
path: root/res/res_pjsip_sdp_rtp.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2014-12-18 15:34:16 +0000
committerMark Michelson <mmichelson@digium.com>2014-12-18 15:34:16 +0000
commit14d2f8f20fc71b3aed7191c69b9fda378b696840 (patch)
treea4cb91d8e23a78f2bd426f1f75fde0d129f739f6 /res/res_pjsip_sdp_rtp.c
parentc1582929f9c27330ac58420e2329421a4713b70c (diff)
Prevent potential infinite outbound authentication loops in registration.
Prior to this patch, Asterisk would always respond to 401 responses to registration attempts by trying to provide a registration with authentication credentials. Even if subsequent attempts were rejected with 401 responses, Asterisk would continue this behavior. If authentication credentials were incorrect, this could continue forever. With this patch, we keep track of whether we have attempted authentication on an outbound registration attempt. If we already have, we don not try again until the next attempt. This prevents the infinite loop scenario. Review: https://reviewboard.asterisk.org/r/4273 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@429761 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip_sdp_rtp.c')
0 files changed, 0 insertions, 0 deletions