On Fri, Aug 19, 2011 at 01:35:32PM +0100, Alan DeKok wrote:
OK... my main surprise is that you've re-written a RADIUS encoder/decoder, and a dictioanry file parser. All of that code already exists...
I did initially look at using the radiusclient-ng library, but I found the dictionary parsing to be a bit too fragile. It would bomb out with very little provocation.
The "radsniff" program distributed with FreeRADIUS reads PCAP files. It uses the FreeRADIUS library to read the dictionaries, and the library can send/receive packets.
I wasn't aware of radsniff, I'll take a look at the code some time to see if I can integrate it. I quite like not needing any other libraries though, and it's such a small program really. Ben -- | Ben Brown Broadband Solutions for | Infrastructure Engineer Home & Business@ | Plusnet Plc www.plus.net | Registered Office: Internet House, 2 Tenter Street, Sheffield, S1 4BY | Registered in England no: 3279013 + --------------- Plusnet - ISPA Best Consumer ISP 2008 ---------------