Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

HOSTS file getting messed up with 2.2 #44

Closed
RowanDDR opened this issue Aug 24, 2015 · 5 comments
Closed

HOSTS file getting messed up with 2.2 #44

RowanDDR opened this issue Aug 24, 2015 · 5 comments
Assignees
Labels

Comments

@RowanDDR
Copy link

When I ran 2.2, it appeared to delete existing lines in my HOSTS file!

Like a lot of people I get my HOSTS file from here: http://winhelp2002.mvps.org/hosts.htm (it blocks loads of adverts etc).

After running your run.exe, all the hundreds of lines from the MVPS HOSTS file are now deleted!

e.g.

# [1&1 Internet][AS8560][195.20.243.0 - 195.20.255.255]
0.0.0.0 madclient.uimserv.net

has now become just this:

# [1&1 Internet][AS8560][195.20.243.0 - 195.20.255.255]

@10se1ucgo
Copy link
Owner

Unreadable. Provide me a download to your hosts file so I can attempt to recreate this.

@RowanDDR
Copy link
Author

I'm not just using hosts file to block ads, I'm using it to block programs that call home too. Windows 10 isn't the only one.

The hosts file can be downloaded from the link I provided. It is this:
http://winhelp2002.mvps.org/hosts.txt

Thanks for looking into this and creating this program by the way!

@RowanDDR RowanDDR reopened this Aug 24, 2015
@10se1ucgo
Copy link
Owner

OK, confirmed that its broken.

I believe it has to do with my program erasing every line that begins with 0.0.0.0 for some odd reason, I'm looking into it now.

@10se1ucgo 10se1ucgo added the bug label Aug 24, 2015
@10se1ucgo 10se1ucgo self-assigned this Aug 24, 2015
@10se1ucgo
Copy link
Owner

Ahhh, I'm an idiot.

I added 0.0.0.0 to the list, and forgot to exclude it in the reversion process, so it assumed everything with 0.0.0.0 was a tracking domain added by my program. I'll be pushing a fix soon.

@10se1ucgo
Copy link
Owner

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants