feat(node): dashboard SSE y normalización de atributos REST\n\n- Agrega dashboard web (SSE) en / con historial y eventos en vivo\n- Normaliza formato JSON de rlm_rest y registra eventos\n- Responde Access-Accept con VLAN 2 + WISPr 10/10\n\nfix(radius): corrige URI rlm_rest y acepta en lab\n\n- REST URI fija a http://node:3000 (antes expandía mal)\n- default: Auth-Type := Accept para entorno de pruebas\n- clients: añade localhost y subred 192.168.87.0/24\n\nchore: añade .env para compose
This commit is contained in:
@@ -5,7 +5,7 @@ rest {
|
||||
|
||||
# Authorize: llama al API Node
|
||||
authorize {
|
||||
uri = "%{env:REST_ENDPOINT:-http://node:3000}/authorize"
|
||||
uri = "http://node:3000/authorize"
|
||||
method = "post"
|
||||
body = "json"
|
||||
# send_all = yes -> envía todos los atributos del paquete
|
||||
@@ -14,9 +14,8 @@ rest {
|
||||
|
||||
# Accounting: opcional
|
||||
accounting {
|
||||
uri = "%{env:REST_ENDPOINT:-http://node:3000}/accounting"
|
||||
uri = "http://node:3000/accounting"
|
||||
method = "post"
|
||||
body = "json"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user