Settings
The Settings page lets you configure Bloqd's behavior and integrations.
General Settings
System Information
View system details:
- Bloqd version
- Database size
- Uptime
- License status
Jail Defaults
Set default values for new jails:
| Setting | Description | Default |
|---|---|---|
| Max Retry | Failed attempts before ban | 5 |
| Find Time | Window for counting attempts (seconds) | 600 |
| Ban Time | Ban duration (seconds) | 3600 |
These defaults apply when adding new jails without specifying custom values.
Discord Integration
Connect Bloqd to Discord for real-time notifications.
Setup
- Create a Discord webhook:
- Server Settings → Integrations → Webhooks
- New Webhook → Copy URL
- In Bloqd Settings:
- Enable Discord
- Paste webhook URL
- Configure notifications
- Test connection
Notification Options
| Option | Description |
|---|---|
| Notify Bans | Send message for each ban |
| Notify Syncs | Send message for sync events |
| Notify Errors | Send message for errors |
| Daily Summary | Send aggregated daily report |
| Summary Hour | Hour (UTC) for daily summary |
Message Customization
Notifications include:
- IP address with country flag
- Jail name
- Server name
- Timestamp
- Log excerpt (if available)
Color coding:
- 🔴 Red: Ban notifications
- 🟢 Green: Successful syncs
- 🟠 Orange: Warnings/failures
- 🟣 Purple: Daily summaries
Email / SMTP
Configure email notifications.
SMTP Setup
| Setting | Description |
|---|---|
| Host | SMTP server hostname |
| Port | SMTP port (465, 587, 25) |
| Username | SMTP username |
| Password | SMTP password |
| From Address | Sender email address |
| TLS | Enable TLS encryption |
Test Connection
- Enter SMTP settings
- Click Test Connection
- Enter test recipient
- Verify email received
Email Notifications
| Notification | Description |
|---|---|
| Daily Summary | Daily ban report |
| Alert Emails | Critical alerts |
AbuseIPDB
Automatically report malicious IPs.
Setup
- Get API key from abuseipdb.com
- Enable AbuseIPDB in settings
- Enter API key
- Set rate limit
Configuration
| Setting | Description | Default |
|---|---|---|
| Enabled | Enable automatic reporting | Off |
| API Key | Your AbuseIPDB API key | - |
| Rate Limit | Max reports per day | 1000 |
How It Works
- Ban received from agent
- Bloqd maps jail to AbuseIPDB category
- Checks if already reported (15-min window)
- Submits report with IP and category
- Stores record to prevent duplicates
Category Mapping
| Jail | AbuseIPDB Category |
|---|---|
| sshd | 22 (SSH) |
| postfix | 11 (Email Spam) |
| apache-auth | 21 (Web App Attack) |
| wordpress | 21 (Web App Attack) |
API Keys
Manage API keys for programmatic access.
View Keys
List shows:
- Key name
- Permission level
- Created date
- Last used
- Bound server (if any)
Create Key
- Click Create Key
- Enter name
- Select permission level:
- Read: View only
- Write: View + modify
- Admin: Full access
- Optionally bind to server
- Click Create
- Copy the key immediately (shown once)
Delete Key
- Find key in list
- Click delete icon
- Confirm deletion
Deleting a key immediately revokes access. Agents using that key will stop working.
Users & Roles
Manage user accounts and permissions.
Users
| Action | Description |
|---|---|
| Add User | Create new user account |
| Edit User | Change name, email, role |
| Reset Password | Admin password reset |
| Delete User | Remove user account |
Roles
Default roles:
- Admin: Full access
- Operator: Manage servers, no settings
- Viewer: Read-only access
Create custom roles with specific permissions.
MFA
Enable two-factor authentication:
- Go to Profile
- Click Enable MFA
- Scan QR code with authenticator app
- Enter verification code
- Save backup codes
License
Manage your Bloqd license.
View License
- Current tier
- Expiration date
- Server limit
- Feature availability
Activate License
- Enter license key
- Click Activate
- Features unlock immediately
Deactivate License
Remove license from this instance (to transfer to another).
Data Management
Cleanup Settings
Configure automatic data cleanup:
| Setting | Description | Default |
|---|---|---|
| Ban Retention | Days to keep ban history | 90 |
| Log Retention | Days to keep sync logs | 30 |
| Metrics Retention | Days to keep metrics | 7 |
Manual Cleanup
Trigger immediate cleanup:
- Go to Data Management
- Select what to clean:
- Old bans
- Sync logs
- Command logs
- Metrics
- Click Clean Now
Cache Management
Clear cached data:
- GeoIP cache
- AbuseIPDB cache
- Session cache