Disable Network Prediction
An XCCDF Rule
Description
To disable the network prediction feature, setDnsPrefetchingEnabled
to false
in the Chromium policy file.
Rationale
This controls not only DNS prefetching but also TCP and SSL preconnection and prerendering of web pages.
- ID
- xccdf_org.ssgproject.content_rule_chromium_disable_network_prediction
- Severity
- Unknown
- References
- Updated
Remediation Templates
A Shell Script
if ! grep -q DnsPrefetchingEnabled /etc/chromium/policies/managed/chrome_stig_policy.json; then
sed -i -e '/{/a \ "'DnsPrefetchingEnabled'": 'false',' /etc/chromium/policies/managed/chrome_stig_policy.json
else
sed -i -e 's/\"'DnsPrefetchingEnabled'.*/\"'DnsPrefetchingEnabled'\": 'false',/g' /etc/chromium/policies/managed/chrome_stig_policy.json
fi