Authentication and AAA
Identity, RADIUS, FreeRADIUS, PPPoE, accounting, CoA and secure operations.
Authentication and AAA
AAA Concepts
Technical reference for AAA Concepts covering Authentication, Authorization e Accounting são perguntas diferentes, Supplicant, NAS/Authenticator, servidor AAA e backend, Authentication e autorização aparecem juntas na resposta de acesso, RADIUS, TACACS+ e Diameter não são substitutos perfeitos, EAP é um framework de métodos, não um método único, Accounting é evidência operacional, não apenas “billing”, with an operational focus and practical troubleshooting guidance.
RADIUS Protocol
Technical reference for RADIUS Protocol covering Code, Identifier, Length, Authenticator e Attributes, Acesso e accounting são transações distintas, O protocolo é extensível por atributos, RADIUS legado usa construções baseadas em MD5, EAP grande pode ser dividido em múltiplos atributos, Security tradicional é hop-by-hop, with an operational focus and practical troubleshooting guidance.
FreeRADIUS
Technical reference for FreeRADIUS covering Produção deve usar ramo suportado pela distribuição/projeto, Request passa por estágios e módulos, Debian/Ubuntu — base segura, Descubra o diretório real da versão instalada, SQL é backend de estado, não requisito do protocolo, Cadastre o menor escopo possível, with an operational focus and practical troubleshooting guidance.
daloRADIUS
Technical reference for daloRADIUS covering daloRADIUS 2.3 foi lançado em maio de 2026, Painel e FreeRADIUS compartilham o backend, Use release/tag ou procedimento oficial, não master às cegas, Nova installation e upgrade são caminhos diferentes, Menor privilégio e MFA, Trate o painel como aplicação administrativa crítica, with an operational focus and practical troubleshooting guidance.
PPPoE + RADIUS
Technical reference for PPPoE + RADIUS covering Cliente PPPoE → concentrador/NAS → RADIUS, Configuration mínima, Planos podem vir do RADIUS, AAA também participa da delegação, Interim-Update é essencial para sessão longa, Mudar banda pode não exigir derrubar a sessão, with an operational focus and practical troubleshooting guidance.
Hotspot + RADIUS
Technical reference for Hotspot + RADIUS covering Portal cativo não substitui AAA, RADIUS para serviço hotspot, Perfil, banda, limites e VLAN dependem do serviço/suporte, Solicite Interim-Update quando precisar de visibilidade durante a sessão, Proteja credenciais no navegador e no transporte, Login retorna “RADIUS server not responding”, with an operational focus and practical troubleshooting guidance.
RADIUS Accounting
Technical reference for RADIUS Accounting covering Start → Interim-Update → Stop, Correlacione identidade, NAS e sessão, Índices são vitais quando a tabela cresce, Intervalo é compromisso entre precisão e carga, Stop perdido não pode virar sessão eterna, Exemplos de investigação, with an operational focus and practical troubleshooting guidance.
CoA and Disconnect
Technical reference for CoA and Disconnect covering O servidor passa a iniciar uma transação para o NAS, ACK confirma aplicação; NAK precisa ser interpretado, User-Name sozinho pode ser ambíguo, Habilite incoming RADIUS conforme release, Teste fora do painel, Não exponha UDP/3799 à Internet, with an operational focus and practical troubleshooting guidance.
RADIUS Security
Technical reference for RADIUS Security covering RADIUS legado foi criado antes do baseline criptográfico moderno, Não é “só atualizar o servidor”, Integridade do pacote precisa ser tratada explicitamente, Um segredo por NAS/peer, longo e aleatório, Proteja transporte e autentique os peers, RFC 9765 remove MD5 quando negociado sobre TLS 1.3+, with an operational focus and practical troubleshooting guidance.
RADIUS High Availability
Technical reference for RADIUS High Availability covering Dois FreeRADIUS no mesmo host não é HA, Primário/secundário precisa ser testado, HA do RADIUS não resolve banco único, FreeRADIUS pode usar pools de home servers, Duplicidade e perda precisam ser previstas, Quem envia CoA precisa saber qual NAS mantém a sessão, with an operational focus and practical troubleshooting guidance.
RADIUS Monitoring
Technical reference for RADIUS Monitoring covering “Processo up” é métrica insuficiente, RADIUS possui mecanismo de status definido por RFC 5997, O que coletar, Banco lento aparece como RADIUS lento, Alerta de “sessões stale” deve respeitar Interim, Exemplos úteis, with an operational focus and practical troubleshooting guidance.
FreeRADIUS Troubleshooting
Technical reference for FreeRADIUS Troubleshooting covering NAS → rede → socket → FreeRADIUS → política → backend → resposta, Commands mínimos, Request saiu do NAS mas não há resposta, Reject é decisão processada, “rlm_sql returned fail”, Authentication funciona, sessões não aparecem, with an operational focus and practical troubleshooting guidance.