[SR-Users] issue with TLS and 2 NIC interfaces

Daniel-Constantin Mierla miconda at gmail.com
Wed May 6 14:26:09 CEST 2015


Hello,

looking at your initial email in this discussion, you said:

"This works great except when I try using TLS, kamailio routes traffic
from eth0:0 to eth0 then to correct destination"

Does that mean you see a connection from eth0:0 to eth0, so kamailio is
receiving the SIP traffic again and they is forwarding to the destination?

Cheers,
Daniel

On 06/05/15 13:51, Vik Killa wrote:
> Do you do anything special in your kamailio config to handle the NIC
> aliases?
>
> On Mon, May 4, 2015 at 10:21 PM, Slava Bendersky
> <volga629 at networklab.ca <mailto:volga629 at networklab.ca>> wrote:
>
>     Hello Vik,
>     I don't have same problem it works fine for me, but I have same
>     setup on public side where multiply aliases on interface is involved.
>
>     Slava.
>
>     ------------------------------------------------------------------------
>     *From: *"Vik Killa" <vipkilla at gmail.com <mailto:vipkilla at gmail.com>>
>     *To: *"sr-users" <sr-users at lists.sip-router.org
>     <mailto:sr-users at lists.sip-router.org>>
>     *Sent: *Monday, May 4, 2015 12:54:21 PM
>     *Subject: *Re: [SR-Users] issue with TLS and 2 NIC interfaces
>
>     Are you having the same problem as myself?
>     Thanks,
>     V
>
>     On Fri, May 1, 2015 at 8:20 PM, Slava Bendersky
>     <volga629 at networklab.ca <mailto:volga629 at networklab.ca>> wrote:
>
>         Hello Vik,
>
>         I have similar setup, try define you server configuration in
>         tls.cfg
>
>         [server:ip address of alias interface:port of alias interface]
>         method = TLSv1
>         verify_certificate = no
>         require_certificate = no
>         private_key =
>         certificate =
>         ca_list =
>         crl =
>
>
>         Slava
>         ------------------------------------------------------------------------
>         *From: *"Vik Killa" <vipkilla at gmail.com
>         <mailto:vipkilla at gmail.com>>
>         *To: *"sr-users" <sr-users at lists.sip-router.org
>         <mailto:sr-users at lists.sip-router.org>>
>         *Sent: *Wednesday, April 29, 2015 4:32:21 PM
>         *Subject: *[SR-Users] issue with TLS and 2 NIC interfaces
>
>         Hello,
>          if i have two interfaces (eth0 and eth0:0)
>         I set kamailio to listen to the IP on eth0:0
>         This works great except when I try using TLS, kamailio routes
>         traffic from eth0:0 to eth0 then to correct destination
>
>         It should be just doing eth0:0 -> correct destination
>
>         If I use UDP/TCP I am not seeing this behavior. 
>         If I set kamailio to listen to eth0 and remove eth0;0, TLS
>         works fine.
>
>         I'm running kamailio compiled from source git master a few
>         days ago.
>         Is anyone else having this problem?
>         I'm wondering if it's a bug.
>         Thanks,
>         V
>
>
>         _______________________________________________
>         SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
>         mailing list
>         sr-users at lists.sip-router.org
>         <mailto:sr-users at lists.sip-router.org>
>         http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>         _______________________________________________
>         SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
>         mailing list
>         sr-users at lists.sip-router.org
>         <mailto:sr-users at lists.sip-router.org>
>         http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>     _______________________________________________
>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>     list
>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>     _______________________________________________
>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>     list
>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150506/22f4aa86/attachment.html>


More information about the sr-users mailing list