radutmped

radutmped is a utility that can remove utmp entries from radutmp files of several RADIUS servers.
Download

radutmped Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL v3
  • Price:
  • FREE
  • Publisher Name:
  • Predrag Malicevic
  • Publisher web site:
  • http://www.develabs.com/opensource/radutmped/

radutmped Tags


radutmped Description

radutmped is a utility that can remove utmp entries from radutmp files of several RADIUS servers. radutmped is a utility that can remove utmp entries from radutmp files of several RADIUS servers. The project directly manipulates the radutmp file and does not use radzap or any other programs.FreeRADIUS, Cistron Radius Server and GNU Radius radutmp formats are supported. Three search modes are available, radutmped can match entries in radutmp by login (User-Name), nas_port (NAS-Port) or session_id (Acct-Session-Id).COMPILING:- Edit Makefile to change CC, CFLAGS or LDFLAGS if necessary.- Execute 'make': # make- Only one RADIUS server can be supported in the radutmped binary, you have to choose which. By default, FreeRADIUS support will be compiled in, to change, pass along an environment variable RADUTMP_TYPE when issuing 'make': For Cistron support use RT_CISTRON as the variable value: # RADUTMP_TYPE=RT_CISTRON make For GNU Radius support use RT_GNURADIUS as the variable value: # RADUTMP_TYPE=RT_GNURADIUS make- Move the compiled binary 'radutmped' somewhere: # mv radutmped /usr/local/sbinUSAGE: # radutmped L|P|SEXAMPLES:- Find out session details for user john (example with FreeRADIUS): # radwho -r -i | grep john john,0011AA22,PPP,S123456,Thu 08:21,192.168.1.254,192.168.10.123 The output line contains the following data: User-Name: john Acct-Session-Id: 0011AA22 Framed-Protocol: PPP NAS-Port: 123456 NAS-IP-Address: 192.168.1.254 Framed-IP-Address: 192.168.10.123 Mind that the 'S' character in the nas_port field has to be left out when using radutmped.- Remove a radutmp entry for session_id 0011AA22: # radutmped /var/log/radius/radutmp S0011AA22- Remove a radutmp entr-y/-ies for nas_port 123456 # radutmped /var/log/radius/radutmp P123456- Remove a radutmp entr-y/-ies for login john: # radutmped /var/log/radius/radutmp Ljohn


radutmped Related Software