radclient can no longer send a Status-Server on non standard port using stdin
a.cudbardb at freeradius.org
Wed Jun 18 12:15:46 CEST 2014
On 18 Jun 2014, at 11:01, Chaigneau, Nicolas <nicolas.chaigneau at capgemini.com> wrote:
> But you're sending it to port 1812 which is standard for Access-Request.
> I'm sending it to a non standard RADIUS port... and it doesn't work :/
Ah, right. Fair enough.
echo "Message-Authenticator = 0x00, Response-Packet-Type = Access-Accept" | radclient 127.0.0.1 status testing123
Problem is Status-Server requests are ambiguous, and you really want to check you got an Accounting-Response
on your accounting port.
> -----Message d'origine-----
> De : freeradius-devel-bounces+nchaigne=capgemini.fr at lists.freeradius.org [mailto:freeradius-devel-bounces+nchaigne=capgemini.fr at lists.freeradius.org] De la part de Arran Cudbard-Bell
> Envoyé : mercredi 18 juin 2014 11:38
> À : FreeRadius developers mailing list
> Objet : Re: radclient can no longer send a Status-Server on non standard port using stdin
> On 18 Jun 2014, at 10:29, Chaigneau, Nicolas <nicolas.chaigneau at capgemini.com> wrote:
>> Since the following commit:
>> We can no longer use radclient to send a Status-Server request on a non standard RADIUS port without creating a "response filter" file.
>> That means we can't use stdin such as:
>> echo "<attributes>" | radclient <address>:<port> status <secret>
>> Or else we get:
>> (0) Can't determine expected response to Status-Server request,
>> specify a well known RADIUS port, or a response filter with a
>> Response-Packet-Type attribute
>> That's annoying. stdin is practical :/
>> Can you do something about this ?
> Yes I went back in time and fixed it yesterday.
> echo "Message-Authenticator = 0x00" | radclient -x 127.0.0.1 status testing123 Sending Status-Server Id 254 from 0.0.0.0:47287 to 127.0.0.1:1812
> Message-Authenticator = 0x00
> Received Access-Accept Id 254 from 127.0.0.1:1812 to 127.0.0.1:47287 length 20
> radclient will now figure out request types from expected response types too.
> Arran Cudbard-Bell <a.cudbardb at freeradius.org> FreeRADIUS Development Team
> FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
> This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the Freeradius-Devel