Hi  Torsten,

guess is :
   if (proto!=TLS) {
   }

see:
   http://openser.org/dokuwiki/doku.php?id=openser_core_cookbook#proto

regards,
bogdan


[EMAIL PROTECTED] wrote:

I searched for this function, but I didn't found it :-(
Knows anyone the correct code, not only pseudo-code?

Torsten

-----Ursprüngliche Nachricht-----
Von: Cesc [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 11. April 2006 14:03
An: Haupt, Thorsten
Cc: [email protected]
Betreff: Re: [Users] Allow only TLS connections

I think in openser there is a function to check what transport the message came 
in ... you can do something like:
if ( transport != TLS ) {
         send error to UA
         break;
}

Cesc

On 4/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello,

I use OpenSER in a testing environment for VoIP security. My clients connect via TLS. If I deactivate UDP/5060 on the server, it doesn't work correct. Some Clients can't connect and others can't establish calls. I read in another thread, that UDP is mandatory for SIP and that the server need it.

But how can I prevent users from connecting via UDP and force them to use TLS? I tried a firewall, blocking UDP and TCP on port 5060. But is this the correct way? Are there any parameters server-side to force users to connect via TLS?

Thanks for response.
Torsten
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users




_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to