new machine-id generated each wipri run to prevent tracking

master
RightToPrivacy 2022-11-13 17:31:29 -05:00
parent 27c69f34a8
commit d264d755d4
1 changed files with 9 additions and 0 deletions

9
wipri
View File

@ -165,6 +165,15 @@ if [ $kernmit == "on" ]; then
sudo sysctl -w net.ipv4.icmp_echo_ignore_all=1 >/dev/null
fi
# machine-id randomization (regenerated) each wipri run
# machine-id is a unique identifer that can (unnecessarily) be used for tracking
echo -e "${BLUE}Removing Old machine-id To Prevent Tracking...${ENDCOLOR}"
rm /etc/machine-id
echo -e "${BLUE}Generating New Unique machine-id...${ENDCOLOR}"
systemd-machine-id-setup && {
echo -e "${GREEN}New machine-id generated.${ENDCOLOR}
}
# Hostname randomization - generic yet random hostname chosen
# Feel free to edit these arrays: keep in mind defaults are named strategically for a random yet generic base