Gogs
|
7c10345487
Use ubus listen for TRUE event-driven
|
vor 2 Monaten |
Gogs
|
1dd755fc91
Rewrite for TRUE event-driven (no polling)
|
vor 2 Monaten |
Gogs
|
776b9bc77a
Fix fs_event API, use timers for all watchers
|
vor 2 Monaten |
Gogs
|
3d6c83de25
True async: use luv fs_event for DHCP, timers for WiFi/SSID
|
vor 2 Monaten |
Gogs
|
0ece43c11a
Add debug logging for WiFi interface detection
|
vor 2 Monaten |
Gogs
|
ce1f9b31f3
Integrate client2server-minimal.lua with luv async
|
vor 2 Monaten |
Gogs
|
bbf1baba59
Simplify: use direct curl http_post like minimal version
|
vor 2 Monaten |
Gogs
|
3a635317e0
Add curl-based HTTP fallback for minimal OpenWrt
|
vor 2 Monaten |
Gogs
|
720e771ffd
Add HTTP fallback when WebSocket not available
|
vor 2 Monaten |
Gogs
|
a5fd620d6b
Fix: integrate WebSocket into luv event loop
|
vor 2 Monaten |
Gogs
|
d799283ad2
Fix function order: move DHCP helpers before monitor functions
|
vor 2 Monaten |
Gogs
|
aeca0f4162
Fix DHCP monitor: use timer instead of fs_event (more compatible)
|
vor 2 Monaten |
Gogs
|
2f44955dab
Fix extra indentation in while loop
|
vor 2 Monaten |
Gogs
|
765cb4f628
Fix luv.run() pcall syntax error
|
vor 2 Monaten |
Gogs
|
0ac8af536d
Fix luv.run() - call without arguments
|
vor 2 Monaten |
Gogs
|
0b6d8ff678
Add client2server-luv.lua with luv async monitoring
|
vor 2 Monaten |
Gogs
|
46a0ff1dae
Add client2server-luv.lua with luv async monitoring
|
vor 2 Monaten |
Gogs
|
2732ef1018
Debug: Log ubus response per interface
|
vor 2 Monaten |
Gogs
|
a76346b40f
Debug: Log clients per interface
|
vor 2 Monaten |
Gogs
|
d74ca74563
Fix: Syntax error - missing return in http_post
|
vor 2 Monaten |
Gogs
|
31f12bd580
Fix: Move is_valid_mac function to top (before load_state uses it)
|
vor 2 Monaten |
Gogs
|
8374102ae0
Fix: Validate MACs in get_dhcp_leases() function
|
vor 2 Monaten |
Gogs
|
3c24986e74
Fix: Validate DHCP lease MACs too
|
vor 2 Monaten |
Gogs
|
346ba047ab
Fix: Reject multicast MACs (second byte = FF)
|
vor 2 Monaten |
Gogs
|
45f11a7e7e
Fix: Validate MACs when loading from state file
|
vor 2 Monaten |
Gogs
|
aca96be585
Fix: Validate MAC addresses to filter invalid ones
|
vor 2 Monaten |
Gogs
|
d2442bcc0e
Fix: More precise client detection per interface
|
vor 2 Monaten |
Gogs
|
752b20b397
Fix: Escape sequence in gmatch patterns
|
vor 2 Monaten |
Gogs
|
e349a0427e
Use iw dev for accurate SSID mapping
|
vor 2 Monaten |
Gogs
|
6551fbc419
Use UCI for SSID names instead of ubus
|
vor 2 Monaten |