Page 1 of 2

PostPosted: Wed Jun 08, 2005 2:07 am
by Lightning
This package downloads two extra hosts files from
<a href='' target='_blank'></a>
<a href='' target='_blank'></a>

These two files are added to the /etc/hosts file and given the IP address of so that all clients connected to FREESCO's DNS server will not resolve the blacklisted URL's to a usable IP address.
This package can be only installed on hard drive or ramdrive installs of FREESCO because the hosts file is around 350K and uses 700K for the two hosts files and can use even more when updating even though the package is VERY small.
Code: Select all
version 1.11 has been removed

This package is updated multiple times, read the posts for the various details on updates and the release of version 1.7 is at the bottom.

PostPosted: Wed Jun 08, 2005 1:31 pm
by Stig
In /pkg/rc/rc_hosts

snarf <a href='' target='_blank'></a> /pkg/hosts.ssmedia
snarf <a href='' target='_blank'></a> /boot/hosts.ssmedia


snarf <a href='' target='_blank'></a> /pkg/hosts.mvps
snarf <a href='' target='_blank'></a> /boot/hosts.mvps

PostPosted: Wed Jun 08, 2005 5:26 pm
by Lightning
Sorry for that, I actually changed the primary directory to the /pkg directory on purpose so that the package will now run as a ramdrive package on a floppy as well. But I missed the two "sed" commands and it still worked on my dev machine because I still had the two files in the /boot directory.
The package is now fixed and updated on my web site.

PostPosted: Thu Jun 09, 2005 2:47 am
by Zedde
So I don't need to change the file as Stig posted ?

PostPosted: Thu Jun 09, 2005 4:03 am
by Marc

Great package. This realy is a usefull package. It adds security and helps safe surfing.
Installation and updating the files now works out of the box.
Lightning you did it again.

Not only the 03x series of Freesco was realized by Lightning but allso some of the most used and helpfull packages including the sound and mp3 packages that made me replace my stereo by a Freesco box.

Lightning you are my ultimate freesco guru, I am not worthy, I am not worthy.
My humble respect, thanks and congratulations to Lightning who keeps to amaze me.


PostPosted: Thu Jun 09, 2005 7:01 pm
by Lightning
So I don't need to change the file as Stig posted ?

That is correct, if you installed before I posted the reply that it was fixed then just reinstall it.

Marc, I am not sure that I have ever recieved such a compliment. All I can say is THANKS for the post and it is apreciated. :D

PostPosted: Thu Jul 14, 2005 11:49 am
by Lightning
The 1.1 version of the hosts package has now been updated to resolve some specific bugs as well as inprove functionality. There has also been a stop command added, so that if for some reason a banned site really has to be accessed you can use "
rc_hosts stop" from the command line. There has also been control added for the hosts package into the control panel with the buttons stop, start, update, view hosts which will display the hosts file and you can browse what sites are actually banned. The package has also been modified so that it can run as a ramdrive package. This package can be installed with
Code: Select all
 Version hosts-1.5-lightning has been removed

PostPosted: Wed Mar 15, 2006 9:33 am
by effo
I just realized that the 1.2 version is replaced with 1.3 (by reading <a href='' target='_blank'>this thread</a>). But I can find no release announcement for the new version. Maybe the URL in the above post should be updated to reflect the new version? Then this post can be removed.

PostPosted: Wed Mar 15, 2006 11:28 pm
by Lightning
To many other irons in the fire and in reality version 1.3 was to fix some minor bugs introduced in version 1.2 as well as to make it completely compatible with all versions of the 03x series including the upcoming FREESCO v0.3.5. I have updated the above install link.

PostPosted: Tue Apr 18, 2006 8:53 am
by Unregistered
The FreeSCO mirrors are out-of-date. They still host version 1.1 that requires patching. They do not have a link to Lightning's web site with current, working package (v1.5 as of this writing):
<a href='' target='_blank'></a>

Great package. Thanks.

PostPosted: Tue Apr 18, 2006 9:44 am
by Lightning
It can take a while for updates to be posted on FREESCOsoft and the package was submitted for update when it was created, although this post was not.

Version 1.5 of the hosts package was to make the package completely compatible for all versions of FREESCO 032+ as well as being able to install and run properly as a ramdisk package. The above link has been changed to reflect the new package.

PostPosted: Tue Jun 06, 2006 5:05 pm
by spaceman
what is the max file size for hosts ??

PostPosted: Wed Jun 07, 2006 3:04 am
by Lightning
what is the max file size for hosts ??

That is a very good question and if you find the answer let us know. <_<

However I am not really certain there is a maximum size. But be aware that the larger it becomes means the longer it takes for every single DNS lookup. I know that on a reasonably fast machine the stock hosts package adds about a half of a second to each lookup. Which isn't terribly noticable, but it is noticable. So my thinking would be that if the file gets out of hand size wise it could cause delays that would not be acceptible.

PostPosted: Wed Jun 07, 2006 4:10 am
by Zedde

I know Stig has tried with larger files ~18MB. He changed so the host file was in the ram to make it go faster. He changed the ram drive too.


PostPosted: Wed Jun 07, 2006 12:29 pm
by Stig
I have modify rc_host (hosts-1.5-lightning) an i use <a href='' target='_blank'>32 MB RAM</a>

My blacklist <a href='' target='_blank'></a>

sorry my englisch :blush1: