General :: Blocking And Disable Via Squid On The Base Of Words?

Apr 14, 2011

i am experimenting with my squid config . but i dont know how to make this confg to work.I wanted to Block the websites on term of the "words''like if any one is accessing to Porn site then the words that come out of porn is blocked. [ mostly used examples]note:i can blocked single site at a time.second if there is user 10.10.10.21 is downloading MP3,AVi,mpg how can i not allowed him to download that both ways via right clicking download and direct download.

View 1 Replies


ADVERTISEMENT

General :: Blocking Yahoo Web Chat Through Dansguardian (or Squid)

Jun 1, 2010

I want to block yahoo mail chat in dansguardian. I had google few thing I come to know that I need to do this. Locking DNS lookups to webcs.msg.yahoo and httpcs.msg.yahoo by returning 127.0.0.1. I haven't have dns configured. So what I need to do solve this problem. I had tried by making an entry in etc hosts file. but it didn't worked.

View 3 Replies View Related

Server :: Skype Blocking In Squid?

Jun 6, 2011

I configured squid in oracle enterprise linux 5.I want to block skype access.i configured the following to block skype.but it is not blocking.acl skype_blocking urlpath_regex [0-9]+.[0-9]+.[0-9]+.[0-9]+ http_access deny skype_blocking

View 3 Replies View Related

Networking :: Blocking Sites With SQUID Proxy?

Feb 17, 2010

I need to block some of my sites with SQUID Proxy. I added following lines to my SQUID configuration file but still the site remains unblocked.How to block it?

acl blocksites url_regex yahoo http_access deny blocksites

I have also tried saving some url & filter content in a file and edited configuration as follows,

acl blocksites url_regex "/etc/squid/squid-block.acl" http_access deny blocksites

The squid-block.acl file contents are, .cricinfo.com mp3

View 4 Replies View Related

Server :: Blocking Mac Based Address In Squid?

Apr 6, 2011

I need to block mac address in my network then i foolowed as below acl's but am getting output as follows I tried as in /etc/squid/squid.conf acl block arp aa:aa:yy:yy:xx:xx http_access deny block but it give me error as like: - (This is the output of # squid -k parse) aclParseAclLine: Invalid ACL type 'arp' FATAL: Bungled squid.conf line 1234: acl block arp aa:aa:yy:yy:xx:xx squid Cache (Version 2.5.STABLE6): Terminated abnormally.

View 7 Replies View Related

Server :: Website Blocking Through SQUID Proxy?

Aug 4, 2010

i am using squid proxy server to block some websites in my organization.now i was doing one testing that is, when i blocked Google. gmail automatically gets block.is there any method by which i could block google but gmail access is

View 1 Replies View Related

Software :: Blocking IPod Browsers On Squid?

Sep 1, 2010

Im trying to block iPod browsers or any similar mobile phones to access the internet.. I got this useragent.log entries"Mozilla/5.0 (iPod; U; CPU iPhone OS 3_1_2 like Mac OS X; en-us)AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7D11 Safari/528.16"I created an acl like acl mobile browser -i iPod to block all versions of iPod and deny it via http_access, but didn't block

View 1 Replies View Related

CentOS 5 :: Squid Is Not Blocking Video Stream?

Mar 26, 2011

My squid version is 2.6.STABLE21 installed via yum on CentOS release 5.4 (Final) 2.6.18-164.el5 x86_64. My configuration is as follows (truncated)

acl hrusers proxy_auth -i "/etc/squid/access/hr.dept"
acl hrsites url_regex -i "/etc/squid/access/hrsites"
acl r-sites url_regex -i "/etc/squid/access/restricted-sites"
acl stream req_mime_type -i "/etc/squid/access/stream"

[Code]...

But even then streaming is not getting blocked.

View 8 Replies View Related

Ubuntu Networking :: Blocking Sites With SQUID Proxy?

Feb 17, 2010

I need to block some of my sites with SQUID Proxy. I added following lines to my SQUID configuration file but still the site remains unblocked.How to block it?acl blocksites url_regex yahoohttp_access deny blocksitesI have also tried saving some url & filter content in a file and edited configuration as follows,acl blocksites url_regex "/etc/squid/squid-block.acl"http_access deny blocksitesThe squid-block.acl file contents are.cricinfo.commp3

View 2 Replies View Related

Server :: Hot To Block Gmail Without Blocking Https In SQUID?

Apr 8, 2010

My Problem is: I want to stop gmail access without blocking https. Yes in my squid proxy normal [URL].. is not accessible. But gmail recently started https service by which user can still get access to gmail. I DONT WANT TO STOP https CAUSE ITS BEING USING BY OTHER PROGRAMS.

View 1 Replies View Related

Ubuntu Servers :: Blocking Https Site With Squid On Webmin ?

Dec 8, 2010

I blocked facebook and ..... but if any one change the http with https its open with him how can i mange https like http.

View 9 Replies View Related

OpenSUSE Hardware :: How To Disable CDROM-Device Blocking

Apr 22, 2011

If I insert a CD/DVD into my Device, the device is blocked, and I can't put the CD/DVD out without to do Eject in the Device Notifier.This is annoying. How to disable that?I want to disable that!

View 7 Replies View Related

General :: Configure 1000 Base T Ethernet Card To Send At 1000 Base T?

Sep 22, 2009

I have a router that is 1000 Base T and two computers each with ethernet cards that support 1000 Base T. All are equipped with Cat 5e cable. Before I had a router that only went up to 100 Base T and I would setup one box with linux running proftpd. On the other box,I would use win xp pro and use firefox to ftp into the other box and download a file. Download speeds went up to 11.2 MB/sec. Now when I switched routers, I expected something like 120 MB/sec but I'm only getting 5.3 MB/sec. What do I need to change?

View 12 Replies View Related

Server :: Disable Unwanted Services In Other Than Squid?

Mar 5, 2011

I have installed squid using CentOS 5.When the server boot there are default services which are enabled at Boot time. My server is dedicated only for squid proxy server.I want to know how that when my server boot only the relevant services should start which may helpful for squid. Remaining unwanted services should be disable because they are just occupying memory of the server. Kindly guide me which command I should use and which services may I disable for smooth functioning of my squid

View 1 Replies View Related

Programming :: Find Logarithm To Base 10 Instead Of Base 2 On Shell Script?

Apr 20, 2010

can we find logarithm to base 10 instead of base 2 on shell script??i can do it with bc..like 'l(1000)/l(10)' | bc -l

View 1 Replies View Related

CentOS 5 Server :: Disable Unwanted Services In Other Than Squid?

Mar 5, 2011

I have installed squid using CentOS 5. The server is dedicated only for squid proxy server. I want to know how can I disable unwanted services which load at booting time. Like sendmail,samba,etc etc. These services take memory and are not in use. I does not know how can I make my server only for squid proxy service by removing unwanted services?

View 1 Replies View Related

General :: Squid Access / Permission Denied Error From Squid Occur?

Dec 29, 2010

I am using squid to controlling access to the internet all is working fine expect one of the user who is using outside organization portal to connect internet. But whenever he tries to enter in the portal by typing (EXAMPLE)url. Permission denied error from squid occur.

How can i allow this portal in squid. So squid will allow this to access.

View 1 Replies View Related

Programming :: C - For System Calls, Is Blocking Or Non-blocking Default?

Mar 23, 2010

For system calls, is blocking or non-blocking default in C? Simple question, just am not seeing the answer super quickly.

View 4 Replies View Related

Programming :: Blocking And Non Blocking TCP Send/recv?

Dec 25, 2010

I have a device that is working on modbus protocol andI have written a small program(with block TCP read method ) to read its registers via modbus protocol.my program is working very well but except those times that I unplug the Ethernet cable or turning off the modbus gateway during programs work.at this time my program stops on recv system call (if it reach this system call exacly when I unplug Ethernet cable or turning off the modbus gateway during programs work).I changed my source to work in nonblock TCP method, at this time with the same situation my program does not stop/block on recv system call but after pluging back the Ethernet cable or resuming the connectivity situation back it reads data incorrectly .this is my code:Quote:

#define DEBUG
#include <fcntl.h>
#include <string.h>

[code]...

View 5 Replies View Related

General :: GREP On Words With 2 Or More Z's?

Dec 21, 2010

I need to grep a dictionary file.Only the words that contain 2 or more z's and only 1 b needs to be listed.

View 1 Replies View Related

General :: Add Quotes Between Words In A Cvs File?

Mar 8, 2010

I exported a spreadsheet file into cvs format.

The cvs file is formatted this way

field1,field2,field3,..etc

I want it to be in a Quote delimited format like so

"field1","field2","field3",..etc

View 2 Replies View Related

General :: Count Lines And Words?

Feb 15, 2010

How can I display the no. of lines, words and characters for each file in current directory and in sub directory.

wc . * shows errornous result as there are some executable files in that directory.

View 2 Replies View Related

General :: Finding Words In Files?

Apr 23, 2010

I am looking for this `struct messages_sdd_t` and I need to search through a lot of *.c files to find it.However, I can't seen to find a match as I want to exclude all the words 'struct' and 'messages_sdd_t'. As I want to search on this only 'struct messages_sdd_t' The reason for this is, as struct is used many times and I keep getting pages or search results.The directory I am searching in, has another directories so it will have to search recursively.I have been doing this without success:Code: find . -type f -name '*.c' | xargs grep 'struct messages_sdd_t'and thisCode: find . -type f -name '*.c' | xargs egrep -w 'struct|messages_sdd_t'

View 3 Replies View Related

General :: Vim Replace All The Same Words In A Certain Line?

Dec 2, 2010

15 for(i = 0; i < N; i++) I want to replace "i" with "test" in the line above,whose line number is 15. When I tried this command :15s/i/test/ Line 15 turned to be this: for(test = 0; i < N; i++) It only replace the first "i",but I want to change all "i" in line 15.

View 3 Replies View Related

General :: Grep 2 Words At The Same Time?

Sep 9, 2010

I want to grep any line with "john" or "jack". How to do that? I tried

grep john | grep jack
but it didn't work

View 2 Replies View Related

General :: Searching Words With Space?

May 26, 2011

I want to search lines with these stings with one or more spaces..

e.g

Code:
a b
a b
a b
a b

How will I achieve this by egrep ?

View 14 Replies View Related

General :: Show Only Unique Words Between Two Files?

Feb 23, 2011

Quote:File1:
Hi, My name is John smith
Quote:
File2:
Hi, My name is smith

I want to show only the different or unique word between the two files (John)i was trying to get it with diff, comm, sort, uniq, grep, awk, sed

View 5 Replies View Related

General :: Count Words With Comma As Separator?

Feb 16, 2010

I'm trying to count words in a text file that has a comma as separator. I know that I must user wc -w, but wc uses space as a separator

View 2 Replies View Related

General :: Use Grep To Find The Words In The Dictionary?

Dec 1, 2010

I'm trying to use grep to find the words in the dictionary that contain the letters "th" and the letter m.

I tried grep 'th m*.' Desktop/Dictionary/words(Thats where the destined dictionary word document is located)

grep 'th' Desktop/Dictionary/words works but only for the words with th. I have no idea of what expression to use to make it a unionized expression with m

View 3 Replies View Related

General :: Sed Regex To Match Words Via A Pattern

Oct 24, 2010

I have some lines of text and I want to detect words that meet some criteria with sed.

E.g. The line "tetris cat dog test cactus stereotype"

I want to detect the word that contains two (2) ore more t letters. That mean the words tetris, test and stereotype.

The following regex doesn't do the job because it can;t distinguish words very well.

I thinks I have ti incorporate something like [^ ] in the regex but I wasn't successful...

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved