freeradius performance testing with seagull

2010-06-22 Thread Vladimir Romanov
Hi All!
I want test freeradius+mysql accounting interface performance with
seagull. My problem - I can't implement valid signature. I always get

rad_recv: Accounting-Request packet from host 10.2.170.14 port 65535,
id=1, length=48
Received Accounting-Request packet from 10.2.170.14 with invalid
signature!  (Shared secret is incorrect.) Dropping packet without
response.
I try next scenario
.
traffic

  !-- Start Accouting Request --
  send channel=trans-ip-v4
action
  !-- For each new call, increment the Acct-Session-Id counter --
  inc-counter name=session-counter /inc-counter
  inc-counter name=identifier-counter /inc-counter
  set-value name=Acct-Session-Id.
 format=$(session-counter)/set-value
  set-value name=Identifier.
 format=$(identifier-counter)/set-value
  !-- This field must not be use with a true value --
  restore-from-external field=0
entity=Authenticator/restore-from-external
/action
Message name=Accounting-Request
  setfield name=Authenticator value= /setfield
  Attribute name=Acct-Session-Id value=value_is_replaced /Attribute
  !-- 1 stand for Start --
  Attribute name=Acct-Status-Type value=1 /Attribute
  Attribute name=NAS-Identifier value=ims.hpintelco.org /Attribute
/Message
action
  store name=ACCT_SES_ID entity=Acct-Session-Id/store
  start-timer/start-timer
/action
  /send
.
-- 
Vladimir Romanov
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: freeradius performance testing with seagull

2010-06-22 Thread Alan DeKok
Vladimir Romanov wrote:
 Hi All!
 I want test freeradius+mysql accounting interface performance with
 seagull. My problem - I can't implement valid signature. I always get
...
 Received Accounting-Request packet from 10.2.170.14 with invalid
 signature!  (Shared secret is incorrect.) Dropping packet without
 response.
 I try next scenario
 .
 traffic

  Ask the Seagull people.  FreeRADIUS implements the RFCs, and is
inter-operable with every other RADIUS implementation.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Performance testing

2007-03-30 Thread Murray Hooper
Are there any performance statistics available for freeradius?  I am using
1.1.5 and mysql 5 and trying do determine if there will be a bottleneck in
radius packet processing.  The makers of my NAS are saying that this could
become an issue and I am just trying to see what type of numbers people
believe this solution should handle.  Is it 10 transactions / second or
10,000.

 

Thanks in advance

murray

 

 

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Performance testing

2007-03-30 Thread Alan DeKok
Murray Hooper wrote:
 Are there any performance statistics available for freeradius?  I am
 using 1.1.5 and mysql 5 and trying do determine if there will be a
 bottleneck in radius packet processing.

  The performance numbers depend on your OS, CPU, memory, and database.
 Generally, any common PC machine will have performance in the 1000's of
requests per second, or maybe 100's per second for EAP.

  i.e. If you have 100,000 users, they can all log in in about 20
minutes... worst-case.  Or less than a minute, best-case.

  The makers of my NAS are saying
 that this could become an issue and I am just trying to see what type of
 numbers people believe this solution should handle.  Is it 10
 transactions / second or 10,000.

  Which NAS vendor is that?

  Unless you have 100's of 1000's of users, RADIUS server performance is
nearly irrelevant.  And if you have 100's of 1000's of users, you have
enough money to run 3-4 machines for redundancy  load balancing.

  Most RADIUS servers are loaded at less than 10 packets/s.  With that
amount of traffic, a 486 with 32M of RAM could probably handle the load.

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Performance testing

2007-03-30 Thread Kostas Kalevras
O/H Murray Hooper έγραψε:

 Are there any performance statistics available for freeradius? I am 
 using 1.1.5 and mysql 5 and trying do determine if there will be a 
 bottleneck in radius packet processing. The makers of my NAS are 
 saying that this could become an issue and I am just trying to see 
 what type of numbers people believe this solution should handle. Is it 
 10 transactions / second or 10,000.

 Thanks in advance

 murray

 

 - 
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
In general FreeRADIUS will never be the bottleneck unless you are doing 
things like calling external scripts (instead of using 
rlm_perl/rlm_python). What you should do is make sure that your database 
can handle the load (create indexes, enlarge cache size etc).
See the testimonials page on http://www.freeradius.org/testimonials.html 
for actual cases.
Don't expect your installation to handle more than a few 
transactions/sec unless you are handling way too much traffic.As long as 
your sql dabatase is quick enough you won't have any problems.
You can find a few performance tips on a page of my blog at 
http://kkalev.wordpress.com/2007/03/25/radius-server-performance-tips/
Hope this helps
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Performance testing

2007-03-30 Thread A . L . M . Buxey
Hi,
 Are there any performance statistics available for freeradius?  I am using
 1.1.5 and mysql 5 and trying do determine if there will be a bottleneck in
 radius packet processing.  The makers of my NAS are saying that this could
 become an issue and I am just trying to see what type of numbers people
 believe this solution should handle.  Is it 10 transactions / second or
 10,000.

why not measure the performance yourself? in the doc/ directory there
exists a nice document on how to benchmark the server - using the
database you have etc etc. its 'performance-testing' you need
to read..and tuning_guide can help you to change the resulting
figures.

alan
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html