Main Page | Namespace List | Alphabetical List | Class List | File List | Class Members | File Members

main.cpp File Reference

#include "RadiusAttribute.h"
#include "RadiusPacket.h"
#include "RadiusServer.h"
#include "RadiusConfig.h"
#include "radius.h"
#include <iostream>

Functions

void parseResponsePacket (RadiusPacket *packet)
int main (void)

Function Documentation

int main void   ) 
 

The RadiusClass is C++ library for RADIUS authentication and accounting. Features:

  • Sending and Receiving RADIUS packets.
  • Generates password and authentication packet fields at sending, you only need to set the plain text password for the user for ACCESS_REQUEST packets
  • password length optional
  • timeouts for waiting on response packets
  • sending retries if no response from server
  • sending to optional number of servers:
    • the first server from the config file is taken
      • config parameter: e.g. wait=5 : wait 5s on a response
      • config parameter: e.g. retry=2 : retry sending the packet 2 times after timeout
    • if the first server do not response -> take the next server from config file
  • extract attributes from the response packet, e.g. FramedIp or FramedRoutes
  • functions to convert values from the response packets for integers and ip address as string (see function parseResponsePacket())

void parseResponsePacket RadiusPacket packet  ) 
 


Generated on Sun Nov 27 20:19:12 2005 for RadiusClass by  doxygen 1.4.2