diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-10-30 20:42:42 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-10-30 20:42:42 +0000 |
commit | 19298380ae51078a6d24cf52d5fcf2a094e922dd (patch) | |
tree | c13472d6baa12a26b2427a040b642a7524fa6aa2 /extensions/libxt_owner.txlate | |
parent | d1a0d9dc58c7d5ef2d9a8f60de33c2c050815cc2 (diff) | |
parent | 2f7a7bc2876128cb8af139be42a18ae15fa6c4d9 (diff) | |
download | iptables-19298380ae51078a6d24cf52d5fcf2a094e922dd.tar.gz |
Snap for 11024862 from 2f7a7bc2876128cb8af139be42a18ae15fa6c4d9 to simpleperf-release
Change-Id: I94d06f2386e756498739362a6a1cadd91b42a061
Diffstat (limited to 'extensions/libxt_owner.txlate')
-rw-r--r-- | extensions/libxt_owner.txlate | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libxt_owner.txlate b/extensions/libxt_owner.txlate index 86fb0585..8fbd68eb 100644 --- a/extensions/libxt_owner.txlate +++ b/extensions/libxt_owner.txlate @@ -1,8 +1,8 @@ iptables-translate -t nat -A OUTPUT -p tcp --dport 80 -m owner --uid-owner root -j ACCEPT -nft add rule ip nat OUTPUT tcp dport 80 skuid 0 counter accept +nft 'add rule ip nat OUTPUT tcp dport 80 skuid 0 counter accept' iptables-translate -t nat -A OUTPUT -p tcp --dport 80 -m owner --gid-owner 0-10 -j ACCEPT -nft add rule ip nat OUTPUT tcp dport 80 skgid 0-10 counter accept +nft 'add rule ip nat OUTPUT tcp dport 80 skgid 0-10 counter accept' iptables-translate -t nat -A OUTPUT -p tcp --dport 80 -m owner ! --uid-owner 1000 -j ACCEPT -nft add rule ip nat OUTPUT tcp dport 80 skuid != 1000 counter accept +nft 'add rule ip nat OUTPUT tcp dport 80 skuid != 1000 counter accept' |