[asterisk-bugs] [JIRA] (ASTERISK-25979) res_pjsip: Weird flood of traffic when authentication fails on TCP
Mark Michelson (JIRA)
noreply at issues.asterisk.org
Mon May 2 13:36:56 CDT 2016
Mark Michelson created ASTERISK-25979:
-----------------------------------------
Summary: res_pjsip: Weird flood of traffic when authentication fails on TCP
Key: ASTERISK-25979
URL: https://issues.asterisk.org/jira/browse/ASTERISK-25979
Project: Asterisk
Issue Type: Bug
Security Level: None
Affects Versions: 13.8.2
Reporter: Mark Michelson
This was discovered during the process that found ASTERISK-25978.
* Set up two Asterisk boxes so they can call each other using chan_pjsip over TCP.
* Have the client Asterisk originate a call to the server Asterisk.
* Have the server Asterisk reject the call due to failed authentication. In our case, the bug in ASTERISK-25978 caused this.
What ensues is that the client Asterisk will re-attempt the call a BUNCH of times after the initial authentication rejection, resulting in a flood of traffic between the two Asterisk servers. Eventually the client will stop attempting calls because the PJSIP stack returns an ETOOMANY error during an operation.
While this was observed as the result of another open issue, this presumably could happen with any UAS that rejects our authentication credentials. Asterisk should attempt authentication once, and if that authentication is rejected, there should be no further attempts to complete the call.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list