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 - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-22-2005, 12:54 AM   #1
tekquest
LQ Newbie
 
Registered: Apr 2003
Posts: 13

Rep: Reputation: 0
Question SQUID - Blocking port 80


Dear All,

I have been doing a fair bit of searching on google for a way to configure squid to stop serving port 80 requests.

I assume its a line that gets added to the squid configuration file, but I am unsure where to start. I've looked at the file with Joe, but still no luck.

Can anyone assist?

Thankyou very much,

Tekq
 
Old 08-23-2005, 12:25 PM   #2
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
Look in the acl section of the squid.conf file
it typically looks like this

Code:
acl Safe_ports port 80       # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443 563     # https, snews
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 488         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http
This is a list of allowed ports, simply remove the line with port 80 from this list and run 'squid -k reconfigure'

HTH

Mad.
 
Old 08-27-2005, 06:05 AM   #3
tekquest
LQ Newbie
 
Registered: Apr 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for the info, i will monitor access over the next few days.

Thank you so so much, appreciate your help.

Tekq
 
  


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
SQUID for blocking yahoo and msn [inc squid.conf] chrisfirestar Linux - Security 10 03-03-2008 08:33 AM
Squid IP BLOCKING secrets Linux - Networking 4 06-14-2007 10:36 AM
Blocking port 80 on NAT and allowing browsing thru squid krishvij Linux - Networking 2 07-19-2005 05:10 AM
Blocking squid through iptables jomy Linux - Networking 1 12-20-2004 09:24 AM
Squid is blocking me out of one particular website. danielw Linux - Software 0 07-02-2004 11:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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