[asterisk-bugs] [Asterisk 0010961]: [patch] Add HTTP Basic & Digest Auth (rfc2617) for manager web interface.

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jan 23 08:07:09 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10961 
====================================================================== 
Reported By:                ys
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10961
Category:                   Core/HTTP
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 85514 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-12-2007 06:48 CDT
Last Modified:              01-23-2008 08:07 CST
====================================================================== 
Summary:                    [patch] Add HTTP Basic & Digest Auth (rfc2617) for
manager web interface.
Description: 
I found, that manager web interface used "Cookie" Header for authenticate
the user. This require two http request, one for authenticate and next for
commands.
This patch add only Basic authentication scheme implementation, as defined
in rfc2617.
If used this scheme, httptimeout are unused, but we don't need to keep a
http session (and mansession) alive, after HTTP Request is processed.







======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0011414 [patch] Move loading users from authent...
====================================================================== 

---------------------------------------------------------------------- 
 ys - 01-23-08 08:07  
---------------------------------------------------------------------- 
I upload new digest_auth_r99859_v2.diff file, where:

I sync version with current revision.
Share digest parse function (utils.c)
Share static function ftype2mtype() as ast_ftype2mtype(), and remove
duplicate code (main/http.c and res/res_phoneprov.c) 
Create SIP RFC-2617/RFC-2069 Digest authentication request and responce
processing.
...


File affected:

channels/chan_sip.c
include/asterisk/utils.h
include/asterisk/http.h
main/utils.c
main/manager.c
main/http.c
res/res_phoneprov.c 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-23-08 08:07  ys             Note Added: 0081086                          
======================================================================




More information about the asterisk-bugs mailing list