[SR-Users] listening at link local IPv6 address

Juha Heinanen jh at tutpro.com
Tue Apr 30 15:49:03 CEST 2019


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



More information about the sr-users mailing list