(RADIATOR) Ascend-Session-Number

Hugh Irvine hugh at open.com.au
Wed Nov 21 16:50:22 CST 2001


Hello Jesus -

It looks to me like you are not running Radiator 2.19.

The AuthBy INTERNAL clause is only supported in Radiator 2.19.

If you are running a previous version, you could also do this:

<Handler Request-Type = Ascend-Access-Event-Request>
	<AuthBy TEST>
		.....
	</AuthBy>
</Handler>

regards

Hugh


On Thursday 22 November 2001 03:00, Jesus Rodriguez wrote:
> On Wed, 21 Nov 2001, Jesus Rodriguez wrote:
> > Hello Jesus -
> >
> > You can try something like this:
> >
> > # define Handler for Ascend-Access-Event-Request
> >
> > <Handler Request-Type = Ascend-Access-Event-Request>
> > 	<AuthBy INTERNAL>
> > 		DefaultResult ACCEPT
> > 	</AuthBy>
> > </Handler>
> >
> > Note that the <AuthBy INTERNAL> is only supported in Radiator 2.19.
> >
> > Please let me know how this works for you so we can add something to the
> > FAQ.
>
> Hi Hugh,
>
> This is what i was looking for but it doesn't work, i get the answer
> handled by <Handler Request-Type = Ascend-Access-Event-Request> but
> radiator doesn't send any accounting-accept.
>
> I've used you example and after added some DefaultReply to force some
> reply:
>
> <Handler Request-Type = Ascend-Access-Event-Request>
>
>         <AuthBy INTERNAL>
>
>                 DefaultResult ACCEPT
>
>                 DefaultReply Class = "freeaccess"
>
>         </AuthBy>
>
> </Handler>
>
>
> This is the log:
>
> Wed Nov 21 16:56:52 2001: DEBUG: Packet dump:
> *** Received from 10.34.248.9 port 9213 ....
>
> Packet length = 38
> 21 3b 00 26 9c d7 af 21 de 32 c8 4b 88 04 96 5f
> aa ed 4e 41 04 06 0a 22 f8 09 1a 0c 00 00 02 11
> ca 06 00 00 00 10
> Code:       Ascend-Access-Event-Request
> Identifier: 59
> Authentic:  <156><215><175>!<222>2<200>K<136><4><150>_<170><237>NA
> Attributes:
>         NAS-IP-Address = 10.34.248.9
>         Ascend-Number-Sessions = "<0><0><0><16>"
>
> Wed Nov 21 16:56:52 2001: DEBUG: Check if Handler Request-Type =
> Ascend-Access-Event-Request should be used to handle this request Wed Nov
> 21 16:56:52 2001: DEBUG: Handling request with Handler 'Request-Type =
> Ascend-Access-Event-Request' Wed Nov 21 16:56:52 2001: DEBUG: Handling with
> AuthINTERNAL:
> Wed Nov 21 16:56:57 2001: DEBUG: Packet dump:
> *** Received from 10.34.248.9 port 9213 ....
>
> Packet length = 38
> 21 3c 00 26 af 6b b4 44 07 29 eb a9 ce bd f0 e7
> 31 b3 95 87 04 06 0a 22 f8 09 1a 0c 00 00 02 11
> ca 06 00 00 00 10
> Code:       Ascend-Access-Event-Request
> Identifier: 60
> Authentic:  <175>k<180>D<7>)<235><169><206><189><240><231>1<179><149><135>
> Attributes:
>         NAS-IP-Address = 10.34.248.9
>         Ascend-Number-Sessions = "<0><0><0><16>"
>
> Wed Nov 21 16:56:57 2001: DEBUG: Check if Handler Request-Type =
> Ascend-Access-Event-Request should be used to handle this request Wed Nov
> 21 16:56:57 2001: DEBUG: Handling request with Handler 'Request-Type =
> Ascend-Access-Event-Request' Wed Nov 21 16:56:57 2001: DEBUG: Handling with
> AuthINTERNAL:
>
>
> Thanks.
>
> > On Wednesday 21 November 2001 02:14, Jesus Rodriguez wrote:
> > > Hello,
> > >
> > > I'm receiving an "Ascend-Number-Session" packet from my APX wich is not
> > > replied by radiator with an "accounting-accept". This way, APX thinks
> > > radiator is "dead" and tries the second radiator and then, the third
> > > and ...
> > >
> > > Can this packet be answered with an "accounting-accept" by radiator?
> > >
> > > I'm trying to use a handler like for getting the answer:
> > >
> > > <handler Ascend-Number-Sessions = xxx>
> > >
> > > The problem is at "xxx" because, of course, this value changes any
> > > time. There is some way to use a "wildcard" within a <handler> clause?
> > >
> > > I've been trying different configs but if i don't use a <handler> with
> > > "Ascend-Number-Session" attribute, the packet is always handled by "
> > > Handler 'Realm=' " .
> > > Here is a log of one of this packets:
> > >
> > > *** Received from 10.34.248.9 port 9213 ....
> > >
> > > Packet length = 38
> > > 21 c9 00 26 1b d0 cb 14 da 35 34 67 0f 52 51 04
> > > 33 05 9a 12 04 06 0a 22 f8 09 1a 0c 00 00 02 11
> > > ca 06 00 00 00 08
> > > Code:       Ascend-Access-Event-Request
> > > Identifier: 201
> > > Authentic:  <27><208><203><20><218>54g<15>RQ<4>3<5><154><18>
> > > Attributes:
> > >         NAS-IP-Address = 10.34.248.9
> > >         Ascend-Number-Sessions = "<0><0><0><8>"
> > >
> > > Tue Nov 20 16:08:14 2001: DEBUG: Check if Handler
> > > User-Name="909xxxxxx#",Service-Type=Call-Check should be used to handle
> > > this request
> > > Tue Nov 20 16:08:14 2001: DEBUG: Check if Handler
> > > User-Name="908xxxxxx#",Service-Type=Call-Check should be used to handle
> > > this request
> > > Tue Nov 20 16:08:14 2001: DEBUG: Check if Handler
> > > User-Name="91xxxxxx#",Service-Type=Call-Check should be used to handle
> >
> > this
> >
> > > request
> > > Tue Nov 20 16:08:14 2001: DEBUG: Check if Handler
> > > User-Name="93xxxxxx#",Service-Type=Call-Check should be used to handle
> >
> > this
> >
> > > request
> > > Tue Nov 20 16:08:14 2001: DEBUG: Check if Handler
> > > Service-Type=Call-Check should be used to handle this request
> > > Tue Nov 20 16:08:14 2001: DEBUG: Check if Handler Realm= should be used
> > > to handle this request
> > > Tue Nov 20 16:08:14 2001: DEBUG: Handling request with Handler 'Realm='
> > > Tue Nov 20 16:08:14 2001: INFO: AuthTEST handle_request: Received from
> > > 10.34.248.9 port 9213
> > >
> > > Thanks in advance.
> > >
> > > Saludos
> > > JesusR.
> > >
> > > -------------------------------------
> > > Jesús Rodríguez
> > > IP Engineering & Security Manager
> > > Tiscali / World Online
> > > jesus.rodriguez at es.tiscali.com
> > > http://www.worldonline.es
> > > Tel. + (34) 93-3930800
> > > -------------------------------------
> > >
> > >
> > > ===
> > > 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.
> >
> > --
> > Radiator: the most portable, flexible and configurable RADIUS server
> > anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
> > -
> > Nets: internetwork inventory and management - graphical, extensible,
> > flexible with hardware, software, platform and database independence.
> > ===
> > 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.
> >
> >
> > -------------------------------------------------------------------------
> >--- ----
> >
> >   a.. References:
> >     a.. (RADIATOR) Ascend-Session-Number
> >       a.. From: "Jesus Rodriguez" <jesusr at worldonline.es>
> >   a.. Prev by Date: Re: (RADIATOR) how to save cisco-avpair= nas-rx-speed
> >   b.. Next by Date: Re: (RADIATOR) Assign Addresses by Pool
> >   c.. Prev by thread: (RADIATOR) Ascend-Session-Number
> >   d.. Next by thread: (RADIATOR) how to save cisco-avpair= nas-rx-speed
> >   e.. Index(es):
> >     a.. Date
> >     b.. Thread
> >
> >
> >
> > Saludos
> > JesusR.
> >
> > -------------------------------------
> > Jesús Rodríguez
> > IP Engineering & Security Manager
> > Tiscali / World Online
> > jesus.rodriguez at es.tiscali.com
> > http://www.worldonline.es
> > Tel. + (34) 93-3930800
> > -------------------------------------
>
> Saludos
> JesusR.
>
> -------------------------------------
> Jesus Rodriguez
> IP Engineering & Security Manager
> Grupo Tiscali España
> jesus.rodriguez at es.tiscali.com
> http://www.tiscali.es
> Tel. + (34) 93-3930800
> -------------------------------------

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
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