Squid: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
Tgurr (talk | contribs)
No edit summary
Line 205: Line 205:


{{Codeline|# rc-update add squid default}}
{{Codeline|# rc-update add squid default}}
== Testing ==
{{Codeline|# snmpwalk -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

Revision as of 15:38, 22 April 2008

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

Template:Box File

Packages

Template:Box Code

Installation

# emerge squid

# chown root:squid /var/cache/samba/winbindd_privileged

# chmod 750 /var/cache/samba/winbindd_privileged

Configuration

Template:Box File

Finalize

# /etc/init.d/squid start

# rc-update add squid default

Testing

# snmpwalk -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