[asterisk-dev] IPv4 and IPv6 preference
Olle E. Johansson
oej at edvina.net
Mon Aug 9 09:57:19 CDT 2010
9 aug 2010 kl. 16.52 skrev Kevin P. Fleming:
> On 08/09/2010 09:33 AM, Simon Perreault wrote:
>> On 2010-08-09 10:27, Olle E. Johansson wrote:
>>> Now I get it, it doesn't show as listening to IPv4 in netstat on Linux. That's bad.
>>> So any app that listens to :: will get IPv4 too. I did not understand that.
>>
>> Thanks for the feedback. I just added a comment in sip.conf.sample that
>> hopefully makes things clearer.
>
> That's because netstat lists *open sockets*, and some information about
> those sockets. netstat was invented before there was the possibility of
> a single socket being able to handle multiple address families at once,
> and so its output does not have any way to show you the information you
> were looking for. I suppose it could list the socket twice... but then
> anyone relying on it for an actual socket count would be misled :-)
I am more worried about the generic security aspects of this. People are very used to
use "netstat" to just list and check the number of sockets and what they're listening
too. This will not only confuse this poor swede, but many other sysadmins.
/O
More information about the asterisk-dev
mailing list