gowalk-cicd 1.0.193 → 1.0.194
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -138,7 +138,7 @@ def vpn_settings(containers, app, service, bridge):
|
|
|
138
138
|
if row['id'] != identifiers[0] or row['project'] != app or row['service'] != service:
|
|
139
139
|
raise NetworkFailure('network_scope_mismatch')
|
|
140
140
|
added = set(row['cap_add'] or [])
|
|
141
|
-
allowed = {'NET_ADMIN', 'NET_BIND_SERVICE', 'CHOWN', 'SETUID', 'SETGID'}
|
|
141
|
+
allowed = {'NET_ADMIN', 'NET_BIND_SERVICE', 'CHOWN', 'SETUID', 'SETGID', 'SETPCAP'}
|
|
142
142
|
safe = (row['privileged'] is False and row['network_mode'] == bridge['name']
|
|
143
143
|
and 'NET_ADMIN' in added and added.issubset(allowed)
|
|
144
144
|
and 'ALL' in (row['cap_drop'] or [])
|
package/docs/BACKEND_SSH_GATE.md
CHANGED
|
@@ -130,7 +130,7 @@ socket observations before returning. A changed or ambiguous observation refuses
|
|
|
130
130
|
- `namespace` reports local rootful Linux Docker, existing host forwarding, read-only XFRM/netfilter
|
|
131
131
|
availability and the selected bridge's observed masquerade rule. Existing VPN settings are observed only
|
|
132
132
|
for this app's exact service. `isolated_net_admin` requires that bridge, no privileged mode, dropping ALL,
|
|
133
|
-
only NET_ADMIN plus optional NET_BIND_SERVICE/CHOWN/SETUID/SETGID for bootstrap and privilege dropping,
|
|
133
|
+
only NET_ADMIN plus optional NET_BIND_SERVICE/CHOWN/SETUID/SETGID/SETPCAP for bootstrap and privilege dropping,
|
|
134
134
|
and namespace-only forwarding/redirect settings. This observes grants, not that a daemon actually dropped privileges.
|
|
135
135
|
An absent VPN reports `absent`; these observations do not test creating a namespace or applying capabilities.
|
|
136
136
|
- `firewall` reports observed INPUT/FORWARD policies and explicit UDP ACCEPT rules. Effective ingress
|