Block firefox telemetry
This commit is contained in:
parent
0b015cf2ce
commit
95453f8205
|
@ -47,6 +47,22 @@ function save_firewall_settings {
|
|||
fi
|
||||
}
|
||||
|
||||
function block_firefox_telemetry {
|
||||
# This shouldn't be needed on a server, but we'll do it anyway
|
||||
# to be on the safe side
|
||||
# Within firefox source code see submit_telemetry_data.py
|
||||
|
||||
FIREFOX_TELEMETRY_IP='52.88.27.118'
|
||||
|
||||
if grep "$FIREFOX_TELEMETRY_IP" /etc/firewall.conf; then
|
||||
return
|
||||
fi
|
||||
|
||||
iptables -A INPUT -s $FIREFOX_TELEMETRY_IP -j DROP
|
||||
iptables -A OUTPUT -s $FIREFOX_TELEMETRY_IP -j DROP
|
||||
save_firewall_settings
|
||||
}
|
||||
|
||||
function firewall_block_bad_ip_ranges {
|
||||
if [ "$INSTALLING_MESH" ]; then
|
||||
return
|
||||
|
|
|
@ -720,6 +720,9 @@ function setup_firewall {
|
|||
function_check configure_firewall
|
||||
configure_firewall
|
||||
|
||||
function_check block_firefox_telemetry
|
||||
block_firefox_telemetry
|
||||
|
||||
function_check configure_firewall_ping
|
||||
configure_firewall_ping
|
||||
|
||||
|
|
Loading…
Reference in New Issue