/[resiprocate]/main/resip/dum/ClientAuthManager.cxx
ViewVC logotype

Log of /main/resip/dum/ClientAuthManager.cxx

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 9891 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 25 18:46:33 2012 UTC (7 years ago) by sgodin
File length: 16029 byte(s)
Diff to previous 9038
 -added new UserProfile setting to DUM:  
  DigestCacheUseLimit is used to indicate the maximum number of times a particular 
  Proxy or WWW Authorization header will be used in requests within a dialogset.  
  When this limit is   reached then the next request in the DiaglogSet will go out 
  without digest credentials.  This setting can be used to work around bugs/limitations 
  in third-party implementations that have difficulty properly dealing with
  cached credentials.  A setting of 0 (default) will disable the limit and all requests 
  in a Dialogset will have the same cached Authorization header on them, until they are 
  re-challenged by the far end.  A setting of 1 disables caching entirely and future 
  requests within the dialog set will go out without any authorization headers.

Other Changes
 -resip ClientAuthManager - refactored dialogSetDestroyed and clearAuthenticationState to 
  be more logical
 -resip ClientPagerMessage - modified to allow onSuccess and onFailure callbacks even if queue
  of message contents is not used - allows you to call ClientPagerMessage::getMessageRequest,
  build the request yourself (even one without a body), send using DUM::send and still have 
  your callbacks invoked

Revision 9038 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 27 20:22:45 2011 UTC (8 years, 8 months ago) by sgodin
File length: 15652 byte(s)
Diff to previous 8925
-allow a DUM application to optionally provide a MD5 A1 Hash of a users password, instead 
 of the clear text version
  Note:  If the A1 hash is provided then the realm provided MUST match the realm in the 
         challenge or authentication will fail.  If the plain text password is provided, 
         then we will form the A1 hash using the realm from the challenge.


Revision 8925 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 23 20:51:34 2010 UTC (8 years, 10 months ago) by kwhite
File length: 14390 byte(s)
Diff to previous 8859
dum static code analysis fixes

minor clean up and comments
Fix FSM constants for subscriptions

Revision 8859 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 14 20:07:22 2010 UTC (9 years ago) by sgodin
File length: 14371 byte(s)
Diff to previous 8399
-Modified resip to use an outbound decorator (at the end of the decorator list) 
 for client authentication, it is now safe to use an application/UserProfile defined 
 Outbound Decorator that modifies a message body.  Previously responding to an 
 auth-int challenge (where a message body hash is required) and using an Outbound 
 Decorator to modify the body would cause the authentication to fail

Revision 8399 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 16 17:00:47 2009 UTC (10 years, 10 months ago) by sgodin
File length: 12675 byte(s)
Diff to previous 8398
-reverted last commit to remove assert - it wouldn't work correct
-ensure auth state is cleared out before re-trying a registration

Revision 8398 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 16 16:01:41 2009 UTC (10 years, 10 months ago) by sgodin
File length: 12538 byte(s)
Diff to previous 7466
-if registration re-try logic is used auth RealmState could be Failed when 
 addAuthentication is called, removing assert so that code will just return 
 and no auth headers will be added

Revision 7466 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 28 19:02:25 2007 UTC (11 years, 11 months ago) by bcampen
File length: 12567 byte(s)
Diff to previous 7144
Work from resiprocate-1.2-sipit-ctpc, plus a tweak to kill a warning.


Revision 7144 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 7 22:51:36 2007 UTC (12 years, 5 months ago) by derek
File length: 11721 byte(s)
Diff to previous 5948
Merge PRACK branch to main.  UAC PRACK support only.

svn merge -r r7071:7143
https://svn.resiprocate.org/rep/resiprocate/branches/b-dum-prack-20070410



Revision 5948 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 17 15:30:16 2006 UTC (13 years, 9 months ago) by dworley
File length: 11519 byte(s)
Diff to previous 5929
Setting more svn: properties, and adding EOLs to the ends of files
that need it.


Revision 5929 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 16 22:36:43 2006 UTC (13 years, 9 months ago) by dworley
File length: 11519 byte(s)
Diff to previous 5869
Start cleaning up svn:eol-style and EOLs in files.
Note that text and program files that can be used on both Un*x and Windows
should have svn:eol-style=native so they check out correctly on both
platforms.


Revision 5869 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 8 23:30:17 2006 UTC (13 years, 9 months ago) by derek
File length: 11519 byte(s)
Diff to previous 5827
new state to avoid inf. retry on nonce change

Revision 5827 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 28 02:37:02 2006 UTC (13 years, 9 months ago) by derek
File length: 11166 byte(s)
Diff to previous 5761
re-work of ClientAuthManager. See ClientAuthManager.dot for per realm state machine

Revision 5761 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 19 23:10:11 2005 UTC (13 years, 10 months ago) by derek
File length: 11518 byte(s)
Diff to previous 5646
do not respond to challenges when no algorithm/qop pair listed is supported(ie auth-sess)

Revision 5646 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 15 05:48:27 2005 UTC (14 years ago) by derek
File length: 11477 byte(s)
Diff to previous 5642
more logging cleanup


Revision 5642 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 14 22:16:17 2005 UTC (14 years ago) by derek
File length: 11555 byte(s)
Diff to previous 5295
logging changes

Revision 5295 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 22 00:30:05 2005 UTC (14 years, 2 months ago) by jason
File length: 11291 byte(s)
Copied from: branches/b-directory-reorg/resip/dum/ClientAuthManager.cxx revision 5294
Diff to previous 5283
merged 5270:HEAD from b-directory-reorg

Revision 5283 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 01:27:14 2005 UTC (14 years, 3 months ago) by derek
Original Path: branches/b-directory-reorg/resip/dum/ClientAuthManager.cxx
File length: 11291 byte(s)
Diff to previous 5276
finished resip/sip -> resip/stack rename

Revision 5276 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 00:23:17 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/resip/dum/ClientAuthManager.cxx
File length: 11287 byte(s)
Diff to previous 5273
compiles now

Revision 5273 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:50:54 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/resip/dum/ClientAuthManager.cxx
File length: 11321 byte(s)
Diff to previous 5272
initial reorg - more to come

Revision 5272 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:49:50 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/resip/resiprocate/dum/ClientAuthManager.cxx
File length: 11321 byte(s)
Diff to previous 5271
initial reorg - more to come

Revision 5271 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:43:07 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 11321 byte(s)
Diff to previous 4740
new directory reorg proposal

Revision 4740 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 24 21:30:57 2005 UTC (14 years, 5 months ago) by daniel
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 11321 byte(s)
Diff to previous 4599
AresDns.hxx/cxx: Redefined lookup and ares callback methonds.
DnsInterface.hxx/cxx: Added dns caching support and  methods to (un)register blacklist listener.
DnsResult.hxx/cxx: Modified to use dns caching, blacklisting, and vip; removed dead code.
Makefile: Added dns cache related files.
Security.hxx/cxx: correctly handle default paths in the constructor
SipStack.hxx/cxx: Added blacklist listener registration and unregistration.
StatelessHandler.cxx: Got it to compile with USE_IPV6 defined.
TlsConnection.cxx: Make logging less verbose.
TransactionController.hxx/cxx: Added blacklist listener registration and unregistration.
TransactionState.cxx: Added whitelisting(vip) rules.
TransportSelector.hxx/cxx: Added blacklist listener registration and unregistration; refactor and clarify for IPv6
WinSecurity.hxx/cxx: since certificates are preloaded, don't query the filesystem cert store.
dum/ClientAuthManager.cxx: changed DebugLog to InfoLog in handle method.
dum/DialogUsageManager.cxx: changed DebugLog to InfoLog in internalProcess method.
dum/test/BasicCall.cxx: added keep-alive test case.
dum/test/basicRegister.cxx: updated commandline options and simplified for TLS/IPv6.
dum/test/testIdentity.cxx: added test for identity over TLS/IPv6.
external/ExternalDns.hxx: redefined ExternalDnsHandler and lookup methods in ExternalDns class.
os/Tuple.cxx: fix constructor to copy complete IPv6 address.
os/WinCompat.hxx/cxx: add support to determine local IPv6 address; now only used on Windows platform.
os/compat.hxx: added define for T_A.

Revision 4599 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 11 23:10:19 2005 UTC (14 years, 6 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 11322 byte(s)
Diff to previous 4514
set svn:eol-style to LF

Revision 4514 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 5 18:54:07 2005 UTC (14 years, 6 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 11322 byte(s)
Diff to previous 4402
store password in mem. rather than a1 as realm is not always known ahead of time.

Revision 4402 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 20 23:57:43 2005 UTC (14 years, 6 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 11346 byte(s)
Diff to previous 4382
debug updates



Revision 4382 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 17 20:49:33 2005 UTC (14 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 11345 byte(s)
Diff to previous 4335
log mods





Revision 4335 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 12 21:40:15 2005 UTC (14 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 11400 byte(s)
Diff to previous 4112
merged changes from b-dev-repro from rev 4155:4334
used cmd: svn merge -r 4155:4334 https://scm.sipfoundry.org/rep/ resiprocate/branches/b-dev-repro-20050401


Revision 4112 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 1 17:55:30 2005 UTC (14 years, 7 months ago) by sgodin
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 10773 byte(s)
Diff to previous 4010
Modified DigestCredential Matching to be:
1.  Look for any credential whose AOR matches the From field and with a matching realm. 
2.  Look for any credential whose user matches the User in the From field and with a matching realm. 
3.  Look for any credential with a matching realm.  (required before 4 - since there could be the same AOR in 2 different realms???) 
4.  Look for any credential whose AOR matches the From field. 
5.  Look for any credential whose user matches the User in the From field. 
6.  Any Digest Credential 


Revision 4010 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 19 03:54:17 2005 UTC (14 years, 8 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 10957 byte(s)
Diff to previous 3909
merged changes from b-teltel-20041118-invitesession 3484:HEAD into the trunk



Revision 3909 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 23 21:49:13 2005 UTC (14 years, 8 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 8402 byte(s)
Diff to previous 3613
fix for cnonce and handling redirects for non-invite requests

Revision 3613 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 24 01:03:05 2004 UTC (14 years, 11 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 8242 byte(s)
Diff to previous 3607
reverting back to revision 3604 due to missing checkin. 


Revision 3607 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 23 21:17:30 2004 UTC (14 years, 11 months ago) by sgodin
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 8392 byte(s)
Diff to previous 3449
first crack at mutltiple profiles/identities
memory management still needs work

Revision 3449 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 15 19:46:27 2004 UTC (15 years ago) by derek
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 8242 byte(s)
Diff to previous 3433
deal w/ stalte nonces

Revision 3433 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 2 18:02:55 2004 UTC (15 years ago) by jason
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 7086 byte(s)
Diff to previous 3430
reverting RESIP_ change to version 3429

Revision 3430 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 2 08:27:43 2004 UTC (15 years ago) by nash
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 7105 byte(s)
Diff to previous 3282
Changed MethodTypes with prefix "RESIP_" to avoid clashes with Borland #DEFINE keyword

Revision 3282 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 24 19:39:03 2004 UTC (15 years, 2 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 7086 byte(s)
Diff to previous 3220
auth fixes

Revision 3220 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 3 17:51:01 2004 UTC (15 years, 3 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 6884 byte(s)
Diff to previous 3216
fixed bool glitch that jason fixed but using header type rather than status code.

Revision 3216 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 3 06:03:08 2004 UTC (15 years, 3 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 6897 byte(s)
Diff to previous 3206
fix problem that was only sending UA authorizations (not proxy-auth)



Revision 3206 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 3 00:11:24 2004 UTC (15 years, 3 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 6885 byte(s)
Diff to previous 3172
New ClientAuthManager that caches authentications

Revision 3172 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 28 23:08:38 2004 UTC (15 years, 3 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 3325 byte(s)
Diff to previous 3164
debug





Revision 3164 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 28 19:15:47 2004 UTC (15 years, 3 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 3323 byte(s)
Diff to previous 3156
added debug


Revision 3156 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 27 21:17:55 2004 UTC (15 years, 3 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 3279 byte(s)
Diff to previous 3155
change many InfoLog to DebugLog


Revision 3155 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 27 18:00:59 2004 UTC (15 years, 3 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 3278 byte(s)
Diff to previous 3150
Vonage workaround; lazy to tag matching(option in Profile) Non-forking non-matching failure dispatch.
Refer/ServerSubscription bug fixes


Revision 3150 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 26 20:47:35 2004 UTC (15 years, 3 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 3119 byte(s)
Diff to previous 3070
interface change to support specifying more than one user/aor per DUM. 
interface change also to require specifying the From when creating new usages



Revision 3070 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 7 22:47:11 2004 UTC (15 years, 4 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 3156 byte(s)
Diff to previous 3026
CSEQ is now incremented in ClientAuthManager

Revision 3026 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 23 18:42:07 2004 UTC (15 years, 4 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 3112 byte(s)
Diff to previous 2985
ClientAuthManager is longer goes into loop on bad credentials.  

Revision 2985 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 14 04:40:48 2004 UTC (15 years, 5 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 2866 byte(s)
Diff to previous 2983
Log messages, New Transactions are created for ACK(200) and BYE, other little fixes.

Revision 2983 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 13 04:52:56 2004 UTC (15 years, 5 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 2585 byte(s)
Diff to previous 2896
many issues found as a result of the basic call test almost working

Revision 2896 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 31 15:22:26 2004 UTC (15 years, 5 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 2331 byte(s)
Diff to previous 2895
added some debug


Revision 2895 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 30 22:22:27 2004 UTC (15 years, 5 months ago) by alan
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 2246 byte(s)
Diff to previous 2888
temporary change

Revision 2888 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 30 21:48:52 2004 UTC (15 years, 5 months ago) by alan
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 2438 byte(s)
Diff to previous 2877
register test

Revision 2877 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 30 19:03:55 2004 UTC (15 years, 5 months ago) by alan
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 1397 byte(s)
Diff to previous 2875
adding REGISTER workflow

Revision 2875 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 30 18:58:05 2004 UTC (15 years, 5 months ago) by fluffy
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 1396 byte(s)
Diff to previous 2873
first cut at auth stuff

Revision 2873 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 30 18:08:05 2004 UTC (15 years, 5 months ago) by fluffy
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 322 byte(s)
Diff to previous 2851
wired in auth stuff

Revision 2851 - (view) (download) (annotate) - [select for diffs]
Added Sun May 30 02:49:41 2004 UTC (15 years, 5 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientAuthManager.cxx
File length: 217 byte(s)


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27