[Users] Secure SIP messages
klaus.mailinglists at pernau.at
Wed Jan 3 17:23:58 CET 2007
Steffen Witt wrote:
> I have a few questions about how to secure SIP messages...
> IPSec or TLS can be used to guarantee privacy, integrity and
> authenticity of transmitted data. But SIP is only payload/data for
> these protocols.
> Digest Authentication does only guarantee authenticity...
> S/MIME seems to be interesting but I don't know any implementation in
> a SIP client.
> My questions:
> - Is there any mechanism that prevents me from corrupting or faking
> SIP messages?
What do you want? Do you want to manipulate SIP messages or do you want
that nobody can manipulate your SIP messages?
> - Is it possible to create a kind of binding between the certificates
> used for TLS/IPSec and the SIP accounts?
Not for IPsec as IPsec is not in the application. Thus, the application
has no access to any IPsec settings - it even does not know if a message
is sent via IPsec or not.
Regarding TLS: Usually you use TLS for encryption and digest for
Using TLS certificates for clients is not that simple. You can't use
host certificates as the IP address and hostnames of the clients will
change. Thus, the TLS certificate must be for a sip URI (for details see
RFC 3261). Then you could use the pseudo variable exported by tlsops
module to compare the certificate parameter against the From: URI. This
will work for incoming requests, but not for outgoing requests (when you
want to compare the certificate name against the To or Request URI)
> Thanks for your answers...
> Best regards,
> Users mailing list
> Users at openser.org
More information about the sr-users