Skip to content

Instantly share code, notes, and snippets.

View cws-khuntly's full-sized avatar

Kevin Huntly cws-khuntly

View GitHub Profile
@cws-khuntly
cws-khuntly / squid.conf
Created July 17, 2016 19:51
Squid config
#
# Recommended minimum configuration:
#
visible_hostname proxy.caspersbox.com
## add in basic authentication (pending ldap auth)
auth_param basic program /usr/lib/squid/squid_ldap_auth -b "dc=caspersbox,dc=com" -f "uid=%s" -D "uid=AppUser,ou=AppAdmins,organizationalUnitName=Service Accounts,organizationalUnitName=Users,organizationName=CWS US,dc=caspersbox,dc=com" -W /etc/squid/ldap_pass -h data.caspersbox.corp -p 10389
auth_param basic children 50
auth_param basic realm CWS Proxy Services
auth_param basic credentialsttl 90 minutes
#!/usr/bin/env ksh
#==============================================================================
#
# FILE: watchdog
# USAGE: ./watchdog
# DESCRIPTION:
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---