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

Mark,

On 4/30/20 04:15, Mark Thomas 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).
>
> There is no option I am aware of (before or after the AJP changes)
> that would allow listening on just 127.0.0.1 and ::1

Oh, duh. Yeah, I was thinking "all interfaces", not ust "all
localhost-y interfaces". Blank would work for "all".

>> I think the only practical way to do this would be to add
>> another attribute like bindOnAllInterfaces="true" where we ignore
>> the "address" attribute. Or maybe "address" always wins, but
>> bindOnAllInterfaces="false" is the default.
>
> I'm not a fan of another attribute unless we really have to.

bindOnAllInterfaces wouldn't be necessary (see above) but maybe
"bindOnAllLocalInterfaces" or something like that. It's not that hard
to (a) pick one or (b) configure two <Connector>s.

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

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl6rMqcACgkQHPApP6U8
pFgnyw/+LYpT5nw8niom6OQIKCwWtc8VsytgrYUqS0/3X0HRL71cHCiNJccsdUlA
KkaP/0a+swJQ9rMd+NPcFAU2xrfIsz0j3qeJZJufHdjShnEuJQ0i4QAYuD+RNp+p
aVibo27/Jx3jbfATQPepKKu16ddTgUwnZWSLS7SpKgMSCdUlh9STYP+juQ0coUGq
PTK4HukIirmC+olsbblwB3Vdc0UIF6mFnyDYKuS+OQHjfLj7yJhGXU2lwSgDzQ2a
woEt4+NUHwautfbqMR9hobUk2yoPOGjBRJjPHyIOhaVhCf5Sm4FGT6PsZO0Btrys
01RT+SFaavglSrPzq3seQ86c3yJ4HlLg6BttEJpGI2eXKP3EpEh0YgFXGN+/3mPD
hQdfZzrQLuQaTjh7YhN+kgNT0gdcvmuQ/9naEF9azjzMQVDGrDaNp9kDY0RrjV3C
ZYlh9+jlr+Wx6OmZeTEJgzbJjUHpxqSr9zudKMJqu3cOPWtO9oWAYMeGo0PQyYHG
XcGECyRUvsZi0vD8WGIuX8/N0gIS1p+B1/D4kUKHuhOP199V/gvjxKzYMe8rBCI8
GXHjzaj3oObWR9ygdsX/4XErqN1NUJ93z+XemHFL+wVRpEU+Xrga3b9bJAhvs921
rIPNlBkQANFJOqZZOr5q9yjV8gD4mktRBEC1PDLDKPgAwtjmnKY=
=XbuY
-----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