<div dir="ltr">Hi Daniel,<div>Yes, that is exactly what's happening. And only when using TLS.</div><div>I have kamailio specifically setup to bind to eth0:0 so I have no idea how it's sending to eth0</div><div>Thanks,</div><div>V</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 6, 2015 at 8:26 AM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello,<span class=""><br>
    <br>
    looking at your initial email in this discussion, you said:<br>
    <br>
    "This works great except when I try using TLS, kamailio routes
    traffic from eth0:0 to eth0 then to correct destination"<br>
    <br></span>
    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?<br>
    <br>
    Cheers,<br>
    Daniel<div><div class="h5"><br>
    <br>
    <div>On 06/05/15 13:51, Vik Killa wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Do you do anything special in your kamailio config
        to handle the NIC aliases?</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, May 4, 2015 at 10:21 PM, Slava
          Bendersky <span dir="ltr"><<a href="mailto:volga629@networklab.ca" target="_blank">volga629@networklab.ca</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div>
              <div style="font-family:lucida console,sans-serif;font-size:12pt;color:#000000">
                <div>Hello Vik,<br>
                </div>
                <div>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.<br>
                </div>
                <div><br>
                </div>
                <div>Slava.<br>
                </div>
                <div><br>
                </div>
                <hr>
                <div><span><b>From: </b>"Vik Killa" <<a href="mailto:vipkilla@gmail.com" target="_blank">vipkilla@gmail.com</a>><br>
                    <b>To: </b>"sr-users" <<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>><br>
                  </span><b>Sent: </b>Monday, May 4, 2015 12:54:21 PM<br>
                  <b>Subject: </b>Re: [SR-Users] issue with TLS and 2
                  NIC interfaces<br>
                </div>
                <div>
                  <div>
                    <div><br>
                    </div>
                    <div>
                      <div dir="ltr">Are you having the same problem as
                        myself?<br>
                        Thanks,
                        <div>V</div>
                      </div>
                      <div class="gmail_extra"><br>
                        <div class="gmail_quote">On Fri, May 1, 2015 at
                          8:20 PM, Slava Bendersky <span dir="ltr"><<a href="mailto:volga629@networklab.ca" target="_blank">volga629@networklab.ca</a>></span>
                          wrote:<br>
                          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                            <div>
                              <div style="font-family:lucida console,sans-serif;font-size:12pt;color:#000000">
                                <div>Hello Vik,<br>
                                </div>
                                <br>
                                <div>I have similar setup, try define
                                  you server configuration in tls.cfg<br>
                                </div>
                                <br>
                                <div>[server:ip address of alias
                                  interface:port of alias interface]<br>
                                  method = TLSv1<br>
                                  verify_certificate = no<br>
                                  require_certificate = no<br>
                                  private_key = <br>
                                  certificate = <br>
                                  ca_list =<br>
                                  crl =<br>
                                </div>
                                <br>
                                <br>
                                <div>Slava<br>
                                </div>
                                <hr>
                                <div><b>From: </b>"Vik Killa" <<a href="mailto:vipkilla@gmail.com" target="_blank">vipkilla@gmail.com</a>><br>
                                  <b>To: </b>"sr-users" <<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>><br>
                                  <b>Sent: </b>Wednesday, April 29,
                                  2015 4:32:21 PM<br>
                                  <b>Subject: </b>[SR-Users] issue with
                                  TLS and 2 NIC interfaces<br>
                                </div>
                                <br>
                                <div>
                                  <div>
                                    <div>
                                      <div dir="ltr">Hello,
                                        <div>
                                          <div> if i have two interfaces
                                            (eth0 and eth0:0)</div>
                                          <div>I set kamailio to listen
                                            to the IP on eth0:0</div>
                                          <div>This works great except
                                            when I try using TLS,
                                            kamailio routes traffic from
                                            eth0:0 to eth0 then to
                                            correct destination</div>
                                          <br>
                                          <div>It should be just doing
                                            eth0:0 -> correct
                                            destination</div>
                                        </div>
                                        <br>
                                        <div>If I use UDP/TCP I am not
                                          seeing this behavior. </div>
                                        <div>If I set kamailio to listen
                                          to eth0 and remove eth0;0, TLS
                                          works fine.</div>
                                        <br>
                                        <div>I'm running kamailio
                                          compiled from source git
                                          master a few days ago.</div>
                                        <div>Is anyone else having this
                                          problem?</div>
                                        <div>I'm wondering if it's a
                                          bug.</div>
                                        <div>Thanks,</div>
                                        <div>V</div>
                                        <br>
                                      </div>
                                      <br>
                                    </div>
                                  </div>
_______________________________________________<br>
                                  SIP Express Router (SER) and Kamailio
                                  (OpenSER) - sr-users mailing list<br>
                                  <a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
                                  <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                                </div>
                              </div>
                            </div>
                            <br>
_______________________________________________<br>
                            SIP Express Router (SER) and Kamailio
                            (OpenSER) - sr-users mailing list<br>
                            <a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
                            <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                            <br>
                          </blockquote>
                        </div>
                        <br>
                      </div>
                      <br>
                      _______________________________________________<br>
                      SIP Express Router (SER) and Kamailio (OpenSER) -
                      sr-users mailing list<br>
                      <a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
                      <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
            mailing list<br>
            <a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
            <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    </div></div><span class="HOEnZb"><font color="#888888"><pre cols="72">-- 
Daniel-Constantin Mierla
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - <a href="http://www.kamailioworld.com" target="_blank">http://www.kamailioworld.com</a></pre>
  </font></span></div>

<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>