secubox-openwrt/package/secubox/luci-app-bandwidth-manager/root/usr/share/rpcd/acl.d/luci-app-bandwidth-manager.json
CyberMind-FR ee0a7a0864 feat(bandwidth-manager): Add profiles, parental controls, alerts, traffic graphs
Major feature expansion for luci-app-bandwidth-manager:

- Device Profiles: Gaming, Streaming, IoT, Work, Kids presets with
  custom QoS settings, bandwidth limits, and latency modes
- Parental Controls: Quick preset modes (Bedtime, Homework, Family Time),
  access schedules, content filtering categories
- Bandwidth Alerts: Threshold monitoring (80/90/100%), new device alerts,
  email/SMS notifications with configurable settings
- Traffic Graphs: Real-time bandwidth charts, historical data visualization,
  top talkers list, protocol breakdown pie charts
- Time Schedules: Full CRUD with day selection, limits, priority settings

Backend additions:
- ~30 new RPCD methods for all features
- Alert monitoring cron job (every 5 minutes)
- Shared alerts.sh library for email/SMS

Frontend views:
- profiles.js, parental-controls.js, alerts.js, traffic-graphs.js
- Shared graphs.js utility for canvas drawing
- parental.css for parental controls styling

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 12:25:35 +01:00

80 lines
1.8 KiB
JSON

{
"luci-app-bandwidth-manager": {
"description": "Bandwidth Manager - QoS & Traffic Control",
"read": {
"ubus": {
"luci.bandwidth-manager": [
"status",
"list_rules",
"list_quotas",
"get_quota",
"get_usage_realtime",
"get_usage_history",
"get_media",
"get_classes",
"get_dpi_applications",
"get_smart_suggestions",
"list_groups",
"get_group",
"get_analytics_summary",
"get_hourly_data",
"get_builtin_profiles",
"list_profiles",
"get_profile",
"list_profile_assignments",
"list_parental_schedules",
"list_preset_modes",
"get_filter_categories",
"get_alert_settings",
"get_alert_history",
"get_pending_alerts",
"get_realtime_bandwidth",
"get_historical_traffic",
"get_device_traffic",
"get_top_talkers",
"get_protocol_breakdown"
],
"system": [ "info", "board" ],
"file": [ "read", "stat" ]
},
"uci": [ "bandwidth" ]
},
"write": {
"ubus": {
"luci.bandwidth-manager": [
"add_rule",
"delete_rule",
"set_quota",
"reset_quota",
"apply_dpi_rule",
"create_group",
"update_group",
"delete_group",
"add_to_group",
"remove_from_group",
"record_stats",
"create_profile",
"update_profile",
"delete_profile",
"clone_profile",
"assign_profile_to_device",
"assign_profile_to_group",
"remove_profile_assignment",
"create_parental_schedule",
"update_parental_schedule",
"delete_parental_schedule",
"toggle_parental_schedule",
"activate_preset_mode",
"update_alert_settings",
"configure_email",
"configure_sms",
"test_notification",
"acknowledge_alert",
"check_alert_thresholds"
]
},
"uci": ["bandwidth"]
}
}
}