(RADIATOR) NasType Mikrotik ?

Hugh Irvine hugh at open.com.au
Sat Jun 9 04:19:25 CDT 2007


Hello Indrajaya Pitra Perdana -

The best way to test a new NasType module is to put it in the "Radius/ 
Nas" directory of the Radiator distribution and test like this:

	cd /your/Radiator/distribution

	perl radiusd -foreground -log_stdout -trace 4 -config_file /your/ 
configuration/file

Once you have things working correctly you can copy the new module to  
the Perl directory.

Perhaps you might consider contributing the module when its ready,  
and we can include it in the Radiator distribution?

regards

Hugh



On 8 Jun 2007, at 17:29, Indrajaya Pitra Perdana wrote:

> Yes Hugh indeed, what i've read from Mikrotik docs, for  SessionMIB  
> mikrotik using Cisco MIB, but that's ok no problem with that.
> After i make NasType module for mikrotik, should i recompile  
> Radiator? or i jut put it in  ex:  /usr/lib/perl5/site_perl/5.8.7/ 
> Radius/Nas/  directory
>
> Thans You & Regards,
> Indrajaya Pitra Perdana
> Network Operation Center
>
>
>
> Hugh Irvine wrote:
>>
>> Hello Indrajaya Pitra Perdana -
>>
>> According to IANA (http://www.iana.org/assignments/enterprise- 
>> numbers) MikroTik is enterprise number 14988:
>>
>> 14988
>>   MikroTik
>>     John Tully
>>       tully&mikrotik.com
>>
>> The query you show below appears to be for Cisco:
>>
>> 9
>>   ciscoSystems
>>     Dave Jones
>>       davej&cisco.com
>>
>> You will need to do some experiments to ascertain how to query the  
>> device correctly.
>>
>> Typically your code should query the NAS with the session id and  
>> check the name that is returned.
>>
>> See the examples in "Radius/Nas/*.pm".
>>
>> regards
>>
>> Hugh
>>
>>
>> On 8 Jun 2007, at 14:31, Indrajaya Pitra Perdana wrote:
>>
>>> Dear Hugh,
>>>
>>> Below is my snmp query to mikrotik:
>>>
>>> SNMPv2-SMI::enterprises.9.9.150.1.1.1.0 = Gauge32: 4
>>> SNMPv2-SMI::enterprises.9.9.150.1.1.3.1.2.2155876728 = STRING:  
>>> "na416"
>>> SNMPv2-SMI::enterprises.9.9.150.1.1.3.1.2.2155876738 = STRING:  
>>> "yanto521"
>>> SNMPv2-SMI::enterprises.9.9.150.1.1.3.1.2.2155876740 = STRING:  
>>> "mcmahon727"
>>> SNMPv2-SMI::enterprises.9.9.150.1.1.3.1.2.2155876742 = STRING:  
>>> "clayton808"
>>> SNMPv2-SMI::enterprises.9.9.150.1.1.3.1.3.2155876728 = IpAddress:  
>>> 10.26.26.15
>>> SNMPv2-SMI::enterprises.9.9.150.1.1.3.1.3.2155876738 = IpAddress:  
>>> 10.26.26.123
>>> SNMPv2-SMI::enterprises.9.9.150.1.1.3.1.3.2155876740 = IpAddress:  
>>> 10.26.26.107
>>> SNMPv2-SMI::enterprises.9.9.150.1.1.3.1.3.2155876742 = IpAddress:  
>>> 10.26.26.127
>>>
>>> Is it posibble to use iso.org.dod.internet.enterprises. 
>>> 9.9.150.1.1.3.1.2.$string above into mikrotik NasType Module, to  
>>> verify that users are really online and not just hanging in Radius?
>>>
>>> Thanks $ Regards,
>>> Indrajaya Pitra Perdana
>>> Network Operation Center
>>>
>>>
>>>
>>> Indrajaya Pitra Perdana wrote:
>>>> Ok Hugh, thanks a lot for the info
>>>>
>>>> Salam,
>>>> Indrajaya Pitra Perdana
>>>> Network Operation Center
>>>>
>>>>
>>>>
>>>> Hugh Irvine wrote:
>>>>>
>>>>> Hello Indrajaya Pitra Perdana -
>>>>>
>>>>> Radiator does not currently have a NasType for Mikrotik,  
>>>>> however you can easily create your own module using one of the  
>>>>> existing modules as an example.
>>>>>
>>>>> See "Radius/Nas/*.pm" for the code of the existing modules.
>>>>>
>>>>> Before you start however you will need to know the specific  
>>>>> details for querying the Mikrotik equipment.
>>>>>
>>>>> regards
>>>>>
>>>>> Hugh
>>>>>
>>>>>
>>>>> On 7 Jun 2007, at 12:12, Indrajaya Pitra Perdana wrote:
>>>>>
>>>>>> Hallo all,
>>>>>>
>>>>>> I'm using Mikrotik for several services, what 1'm asking is,  
>>>>>> is there NasType value for Mikrotik yet ?
>>>>>> Thx Before
>>>>>>
>>>>>> --Salam,
>>>>>> Indrajaya Pitra Perdana
>>>>>> Network Operation Center
>>>>>>
>>>>>> --Archive at http://www.open.com.au/archives/radiator/
>>>>>> Announcements on radiator-announce at open.com.au
>>>>>> To unsubscribe, email 'majordomo at open.com.au' with
>>>>>> 'unsubscribe radiator' in the body of the message.
>>>>>
>>>>>
>>>>>
>>>>> NB:
>>>>>
>>>>> Have you read the reference manual ("doc/ref.html")?
>>>>> Have you searched the mailing list archive (www.open.com.au/ 
>>>>> archives/radiator)?
>>>>> Have you had a quick look on Google (www.google.com)?
>>>>> Have you included a copy of your configuration file (no secrets),
>>>>> together with a trace 4 debug showing what is happening?
>>>>> Have you checked the RadiusExpert wiki:
>>>>> http://www.open.com.au/wiki/index.php/Main_Page
>>>>>
>>>>> --Radiator: the most portable, flexible and configurable RADIUS  
>>>>> server
>>>>> anywhere. Available on *NIX, *BSD, Windows, MacOS X.
>>>>> Includes support for reliable RADIUS transport (RadSec),
>>>>> and DIAMETER translation agent.
>>>>> -
>>>>> Nets: internetwork inventory and management - graphical,  
>>>>> extensible,
>>>>> flexible with hardware, software, platform and database  
>>>>> independence.
>>>>> -
>>>>> CATool: Private Certificate Authority for Unix and Unix-like  
>>>>> systems.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> --Archive at http://www.open.com.au/archives/radiator/
>>>> Announcements on radiator-announce at open.com.au
>>>> To unsubscribe, email 'majordomo at open.com.au' with
>>>> 'unsubscribe radiator' in the body of the message.
>>>>
>>>>
>>
>>
>>
>> NB:
>>
>> Have you read the reference manual ("doc/ref.html")?
>> Have you searched the mailing list archive (www.open.com.au/ 
>> archives/radiator)?
>> Have you had a quick look on Google (www.google.com)?
>> Have you included a copy of your configuration file (no secrets),
>> together with a trace 4 debug showing what is happening?
>> Have you checked the RadiusExpert wiki:
>> http://www.open.com.au/wiki/index.php/Main_Page
>>
>> --Radiator: the most portable, flexible and configurable RADIUS  
>> server
>> anywhere. Available on *NIX, *BSD, Windows, MacOS X.
>> Includes support for reliable RADIUS transport (RadSec),
>> and DIAMETER translation agent.
>> -
>> Nets: internetwork inventory and management - graphical, extensible,
>> flexible with hardware, software, platform and database independence.
>> -
>> CATool: Private Certificate Authority for Unix and Unix-like systems.
>>
>>
>>
>>



NB:

Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/ 
radiator)?
Have you had a quick look on Google (www.google.com)?
Have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
Have you checked the RadiusExpert wiki:
http://www.open.com.au/wiki/index.php/Main_Page

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
Includes support for reliable RADIUS transport (RadSec),
and DIAMETER translation agent.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.


--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list