Add Attribute inside an Module by Patrick85
Hello Phil, thanks for your fast Reply. If I add the following the the dictonairy File I got it working: ATTRIBUTE WebPage 4001 string But now I got another Question ;) Why did I not see this Value in the Acces-Dump ? DUMP OF RADIUS PACKET (Net::Radius::Packet=HASH(0x8345f30)) Code: Access-Accept Identifier: 0 Authentic: ... Attributes: Framed-Protocol: PPP Service-Type: Framed END DUMP
On Mon, Feb 18, 2013 at 01:50:38PM +0100, Patrick Ko wrote:
ATTRIBUTE WebPage 4001 string
But now I got another Question ;)
Why did I not see this Value in the Acces-Dump ?
4001 > 255 See, e.g. RFC2865 section 5. Attribute type is a single octet. And you shouldn't go adding random values to other people's dictionaries. If you want to develop something yourself, you need to use your own dictionary and enterprise number (vendor id), and use VSAs. Same RFC, section 5.26 for starters. Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
Thank yo Matthew for your Helpfull Reply ! I Got it now working with the attribute ;) Thanks Greetz Patrick
participants (2)
-
Matthew Newton -
Patrick Ko