I am using a PM2e whith conjunction with RADIUS 2.0.
I am interested in restrict the ISDN connections for the users who
login name doesn't correspond to a given ISDN directory number. That is, I
create an RADIUS "acount" user1 which can only make the connection from the
ISDN number 1234567. If the users1 call from the ISDN number 7654321, then I
want that the RADIUS reject the call.
For this propose, I used the following user configuration in RADIUS
2.0 users file:
user1 Password = "teste", Called-Station-Id = "1234567"
User-Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-Netmask = 255.255.255.0,
Framed-Routing = None,
Framed-Address = 193.137.24.113,
Framed-Compression = Van-Jacobsen-TCP-IP,
Framed-MTU = 1500
When I make the call using the Called number 1234567, that is the same above,
I can't make the call, and RADIUS always reject my connection.
The same happend if I replace Called-Station-Id by Calling-Station-Id = "022039149"
If I retrieve the Called-Station-Id = "1234567" from the check item the
connection is accepted and the file detais edited by RADIUS become:
Wed Apr 16 14:32:03 1997
Acct-Session-Id = "5300000C"
User-Name = "csb"
NAS-IP-Address = 193.137.24.8
NAS-Port = 10
NAS-Port-Type = ISDN
Acct-Status-Type = Start
Acct-Authentic = RADIUS
Calling-Station-Id = "022039149"
Service-Type = Framed-User
Framed-Protocol = PPP
Framed-IP-Address = 193.137.24.113
Acct-Delay-Time = 0
Timestamp = 861193923
Wed Apr 16 14:32:37 1997
Acct-Session-Id = "5300000C"
User-Name = "csb"
NAS-IP-Address = 193.137.24.8
NAS-Port = 10
NAS-Port-Type = ISDN
Acct-Status-Type = Stop
Acct-Session-Time = 34
Acct-Authentic = RADIUS
Acct-Input-Octets = 1986
Acct-Output-Octets = 2076
Calling-Station-Id = "022039149"
Acct-Terminate-Cause = Lost-Carrier
Service-Type = Framed-User
Framed-Protocol = PPP
Framed-IP-Address = 193.137.24.113
Acct-Delay-Time = 0
Timestamp = 861193957
The only Information I receive is Calling-Station-Id = "022039149" and
I can' t see the Called-Station-Id.
Is there anyone who can tellme What am I doing wrong and how do I
resolve my problem?
Thanks in advance
------------------------------------------------
Orlindo Soares dos Santos - ossantos@fc.up.pt
System administrator
Faculty os Science
University of Oporto
------------------------------------------------