[
https://issues.apache.org/jira/browse/KNOX-2779?focusedWorklogId=794504&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-794504
]
ASF GitHub Bot logged work on KNOX-2779:
----------------------------------------
Author: ASF GitHub Bot
Created on: 23/Jul/22 14:27
Start Date: 23/Jul/22 14:27
Worklog Time Spent: 10m
Work Description: nanhuirong commented on PR #613:
URL: https://github.com/apache/knox/pull/613#issuecomment-1193134189
> @nanhuirong - we need to get unit tests to insure that previous behavior
with only one in the list and new behavior with multiples work as expected and
do not regress in the future.
@lmccay - We need two network cards for this config and can't assume
another ip. Thus, I just test the gateway.host properties.
Issue Time Tracking
-------------------
Worklog Id: (was: 794504)
Time Spent: 20m (was: 10m)
> support multiple hosts for gateway.host config
> ----------------------------------------------
>
> Key: KNOX-2779
> URL: https://issues.apache.org/jira/browse/KNOX-2779
> Project: Apache Knox
> Issue Type: Improvement
> Reporter: nanhuirong
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Knox may dispatch requests from multiple services and must listen on 0.0.0.0
> if the request is not on the same plane. For example, host A has three
> network adapters and only two adapters receive requests, we must config
> 0.0.0.0 for gateway.host, Thus, the knox servive may has security issues.
>
> I think that we can expose multiple hosts for gateway.host as follows:
> <property>
> <name>gateway.host</name>
> <value>ip1,ip2...</value>
> </property>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)