Skip to content

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

@GiJOr33

Description

@GiJOr33

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions