RAQCOP = IPCop + Cobalt Raq, Cobalt Raq Firewall Applicance Software, Velociraptor Software Upgrade.
      Home      How To Install      Rom Flash      Download Area      Support Forum     
Making URLfilter easier on FLASH installations.
raqcop.com
February 07, 2012, 06:45:15 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Making URLfilter easier on FLASH installations.  (Read 618 times)
Davesworld
Administrator
Sr. Member
*****
Posts: 282


I'm the same Dave who patches and compiles raqcop.


View Profile WWW
« on: October 22, 2010, 12:32:27 AM »

As a long time user of URLfilter as well as a big fan of Raqcop or IPCop FLASH installations I never liked how the urlfilter definitions update thrashed the flash drive for nearly an hour as it updates the databases for each definition category. This made me think, since the /tmp directory on flash installs is in a ram disk rather than on the physical flash drive and the download and database updates are done in a separate folder than the actual /var/ipcop/urlfilter/blacklists so it made sense to have all the thrashing done in a ramdisk (memory) and then copied to blacklists AFTER all the heavy work was finished.

I found that by editing /var/ipcop/urlfilter/bin/autoupdate.pl line 14 to:

my $target = "/tmp/download";

It takes just under 5 minutes to update the databases and then copy the new blacklists folder to /var/ipcop/urlfilter and you do not see your delicate flash drive being pounded for 45 minutes or so. I now allow mine to autoupdate daily but may back that down to a week or longer depending if I see many changes in the course of a week. I use Shalla Services as my choice.

A while back I did email Marco about using /tmp in IPCop 2 since ALL installations of IPCop 2, flash or disk, mount /tmp using TMPFS so ram would be used for the heavy lifting during definitions updates as I have done with a Raqcop flash install. I believe he is at least considering it but I'm sure there are greater priorities at the moment.
Logged

Main Daily Firewall: Cobalt Raq 4i modded to use a low voltage K6-III 1.8v 256k cache 500mhz clocked at 550mhz, VFD display. Raqcop 1.4.21
 
Others: One additional 4i for development left stock and two Symantec Velociraptor 500's with the 550mhz low voltage processor mod. Raq550, Two Raq XTR units

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!