-
Notifications
You must be signed in to change notification settings - Fork 258
Security Features Guide
Heisenbug edited this page Mar 5, 2026
·
1 revision
- CSF security controls are strongest when combined by threat type.
- Start with authentication abuse defenses, then add network and anomaly controls.
- Tune incrementally to avoid false positives and operator fatigue.
Use when attackers are hammering SSH, mail auth, or panel login surfaces.
Use when you need detection for suspicious binaries, process spikes, or sensitive file changes.
- Port Flood Protection
- Port Knocking
- Connection Limit Protection
- Port/IP address Redirection
- IPv6 Deployment & Hardening
Use for traffic shaping, hardening exposed services, and reducing automated scanning impact.
Use when local-only controls are not enough (large feeds, multi-node estates, reverse-proxy topologies).
Use when log-derived detections may be influenced by local user-space log injection.
Use to integrate with SIEM, webhook workflows, or custom firewall orchestration.
- Establish baseline policy and stable access.
- Enable auth protections.
- Add network abuse controls and finalize IPv6 policy (see IPv6 Deployment & Hardening).
- Add blocklists/IPSET as needed (see IPSET rollout for large feeds).
- Validate performance impact and optimize rule/detection overhead (see Performance & Scale Tuning).
- Add advanced hooks and clustering last.
- Enabling too many detectors at once.
- Aggressive thresholds without baseline traffic observation.
- Treating one noisy signal as definitive evidence.
- Importing large blocklists without capacity planning.
After each security tuning step:
csf -ra
tail -n 100 /var/log/lfd.logThen verify that trusted admin paths still work.
Last reviewed: 2026-02-25
- Security Features Guide
- Cloud & Container Hardening
- Automation & IaC
- IPv6 Deployment & Hardening
- IP Block Lists
- Reference Map
- Introduction
- csf Principles
- lfd Principles
- csf CLI Options
- lfd CLI Options
- Login Tracking
- Regex Custom Cookbook
- Script Email Alerts
- Process Tracking
- Directory Watching
- Advanced Filters
- Multiple Ethernet
- Generic Linux
- FTP Issues
- Messenger Service
- Block Reporting
- Port Flood
- Pre/Post Scripts
- Port Knocking
- Connection Limit
- Port/IP Redirect
- Integrated UI
- RESTRICT_SYSLOG
- Exim SMTP AUTH
- UI Skinning
- InterWorx
- CentOS Web Panel