[SR-Users] listening at link local IPv6 address

Sergey Safarov s.safarov at gmail.com
Tue Apr 30 16:16:06 CEST 2019


That because to bind link local address need to define used NIC like

sipp -sn uas -i fe80::b951:ef1f:76c8:e5a2%eth0


On Tue, Apr 30, 2019 at 4:49 PM Juha Heinanen <jh at tutpro.com> wrote:

> Daniel-Constantin Mierla writes:
>
> > can you try with latest master and set the next global parameter?
> >
> > bind_ipv6_link_local=1
> >
> > Along with the usual listen on a link local ipv6 address.
> >
> > Let me know if it works.
>
> It worked at least with UDP.  I was not able to test with TCP or TLS.
> I tried TCP with sipp, but got error:
>
> $ sipp [fe80::6e29:95ff:fe7d:37e6] -p 5050 -m 1 -sf register.sipp -t t1 -i
> [fe80::6e29:95ff:fe7d:37e6] -p 5050 -m 1
>
>  Call-rate(length)   Port   Total-time  Total-calls  Remote-host
>   10.0(0 ms)/1.000s   0          0.00 s            0
> fe80::6e29:95ff:fe7d:37e6:5060(TCP)
> ...
> 2019-04-30      16:46:12.027044 1556631972.027044: Unable to bind main
> socket, errno = 22 (Invalid argument).
>
> telnet connects
>
> $ telnet -6 fe80::6e29:95ff:fe7d:37e6%wlp1s0 5060
> Trying fe80::6e29:95ff:fe7d:37e6%wlp1s0...
> Connected to fe80::6e29:95ff:fe7d:37e6%wlp1s0.
>
> so looks like K is properly listening also using tcp.
>
> -- Juha
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190430/3856ef91/attachment.html>


More information about the sr-users mailing list