(RADIATOR) VPN-Neighbor Attribute not in Accounting Log

Hugh Irvine hugh at open.com.au
Tue May 7 18:40:30 CDT 2002


Hello William -

I think your problem is due to your use of "$rp" which is a reference to the 
reply packet being prepared for return to the NAS. If you want to add 
attributes to the incoming request packet, you must use "$p".

Have a look at the example hooks in "goodies/hooks.txt".

regards

Hugh


On Tue, 7 May 2002 23:39, William Hernandez wrote:
> Hugh,
>
> The attributes are set in postauthhook.prw as follows:
>            $rp->add_attr('Class', $class);
>             ($a,$b)=split(/=/,$ascend);
>             $rp->add_attr("$a", "$b");
>             ($a,$b)=split(/=/,$hiper);
>             $rp->add_attr("$a", "$b");
>
> Thanks in advance,
> William
>
>
> -----Original Message-----
> From: Hugh Irvine [mailto:hugh at open.com.au]
> Sent: Saturday, May 04, 2002 4:20 AM
> To: William Hernandez; Radiator (Radiator)
> Subject: Re: (RADIATOR) VPN-Neighbor Attribute not in Accounting Log
>
>
>
> Hello William -
>
> This looks to me like an accounting response being sent back to the NAS.
>
> As usual, to be able to say anything more I will need to see a copy of
> the
> configuration file (no secrets) together with a trace 4 debug from
> Radiator
> showing what is happening.
>
> regards
>
> Hugh
>
> On Sat, 4 May 2002 05:47, William Hernandez wrote:
> > Hello everyone,
> >
> > I set the "Class" attribute and the VSA "VPN-Neighbor" attribute in a
> > postauthhook. And I can see that both attributes are being set in a
> > trace 4 log.
> >
> > The problem is that I can see the "Class" attribute in the accounting
> > log file, but not the VPN-Neighbor attribute.
> >
> > Here's an excerpt from the trace 4 log.
> >
> > Code:       Accounting-Response
> > Identifier: 229
> > Authentic:  <20>A<177><177>^b<11>.A<208><195>W<132>+<136><247>
> > Attributes:
> >         Session-Timeout = 50040
> >         Class = "xstop: R 25 110 I, R ANAR CHAT CRIMI DRUGS GAMB HATE
> > OBSC PORN RRATED I, 1"
> >         Ascend-IP-Direct = 208.249.78.41
> >         VPN-Neighbor = 208.249.78.41
> >
> > Any suggestions?
> >
> > Thanks in advance,
> > William
> >
> >
> >
> >
> >
> > ===
> > 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.


More information about the radiator mailing list