test suite simulating NAS for development?
Hi All, We're developing an application to capture log data from Radius, but we don't have a NAS to test with to generate the logs. Is there some test suite available to do this? Thanks much; if none is available we will probably develop one and I think our management will consent to share it. -- Mark McWiggins Client Integration Engineer mark.mcwiggins@messagesystems.com 443-656-3311 ext 344
Mark McWiggins wrote:
We're developing an application to capture log data from Radius, but we don't have a NAS to test with to generate the logs.
Is there some test suite available to do this?
radclient comes with the server. It can generate traffic if you feed it data. There's also radperf (http://networkradius.com). It's similar to radclient, but it does a lot more (synthesize accounting traffic, etc.).
Thanks much; if none is available we will probably develop one
There are *tons* of RADIUS clients out there. Download one. Don't write another one. Alan DeKok.
On Sat, Jan 23, 2010 at 12:47 AM, Alan DeKok <aland@deployingradius.com> wrote:
Mark McWiggins wrote:
We're developing an application to capture log data from Radius, but we don't have a NAS to test with to generate the logs.
Is there some test suite available to do this?
radclient comes with the server. It can generate traffic if you feed it data.
There's also radperf (http://networkradius.com). It's similar to radclient, but it does a lot more (synthesize accounting traffic, etc.).
I just do some testing with radperf, and the something like this fits my requirement to generate dummy load with bouth Auth and Acct packets to radius ./radperf -A 1,10 -s -f test-users.csv 127.0.0.1 auth testing123 (the short values to "-A" is just for testing purposes). However, if the test file contains more than 7 lines, radperf dies with Segmentation fault. Is this a known bug? -- Fajar
Fajar A. Nugraha wrote:
./radperf -A 1,10 -s -f test-users.csv 127.0.0.1 auth testing123
(the short values to "-A" is just for testing purposes). However, if the test file contains more than 7 lines, radperf dies with Segmentation fault. Is this a known bug?
No. I should release a new version of radperf soon, with a few useful more features. Alan DeKok.
On Sat, Mar 19, 2011 at 9:19 PM, Alan DeKok <aland@deployingradius.com> wrote:
Fajar A. Nugraha wrote:
./radperf -A 1,10 -s -f test-users.csv 127.0.0.1 auth testing123
(the short values to "-A" is just for testing purposes). However, if the test file contains more than 7 lines, radperf dies with Segmentation fault. Is this a known bug?
No.
I should release a new version of radperf soon, with a few useful more features.
Thanks :D Currently with PAP auth-only test to MySQL-backed freeradius I get about 2000 succesful authentications per second. It'd be great if I can get the maximum number of supported users on this system with a typical auth -> acct-start -> interim-update -> acct-stop cycle. -- Fajar
Hi,
Currently with PAP auth-only test to MySQL-backed freeradius I get about 2000 succesful authentications per second. It'd be great if I can get the maximum number of supported users on this system with a typical auth -> acct-start -> interim-update -> acct-stop cycle.
you should get much faster than that - but some of that will be tweaks to MySQL - use a better engine like InnoDB, use buffers/cache etc for what its worth I've been chucking 10,000 users in CVS file through radperf with no issues - not sure why yours is barfing at 7 lines.... I've tested multiple proxy paths wih various backend systems...the fasteest I have acheived was with local 'fastusers' file and the result was stupidly high speeds... 10,000 users all dealt with in less than 100msec with no issues - thats with logging etc...i was happy....its only when you rely on external services - AD/LDAP/SQL etc that things start getting slower alan
On Sat, Mar 19, 2011 at 10:14 PM, Alan Buxey <A.L.M.Buxey@lboro.ac.uk> wrote:
for what its worth I've been chucking 10,000 users in CVS file through radperf with no issues - not sure why yours is barfing at 7 lines....
with or without "-A"?
its only when you rely on external services - AD/LDAP/SQL etc that things start getting slower
I know. But sometimes you're stuck with using those. So it'd be better if we can quantify the consoquences, something like "you can add users easily, but performance will drop by an order of magnitude". -- Fajar
If some environment REALLY needs 10,000 tps, maybe you could write some sort of replication/sync engine between LDAP and "fast users"? And of course there's always mutiple methods of load balancing. ----- Original Message ----- From: Fajar A. Nugraha [mailto:list@fajar.net] Sent: Saturday, March 19, 2011 10:59 AM To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Subject: Re: test suite simulating NAS for development? On Sat, Mar 19, 2011 at 10:14 PM, Alan Buxey <A.L.M.Buxey@lboro.ac.uk> wrote:
for what its worth I've been chucking 10,000 users in CVS file through radperf with no issues - not sure why yours is barfing at 7 lines....
with or without "-A"?
its only when you rely on external services - AD/LDAP/SQL etc that things start getting slower
I know. But sometimes you're stuck with using those. So it'd be better if we can quantify the consoquences, something like "you can add users easily, but performance will drop by an order of magnitude". -- Fajar - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html <font size="1"> <div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'> </div> "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." </font>
Fajar A. Nugraha wrote:
Currently with PAP auth-only test to MySQL-backed freeradius I get about 2000 succesful authentications per second. It'd be great if I can get the maximum number of supported users on this system with a typical auth -> acct-start -> interim-update -> acct-stop cycle.
The next rev of radperf will support that. Alan DeKok.
Hi, Would it be possible to provide an estimate for when the next version of radperf is to be released? Using radperf with the -A parameter is also causing me segmentation faults. This is what I get (using only 50 test Sims with sequential IPs, first one being 123.123.0.1, i.e. it only gets as fas as 29th): radperf -A 10,60 -x -n 5 -s -f sims.csv -T radperf-1.1a/nas.rad localhost auth testing123 [...] Sending Access-Request of id 209 to 127.0.0.1 port 1812 User-Name = "4412231228" User-Password = " " NAS-IP-Address = 127.0.0.1 NAS-Identifier = "radperf-localhost" Called-Station-Id = "OperatorAPN" rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=209, length=44 Framed-IP-Address = 123.123.0.29 Service-Type = Framed-User Framed-Protocol = PPP Framed-IP-Netmask = 255.0.0.0 Program received signal SIGSEGV, Segmentation fault. 0x0804b934 in send_accounting_start () (gdb) bt #0 0x0804b934 in send_accounting_start () #1 0x0804c303 in recv_packet () #2 0x00128fdd in fr_event_loop (el=0x81368f8) at event.c:400 #3 0x0804d585 in main () Obviously I can't get any more Regards, VT -- View this message in context: http://freeradius.1045715.n5.nabble.com/test-suite-simulating-NAS-for-develo... Sent from the FreeRadius - User mailing list archive at Nabble.com.
participants (6)
-
Alan Buxey -
Alan DeKok -
Fajar A. Nugraha -
Gary Gatten -
Mark McWiggins -
vilnis.termanis