Digest authentication

The Digest authentication is based on RFC 2617, HTTP Basic and Digest Access Authentication. Our objective in this chapter is to show the basics of a system with Digest authentication. It is not an answer to all the possible security problems with SIP, but it is certainly a good method to protect names and passwords traversing the network. The following figure shows how digest authentication works:

Digest authentication

The Digest scheme is a simple challenge-response mechanism. It challenges UA using a nonce value. A valid response includes a checksum of all the parameters. Thus, the password is never transmitted as simple text.

The authorization ...

Get Building Telephony Systems with OpenSIPS - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.