LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-06-2011, 01:58 AM   #1
kathirvel
Member
 
Registered: Jan 2011
Location: Bangalore
Distribution: RHEL,OEL
Posts: 60

Rep: Reputation: 0
skype blocking in squid


Hi,
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
Kindly give me the solution


Thanks,
kathirvel.s
 
Old 06-06-2011, 10:41 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by kathirvel View Post
Hi,
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

Kindly give me the solution
Again, we will "kindly" ask you to try to look things up first. A brief Google search turns up the solution, with examples.
http://www.riccardoriva.com/archives/275

Your regex is wrong.
 
Old 06-07-2011, 01:27 AM   #3
kathirvel
Member
 
Registered: Jan 2011
Location: Bangalore
Distribution: RHEL,OEL
Posts: 60

Original Poster
Rep: Reputation: 0
hi,


I don't want to block IP based,I want to block username based,because I configured authentication.please give me some ideas.

Is it possible or not

thank you
 
0 members found this post helpful.
Old 06-07-2011, 12:14 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by kathirvel View Post
hi,
I don't want to block IP based,I want to block username based,because I configured authentication.please give me some ideas.

Is it possible or not
Is it possible for you to read the Squid documentation, the links posted to you, or do a Google search?

In your first post, you said you wanted to block Skype access. If you read the link I posted (which you could have found, if you tried to look it up), you would have seen how to do it.

If you paid close attention when you were reading the link, you would see a part in the written example
Code:
# Allow SKYPE access for the group “skype_users”
http_access allow CONNECT skype_url skype_users
..which tells you how to allow SOME users (that would be members of the "skype_users" group), to use it. Define the Squid ACL based on whatever you want...IP, authentication, user name, whatever. You don't provide any details about that, and essentially changed your question after posting your original.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Squid+DansGuardian not working properly. squid blocking sites that should be linuxlover.chaitanya Linux - Server 13 11-10-2014 10:34 AM
Blocking Skype prashanlk Linux - Networking 2 10-14-2009 03:17 AM
SQUID for blocking yahoo and msn [inc squid.conf] chrisfirestar Linux - Security 10 03-03-2008 08:33 AM
Blocking msn,yahoo,giam,skype etc messanger linuxss Linux - Security 2 05-09-2007 12:14 AM
Blocking Skype in Squid yunus.raza Linux - Networking 1 09-02-2006 06:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration