scaling radius to support a nationwide network access infrastructure kostas kalevras ntua network...

19
Scaling RADIUS to Support a Scaling RADIUS to Support a Nationwide Network Access Nationwide Network Access Infrastructure Infrastructure Kostas Kalevras NTUA Kostas Kalevras NTUA Network Operations Centre Network Operations Centre

Upload: loren-lynch

Post on 08-Jan-2018

219 views

Category:

Documents


0 download

DESCRIPTION

Need for High Performance User Population Increase Used for authenticating Schools access

TRANSCRIPT

Page 1: Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre

Scaling RADIUS to Support a Scaling RADIUS to Support a Nationwide Network Access Nationwide Network Access

InfrastructureInfrastructure

Kostas Kalevras NTUA Network Kostas Kalevras NTUA Network Operations CentreOperations Centre

Page 2: Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre

RADIUS ProtocolRADIUS Protocol

Used inUsed in Wireless HotspotsWireless Hotspots 802.1X network authentication802.1X network authentication Dialup authenticationDialup authentication DSL/BroadbandDSL/Broadband Services AAAServices AAA

Page 3: Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre

Need for High PerformanceNeed for High Performance

User Population IncreaseUser Population IncreaseUsed for authenticating Schools accessUsed for authenticating Schools access

Page 4: Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre

Key issues in scaling RADIUS Key issues in scaling RADIUS PerformancePerformance

Redundancy + Failover with full accounting + Redundancy + Failover with full accounting + double login detectiondouble login detection High AvailabilityHigh Availability Load spread between serversLoad spread between servers

Scalable, Replicated user databaseScalable, Replicated user databaseScalable Accounting InfrastructureScalable Accounting InfrastructureEncrypted authentication requests Encrypted authentication requests (EAP-TTLS/TLS/PEAP)(EAP-TTLS/TLS/PEAP)

Ease of server maintainance/delegated Ease of server maintainance/delegated administrationadministration

Page 5: Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre

GuidelinesGuidelines

Accounting is more important than Accounting is more important than authentication. It is also much largerauthentication. It is also much largerDon’t use a single server. Don’t use a single server. Distribute/ReplicateDistribute/Replicate

Page 6: Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre

Guideline #1: Multiple RADIUS Guideline #1: Multiple RADIUS ServersServers

Use multiple RADIUS server with replicated Use multiple RADIUS server with replicated accounting dataaccounting data

Network Users

RADIUS ServerSQL Database

RADIUS Server

LDAP Server LDAP Server

SQL Database

Accounting Relay

Page 7: Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre

Guideline #2: Tune SQL Guideline #2: Tune SQL AccountingAccounting

Index fieldsIndex fieldsSpread the load between multiple server Spread the load between multiple server threads, don’t serialize accountingthreads, don’t serialize accountingUse a connection pool instead of per Use a connection pool instead of per request connectionsrequest connections

Page 8: Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre

Guideline #3: User DatabaseGuideline #3: User Database

Use a high performance database like Use a high performance database like SQL/LDAPSQL/LDAP Ease of administrationEase of administration

Configure replication. Ideally, each radius Configure replication. Ideally, each radius server should have a dedicated user server should have a dedicated user authentication serverauthentication server

Page 9: Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre

Guideline #4: Only service live Guideline #4: Only service live requestsrequests

On memory table for online users – Use On memory table for online users – Use an on-disk buffer and a separate process an on-disk buffer and a separate process for permanent accounting storagefor permanent accounting storageAdvantagesAdvantages Guaranteed low service timeGuaranteed low service time Complex operations are performed on each Complex operations are performed on each

request rather than grouped request rather than grouped

Page 10: Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre

Guideline #5: Server Configuration Guideline #5: Server Configuration on a databaseon a database

Certain parts of server configuration should be Certain parts of server configuration should be kept on a databasekept on a database Client ConfigurationClient Configuration Realm ConfigurationRealm Configuration

AdvantagesAdvantages Ease of administration (web interface)Ease of administration (web interface) No access required to radius serversNo access required to radius servers Delegated administrationDelegated administration Single point of administration, automated procedureSingle point of administration, automated procedure

Page 11: Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre

Case StudyCase Study

Greek School NetworkGreek School Network

Page 12: Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre

GSN StructureGSN Structure

52 Access Servers52 Access Servers5000 Schools5000 Schools50.000 Dialup Accounts50.000 Dialup Accounts100.000 sessions/day100.000 sessions/dayLDAP authentication Database (2 fully LDAP authentication Database (2 fully replicated LDAP servers)replicated LDAP servers)

Page 13: Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre

RADIUS Server SolutionRADIUS Server Solution

FreeRADIUS was chosen as the preferred FreeRADIUS was chosen as the preferred platformplatformReasons for this choiseReasons for this choise Scalable, multithreaded, in active Scalable, multithreaded, in active

developmentdevelopment Open source, participation in server Open source, participation in server

developmentdevelopment Supports all features wanted Supports all features wanted

Page 14: Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre

Scaling StepsScaling Steps

PreauthenticationPreauthenticationNew server StructureNew server StructureCaching moduleCaching module

Page 15: Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre

PreauthenticationPreauthentication

Preauthentication of school access based Preauthentication of school access based on Caller-Idon Caller-IdAdvantagesAdvantages Lower overheadLower overhead Rejection on call setup (no aditional costs)Rejection on call setup (no aditional costs)

Page 16: Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre

New Server StructureNew Server Structure

Maintain an On-Memory Live accounting Maintain an On-Memory Live accounting table. Permanent accounting performed by table. Permanent accounting performed by a separate processa separate processAdvantagesAdvantages Lower and guaranteed accounting service Lower and guaranteed accounting service

timetime Statistics generation can be performed real-Statistics generation can be performed real-

timetime

Page 17: Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre

Caching ModuleCaching Module

Cache Server responses based on a Cache Server responses based on a configurable keyconfigurable keyAdvantagesAdvantages Lower service timeLower service time Combined with preauthentication most requests are Combined with preauthentication most requests are

serviced from cacheserviced from cache No queries are performed to the directory serviceNo queries are performed to the directory service

DisadvantagesDisadvantages Cache entries must be erased on changesCache entries must be erased on changes

Page 18: Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre

ConclusionsConclusions

RADIUS still is at the core of AAA RADIUS still is at the core of AAA infrastructuresinfrastructuresCan still scale to accommodate current Can still scale to accommodate current and future needsand future needsIs being used with success in large scale Is being used with success in large scale installationsinstallations

Page 19: Scaling RADIUS to Support a Nationwide Network Access Infrastructure Kostas Kalevras NTUA Network Operations Centre

Thank you!Thank you!Any questions?Any questions?