Server security
ISPProtect BanDaemon
Protect Your Server from Attacks
Detect brute force attacks, DoS attempts, and intrusion attempts and block their sources automatically. ISPProtect BanDaemon is a security daemon that continuously monitors your server's log files and blocks offending IP addresses using pattern matching and iptables.
What ISPProtect BanDaemon Does
Threat Response
- Real-time monitoring of all critical log files
- Automatic IP blocking after detection
- Default rules for common attack vectors
- Scoring system that adapts ban duration to threat severity
Built for Hosting Servers
- Multi-service protection covering SSH, web servers, email, DNS, and FTP
- IPv6 ready with subnet-level blocking capabilities
- Distributed operation across multiple servers with centralized management
Integration & Support
- ISPConfig integration for hosting environments
- Regular updates
- Email support for licensed customers
Key Features
Service Protection
| Service | Protection Type | Attack Vectors Covered |
|---|---|---|
| SSH | Brute force detection | Failed login attempts, dictionary attacks |
| Web Servers | Apache/Nginx monitoring | SQL injection, XSS, and directory traversal |
| Postfix/Dovecot protection | SMTP auth failures, spam attempts | |
| FTP | Pure-FTPd integration | Brute force, unauthorized access |
| DNS | Bind monitoring | Query floods, cache poisoning attempts |
| Web Apps | CMS-specific rules | WordPress, Joomla, and ownCloud attacks |
Threat Detection
GeoIP Integration
- Country-based risk scoring with customizable multipliers
- Automatic high-risk region detection
- Geolocation data in all reports and evidence files
Pattern Recognition
- Detection of common attack patterns
- Custom regex rules for application-specific threats
- Adaptive thresholds based on attack frequency and severity
Reporting
- Daily email reports with attack summaries and statistics
- Real-time dashboards showing current threats and bans
- Evidence collection with automatic whois lookup and abuse reporting
Network & Infrastructure
Multi-Server Architecture (optional)
- Centralized database for multi-server deployments
- Ban propagation across all connected servers
IPv6 Networking
- IPv6 support with /64 and /96 subnet blocking
- Dual-stack protection for hybrid environments
- Firewall integration with iptables and ip6tables
Pricing & Licensing
Licensing Options
Free Trial
- 14 days of full access to all features
- No registration required
- No feature limitations
- For evaluating the software
BanDaemon License
- All features included
- Email support
- Regular updates
BanDaemon licenses will be available soon. Until then you can use the free trial, or use BanDaemon with an existing ISPProtect license key.
ISPProtect Bundle
- Includes BanDaemon + Malware Scanner
- Covers attack blocking and malware scanning
- Priority support
- Volume discounts available
Note: Existing ISPProtect customers can use BanDaemon with their current license key at no additional cost.
Quick Start Guide
Installation in 3 Steps
Step 1: Download & Extract
cd /tmp/
wget https://ispprotect.com/download/ispp_bandaemon.tar.gz
tar xzf ispp_bandaemon.tar.gz
cd bandaemon_install/
Step 2: Run Installer
sudo bash install.sh
The installer detects your system and configures settings accordingly
Step 3: Start Protection
sudo systemctl start ispprotect_bandaemon
sudo systemctl enable ispprotect_bandaemon
System Requirements
| Component | Requirement | Recommended |
|---|---|---|
| OS | Linux with iptables | Ubuntu 20.04+, CentOS 8+, Debian 11+ |
| PHP | 5.6 - 8.3 | PHP 8.1+ |
| Database | MySQL 5.5+ / MariaDB 10.0+ | MariaDB 10.6+ |
| Memory | 64MB RAM | 256MB RAM |
| Disk | 100MB free space | 1GB for logs and evidence |
Advanced Configuration
Custom Protection Rules
Create protection rules for your own applications:
[custom-app]
logfile = /var/log/myapp/security.log
regex = "SECURITY_VIOLATION: IP=(\d+\.\d+\.\d+\.\d+)"
scope = global
threshold = 1
timeframe = 60
bantime = 1440
Multi-Server Deployment
Suitable for hosting providers and larger setups:
// Central database configuration
define('DB_HOST', 'central-db.example.com');
define('SERVER_IDENT', 'web-server-01');
// Automatic ban synchronization across all servers
define('BANDAEMON_DISTRIBUTED', true);
Web Application Protection
PHP request analysis:
// Add to php.ini for comprehensive web protection
auto_prepend_file = /usr/share/php/ispp_bd_postlog.php
Performance
Resource Usage
- Efficient log parsing with optimized regex engines
- Database optimization with indexing
Management Tools
Command Line Interface
# View current bans
ispp_bandaemon --showbans
# Manual IP management
ispp_bandaemon --ban=192.168.1.100 --bantime=1H
ispp_bandaemon --unban=192.168.1.100
# Generate reports
ispp_bandaemon --report --screen
ispp_bandaemon --report [email protected]
# Whitelist management
ispp_bandaemon --whitelist=192.168.1.0/24
Automated Reporting
- Daily attack summaries via email
- Real-time alerts for critical threats
- Custom report scheduling with cron integration
Support & Resources
Getting Help
- Documentation with step-by-step guides: ISPProtect BanDaemon documentation.
- Email support for licensed customers. Contact us here
- Professional services for multi-server deployments
Resources
- User Guide - Detailed documentation
Get Started Today
Free Trial
Download your free 14-day trial and evaluate BanDaemon on your own server:
Need Help?
Support for deployment questions:
- Technical support: Support Portal
Version 2.0 - What's New
Features
- Modern systemd integration with service hardening
- Improved PHP 8.x compatibility
- Database wrapper with improved performance
- IPv6 support with improved subnet handling
Performance Improvements
- Faster log processing with optimized algorithms
- Reduced memory footprint through efficient data structures
- Better database performance with improved queries
- Improved error handling and recovery mechanisms
New Capabilities
- Abuse reporting automation with whois integration
- GeoIP scoring with country-specific rules
- Distributed architecture for multi-server environments