Hi Daniel,
Yes, that is exactly what's happening. And only when using TLS.
I have kamailio specifically setup to bind to eth0:0 so I have no idea how it's sending to eth0
Thanks,
V

On Wed, May 6, 2015 at 8:26 AM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
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@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@gmail.com>
To: "sr-users" <sr-users@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@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@gmail.com>
To: "sr-users" <sr-users@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@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@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@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@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@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

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users