-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Martin,

On 4/30/20 05:02, Martin Grigorov wrote:
> Hi,
>
> On Thu, Apr 30, 2020 at 11:15 AM Mark Thomas <ma...@apache.org>
> wrote:
>
>> On 29/04/2020 18:11, Christopher Schultz wrote:
>>> Mark,
>>>
>>> On 4/28/20 13:33, Mark Thomas wrote:
>>>> On 28/04/2020 16:30, Satya Kishore Thumu wrote:
>>>>> Hi Chris, Post the Ghostcat changes tomcat now listens only
>>>>> on ipv4 by default, what if somebody is using on IPv6,
>>>>> Tomcat starts to listen on mapped IPv4 address which I
>>>>> think is not
>>>> correct.
>>>>> I know that we can use ::1 in IPv6. Is there a way tomcat
>>>>> can listen on both loopback addresses when
>>>> available.
>>>
>>>> Not that I am aware of with the Java API.
>>>
>>> I think we had discussed the possibility of looking for a
>>> "magic" value in the address="..." field to go back to the
>>> previous behavior. The problem is that any reasonable string
>>> you can choose can also be a valid hostname that should,
>>> arguably, be used to resolve the IP address of the interface
>>> (e.g. "localhost").
>>
>> There is the empty string. We could use that as equivalent to
>> the wildcard address (listen on all interfaces).
>>
>
> The suggestion we discussed few weeks back was to have a special
> value for "address" that would mean "localhost both IPv4 & IPv6",
> e.g. "tomcat:localhost". If this special value is used then Tomcat
> can create two Connector instances, one for 127.0.0.1 and another
> for ::1, and use the rest of the Connector settings for both of
> them.

Another option would be to have "addresses" instead of "address",
where we use comma-separated values for the interface IP addresses. I
don't believe a comma is valid in a hostname or IP address expression.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl6rMw0ACgkQHPApP6U8
pFgYgQ/8DquKg2LRoiF6GvS8hnmLUnQ7DuBeRSNPX4KZjDw7fkN8F/dV6Ko1ePVv
eIKL3gv/yLCWRJ0a0PSFueUij21n3LNVwTp5KlKyR6Qba4mwQRNbqyu1n7Wtwn0g
Fg1UerCKslLhu8IwXaHvt35zfuP012SAR3a1cJf5voV81Un90PQOGrPuMtZDeYau
T3crtPnFOMaKbVKjPW1G68U0hEVGMXfyU4DIg6tiH82Fnvs2d3PwAyddxRRSESXs
oPLqxIBRqQa2ElJaF1cBtYGDAlSdMp0XMYZSpuBtkXgz01SyoEDuGXeBehii1rju
IcO/GsAhmOM4VDCv2hurJp2zf5N/Wq5jUdbTmRtPtLhYHys/PabQof5zjVunovOh
Rfmmoej+xrkU6NS6HtIsEzb++A8/hVLROB09GpgAT6YgAyVCBi/aS1yxE4n4sxVt
JFqih7pNKfyuiX9AUgJPm5EtzveMbQPTJF9GatRysrNzZ7S91kvDGTQ5+6aKm5Ci
rlVvMT+2/5ztIkj7N0XmjGMMJwiwq4+T2PBJOk8FFOLwPzeec17QjtDwbtASheUu
ytnY1vYKYw2x1SGnGmsIxYXsFTlJKOirwSSAMg0IflUpQiCHz38K7hDRtzhdS+aW
E1sP5fmMh63d8Mw8v7YcFKYMr3Q/4Tt1pF9GBAM7paQeTfM5i38=
=9+mk
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to