Hosts Package (aka Adblocker) Rc_dns Problem ...

Support section for FREESCO v0.3.x 3rd Party Packages

Postby dilberts_left_nut » Tue Feb 26, 2008 5:00 am

I have done a hatchet job on Lightning's hosts package (1.7) to add the ability to add/remove/view "includes" to the control panel.

In the same way you can add "excludes" but for sites you want to "ban" and will survive an update.

It creates a hosts.include file and copies it into the hosts file after dns.cfg and before hosts.dnld

I will not attempt to make a pkg ( I had enough trouble tar-ing the files ;) )

The tar is here <a href='http://gorillaville.dyndns.org/Host_Includes.tar' target='_blank'>http://gorillaville.dyndns.org/Host_Includes.tar</a>

You will need to manually put the files in the right places (and backup your original rc_hosts file - this is the only file changed - the rest go in Addons/Hosts).

PS. This may or may not work as advertised, I just made it work on my system and there is NO WARRANTY, express or implied :D
User avatar
dilberts_left_nut
Member
 
Posts: 71
Joined: Thu Sep 02, 2004 8:25 am
Location: Christchurch, NZ

Postby bob selby » Sat Mar 01, 2008 7:48 pm

Lightning wrote: Actually the system it's self has this capability. Just go into the advanced setup and under the DNS server just use the export services option and add any site you want into it with an ip of 0.0.0.0 something like

0.0.0.0 (TAB) annouying-site.com


Once you are finished just use

rc_dns restart

and that site will no longer be accessible by it's name and the hosts update will no longer remove it.

Thanks Lightning - worked a treat.
Bob
bob selby
Advanced Member
 
Posts: 295
Joined: Wed Nov 21, 2001 8:18 am
Location: London, UK

Postby Breazel » Mon Sep 29, 2008 8:57 am

I'm sorry, but link to
pkg -i <a href='http://lewys-spot.dyndns.org/packages/0.3.x/hosts-1.6-lightning' target='_blank'>http://lewys-spot.dyndns.org/packages/0.3....s-1.6-lightning</a>

don't work now.

Where also we can find it?
User avatar
Breazel
Junior Member
 
Posts: 30
Joined: Tue Mar 29, 2005 12:27 am

Postby dingetje » Mon Sep 29, 2008 1:43 pm

Try:

Code: Select all
pkg -i http://lewys-spot.dyndns.org/packages/0.3.x/hosts-1.7-lightning
GreetZ
http://dingetje.homeip.net

"Software is like sex: it's better when it's free." - LINUS TORVALDS
User avatar
dingetje
FREESCO GURU !!
 
Posts: 1004
Joined: Wed Nov 14, 2001 12:13 pm
Location: The Netherlands

Previous

Return to 3rd Party Package Support for FREESCO v0.3.x

Who is online

Users browsing this forum: No registered users and 2 guests

cron