The OpenNET Project / Index page

[ новости /+++ | форум | wiki | теги | ]

checkrad and cisco (cisco radius ISDN )


<< Предыдущая ИНДЕКС Поиск в статьях src Установить закладку Перейти на закладку Следующая >>
Ключевые слова: cisco, radius, ISDN,  (найти похожие документы)
Message-ID: <37A69F01.BF1F32F1@neomedia.it> Date: Tue, 03 Aug 1999 09:49:21 +0200 From: Federico Giannici <giannici@neomedia.it> To: "cistron-radius@info.cistron.nl" <cistron-radius@info.cistron.nl> CC: miquels@cistron.nl, radius <radius@navarca.com> Subject: checkrad and cisco radius wrote: > I've got a problem with my checkrad and cisco (AS5200, IOS 11.2(8)P): it > seems as if checkrad didn't recognize cisco's response, allowing my > 'foo-user' > to connect all the times he wants. Some time ago I posted a patch I made to make checkrad know haw to handle ISDN connection on AS5200 (and possibly every AS5x00), but I had no feedback from Miquels... Here is the post again. ------------------------------------------------------------------ Please note that checkrad.pl doesn't doesn't work with ISDN connections. I added the following code at the start of the cisco_snmp() function in checkrad.pl to make it know how to query the AS5200 about the ISDN lines: if( $ARGV[2] >= 20000 && $ARGV[2] < 30000 ) { my( $n, @m, $e ); $login = ''; use SNMP_util qw(snmpwalk); $n = int(substr($ARGV[2], -2, 2)) + 1; @m = grep( /:$n$/, snmpwalk( 'public@' . $ARGV[1], '.1.3.6.1.4.1.9.10.19.1.3.1.1.11' ) ); foreach (@m) { ($e) = /^([^:]+):/; if( snmpget($ARGV[1], "public", '.1.3.6.1.4.1.9.10.19.1.3.1.1.10.' . $e) == int(substr($ARGV[2], -4, 2)) ) { $login = snmpget($ARGV[1], "public", '.1.3.6.1.4.1.9.10.19.1.3.1.1.3.' . $e); last; } } } else { $login = snmpget($ARGV[1], "public", "$csm.2.9.2.1.18.$ARGV[2]"); } Miquels, please can you add it to the next release (moving the 'use' command to the BEGIN block)? Another suggestion: my routers dont have "public" as community. Can you make checkrad.pl use the naspasswd file to get the community for SNMP enabled NAS (default "public")? Thanks. ___________________________________________________ __ |- giannici@neomedia.it |ederico Giannici http://www.neomedia.it Amministratore unico - NEOMEDIA sas ___________________________________________________

<< Предыдущая ИНДЕКС Поиск в статьях src Установить закладку Перейти на закладку Следующая >>

 Добавить комментарий
Имя:
E-Mail:
Заголовок:
Текст:




Спонсоры:
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2020 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру