Skip Menu |

This queue is for tickets about the Net-Radius CPAN distribution.

Report information
The Basics
Id: 75425
Status: new
Priority: 0/
Queue: Net-Radius

People
Owner: Nobody in particular
Requestors: bbrown [...] plus.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Net::Radius::Packet does not handle ipv6prefix attributes [PATCH]
Date: Wed, 29 Feb 2012 16:06:27 +0000
To: <bug-Net-Radius [...] rt.cpan.org>
From: Ben Brown <bbrown [...] plus.net>
There are several RADIUS attributes such as Framed-IPv6-Address (RFC 3162) which are of the type 'ipv6prefix'. Net::Radius::Packet doesn't currently have the ability to handle this type of attribute, it seems to silently drop it when using set_attr. I have attached a patch to resolve this, which also includes a test case for this type of attribute, and a VSA of this type. This will change the prerequisites of the module slightly, my change uses Socket6 for inet_pton/ntop. Regards, Ben -- | Ben Brown Broadband Solutions for | Systems Engineer Home & Business@ | Plusnet Plc www.plus.net | Registered Office: Internet House, 2 Tenter Street, Sheffield, S1 4BY | Registered in England no: 3279013 + --------------- Plusnet - ISPA Best Consumer ISP 2008 ---------------

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #75425] AutoReply: Net::Radius::Packet does not handle ipv6prefix attributes [PATCH]
Date: Wed, 29 Feb 2012 16:09:46 +0000
To: Bugs in Net-Radius via RT <bug-Net-Radius [...] rt.cpan.org>
From: Ben Brown <bbrown [...] plus.net>
Forgot to add, this patch was written to apply against version 2.103 Regards, Ben -- | Ben Brown Broadband Solutions for | Systems Engineer Home & Business@ | Plusnet Plc www.plus.net | Registered Office: Internet House, 2 Tenter Street, Sheffield, S1 4BY | Registered in England no: 3279013 + --------------- Plusnet - ISPA Best Consumer ISP 2008 ---------------
Subject: Re: [rt.cpan.org #75425] AutoReply: Net::Radius::Packet does not handle ipv6prefix attributes [PATCH]
Date: Tue, 6 Mar 2012 13:33:18 +0000
To: Bugs in Net-Radius via RT <bug-Net-Radius [...] rt.cpan.org>
From: Ben Brown <bbrown [...] plus.net>
Using this module further I've noticed it doesn't handle ipv6addr attributes properly either. I've attached a replacement patch which resolves this and contains a further test for this ability. Regards, Ben -- | Ben Brown Broadband Solutions for | Systems Engineer Home & Business@ | Plusnet Plc www.plus.net | Registered Office: Internet House, 2 Tenter Street, Sheffield, S1 4BY | Registered in England no: 3279013 + --------------- Plusnet - ISPA Best Consumer ISP 2008 ---------------

Message body is not shown because sender requested not to inline it.