Time for action – incorporating expiration and linelog modules

Isaac suspects that some of the students at the university have tried to gain Wi-Fi access illegally. He would like to log all the failed authentication attempts to a dedicated log file. While he is at it, he would also like to add an expiry date to each student to prevent them from gaining access to the network after the end of the semester. To implement this, he makes use of the expiration and linelog modules in FreeRADIUS. Let's see how it's done:

  1. Edit the linelog file inside the modules sub-directory under the FreeRADIUS configuration directory. Change the following line:
    Access-Request = "Requested access: %{User-Name}"

    to:

    Access-Request = "Request access: %{User-Name} %{User-Password} ...

Get FreeRADIUS Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.