intersvyaz / freeradius-zeromq

ZeroMQ module for FreeRADIUS
MIT License
0 stars 0 forks source link

request : All Attributes and JSON #1

Open binooetomo opened 7 years ago

binooetomo commented 7 years ago

Dear Sir.

I just found your great work.

Kindly please add some feature :

  1. add JSON and or MSGPACK ( msgpack.org ) for data format.
  2. by default, send all Attributes in msg. This is just like Aaron cubalt did in his rlm_rest. reason : a FreeRadius beginer like me that need to build some custom backend have no knowledge of Radius Attributes. When I first play with rlm_rest, I write a msg dumper (using python flask) first to get an inside look of what attributes sent by radius

sincerely -bino-

gureedo commented 7 years ago

Hi!

  1. Just use type= raw and write it in json form.
  2. It's absolutely not secure to send all attributes. You can use something like logline module to see what arrived in request.