suggest the modfcn in squid.conf for blocking websites with optimize performance
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
# Deny requests to certain unsafe ports
http_access deny !Safe_ports
# Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports
# We strongly recommend the following be uncommented to protect innocent
# web applications running on the proxy server who think the only
# one who can access services on "localhost" is a local user
# http_access deny to_localhost
#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#
# Example rule allowing access from your local networks.
# Adapt localnet in the ACL section to list your (internal) IP networks
# from where browsing should be allowed
suggest the modification for blocking websites with optimize performance..
here is my squid.conf >>>>
Thanks in advanced ..!
No idea, since you don't give any real details. You don't say what version/distro of Linux, details about your hardware, number of users, what browsers, what kind of/how many sites you want to block, etc.
No idea, since you don't give any real details. You don't say what version/distro of Linux, details about your hardware, number of users, what browsers, what kind of/how many sites you want to block, etc.
os: redhat 6
squid 3.1
4gb of RAM with i5 processor, 320Gb hdd drive, no other application is installed on redhatserver other than squid proxy
number of users : 300+
bandwidth : 100Mb
orkut,youtube, facebookgames, many porn sites, sites with adult contains, torrents, downloading of exe,zip more than 100mb need to be block for all users except some admin users.
browsers mostly used at client side : IE,Crome, firefox..!
is there any tool by which we can monitor the traffic graphically..!
os: redhat 6
squid 3.1
4gb of RAM with i5 processor, 320Gb hdd drive, no other application is installed on redhatserver other than squid proxy
number of users : 300+
bandwidth : 100Mb
Ok. Unless you are PAYING for RHEL, you really shouldn't be using it. Using RHEL without paying for it means you WILL NOT get patches/updates/bugfixes/security updates, and will make maintenance and server stability a real issue.
Quote:
orkut,youtube, facebookgames, many porn sites, sites with adult contains, torrents, downloading of exe,zip more than 100mb need to be block for all users except some admin users.
Then you need to look at installing Dansguardian, and look at the squid documentation on how to set up ACL's.
Quote:
browsers mostly used at client side : IE,Crome, firefox..!
is there any tool by which we can monitor the traffic graphically..!
Yes, many. Sarg is one, and there are lots more listed on the Squid website.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.