>-graphics4.nytimes.com/ads >-graphics4.nytimes.com/RealMedia/ads >-nytimes.com/RealMedia/ads
Well, I guess that would confuse you! The entries should have "+" in front of them, not "-". They are, of course, in my urls.diff file with "+". I apologize for adding to the confusion! > I new to squidGuard so I'm learning. Right now in my > newbie-ness, I figure by deleting and then adding my > entries back I save myself the headache of trying to remember > what entries I added in the past without having to use a > TON of .diff versioned files. Interesting. Are you certain that it processes deletes before adds? It also begs the question, what are you putting in the diff file for the ones you want to delete? FWIW, I have not experienced any problems by letting them get added multiple times. The vast majority of my changes are made in the porn database, and I have written a script to process the changes, so I don't need to worry about the issue that you mentioned. I make my changes to domains_diff.local and urls_diff.local, and the script takes it from there. It would be fairly easy to extend the processing to the other blacklist categories, I just haven't done it. > +nytimes.com/realmedia/ads FWIW, in *nix, "/realmedia" is not the same thing as "/RealMedia". > But this still doesn't explain why the simple URL list of: > > +nytimes.com/realmedia/ads > > doesn't work. According to the documentation, it appears > this should work just fine. I agree; I can't explain it. (But that doesn't stop me from blocking it using the other method! ;-)) Rick -----Original Message----- From: Sean O'Neill [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 9:55 AM To: Rick Matthews; Squidguard Mailing List Subject: RE: SquidGuard Newbie questions At 04:26 PM 11/28/2001 -0600, Rick Matthews wrote: > > 2) I'm having a problem understanding how some sites seems > > to bypass squidguard redirects. > > > > In my db/ads/urls.diff, I added the following: > > > > -nytimes.com/realmedia/ads > > +nytimes.com/realmedia/ads > >Why did you tell it to add that url and delete that url? I new to squidGuard so I'm learning. Right now in my newbie-ness, I figure by deleting and then adding my entries back I save myself the headache of trying to remember what entries I added in the past without having to use a TON of .diff versioned files. >I've been successful in blocking the ads on that site. I just looked and >I have these entries in /ads/urls.diff: > >-graphics4.nytimes.com/ads >-graphics4.nytimes.com/RealMedia/ads >-nytimes.com/RealMedia/ads K ... now you have me confused. How do your entries above work? According to the doco on the squidGuard site, a "-" means delete the entry from the database file. If you are deleting, how is squidGuard working? >Are you redirecting the ads section of your squidGuard.conf file to a >1x1.gif? Yes It working now with the following entries in my .diff file: -graphics4.nytimes.com/realmedia/ads +graphics4.nytimes.com/realmedia/ads -graphics4.nytimes.com/ads +graphics4.nytimes.com/ads -nytimes.com/ads +nytimes.com/ads -nytimes.com/realmedia/ads +nytimes.com/realmedia/ads But this still doesn't explain why the simple URL list of: +nytimes.com/realmedia/ads doesn't work. According to the documentation, it appears this should work just fine. - ........................................................ ......... ..- -. .. -..- .-. ..- .-.. . ... ............ .-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ... Sean O'Neill
