Differences between version 15 and predecessor to the previous major change of ProxyServerNotes.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
| Newer page: | version 15 | Last edited on Thursday, August 28, 2003 2:09:13 pm | by CraigBox | Revert |
| Older page: | version 14 | Last edited on Wednesday, May 21, 2003 11:34:04 am | by JohnMcPherson | Revert |
@@ -1,6 +1,11 @@
Peer your proxy with MetaNet users!
+-----
+!What good is a proxy server if no-one uses it?
+
+See [WPAD] to figure out how to make your LAN clients automatically pick up the proxy server.
+-----
!!! Squid
! Resolving name problems
Having problems that !http://brian/wherever/whatever doesn't resolve in Squid? This is caused by Squid running its own DNS resolver, instead of using gethostbyname(3). It pulls the IPs of the name servers out of resolv.conf(5). Add a line like this to your squid.conf:
@@ -70,19 +75,36 @@
http_access allow labuser labmachines
http_access deny labuser
will do the trick.
+
+__URL Blocking__
+
+
+ acl restrictedmachine src ip.ad.dr.ess/255.255.255.255
+ acl restrictedmachinesites dstdomain "/etc/squid/list-of-sites"
+
+ http_access allow restrictedmachine restrictedmachinesites
+ http_access deny restrictedmachine
+
+list-of-sites takes the form
+
+ # banned sites list
+ host.domain.com
+ # or
+ .domain.com
+ # for everything in domain.com
__Content Blocking__
Investigate the following blacklists:
+
+* DansGuardian (http://dansguardian.org) (GPL, but commercial users are asked to pay for DL)
* SquidGuard (http://www.squidguard.org) (GPL but you can't sell it)
-* DansGuardian (http://dansguardian.org) (GPL for non-commercial use)
-Funny how both have GPL with extra clauses...
-(Note from Daniel Barron: the SG clause is in violation of the GPL and thus is invalid. The DG license is fully 100% within the GPL. What is asked for is that commercial users pay to __download__ DG. I just thought I'd clarify the FUD.)
+(Note from Daniel Barron, DG author
: the SG clause is in violation of the GPL and thus is invalid. The DG license is fully 100% within the GPL. What is asked for is that commercial users pay to __download__ DG. I just thought I'd clarify the [
FUD]
.)
----
! More Info
[Here|http://www.serassio.it/SquidNT/MRTG.htm] are some other notes on [Squid], [SNMP] and [MRTG]. This shows sample [MRTG] config options for graphing some of the info. Note that you can get MRTG to talk directly to Squid's nonstard SNMP port.
----
