Re: [RADIATOR] AddToReply with Diameter

2012-03-20 Thread Heikki Vatiainen
On 03/19/2012 11:19 AM, Arthur Konovalov wrote:

Hello Arthur,

 I'm using Radiator as Diameter frontend and I'm wondering is there 
 possible to use AddToReply clause with grouped attributes to the 
 Diameter peer?

This is possible now if you download the latest patches for 4.9. The
patches add functionality for handling Diameter Grouped attributes when
converting from RADIUS reply.

 For instance, I want send reply to the peer like this:
 Location-Information (AVP Code=350, Vendor=13019, Grouped) - 
 Line-Identifier (AVP Code=500, Vendor=13019, 
 OctetString)=ADSL;privaccess-xxx

 To the Radiator dictionary added:

You can continue using the dictionaries in this format. To test, I did
the following:

Specified your additional RADIUS dictionary with system dictionary using
'DictionaryFile'. Specified your additional Diameter dictionary with
'DiameterDictionaryFile'.

Used this file with AuthBy FILE (quotes required):
mikem User-Password=fred
Location-Information=Line-Identifier=\ADSL;privaccess-xxx\

This is the output from reply diapwtst gets (-dictionary option needed too):

  Code:   265 (AA)
  Version:1
  Flags:  0x0 ()
  Application ID: 1 (Nasreq)
  Hop-to-Hop ID:  1
  End-to-End ID:  2887778305
  Attributes:
Session-Id: .M., testoriginhost;1234;1
Origin-Realm: .M., testoriginrealm
Auth-Application-Id: .M., NASREQ
Auth-Request-Type: .M., AUTHORIZE_AUTHENTICATE
Origin-Host: .M., zulu.open.com.au
Result-Code: .M., DIAMETER_SUCCESS
Location-Information: V..,
   Line-Identifier: V.., ADSL;privaccess-xxx


There is no need to modify any of the .pm files after patching. The
above can be setup with dictionary files.

Please let us know how it works.

Thanks!
Heikki



 VENDORATTR13019Location-Information350string
 VENDORATTR13019Line-Identifier500
 string
 
 To the diameter_attrs.dat added:
 VENDORATTR13019Location-Information350Grouped
 VENDORATTR13019Line-Identifier500
 OctetString
 
 
 I tried to add the following, but this doesn't work:
   AddToReply Location-Information, Line-Identifier=ADSL;privaccess-xxx
 
 If I tried to add only Line-Information AVP, then it replied, but 
 without grouped AVP and peer doesn't accept it.
 
 
 br,
 Arthur
 
 ___
 radiator mailing list
 radiator@open.com.au
 http://www.open.com.au/mailman/listinfo/radiator


-- 
Heikki Vatiainen h...@open.com.au

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS,
NetWare etc.
___
radiator mailing list
radiator@open.com.au
http://www.open.com.au/mailman/listinfo/radiator


[RADIATOR] Radiator

2012-03-20 Thread Sudhir Harwalkar
Hi,

How our board communicate with the AP and radius server, means shall I need to 
set  User ID and Password in my board.
How to run individual config files?
After installing the Active perl  5.12.4  tried to install Net-SSLeay still I 
am getting as an error, error as ppm install failed.

Thanks
Sudhir H



Larsen  Toubro Limited

www.larsentoubro.com

This Email may contain confidential or privileged information for the intended 
recipient (s) If you are not the intended recipient, please do not use or 
disseminate the information, notify the sender and delete it from your system.
___
radiator mailing list
radiator@open.com.au
http://www.open.com.au/mailman/listinfo/radiator


Re: [RADIATOR] Radiator

2012-03-20 Thread Heikki Vatiainen
On 03/20/2012 10:21 AM, Sudhir Harwalkar wrote:

 How our board communicate with the AP and radius server, means shall I need 
 to set  User ID and Password in my board.

You need to set a shared secret and IP address both on your AP and in
Radiator configuration file. I suggest you start with goodies/radius.cfg
before moving to more advanced configuration such as ones needing
Net-SSLeay.

Copy goodies/radius.cfg to e.g., under Program Files in Windows. Edit
the example Client clause and set your AP address there. On your AP you
need to configure Radiator's IP address with the same secret.

 How to run individual config files?

When you start radiusd from command line, use -config_file option to
specify the config file.

 After installing the Active perl  5.12.4  tried to install Net-SSLeay still I 
 am getting as an error, error as ppm install failed.

Please reply with full error message.

Thanks!
Heikki

 Thanks
 Sudhir H
 
 
 
 Larsen  Toubro Limited
 
 www.larsentoubro.com
 
 This Email may contain confidential or privileged information for the 
 intended recipient (s) If you are not the intended recipient, please do not 
 use or disseminate the information, notify the sender and delete it from your 
 system.
 ___
 radiator mailing list
 radiator@open.com.au
 http://www.open.com.au/mailman/listinfo/radiator


-- 
Heikki Vatiainen h...@open.com.au

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS,
NetWare etc.
___
radiator mailing list
radiator@open.com.au
http://www.open.com.au/mailman/listinfo/radiator


Re: [RADIATOR] Radiator

2012-03-20 Thread Sudhir Harwalkar
Thanks,
  1. How our device know about which security got enabled in the AP side and 
how it will associate with the access point.
 2.  please see the attached screen shot of the error message.

Thanks
Sudhir H
-Original Message-
From: radiator-boun...@open.com.au [mailto:radiator-boun...@open.com.au] On 
Behalf Of Heikki Vatiainen
Sent: Tuesday, March 20, 2012 2:29 PM
To: radiator@open.com.au
Subject: Re: [RADIATOR] Radiator

On 03/20/2012 10:21 AM, Sudhir Harwalkar wrote:

 How our board communicate with the AP and radius server, means shall I need 
 to set  User ID and Password in my board.

You need to set a shared secret and IP address both on your AP and in Radiator 
configuration file. I suggest you start with goodies/radius.cfg before moving 
to more advanced configuration such as ones needing Net-SSLeay.

Copy goodies/radius.cfg to e.g., under Program Files in Windows. Edit the 
example Client clause and set your AP address there. On your AP you need to 
configure Radiator's IP address with the same secret.

 How to run individual config files?

When you start radiusd from command line, use -config_file option to specify 
the config file.

 After installing the Active perl  5.12.4  tried to install Net-SSLeay still I 
 am getting as an error, error as ppm install failed.

Please reply with full error message.

Thanks!
Heikki

 Thanks
 Sudhir H



 Larsen  Toubro Limited

 www.larsentoubro.com

 This Email may contain confidential or privileged information for the 
 intended recipient (s) If you are not the intended recipient, please do not 
 use or disseminate the information, notify the sender and delete it from your 
 system.
 ___
 radiator mailing list
 radiator@open.com.au
 http://www.open.com.au/mailman/listinfo/radiator


--
Heikki Vatiainen h...@open.com.au

Radiator: the most portable, flexible and configurable RADIUS server anywhere. 
SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, 
TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, 
RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, 
Windows, MacOSX, Solaris, VMS, NetWare etc.
___
radiator mailing list
radiator@open.com.au
http://www.open.com.au/mailman/listinfo/radiator


Larsen  Toubro Limited

www.larsentoubro.com

This Email may contain confidential or privileged information for the intended 
recipient (s) If you are not the intended recipient, please do not use or 
disseminate the information, notify the sender and delete it from your system.
attachment: radius error.PNG___
radiator mailing list
radiator@open.com.au
http://www.open.com.au/mailman/listinfo/radiator

Re: [RADIATOR] Radiator

2012-03-20 Thread Heikki Vatiainen
On 03/20/2012 11:07 AM, Sudhir Harwalkar wrote:

   1. How our device know about which security got enabled in the AP side and 
 how it will associate with the access point.

I'm not quite sure I understood the question. If you are thinking of the
shared secret, that is something you as the person configuring Radiator
and AP must decide. See the reference manual ref.pdf section 5.7.1
Secret for more.

http://www.open.com.au/radiator/documentation.html


  2.  please see the attached screen shot of the error message.

Try running the command like this:

ppm install http://www.open.com.au/radiator/free-downloads/Net-SSLeay.ppd

The idea is to fetch the files from the Internet with ppm.

Thanks!
Heikki

 Thanks
 Sudhir H
 -Original Message-
 From: radiator-boun...@open.com.au [mailto:radiator-boun...@open.com.au] On 
 Behalf Of Heikki Vatiainen
 Sent: Tuesday, March 20, 2012 2:29 PM
 To: radiator@open.com.au
 Subject: Re: [RADIATOR] Radiator
 
 On 03/20/2012 10:21 AM, Sudhir Harwalkar wrote:
 
 How our board communicate with the AP and radius server, means shall I need 
 to set  User ID and Password in my board.
 
 You need to set a shared secret and IP address both on your AP and in 
 Radiator configuration file. I suggest you start with goodies/radius.cfg 
 before moving to more advanced configuration such as ones needing Net-SSLeay.
 
 Copy goodies/radius.cfg to e.g., under Program Files in Windows. Edit the 
 example Client clause and set your AP address there. On your AP you need to 
 configure Radiator's IP address with the same secret.
 
 How to run individual config files?
 
 When you start radiusd from command line, use -config_file option to specify 
 the config file.
 
 After installing the Active perl  5.12.4  tried to install Net-SSLeay still 
 I am getting as an error, error as ppm install failed.
 
 Please reply with full error message.
 
 Thanks!
 Heikki
 
 Thanks
 Sudhir H



 Larsen  Toubro Limited

 www.larsentoubro.com

 This Email may contain confidential or privileged information for the 
 intended recipient (s) If you are not the intended recipient, please do not 
 use or disseminate the information, notify the sender and delete it from 
 your system.
 ___
 radiator mailing list
 radiator@open.com.au
 http://www.open.com.au/mailman/listinfo/radiator
 
 
 --
 Heikki Vatiainen h...@open.com.au
 
 Radiator: the most portable, flexible and configurable RADIUS server 
 anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
 Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, 
 PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full 
 source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.
 ___
 radiator mailing list
 radiator@open.com.au
 http://www.open.com.au/mailman/listinfo/radiator
 
 
 Larsen  Toubro Limited
 
 www.larsentoubro.com
 
 This Email may contain confidential or privileged information for the 
 intended recipient (s) If you are not the intended recipient, please do not 
 use or disseminate the information, notify the sender and delete it from your 
 system.
 
 
 
 ___
 radiator mailing list
 radiator@open.com.au
 http://www.open.com.au/mailman/listinfo/radiator


-- 
Heikki Vatiainen h...@open.com.au

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS,
NetWare etc.
___
radiator mailing list
radiator@open.com.au
http://www.open.com.au/mailman/listinfo/radiator


Re: [RADIATOR] Radiator

2012-03-20 Thread Heikki Vatiainen
On 03/20/2012 12:03 PM, Sudhir Harwalkar wrote:

Hello Sudhir,

 1. I have a Wifi Device, AP and Radius Server, AP and Radius server are 
 communicating with the config file where we will mention IP and Security type 
 that portion is ok, My question is how our device communicate with the Radius 
 server , Need to give any credentials on Device side?

It is very likely you need to give credentials on Device side. However,
I'd say the details depend entirely on what you are trying to do with
the equipment.

 2. when I run the command
 ppm install http://www.open.com.au/radiator/free-downloads/Net-SSLeay.ppd  
 its giving me a message as  ppm install failed: can't connect to 
 open.com.au:80

I see. You seem not to have internet connectivity. Try downloading the
.ppd file first and then in the same folder where the ppd file is,
create directory called MSWin32-x86-multi-thread-5.12 and download
http://www.open.com.au/radiator/free-downloads/MSWin32-x86-multi-thread-5.12/Net-SSLeay.tar.gz
into this directory. In other words, setup files and directories locally
as your screenshot in the previous message showed.

For downloading you need to use a machine that is connected to the internet.

Thanks!
Heikki




 Thanks
 Sudhir
 
 -Original Message-
 From: radiator-boun...@open.com.au [mailto:radiator-boun...@open.com.au] On 
 Behalf Of Heikki Vatiainen
 Sent: Tuesday, March 20, 2012 3:09 PM
 To: radiator@open.com.au
 Subject: Re: [RADIATOR] Radiator
 
 On 03/20/2012 11:07 AM, Sudhir Harwalkar wrote:
 
   1. How our device know about which security got enabled in the AP side and 
 how it will associate with the access point.
 
 I'm not quite sure I understood the question. If you are thinking of the 
 shared secret, that is something you as the person configuring Radiator and 
 AP must decide. See the reference manual ref.pdf section 5.7.1 Secret for 
 more.
 
 http://www.open.com.au/radiator/documentation.html
 
 
  2.  please see the attached screen shot of the error message.
 
 Try running the command like this:
 
 ppm install http://www.open.com.au/radiator/free-downloads/Net-SSLeay.ppd
 
 The idea is to fetch the files from the Internet with ppm.
 
 Thanks!
 Heikki
 
 Thanks
 Sudhir H
 -Original Message-
 From: radiator-boun...@open.com.au
 [mailto:radiator-boun...@open.com.au] On Behalf Of Heikki Vatiainen
 Sent: Tuesday, March 20, 2012 2:29 PM
 To: radiator@open.com.au
 Subject: Re: [RADIATOR] Radiator

 On 03/20/2012 10:21 AM, Sudhir Harwalkar wrote:

 How our board communicate with the AP and radius server, means shall I need 
 to set  User ID and Password in my board.

 You need to set a shared secret and IP address both on your AP and in 
 Radiator configuration file. I suggest you start with goodies/radius.cfg 
 before moving to more advanced configuration such as ones needing Net-SSLeay.

 Copy goodies/radius.cfg to e.g., under Program Files in Windows. Edit the 
 example Client clause and set your AP address there. On your AP you need to 
 configure Radiator's IP address with the same secret.

 How to run individual config files?

 When you start radiusd from command line, use -config_file option to specify 
 the config file.

 After installing the Active perl  5.12.4  tried to install Net-SSLeay still 
 I am getting as an error, error as ppm install failed.

 Please reply with full error message.

 Thanks!
 Heikki

 Thanks
 Sudhir H



 Larsen  Toubro Limited

 www.larsentoubro.com

 This Email may contain confidential or privileged information for the 
 intended recipient (s) If you are not the intended recipient, please do not 
 use or disseminate the information, notify the sender and delete it from 
 your system.
 ___
 radiator mailing list
 radiator@open.com.au
 http://www.open.com.au/mailman/listinfo/radiator


 --
 Heikki Vatiainen h...@open.com.au

 Radiator: the most portable, flexible and configurable RADIUS server 
 anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
 Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
 TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. 
 Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.
 ___
 radiator mailing list
 radiator@open.com.au
 http://www.open.com.au/mailman/listinfo/radiator


 Larsen  Toubro Limited

 www.larsentoubro.com

 This Email may contain confidential or privileged information for the 
 intended recipient (s) If you are not the intended recipient, please do not 
 use or disseminate the information, notify the sender and delete it from 
 your system.



 ___
 radiator mailing list
 radiator@open.com.au
 http://www.open.com.au/mailman/listinfo/radiator
 
 
 --
 Heikki Vatiainen h...@open.com.au
 
 Radiator: the most portable, flexible and configurable RADIUS server 
 anywhere. SQL, proxy, DBM, files, LDAP, NIS+,