Usage
Starting Catsplash
Section titled “Starting Catsplash”Once installed, start the captive portal:
sudo ./bin/catsplashOr if installed as a systemd service:
sudo systemctl start catsplashIt listens on port 8080 by default. Clients connecting to the WiFi will be automatically redirected to the portal.
catsctl: Control CLI
Section titled “catsctl: Control CLI”catsctl is the command-line tool for managing Catsplash.
Show system status
Section titled “Show system status”sudo catsctl statusDisplays active interfaces, portal port, active/pending sessions, and total traffic.
List clients
Section titled “List clients”sudo catsctl listTable with state, MAC, IP, connection time, data used, limits, and bandwidth for each client.
Manual authorization
Section titled “Manual authorization”sudo catsctl auth aa:bb:cc:dd:ee:ff 192.168.10.50Disconnect a client
Section titled “Disconnect a client”sudo catsctl kick aa:bb:cc:dd:ee:ffExtend a session
Section titled “Extend a session”sudo catsctl extend aa:bb:cc:dd:ee:ff 30Extends the session by 30 minutes.
Set data limit
Section titled “Set data limit”sudo catsctl limit aa:bb:cc:dd:ee:ff 500500 MB limit. Use 0 to remove the limit.
Set bandwidth
Section titled “Set bandwidth”sudo catsctl band aa:bb:cc:dd:ee:ff 5mbit 2mbitDownload limit 5 Mbps, upload 2 Mbps. Use 0 to disable.
Web admin panel
Section titled “Web admin panel”Catsplash includes an admin panel at:
http://<gateway_ip>:8080/adminDefault credentials: admin / catsplash.
Panel features:
- Authentication with bcrypt-hashed passwords.
- CSRF protection on all forms.
- Active client view with masked MAC, IP, and session times.
- Data quota and bandwidth control per client.
- Audit logs for data access and deletions.
ARCO+ Rights (LOPDP)
Section titled “ARCO+ Rights (LOPDP)”Catsplash complies with Ecuador’s Personal Data Protection Law:
- Privacy policy: Available at
/privacyfrom the portal. - Data access: Users can request their data at
/data-request. - Data deletion: Users can request data deletion at
/data-deletion. - Cookie-based identity: Requester identity is resolved from session cookies, never from URL parameters.
Traffic monitoring
Section titled “Traffic monitoring”Catsplash monitors traffic for each authenticated client every 10 seconds using iptables counters. If a client exceeds their data quota, the session is automatically closed.