[asterisk-dev] [Code Review] 2590: chan_pjsip: Security Events

Mark Michelson reviewboard at asterisk.org
Thu Jun 6 19:39:57 CDT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2590/#review8854
-----------------------------------------------------------



/team/group/pimp_my_sip/res/res_sip/security_events.c
<https://reviewboard.asterisk.org/r/2590/#comment17405>

    Any time something should be impossible, that's a good place to throw an ast_assert().



/team/group/pimp_my_sip/res/res_sip/sip_distributor.c
<https://reviewboard.asterisk.org/r/2590/#comment17404>

    Would ast_security_event_chal_resp_failed be a better event choice here?



/team/group/pimp_my_sip/res/res_sip_registrar.c
<https://reviewboard.asterisk.org/r/2590/#comment17403>

    Seems like a good fit for an ast_security_event_session_limit


- Mark Michelson


On June 4, 2013, 3:55 p.m., Joshua Colp wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2590/
> -----------------------------------------------------------
> 
> (Updated June 4, 2013, 3:55 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> This change causes chan_pjsip to emit security events during various scenarios.
> 
> 
> Diffs
> -----
> 
>   /team/group/pimp_my_sip/res/res_sip/security_events.c PRE-CREATION 
>   /team/group/pimp_my_sip/res/res_sip.exports.in 390396 
>   /team/group/pimp_my_sip/include/asterisk/res_sip.h 390396 
>   /team/group/pimp_my_sip/res/res_sip/sip_distributor.c 390396 
>   /team/group/pimp_my_sip/res/res_sip_registrar.c 390396 
> 
> Diff: https://reviewboard.asterisk.org/r/2590/diff/
> 
> 
> Testing
> -------
> 
> Ran into the various situations (by purposely modifying the code or actually doing it) and confirmed the security event framework was getting called with proper information.
> 
> 
> Thanks,
> 
> Joshua Colp
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130607/e5cd60f6/attachment.htm>


More information about the asterisk-dev mailing list