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

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Dec 10 09:37:04 CST 2007


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:              12-10-2007 09:37 CST
====================================================================== 
Summary:                    [patch] Add HTTP Basic Authentication Scheme
(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.







====================================================================== 

---------------------------------------------------------------------- 
 ys - 12-10-07 09:37  
---------------------------------------------------------------------- 
oej.

I'am working on digest auth for http session. If digest HTTP auth in
chan_sip moved to public (shared) asterisk lib - it's great!

About cookie auth - this method, except " *very* insecure", also liable to
DoS attack, but all http request create new mansession. Basic auth method
don't allocate any (session) data until the auth is complete. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-10-07 09:37  ys             Note Added: 0075129                          
======================================================================




More information about the asterisk-bugs mailing list