> 1.) Do I need to apply the diffs? No.
> For example there is a domains file > within the porn directory along with > many diff files. The domains and urls files in the blacklists archive are complete and up to date. Those diff files are meant to document the changes that were made to the domains and urls files on the dates indicated. I think the idea was to allow you to update your blacklists by applying the diff files since you last updated. (Huh?) Let me try that again. Let's say you build your database(s) using the text files (domains and urls) contained in the blacklist archive dated the 1st. A week later (the 8th), you want to update your files so you again download the latest blacklist. You could use the same process as the previous week, and rebuild your dbs using the current text files. OR, theoretically you can get to the same place by applying the diff files dated the 2nd through the 8th. What difference does it make? Rebuilding the dbs requires squidGuard to be down, while diff files can be applied "on the fly". But it's not as straight forward as you might think. Read the answer to your next question. > 2.) I looked over the configuration documents > about updating. I am confused about the updating > via diffs. I did the "squidGuard -u" and the > program did not update the respective .db files. > Can someone send me a few lines of examples for > updating? The update command (-u) only recognizes the file names <domains.diff> and <urls.diff>. So if you wanted to update your system using the incremental diff files (as mentioned above) you'd need to cat them together into a single file named <domains.diff> or <urls.diff>. I personally prefer to recreate the db from the text files each time. I schedule it for the middle of the night so the downtime isn't a problem. Another reason that you might not want to use the dated diff files is I think the squidGuard robot (creates the blacklists) may have a drinking problem; its actions aren't always explainable. For example, in the 12/13 blacklist archive, in the ads directory, there is a domains.20011212.diff file. That diff file contains 9,326 entries, of which 344 are unique. The file also contains 8,982 lines that contain the same entry: <-adcreatives.imaginemedia.com>. Hope that helps! Rick Matthews -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stephen Torri Sent: Sunday, December 16, 2001 7:17 PM To: Squidguard Mailing List Subject: Blacklist updating I am just starting to get an understanding of how squidGuard works. I got the base install working find now. Yet I want to learn how to update it. So I downloaded the lastest blacklist. I have a few questions: 1.) Do I need to apply the diffs? For example there is a domains file within the porn directory along with many diff files. 2.) I looked over the configuration documents about updating. I am confused about the updating via diffs. I did the "squidGuard -u" and the program did not update the respective .db files. Can someone send me a few lines of examples for updating? Stephen
