[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/46758: mdnsd uses the IP address 18.104.22.168
>Synopsis: mdnsd uses the IP address 22.214.171.124
>Arrival-Date: Mon Jul 30 22:50:00 +0000 2012
>Originator: Lloyd Parkes
NetBSD bob64 6.0_BETA2 NetBSD 6.0_BETA2 (GENERIC) #0:... (in a VM, no cut and
mdnsd tries to build a UDP connection to 126.96.36.199:1 in order to determine the
local IP address. Even though this particular code generates no IP traffic, the
use of the address 188.8.131.52 is wrong. That's a public IP address that can't be
issued because there is so much software that uses it as a dummy address and we
don't need to be part of the problem.
Also, maybe replace the use of UDP port 1 (tcpmux) with UDP port 7 (echo) might
also be better style.
Run mdnsd with no IPv4 interfaces configured and ask yourself how 184.108.40.206 got
into the "connection failed" error message that you see.
An address from the TEST-NET-2 range is more appropriate. This range is
publicly routable and listed as "addresses within this block do not
legitimately appear on the public Internet and can be used without any
coordination with IANA or an Internet registry", which in turn means that we
can use and it will trigger all the normal kernel routing machinery we need it
198.51.100.42 is a good number to use.
The IP address change needs to be made in:
and the port number change needs to be made in:
Main Index |
Thread Index |