Add a security event for the case where fake authentication challenge is sent.
authorMark Michelson <mmichelson@digium.com>
Tue, 28 Feb 2012 18:52:13 +0000 (18:52 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 28 Feb 2012 18:52:13 +0000 (18:52 +0000)
........

Merged revisions 357318 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@357319 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/sip/security_events.c

index 8af4f29..110c10a 100644 (file)
@@ -365,6 +365,7 @@ int sip_report_security_event(const struct sip_pvt *p, const struct sip_request
                sip_report_invalid_peer(p);
                break;
        case AUTH_FAKE_AUTH:
+               sip_report_invalid_peer(p);
                break;
        case AUTH_UNKNOWN_DOMAIN:
                snprintf(aclname, sizeof(aclname), "domain_must_match");