Supporting Services
Supporting services ensure SafeSquid SWG operates reliably, performs well, and maintains accurate time synchronization. Critical for production: These services prevent downtime, improve DNS performance, and ensure authentication works correctly.Why You Need These Services
Service Guides
Monit
Automated monitoring and self-healing for SafeSquid and dependent processes. What it does:- Auto-restarts SafeSquid if it crashes
- Monitors port 8080 for responsiveness
- Cleans up temporary files and rotates logs
- Fetches threat intelligence updates
- Triggers housekeeping tasks
BIND
Local DNS resolver for fast, reliable domain resolution. What it does:- Caches DNS responses for faster lookups
- Reduces dependency on external DNS servers
- Improves consistency and auditability
- Enables local DNS overrides for internal domains
NTP
Time synchronization critical for authentication and TLS validation. What it does:- Keeps system time within 5 minutes of Active Directory (required for SSO/Kerberos)
- Ensures accurate TLS certificate validation
- Provides correct timestamps in logs for forensics
- Prevents authentication failures due to clock drift
Quick Setup Checklist
For a production-ready SafeSquid deployment:-
Install all three services:
# Debian/Ubuntu: sudo apt install -y monit bind9 chrony # RHEL/CentOS: sudo dnf install -y monit bind chrony - Configure Monit: Add SafeSquid process check Enable port 8080 monitoring Configure auto-restart
- Configure BIND: Point to root DNS servers Enable recursion for internal networks only Configure local zone overrides
- Configure NTP/Chrony: Point to enterprise NTP servers or domain controllers Verify time synchronization within 5 minutes of AD
-
Enable all services:
sudo systemctl enable --now monit sudo systemctl enable --now bind9 # or named sudo systemctl enable --now chronyd -
Verify:
# Monit: monit summary # BIND: dig @127.0.0.1 example.com # NTP: chronyc tracking
Next Steps
- Configure each service using the detailed guides above
- SSL Inspection - NTP is critical for TLS validation
- Authentication - NTP is required for SSO/Kerberos
- Audit & Forensics - Accurate timestamps for compliance

