Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 2020 19:54:37 +0200
From:      Michael Tuexen <tuexen@freebsd.org>
To:        Ian Lepore <ian@freebsd.org>
Cc:        "bergerkos@yahoo.co.uk" <bergerkos@yahoo.co.uk>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   =?utf-8?B?UmU6INCSINC+0YLQstC10YIg0L3QsDogdm5jIGNhbid0IGNvbm5l?= =?utf-8?B?Y3QgdG8gc29ja2V0?=
Message-ID:  <E9CA2FDE-0F7E-47C8-BB3B-F00F2E471DF3@freebsd.org>
In-Reply-To: <ae6c2e2856e1e7193026c01821571d7f17e3d0f5.camel@freebsd.org>
References:  <1559644055.2429905.1592721641280.ref@mail.yahoo.com> <1559644055.2429905.1592721641280@mail.yahoo.com> <1749874720.2583691.1592742539717@mail.yahoo.com> <5035A0D1-BF25-4483-BD52-75944EBBEF8E@freebsd.org> <ae6c2e2856e1e7193026c01821571d7f17e3d0f5.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 21. Jun 2020, at 19:40, Ian Lepore <ian@freebsd.org> wrote:
>=20
> On Sun, 2020-06-21 at 14:54 +0200, Michael Tuexen wrote:
>>> On 21. Jun 2020, at 14:28, Kostya Berger <bergerkos@yahoo.co.uk>
>>> wrote:
>>>=20
>>> Ok, it turns out, it gives the previously mentioned error only if I
>>> use VNC server string 0.0.0.0:5900 (as I always did). in my VNC
>>> client.But when replaced with127.0.0.1:5900it connects all right.
>>=20
>> I don't hink 0.0.0.0 is a valid destination address you can use in
>> connect(). Using 127.0.0.1 should
>> be fine.
>>=20
>> I guess, https://svnweb.freebsd.org/changeset/base/361752 is the
>> relevant commit here.
>>=20
>=20
> *BSD has always accepted 0 as a synonym for localhost (and iirc, linux
> does not).  If this no longer works, it's a regression which is going
> to cause existing applications and scripts to fail.  At the very least
> it deserves an entry in UPDATING.
Hmm. 0.0.0.0 is a wildcard address, meaning any of my local addresses.
I do understand how that works for binding a TCP socket you will be
listening on. It just means accept TCP connections on all addresses.
The destination address of the incoming SYN segment will determine which
one to use. However, which of the local addresses should be used
when calling connect() with 0.0.0.0? How should this choice be made?

Best regards
Michael
>=20
> -- Ian
>=20
>> Best regards
>> Michael
>>> =D0=9E=D1=82=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=BE =D0=B8=D0=
=B7 Yahoo =D0=9F=D0=BE=D1=87=D1=82=D1=8B =D0=B4=D0=BB=D1=8F Android=20
>>>=20
>>> =D0=B2=D1=81, 21 =D0=B8=D1=8E=D0=BD. 2020 =D0=B2 9:40 Kostya =
Berger<bergerkos@yahoo.co.uk>
>>> =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(-=D0=B0):   Hi,upgraded =
to 362292 via buildworld.Now I cannot
>>> connect to my bhyve guest as I used to: neither via VNC nor via
>>> RDP.VNC gets error: unable to connect the socket. Address family
>>> not supported by protocol family (47).
>>> Neither can I ping my bhyve IP (it uses a separate NIC and should
>>> have no problems)
>>> Internet connectivity is ok and I can ping other hosts on my
>>> network.
>>> In 359997 all works fine.
>>> =D0=9E=D1=82=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=BE =D0=B8=D0=
=B7 Yahoo =D0=9F=D0=BE=D1=87=D1=82=D1=8B =D0=B4=D0=BB=D1=8F Android =20
>>> _______________________________________________
>>> freebsd-current@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to "
>>> freebsd-current-unsubscribe@freebsd.org"
>>=20
>> _______________________________________________
>> freebsd-current@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "
>> freebsd-current-unsubscribe@freebsd.org"
>>=20
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E9CA2FDE-0F7E-47C8-BB3B-F00F2E471DF3>