LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 03-06-2007, 07:14 PM   #1
GerhardMagnus
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Rep: Reputation: 0
why squid doesn't work with some websites


I have been successfully using squid on a small home network (all running Fedora Core 6) except for not being able to access certain academic websites. When I alter the Mozilla connection settings to allow for a direct connection with the Internet I can access these sites without problems. Why is this happening?

My squid.conf file is the default except for these 2 lines before "http_access deny all":
acl internal src 192.168.1.0/24
http_access allow internal

This is the error message I get (generated by squid):
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: ntserver1.wsulibs.wsu.edu:6443
The following error was encountered:
* Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.

Thanks for the help! --Jerry
 
Old 03-07-2007, 02:28 AM   #2
win32sux
Moderator
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Quote:
Originally Posted by GerhardMagnus
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: ntserver1.wsulibs.wsu.edu:6443
The following error was encountered:
* Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
sounds like you simply need to add port 6443 to the Safe_ports ACL in your squid.conf...

Last edited by win32sux; 03-07-2007 at 02:29 AM.
 
Old 03-07-2007, 06:17 PM   #3
GerhardMagnus
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Original Poster
Rep: Reputation: 0
sounds like you simply need to add port 6443 to the Safe_ports ACL in your squid.conf..

This isn't the problem, as the (default) squid.conf file contains the line:
acl Safe_ports port 1025-65535 # unregistered ports
 
Old 03-07-2007, 08:56 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 13.37
Posts: 4,021

Rep: Reputation: 125Reputation: 125
Have you tried adding 6443 to SSL_ports? It's probably a https port judging by the 443 on the end of it.
 
Old 03-08-2007, 02:52 PM   #5
GerhardMagnus
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I've added the line:
acl SSL_ports port 6443
to my squid.conf file. Now the error message is:

While trying to retrieve the URL: ntserver1.wsulibs.wsu.edu:6443
The following error was encountered:
* Connection to Failed
The system returned:
(13) Permission denied
The remote host or network may be down. Please try the request again.

Again, I don't have this problem when I bypass squid entirely and connect directly to the Internet
 
Old 03-08-2007, 07:40 PM   #6
win32sux
Moderator
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Quote:
Originally Posted by GerhardMagnus
I've added the line:
acl SSL_ports port 6443
to my squid.conf file. Now the error message is:

While trying to retrieve the URL: ntserver1.wsulibs.wsu.edu:6443
The following error was encountered:
* Connection to Failed
The system returned:
(13) Permission denied
The remote host or network may be down. Please try the request again.

Again, I don't have this problem when I bypass squid entirely and connect directly to the Internet
maybe check that your firewall isn't preventing the connection to port 6443...
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
blocking websites with squid tariq07 Linux - Security 2 03-03-2007 02:39 AM
Blocking websites in squid proxy server. crackerB Linux - Software 1 10-18-2006 02:44 AM
How To Whitelist Websites And Ports Using Squid SBN Linux - Software 1 08-02-2006 01:16 PM
Squid problem ... blocking some websites rickyinman Linux - Networking 4 04-11-2006 12:26 PM
Redirect websites to another squid server. neos Linux - Networking 0 06-27-2005 05:22 AM


All times are GMT -5. The time now is 11:36 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration