Portal (luci-app-secubox-portal): - Fix service status showing 0/9 by checking if init scripts exist - Only count installed services in status display - Use pgrep fallback when init script status fails nDPId Dashboard (luci-app-ndpid): - Add default /etc/config/ndpid configuration - Add /etc/init.d/ndpid-compat init script - Enable compat service in postinst for app detection - Fix Makefile to install init script and config CrowdSec Dashboard: - Add CLAUDE.md with OpenWrt-specific guidelines (pgrep without -x) - CSS fixes for hiding LuCI left menu in all views - LAPI repair improvements with retry logic New Packages: - secubox-app-crowdsec: OpenWrt-native CrowdSec package - secubox-app-netifyd: Netifyd DPI integration - luci-app-secubox: Core SecuBox hub - luci-theme-secubox: Custom theme Removed: - luci-app-secubox-crowdsec (replaced by crowdsec-dashboard) - secubox-crowdsec-setup (functionality moved to dashboard) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
config crowdsec 'crowdsec'
|
|
option data_dir '/srv/crowdsec/data'
|
|
option db_path '/srv/crowdsec/data/crowdsec.db'
|
|
|
|
# Acquisition configuration
|
|
config acquisition 'acquisition'
|
|
# Enable/disable specific log sources
|
|
option syslog_enabled '1'
|
|
option firewall_enabled '1'
|
|
option ssh_enabled '1'
|
|
option http_enabled '0'
|
|
# Syslog service settings (if using CrowdSec as syslog server)
|
|
option syslog_listen_addr '127.0.0.1'
|
|
option syslog_listen_port '10514'
|
|
# Log file paths (OpenWrt-specific)
|
|
option syslog_path '/var/log/messages'
|
|
option auth_log_path '/var/log/auth.log'
|
|
option kernel_log_path '/var/log/kern.log'
|
|
|
|
# Hub configuration
|
|
config hub 'hub'
|
|
# Auto-install recommended collections on first boot
|
|
option auto_install '1'
|
|
# Collections to install (space-separated)
|
|
option collections 'crowdsecurity/linux crowdsecurity/iptables'
|
|
# Additional parsers
|
|
option parsers 'crowdsecurity/syslog-logs crowdsecurity/whitelists'
|
|
# Hub update interval in days (0 to disable auto-update)
|
|
option update_interval '7'
|
|
|