Squid: Difference between revisions
Jump to navigation
Jump to search
| Line 20: | Line 20: | ||
{{Box Code|emerge samba -pv| | {{Box Code|emerge samba -pv| | ||
<pre> | <pre> | ||
[ebuild N | [ebuild N ] sys-apps/ed-1.5 90 kB | ||
[ebuild N ] net-proxy/squid-3.1.12 USE="epoll ipv6 kerberos pam samba snmp ssl -caps -ecap -icap-client (-ipf-transparent) (-kqueue) -ldap -logrotate -mysql -nis (-pf-transparent) -postgres -radius -sasl (-selinux) -sqlite -test -tproxy -zero-penalty-hit" 3,279 kB | |||
</pre> | </pre> | ||
}} | }} | ||
Revision as of 11:29, 5 May 2011
Description
Now that our Samba is connected to our Windows ADS we can start to authentificate our Squid users against Windows ADS Accounts and/or Groups.
In this setup we also have an additional caching firewall proxy content-filter (cache_peer) infront of our Squid machine.
We also enable SNMP queries which we can feed to MRTG to produce nice graphs later on.
Dependencies
USE-Flags
Packages
Installation
# emerge squid
# chown root:squid /var/cache/samba/winbindd_privileged
# chmod 750 /var/cache/samba/winbindd_privileged
Configuration
Finalize
# /etc/init.d/squid start
# rc-update add squid default
Testing
# snmpwalk -Cc -v1 -c public -m /usr/share/squid/mib.txt localhost:3401 .1.3.6.1.4.1.3495
Further Reading
- MRTG - Get nice graphs out of your SNMP data