O'Reilly logo

FreeRADIUS Beginner's Guide by Dirk van der Walt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – using unlang to create a data counter

We first have to ensure that certain things are in place in order for this exercise to be successful. The following items should be completed first as preparation:

  • Define custom attributes in the dictionary.
  • Create Perl scripts that will be used by the FreeRADIUS perl module.
  • Update Mikrotik and Chillispot dictionaries.
  • Prepare the users file.
  • Prepare the SQL database.
  • Add unlang code to the virtual server to serve as a data counter.
  • Identify the LD_PRELOAD bug, if present.

There is a lot of work involved in this exercise. Following a divide and conquer approach will prevent us from being overwhelmed. Let's tackle it!

Defining custom attributes

We have seen from the introduction to unlang that the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required