[RADIATOR] Reject empty username?

Robert Blayzor rblayzor.bulk at inoc.net
Mon Feb 3 16:25:45 UTC 2020


Would something like this work:

<Handler Request-Type = Accounting-Request, User-Name = /^.+/>
   ...
</Handler>
#
<Handler>
   AccountingHandled
</Handler>



> We're getting some clients that are just sending an empty (or no)
> username attribute. Our database requires a non-null username. Rather
> than just pump them into the database with some bunk username like
> "NULL" or "none".... How can we silently ignore these accounting records
> while sending a ACK back to the NAS so it doesn't keep sending them?


-- 
inoc.net!rblayzor
XMPP: rblayzor.AT.inoc.net
PGP:  https://pgp.inoc.net/rblayzor/


More information about the radiator mailing list