LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-13-2005, 08:32 AM   #1
krishvij
Member
 
Registered: Feb 2005
Location: India
Distribution: RHEL 3
Posts: 108

Rep: Reputation: 15
Squid Config Prolem - Help


Hi,

I configured squid proxy with different levels of restrictions like dstdomain, src, url_regex etc. I had blocked hotmail.com for a particular user and it was blocking as long as the user typed www.hotmail.com . Now, he just typed the IP address of hotmail.com and he went thru. What is the entry in squid.conf to configure squid in such a way that it will reject requests from users who type the IP?

Need help on this pretty badly.
 
Old 06-14-2005, 01:06 AM   #2
hardcorelinux
Member
 
Registered: Jan 2005
Location: India
Distribution: RHEL,CentOS,SUSE,Solaris10
Posts: 183

Rep: Reputation: 31
First we will create a list then allow or deny to particular user at the end.


acl BlockedIP src 192.168.0.1


http_access deny BlockedIP LimitedURL
 
Old 06-14-2005, 07:09 AM   #3
krishvij
Member
 
Registered: Feb 2005
Location: India
Distribution: RHEL 3
Posts: 108

Original Poster
Rep: Reputation: 15
Boss,

In this way i will need to find out the IP of each & every site available on the internet which is not possible.

I want squid to disallow any request from any user based on ip address. that is, if any of my users type an IP address on the URL, then Squid should deny access. What should I do for this?
 
Old 06-16-2005, 07:41 PM   #4
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
take a look at www.squidguard.org
it has already blacklists contain porn add mail proxy warez etc.

i hope it may help u

good luck.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Squid Config Help krishvij Linux - Networking 6 04-28-2005 10:41 PM
Need Help in Squid Config krishvij Linux - Networking 3 04-01-2005 03:29 AM
squid config tzkolinux Linux - Networking 0 12-27-2004 03:24 AM
[help] squid config piyushiitk Linux - Software 2 12-05-2004 06:50 PM
squid config upload-3 Linux - Networking 6 12-04-2004 01:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration