[Asterisk-Users] chan_sip + MD5 encryption: WARNING Format for authentication entry is user[:secret]@realm

Olle E. Johansson oej at edvina.net
Sat Jun 4 07:16:04 MST 2005


kleis-asterisk-dev at tiscali.it wrote:
> Hi all!
> 
> So far I've always used plaintext passwords for SIP, but now I've decided
> to use MD5 encryption.
> 
> For each client I edited its section as follows, then:
> 
> auth=md5
> md5secret=hashed_passwd
> ;secret=plaintext_passwd
> 
> where hashed_passwd is the output of
> 
> echo -n "user:realm:plaintext_passwd" | md5sum
> 
> 
> When the first SIP clients registers with Asterisk after a "sip reload" the
> following warning is logged:
> 
> Jun  4 12:47:12 WARNING[11389]: chan_sip.c:9601 add_realm_authentication:
> Format for authentication entry is user[:secret]@realm at line 0
> 
> First of all, let me say that the client correctly registers. However, I
> know that something changed in chan_sip ( http://voip-info.org/wiki-Asterisk+SIP+chan_sip2
> ), so I think I should consider how to eliminate that warning. Do you have
> any idea about, please?
> 
Plaintext passwords is *not* used in SIP at all, so auth= is used for
realm based authentication. Please check the sip.conf.sample in CVS head
distribution and remove the auth= option.

/Olle





More information about the asterisk-users mailing list