Am 07/15/15 um 21:05 schrieb Maurice McCarthy: > On Wed, Jul 15, 2015 at 08:25:03PM +0200 or thereabouts, Stefan Wollny wrote: >> Hi misc@! >> >> [Running i386/current: OpenBSD 5.8-beta (GENERIC.MP) #1026] >> >> I have been using adsuck for some time now - at least I thought so. >> Today I dared to read /usr/local/share/doc/pkg-readmes/adsuck-2.5.0p >> only to find out that apparently I need to add the following line to my >> /etc/dhclient.conf: >> script "/usr/local/sbin/dhclient-adsuck"; >> because "this script will prevent from using /etc/resolv.conf to resolve >> non-blacklisted entries but use /var/adsuck/files/resolv.conf instead." >> >> I did so, getting the following error: >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> /etc/dhclient.conf line 12: expecting a statement. >> script >> ^ >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > > The script no longer exists in base so the pkg-readme is out of date. Don't > use adsuck so cannot help further. There will be a way to use it though so I > guess it is matter of sussing out for yourself how it is supposed to work. > Either that or paste hosts.small (for example) into /etc/hosts > > M > @ Maurice, @ Erwin
thanks for caring and taking your time! >From what I have learned from this thread is that the 'dhclient-adsuck'-script is deprecated for a looong time now and the readme should be updated. Being cautious I had immediately removed 'adsuck' from 'pkg_scripts' in /etc/rc.conf.local and copied hosts.small to /etc/hosts. Interestingly there was no noticable difference in speed or blocked ads compared to running adsuck. Is it on OpenBSD over-hyped??? Thanks again, STEFAN

