LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-07-2005, 11:34 AM   #1
cptnchainsaw
LQ Newbie
 
Registered: Apr 2005
Posts: 7

Rep: Reputation: 0
Question proxy available to all?


Hi all, I can't understand why I can access my proxy server from seemingly any machine when as far as I know I have restricted access to only a few machines. This squid.conf file hasn't been changed in a long time and access was denied to users without access, now it seems that anyone can access it. Anyone got any ideas on this?


############## squid.conf ##########################
[root@localhost squid]# vi /etc/squid/squid.conf
hierarchy_stoplist cgi-bin ?^M
acl QUERY urlpath_regex cgi-bin \?^M
no_cache deny QUERY^M
auth_param basic children 5^M
auth_param basic realm Squid proxy-caching web server^M
auth_param basic credentialsttl 2 hours^M
refresh_pattern ^ftp: 1440 20% 10080^M
refresh_pattern ^gopher: 1440 0% 1440^M
refresh_pattern . 0 20% 4320^M
acl all src 0.0.0.0/0.0.0.0^M
acl manager proto cache_object^M
acl localhost src 127.0.0.1/255.255.255.255^M
acl bip src 212.250.155.0/255.255.255.0^M
acl winbox src 192.168.1.102/255.255.255.0
acl homerouter src 81.107.56.178/255.255.255.0
acl to_localhost dst 127.0.0.0/8^M
acl SSL_ports port 443 563^M
acl Safe_ports port 80 # http^M
acl Safe_ports port 21 # ftp^M
acl Safe_ports port 443 563 # https, snews^M
acl Safe_ports port 70 # gopher^M
acl Safe_ports port 210 # wais^M
acl Safe_ports port 1025-65535 # unregistered ports^M
acl Safe_ports port 280 # http-mgmt^M
acl Safe_ports port 488 # gss-http^M
acl Safe_ports port 591 # filemaker^M
acl Safe_ports port 777 # multiling http^M
acl CONNECT method CONNECT^M
http_access allow manager localhost^M
http_access deny manager^M
http_access deny !Safe_ports^M
http_access deny CONNECT !SSL_ports^M
http_access allow localhost^M
http_access allow bip^M
http_access allow winbox
http_access allow homerouter
http_access deny all^M
http_reply_access allow all^M
icp_access allow all^M
coredump_dir /var/spool/squid^M
~
~
~
~
~
~
~
~
~
"/etc/squid/squid.conf" 40L, 1489C
############## squid.conf ##########################


Cheers,

CpnChainsaw
 
Old 04-07-2005, 03:38 PM   #2
verzonnen
Member
 
Registered: Aug 2003
Posts: 31

Rep: Reputation: 15
I am responding only bcause no one else has, not because I know much about squid

Is it posible that you forwarded the port from your router to the port squid is listening on??
 
Old 04-07-2005, 04:39 PM   #3
cptnchainsaw
LQ Newbie
 
Registered: Apr 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Question

Thank you for your reply. I've checked the port forwarding, it was enabled but it didn't make any difference whether it is enabled or disabled. I'm at a bit of a loss understanding this. I've checked the log file and URLs are being reported in the log so the proxy is working I just don't understand why access is granted to all who use it.

Cheers for your suggestion though.

CpnChainsaw
 
Old 04-07-2005, 11:35 PM   #4
verzonnen
Member
 
Registered: Aug 2003
Posts: 31

Rep: Reputation: 15
another thing that I noted is the ^M at the end of each line, could that be the problem. Not sure if your problem is on windows or linux?

If you are on linux try stripping the ^M (controll M) of the end of the line...

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 proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 12:25 PM
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 02:38 AM
Need help to connect a squid proxy to connect to another squid proxy server bellerophon Linux - Newbie 1 02-07-2006 07:52 AM
Proxy problem: can`t connect SSH through proxy... bugzilla Linux - Networking 3 09-16-2004 11:36 AM
how to enable proxy by variables-proxy is IP-adres joeSVK Linux - Networking 0 02-11-2004 08:48 AM


All times are GMT -5. The time now is 11:50 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