Download presentation
Presentation is loading. Please wait.
Published byLoren Lynch Modified over 9 years ago
1
Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre
2
RADIUS Protocol Used in Wireless Hotspots Wireless Hotspots 802.1X network authentication 802.1X network authentication Dialup authentication Dialup authentication DSL/Broadband DSL/Broadband Services AAA Services AAA
3
Need for High Performance User Population Increase Used for authenticating Schools access
4
Key issues in scaling RADIUS Performance Redundancy + Failover with full accounting + double login detection High Availability High Availability Load spread between servers Load spread between servers Scalable, Replicated user database Scalable Accounting Infrastructure Encrypted authentication requests (EAP-TTLS/TLS/PEAP) Ease of server maintainance/delegated administration
5
Guidelines Accounting is more important than authentication. It is also much larger Don’t use a single server. Distribute/Replicate
6
Guideline #1: Multiple RADIUS Servers Use multiple RADIUS server with replicated accounting data
7
Guideline #2: Tune SQL Accounting Index fields Spread the load between multiple server threads, don’t serialize accounting Use a connection pool instead of per request connections
8
Guideline #3: User Database Use a high performance database like SQL/LDAP Ease of administration Ease of administration Configure replication. Ideally, each radius server should have a dedicated user authentication server
9
Guideline #4: Only service live requests On memory table for online users – Use an on-disk buffer and a separate process for permanent accounting storage Advantages Guaranteed low service time Guaranteed low service time Complex operations are performed on each request rather than grouped Complex operations are performed on each request rather than grouped
10
Guideline #5: Server Configuration on a database Certain parts of server configuration should be kept on a database Client Configuration Client Configuration Realm Configuration Realm ConfigurationAdvantages Ease of administration (web interface) Ease of administration (web interface) No access required to radius servers No access required to radius servers Delegated administration Delegated administration Single point of administration, automated procedure Single point of administration, automated procedure
11
Case Study Greek School Network
12
GSN Structure 52 Access Servers 5000 Schools 50.000 Dialup Accounts 100.000 sessions/day LDAP authentication Database (2 fully replicated LDAP servers)
13
RADIUS Server Solution FreeRADIUS was chosen as the preferred platform Reasons for this choise Scalable, multithreaded, in active development Scalable, multithreaded, in active development Open source, participation in server development Open source, participation in server development Supports all features wanted Supports all features wanted
14
Scaling Steps Preauthentication New server Structure Caching module
15
Preauthentication Preauthentication of school access based on Caller-Id Advantages Lower overhead Lower overhead Rejection on call setup (no aditional costs) Rejection on call setup (no aditional costs)
16
New Server Structure Maintain an On-Memory Live accounting table. Permanent accounting performed by a separate process Advantages Lower and guaranteed accounting service time Lower and guaranteed accounting service time Statistics generation can be performed real- time Statistics generation can be performed real- time
17
Caching Module Cache Server responses based on a configurable key Advantages Lower service time Lower service time Combined with preauthentication most requests are serviced from cache Combined with preauthentication most requests are serviced from cache No queries are performed to the directory service No queries are performed to the directory serviceDisadvantages Cache entries must be erased on changes Cache entries must be erased on changes
18
Conclusions RADIUS still is at the core of AAA infrastructures Can still scale to accommodate current and future needs Is being used with success in large scale installations
19
Thank you! Any questions?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.