Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:squid_proxy [2015/10/07 23:41] billdozor [Web Filter] |
linux_wiki:squid_proxy [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 5: | Line 5: | ||
Squid is "a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages." | Squid is "a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages." | ||
- | Official Site: http:// | + | Links: |
+ | * Official Site: http:// | ||
+ | * Squid Logs: http:// | ||
**Checklist** | **Checklist** | ||
- | * Distro: Enterprise Linux 6.x | + | * Distro(s): Enterprise Linux 6 |
---- | ---- | ||
Line 90: | Line 92: | ||
Squid can also be used as a web filter. | Squid can also be used as a web filter. | ||
+ | ===== Block Domains ===== | ||
- Create a file of sites to reference | - Create a file of sites to reference | ||
- <code bash>vim / | - <code bash>vim / | ||
Line 98: | Line 101: | ||
- <code bash>vim / | - <code bash>vim / | ||
- | # Blocked Sites ACL | + | ## Blocked Sites ## |
acl blockedsites dstdomain "/ | acl blockedsites dstdomain "/ | ||
- | |||
- | # Deny access to the blockedsites ACL | ||
http_access deny blockedsites</ | http_access deny blockedsites</ | ||
- Reload Squid for changes to take affect | - Reload Squid for changes to take affect | ||
- <code bash> | - <code bash> | ||
+ | |||
+ | ===== Block Key Words ===== | ||
+ | * Create file of key words | ||
+ | * <code bash>vim / | ||
+ | |||
+ | # Blocked key words | ||
+ | gaming</ | ||
+ | * Create a new ACL in the main squid config | ||
+ | * <code bash>vim / | ||
+ | ## Block keywords ## | ||
+ | acl blockedkeywords url_regex -i "/ | ||
+ | http_access deny blockedkeywords</ | ||
---- | ---- |