New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement request regarding /etc/hosts file in Qubes OS R3.2 #2979

Closed
MarkRijckenberg opened this Issue Aug 5, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@MarkRijckenberg

MarkRijckenberg commented Aug 5, 2017

Qubes OS version (e.g., R3.2):

R3.2

Affected TemplateVMs (e.g., fedora-23, if applicable):

fedora-25

Affected NetVM :

sys-net

Expected behavior:

Expect to see 1 MB /etc/hosts file in sys-net NetVM and fedora-25 templateVM to block malware sites.

Actual behavior:

Almost empty /etc/hosts file in sys-net NetVM and fedora-25 templateVM

Steps to reproduce the behavior:

General notes:

I suggest adding the following bash script into the Fedora template builder scripts:

#################################################################

install new secure /etc/hosts file to block malware websites

#################################################################
LogDay=date -I
cd
sudo rm -rf hosts
sudo cp /etc/hosts /etc/hosts.$LogDay.backup
git clone https://github.com/StevenBlack/hosts.git
cd hosts
sudo python3 updateHostsFile.py -a -r
sudo chmod 444 /etc/hosts


Related issues:

None

@marmarek

This comment has been minimized.

Show comment
Hide comment

@marmarek marmarek closed this Aug 5, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment