[RADIATOR] radpwtst - sending multiple packets
Bjoern A. Zeeb
bzeeb-lists at lists.zabbadoz.net
Wed Jan 5 15:37:23 CST 2011
On Wed, 5 Jan 2011, Michael wrote:
Hi,
> I'm trying to figure out the best way to send multiple radius packets to
> a server. It seems that executing radpwtst once for each individual
> packet is pretty slow. I assume it is slow since it has to compile,
> parse the dictionary, and do whatever else radpwtst has to do each time
> it is run. I'm wondering if there is a way to have radpwtst run once,
> and send/receive multiple packets.
>
> I see there is a -rawfileseq option that appears to do this, but i don't
> see this as being a documented option in the manual. How do you
> generate raw packets to build a raw file?
>
> Is there any other ways of sending/receiving radius packets to a server?
Depends on what you really want to accomplish. Shell loops of
radpwtst have often been suggested in the past; I found them painful
to script though. There is a problem of deltaT (rtt) as well, so you need
parallel radpwtst to actually get to speed and with that you need to
make sure to not send duplicates, yadda yadda yadda. It's ok if you
want to check a couple of hundred requests.
For benchmarking and pushing servers in the multiple thousands of
reqs/s you probably want something more sophisticated but perl and
Radiator have proven to be able to do that fairly well, even on a
desktop machine;)
/bz
--
Bjoern A. Zeeb You have to have visions!
<ks> Going to jail sucks -- <bz> All my daemons like it!
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html
More information about the radiator
mailing list