[Pidgin] #5482: SIMPLE Authentication Challenge

Pidgin trac at pidgin.im
Wed Apr 9 14:17:53 EDT 2008


#5482: SIMPLE Authentication Challenge
---------------------+------------------------------------------------------
Reporter:  shadowbu  |       Owner:  seanegan
    Type:  defect    |      Status:  new     
Priority:  minor     |   Component:  SIMPLE  
 Version:  2.3.1     |    Keywords:          
 Pending:  0         |  
---------------------+------------------------------------------------------
 Version: Pidgin 2.3.1-1.fc7

 Not sure it this is a defect, but I was attempting to register Pidgin
 against a SIP proxy server and when the proxy challenge the register,
 Pidgin is errors out to nounce challenge and respond with a nounce value
 of null.

 (11:26:01) account: Connecting to account gbtest4 at sipproxy.com
 (11:26:06) util: Writing file accounts.xml to directory
 /home/george/.purple
 (11:26:06) util: Writing file /home/george/.purple/accounts.xml
 (11:26:14) idle: Setting gbtest4 at sipproxy.com idle 171111 seconds
 (11:26:14) connection: Connecting. gc = 0x1313560
 (11:26:15) dnssrv: querying SRV record for _sip._udp.192.168.10.20
 (11:26:15) dnssrv: found 0 SRV entries
 (11:26:15) simple: using udp with server 192.168.10.20 and port 5060
 (11:26:15) dns: DNS query for '192.168.10.20' queued
 (11:26:15) dns: Created new DNS child 25320, there are now 1 children.
 (11:26:15) dns: Successfully sent DNS request to child 25320
 (11:26:15) dns: Got response for '192.168.10.20'
 (11:26:15) dnsquery: IP resolved for 192.168.10.20
 (11:26:15) network: Listening on port: 5061
 (11:26:17) network: Couldn't create UPnP mapping
 (11:26:17) network: Couldn't create UPnP mapping
 (11:26:17) stun: using server
 (11:26:17) stun: using server
 (11:26:17) simple:

 sending - Wed Apr  9 11:26:17 2008

 ######
 REGISTER sip:sipproxy.com SIP/2.0

 Via: SIP/2.0/UDP 192.168.10.8:5061;branch=z9hG4bK0C739E2A08AEB418CB8A

 From: <sip:gbtest4 at sipproxy.com>;tag=444616422;epid=1234567890

 To: <sip:gbtest4 at sipproxy.com>

 Max-Forwards: 10

 CSeq: 1 REGISTER

 User-Agent: Purple/2.3.1

 Call-ID: 6604g71D3a2F56i43BEm60FEtF2CAb9163x9649x

 Contact: <sip:gbtest4 at 192.168.10.8:5061;transport=udp>;methods="MESSAGE,
 SUBSCRIBE, NOTIFY"

 Expires: 900

 Content-Length: 0




 ######

 (11:26:17) simple:

 received - Thu Aug 20 07:04:16 1970

 ######
 SIP/2.0 100 Trying

 From: <sip:gbtest4 at sipproxy.com>;tag=444616422;epid=1234567890

 To: <sip:gbtest4 at sipproxy.com>

 Call-ID: 6604g71D3a2F56i43BEm60FEtF2CAb9163x9649x

 CSeq: 1 REGISTER

 Via: SIP/2.0/UDP 192.168.10.8:5061;branch=z9hG4bK0C739E2A08AEB418CB8A

 Content-Length: 0




 #######

 (11:26:17) simple: got trying response
 (11:26:17) simple:

 received - Thu Aug 20 07:04:16 1970

 ######
 SIP/2.0 407 Proxy Authentication Required

 From: <sip:gbtest4 at sipproxy.com>;tag=444616422;epid=1234567890

 To: <sip:gbtest4 at sipproxy.com>;tag=168151349

 Call-ID: 6604g71D3a2F56i43BEm60FEtF2CAb9163x9649x

 CSeq: 1 REGISTER

 Via: SIP/2.0/UDP 192.168.10.8:5061;branch=z9hG4bK0C739E2A08AEB418CB8A

 Supported:
 com.nortelnetworks.firewall,p-3rdpartycontrol,nosec,join,com.nortelnetworks.im.encryption

 Proxy-Authenticate: Digest
 realm="Realm",nonce="MTIwNzc1ODM3MTE0NzNlMzkzNDBlODBmNDdjYWI1NzNkZGUzY2NlMDBhODgw",stale=false,algorithm=MD5,qop="auth
 ,auth-int"

 Content-Length: 0




 #######

 (11:26:17) simple: nonce: (null) realm: Realm
 (11:26:17) g_log: purple_cipher_http_digest_calculate_session_key:
 assertion `nonce != NULL' failed
 (11:26:17) g_log: purple_cipher_http_digest_calculate_response: assertion
 `nonce != NULL' failed
 (11:26:17) simple: response (null)
 (11:26:17) simple:

 sending - Wed Apr  9 11:26:17 2008

 ######
 REGISTER sip:sipproxy.com SIP/2.0

 Via: SIP/2.0/UDP 192.168.10.8:5061;branch=z9hG4bK0C739E2A08AEB418CB8A

 From: <sip:gbtest4 at sipproxy.com>;tag=444616422;epid=1234567890

 To: <sip:gbtest4 at sipproxy.com>

 Max-Forwards: 10

 CSeq: 1 REGISTER

 User-Agent: Purple/2.3.1

 Call-ID: 6604g71D3a2F56i43BEm60FEtF2CAb9163x9649x

 Contact: <sip:gbtest4 at 192.168.10.8:5061;transport=udp>;methods="MESSAGE,
 SUBSCRIBE, NOTIFY"

 Expires: 900

 Content-Length: 0

 Proxy-Authorization: Digest username="gbtest4", realm="Realm",
 nonce="(null)", uri="sip:sipproxy.com", nc="00000001", response="(null)"




 ######

 (11:26:17) simple:

 received - Thu Aug 20 07:04:16 1970

 ######
 SIP/2.0 407 Proxy Authentication Required

 From: <sip:gbtest4 at sipproxy.com>;tag=444616422;epid=1234567890

 To: <sip:gbtest4 at sipproxy.com>;tag=168151349

 Call-ID: 6604g71D3a2F56i43BEm60FEtF2CAb9163x9649x

 CSeq: 1 REGISTER

 Via: SIP/2.0/UDP 192.168.10.8:5061;branch=z9hG4bK0C739E2A08AEB418CB8A

 Supported:
 com.nortelnetworks.firewall,p-3rdpartycontrol,nosec,join,com.nortelnetworks.im.encryption

 Proxy-Authenticate: Digest
 realm="Realm",nonce="MTIwNzc1ODM3MTE0NzNlMzkzNDBlODBmNDdjYWI1NzNkZGUzY2NlMDBhODgw",stale=false,algorithm=MD5,qop="auth
 ,auth-int"

 Content-Length: 0




 #######

 (11:26:17) simple: nonce: (null) realm: Realm
 (11:26:17) g_log: purple_cipher_http_digest_calculate_session_key:
 assertion `nonce != NULL' failed
 (11:26:17) g_log: purple_cipher_http_digest_calculate_response: assertion
 `nonce != NULL' failed
 (11:26:17) simple: response (null)
 (11:26:17) simple:

 sending - Wed Apr  9 11:26:17 2008

 ######
 REGISTER sip:sipproxy.com SIP/2.0

 Via: SIP/2.0/UDP 192.168.10.8:5061;branch=z9hG4bK0C739E2A08AEB418CB8A

 From: <sip:gbtest4 at sipproxy.com>;tag=444616422;epid=1234567890

 To: <sip:gbtest4 at sipproxy.com>

 Max-Forwards: 10

 CSeq: 1 REGISTER

 User-Agent: Purple/2.3.1

 Call-ID: 6604g71D3a2F56i43BEm60FEtF2CAb9163x9649x

 Contact: <sip:gbtest4 at 192.168.10.8:5061;transport=udp>;methods="MESSAGE,
 SUBSCRIBE, NOTIFY"

 Expires: 900

 Content-Length: 0

 Proxy-Authorization: Digest username="gbtest4", realm="Realm",
 nonce="(null)", uri="sip:sipproxy.com", nc="00000001", response="(null)"

-- 
Ticket URL: <http://developer.pidgin.im/ticket/5482>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list