nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

SQUID ACL Problem

This is a discussion on SQUID ACL Problem within the Linux software forums, part of the Linux Getting Started category; The acl list that u had given to me did not work. All the clients of any range of IPs ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 12-07-2006, 10:09 PM
kasimani's Avatar
Senior Member
User
 
Join Date: Jul 2006
Location: India, Delhi
OS: CentOS, RedHat, Fedora, Ubuntu
Posts: 151
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 4
kasimani is on a distinguished road
Send a message via Yahoo to kasimani
Default Not worked

The acl list that u had given to me did not work. All the clients of any range of IPs are able to browse any site
Reply With Quote
  #12 (permalink)  
Old 12-07-2006, 11:36 PM
kasimani's Avatar
Senior Member
User
 
Join Date: Jul 2006
Location: India, Delhi
OS: CentOS, RedHat, Fedora, Ubuntu
Posts: 151
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 4
kasimani is on a distinguished road
Send a message via Yahoo to kasimani
Default Getting prob.

When i am trying to open a site the error i am getting is as below:

The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: http://adworks.rediff.com/cgi-bin/Ad...42121/44818/1?

The following error was encountered:

Unable to determine IP address from host name for adworks.rediff.com
The dnsserver returned:

Name Error: The domain name does not exist.
This means that:

The cache was not able to resolve the hostname presented in the URL.
Check if the address is correct.
Your cache administrator is root.

I got this message when i tried ur acl and then tried to set up transparent proxy by following command:

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j redirect --to-port 3128

Pl. help me come out of this problem.
Reply With Quote
  #13 (permalink)  
Old 13-07-2006, 12:59 AM
kasimani's Avatar
Senior Member
User
 
Join Date: Jul 2006
Location: India, Delhi
OS: CentOS, RedHat, Fedora, Ubuntu
Posts: 151
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 4
kasimani is on a distinguished road
Send a message via Yahoo to kasimani
Default Another Big Problem

When i am trying to open a site the error i am getting is as below:

The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: http://adworks.rediff.com/cgi-bin/Ad...42121/44818/1?

The following error was encountered:

Unable to determine IP address from host name for adworks.rediff.com
The dnsserver returned:

Name Error: The domain name does not exist.
This means that:

The cache was not able to resolve the hostname presented in the URL.
Check if the address is correct.
Your cache administrator is root.

I got this message when i tried ur acl and then tried to set up transparent proxy by following command:

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j redirect --to-port 3128

Pl. help me come out of this problem.
Reply With Quote
  #14 (permalink)  
Old 13-07-2006, 01:13 AM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 708
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

Did you type this command at shell prompt?
Code:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j redirect --to-port 3128
You need to run it from shell script. Which is located here:
http://www.cyberciti.biz/tips/wp-con...6/fw.proxy.txt

I think ACL given by monk seems to correct. Did you added ! symbol before deniedsites ???
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
  #15 (permalink)  
Old 13-07-2006, 01:33 AM
kasimani's Avatar
Senior Member
User
 
Join Date: Jul 2006
Location: India, Delhi
OS: CentOS, RedHat, Fedora, Ubuntu
Posts: 151
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 4
kasimani is on a distinguished road
Send a message via Yahoo to kasimani
Default Reply

Yes i added ! sign.

But i think, problem is created when i issued IPtable command.

Pl. rectify it.
Reply With Quote
  #16 (permalink)  
Old 13-07-2006, 05:29 PM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 708
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

Hmm

So w/o iptables rules it works Perfectly? Right??? if so then you need to fix your iptables rules. Just provide us iptables rules...
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Squid configuration problem jhn_daz@yahoo.com Networking, Firewalls and Security 1 29-06-2007 01:58 AM
Squid Problem B!n@ry Linux software 3 15-04-2007 03:36 PM
problem with Squid puppen Linux software 4 04-01-2007 02:45 PM
squid problem dev_dks Linux software 1 01-08-2006 01:42 PM
Problem with squid LRC Linux software 17 10-06-2006 07:52 PM


All times are GMT +5.5. The time now is 10:30 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38