Alben, Pare try this:
1. Create a file containing the url that you want to block. E.g: /etc/squid/block.url 2. Edit /etc/squid/squid.conf and add this before your http_access deny all line: acl URLDeny url_regex -i "/etc/squid/block.url" http_access deny URLDeny this acl will block every url containing the strings that you will specify on your /etc/squid/block.url file Jon C. Viardo Systems Administrator Poveda Learning Centre Quezon City, Philippines -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, May 28, 2004 12:01 PM To: [EMAIL PROTECTED] Subject: plug Digest, Vol 12, Issue 43 Send plug mailing list submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the World Wide Web, visit http://lists.q-linux.com/mailman/listinfo/plug or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of plug digest..." Today's Topics: 1. detecting removed disks (plug bert) 2. Squid question (alben benavente alteza) 3. Re: ARP (Ariz C. Jacinto) ---------------------------------------------------------------------- Message: 1 Date: Thu, 27 May 2004 18:40:29 -0700 (PDT) From: plug bert <[EMAIL PROTECTED]> Subject: [plug] detecting removed disks To: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii Hi All! Is there any way of detecting if mounted removable storage -- floppy, zip, card, whatever -- has been physically removed from the drive? __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ------------------------------ Message: 2 Date: Fri, 28 May 2004 11:23:34 +0800 From: alben benavente alteza <[EMAIL PROTECTED]> Subject: [plug] Squid question To: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" I need to block certain URL containing the word sex xxx etc. What derivative or command or acl in squid to do this. thanks in advance -- Alben Benavente Alteza Information Systems Security Administration Information Systems Dept./ Philippine Airlines ------------------------------ Message: 3 Date: Fri, 28 May 2004 12:12:08 +0800 From: "Ariz C. Jacinto" <[EMAIL PROTECTED]> Subject: [plug] Re: ARP To: Philippine Linux Users Group Mailing List <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii; format=flowed as long as there are no new entries that would take its place and as long as there's power on the switch. bodgie wrote: >Also, IP addresses with no traffic get removed from the arp table >after some time (does anybody know how long? is there a standard on >this?). It doesn't mean that the host isn't there anymore though. One >ping or any traffic will make it reappear in the arp table. > ------------------------------ _______________________________________________ plug mailing list [EMAIL PROTECTED] http://lists.q-linux.com/mailman/listinfo/plug End of plug Digest, Vol 12, Issue 43 ************************************ --- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Poveda Learning Centre http://www.plc.edu.ph --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004 --- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Poveda Learning Centre http://www.plc.edu.ph -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
