• No results found

RadSec RADIUS improved. Stig Venaas

N/A
N/A
Protected

Academic year: 2021

Share "RadSec RADIUS improved. Stig Venaas"

Copied!
17
0
0

Loading.... (view fulltext now)

Full text

(1)

RadSec – RADIUS improved

Stig Venaas

[email protected]

(2)

Overview

z

RADIUS overview

z

RadSec overview

z

What is wrong with RADIUS

z

RadSec benefits

z

Radsec implementations, deployment and

(3)

RADIUS overview (1)

z Remote Authentication Dial In User Service

z First defined in RFC 2058 from 1997

z Typically used for modem pools/terminal servers

z RADIUS uses UDP and a shared secret between

client and server for authentication and encryption of passwords

z A user may specify a username/password

z RADIUS client sends message to RADIUS server with

username in clear-text and password encrypted

z RADIUS server returns accept or reject

z Accept might contain attributes that tell terminal

server what access group, IP address etc the user should get

(4)

RADIUS overview (2)

z Now used a lot for wireless access

z Enhanced with EAP

z Eduroam

z Makes use of a hierarchy of RADIUS servers

z The wireless access point in a network you visit may talk

RADIUS to your home RADIUS servers

z RADIUS messages may travel through many servers and

over long distances

z EAP is used between client host (e.g. laptop) and the

home RADIUS server

z With EAP/TLS, there is a TLS connection between host and

home RADIUS server

z Good protection of credentials, but some information related

to the user may be sent as unprotected attributes to the RADIUS client

(5)

Roaming in eduroam

root Server

.de .lu .nl .au . ...

org1.lu org2.lu uni.au

dep1.uni.au dep2.uni.au

authenticator1 authenticator2

han.solo @dep1.u

(6)

RadSec overview

z

RadSec is RADIUS over TLS

z TLS is more or less SSLv3

z A new transport layer for RADIUS

z Replaces UDP

z

Benefits

z Security z Reliability

z Convenience

z We will explain these benefits after discussing

(7)

RADIUS security

z Not very secure

z Uses MD5 and a shared secret for each client –

server connection

z Message authentication

z Encryption of some attributes (passwords/keys)

z There are several weaknesses

z In particular if someone can listen in on the traffic for a long

time

z Or, input known data and see how it gets encrypted

z http://www.untruth.org/~josh/security/radius/radius-auth.html z Most attributes in clear-text, might help an attacker (privacy)

(8)

RADIUS transport issues

z UDP client – server, simple retransmission scheme z One RADIUS message == one UDP datagram

z Not working well for large messages (>MTU)

z In particular over longer distances, congested links

z RADIUS messages can get very large with EAP z If a RADIUS message is fragmented, loss of one

fragment means loss of entire message

z For EAP/TLS this can be avoided with EAP

fragmentation

z Each EAP fragment results in a RADIUS request going all

the way from client to home RADIUS server, and a response back

(9)

RAD 1024 bytes EAP chunk IUS

Long EAP authentication time

z normally, EAP auth in RADIUS takes ca. 8 round-trip

times when EAP frags of 1024 are used

z 8 round-trips:

z 8 RADIUS Request messages, 8 UDP on the wire z 8 answers, 8 UDP on the wire

z Shorter delay if EAP fragments can be larger

RAD EAP IUS go-on

(10)

RadSec security

z

TLS for all RADIUS communications

z TLS connection per client – server

z

Both client and server use certificates

z Public Key encryption, no shared secrets

z

Strong encryption

z Encrypts everything, good for privacy

z

Strong authentication

z With proper use of certificates

z

Certificates provide additional benefits

(11)

RadSec reliability

z RadSec uses TLS over TCP z TCP ensures reliable transport

z One can send RADIUS messages larger than the

MTU without fragmentation

z Copes better with packet loss than UDP fragments

z EAP message (fragments) can then be up to 1500 bytes,

and the RADIUS messages will still not be fragmented

z It’s common to set EAP MTU to a much lower value to avoid

RADIUS fragmentation

z This means less RADIUS messages going back and forth,

and less delay (an EAP message can easily be 8KB)

z Makes it easier to detect when a RADIUS server is

(12)

Other RadSec benefits

z

Certificate based client authentication

z Does not care about IP addresses

z Can have e.g. travel kits with APs that can move to

any location on the Internet that connect to the home RADIUS server

z Home server need only verify the certificate

z

Certificate based server authentication

z Dynamic roaming

z What if RADIUS client could look at user identity

[email protected], find uni.de server using DNS SRV

records, contact uni.de server, and get a certificate from server stating that it is authorised to serve uni.de

(13)

RadSec implementations

z RADIATOR

z The first implementation, commercial RADIUS

z radsecproxy (http://software.uninett.no/radsecproxy/)

z A RADIUS proxy that also supports radsec z Can be used to radsec-enable clients/servers

z Has been installed in Linux-based APs to make them support RadSec, package for OpenWRT

z Also used on hosts running FreeRADIUS servers

z Also useful in hierarchies like eduroam where most nodes

only do proxying (routing of RADIUS messages)

z LANCOM access points

(14)

Mobile eduroam-in-a-fonera

z Eduroam travel kit

z 7x9x2cm AP

z RadSec enabled Fonera AP

with OpenWRT

z Can be brought wherever

eduroam is needed

z With normal RADIUS, the

server would need to be configured with the IP address of the client

z Using certificates, the server

just need to verify the AP certificate

z Hence, mobile with no

(15)

Deployment and standardisation

z

Used between .lu root and some sites

z

In limited production use in .nl for 2 years

z

Several NRNs (.de .no .pl and more) have

done tests and are planning for deployment

z

IETF standardisation

z Being discussed in radext wg etc in the IETF z Hope to get an RFC specifying RadSec

z Current specification is

(16)

Instance of radsecproxy in

Germany (1)

(17)

Instance of radsecproxy in

Germany (2)

References

Related documents

This paper combines social network analysis and multilevel analysis to estimate the relative share of variation of risky and protective health behaviours at different levels of

The Review covers the major areas that impact on HA’s operation and service provision, including management and organisation structure, resource management,

privileges of the assembly or any of its members to be brought up for immediate consideration because of its urgency, e.g., a motion to turn the air conditioner up or a motion

Proposition 3 There exists an environment of networks (with a component bal- anced and anonymous allocation rule) such that the largest consistent set (with respect to the

Electronic copy of leads automatically transferred to your PC Edit your prospect’s contact information as you scan the badge View, edit, or sort your entire prospect list at any

It is used to manage all the dispatcher in the SAP system. It is used to direct the user requests to the least loaded server when logon load balancing is configured. It is also used

z NQA server: In a narrow sense, an NQA server is the NQA server in a UDP echo, TCP, UDP jitter, or voice test; in a broad sense, an NQA server refers to the peer device to be

Through SNMP, client-server communication can take place via the “User Datagram Protocol” (UDP): A monitoring or management software sends (as a client) a UDP pa- cket to the