You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 13, 2024. It is now read-only.
|`ECS_SKIP_LOCALHOST_TRAFFIC_FILTER`|<true | false>| By default, the ecs-init service adds an iptable rule to drop non-local packets to localhost if they're not part of an existing forwarded connection or DNAT, and removes the rule upon stop. If `ECS_SKIP_LOCALHOST_TRAFFIC_FILTER` is set to true, this rule will not be added/removed. | false |
27
27
|`ECS_ALLOW_OFFHOST_INTROSPECTION_ACCESS`|<true | false>| By default, the ecs-init service adds an iptable rule to block access to ECS Agent's introspection port from off-host (or containers in awsvpc network mode), and removes the rule upon stop. If `ECS_ALLOW_OFFHOST_INTROSPECTION_ACCESS` is set to true, this rule will not be added/removed. | false |
28
-
|`ECS_OFFHOST_INTROSPECTION_INTERFACE_NAME`|`eth0`| Primary network interface name to be used for blocking offhost agent introspection port access. By default, this value is `eth0`|`eth0`|
28
+
|`ECS_OFFHOST_INTROSPECTION_INTERFACE_NAME`|`eth0`| Primary network interface name to be used for blocking offhost agent introspection port access. By default, this value is the interface that handles the default route (`0.0.0.0/0`) in kernel routing table (`/proc/net/route`). If none could be found, we fall back to `eth0`| - (Resolved at runtime)|
29
29
30
30
The above environment variable(s) can be used in the following way
31
31
- On Amazon Linux 1, the flag `ECS_SKIP_LOCALHOST_TRAFFIC_FILTER` can be turned on by adding `env ECS_SKIP_LOCALHOST_TRAFFIC_FILTER=true` to /etc/init/ecs.conf.
0 commit comments