Skip to content
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

Adsuck doesn't block sites and crashes after a few hours #2

Open
GiJOr33 opened this issue Oct 31, 2013 · 0 comments
Open

Adsuck doesn't block sites and crashes after a few hours #2

GiJOr33 opened this issue Oct 31, 2013 · 0 comments

Comments

@GiJOr33
Copy link

GiJOr33 commented Oct 31, 2013

Adsuck doesn't seem to be working because I can browse to www.anxo.com which is a black listed site. (I did a flushdns). I copied the resolv.conf file so it knows about the ISP DNS servers.

If I kill adsuck then I can't resolve any hostnames from my windows PC so it is being used to resolve DNS. When I enable adsuck again I get DNS back, but it's not blocking ad sites etc.

After a while I also notice that DNS stops working (can still ping 8.8.8.8) and I see these entries in the system log. Looks like adsuck crashes.

The first line was included to show the time that it loaded, and that number of entries were loaded.
The second entry I notice has weird time stamps as the adjacent log entries either side are hours after the cannot fork entry. I cut some of the log lines out because they were just repeated.
The third line is when I lose DNS. Only way to get it working is to kill adsuck and run it again

Oct 27 12:36:18 adsuck[2115]: total entries: 237974
Oct 28 07:13:31 adsuck[2115]: cannot fork: Cannot allocate memory
Oct 28 17:33:06 adsuck[2115]: can't convert wire packet to struct

I'm running adsuck with the following command:
adsuck -d -l 127.0.0.1 -c /opt/etc/adsuck -f resolv.conf -p 65053 -u admin Hosts.pub Hosts.trc Hosts.rsk

My dnsmasq.conf file points to the 127.0.0.1 on port 65053
Linux 2.6.22.19 #2 Thu Oct 3 00:36:10 EDT 2013 mips GNU/Linux

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

No branches or pull requests

1 participant