vmps request: long attribute VQP-Ethernet-Frame

Alan DeKok aland at deployingradius.com
Thu Jan 29 12:43:27 CET 2009

Hermann Lauer wrote:
> while trying to use freeradius 2.1.3 for vmps service I run into the rather
> hard limit of 253 bytes per attribute.

  The server is still mostly a *radius* server, unfortunately.

> Debugging with the appended patch
> to see which attribute is the culprit yields to:
> Thu Jan 29 10:37:34 2009 : Debug: Ready to process requests.
> Thu Jan 29 10:39:02 2009 : Error: Packet contains attribute 0x0c05 with invalid length 05 81
> 0x0c05 is VQP-Ethernet-Frame, which can of course be longer than 253 bytes,
> so there is a design issue here. One idea would be to cut the attribute to
> 253 bytes in vqp_recv(). Could this be done there without memory issues ?

  Yes, if you're not interested in the rest of the data.

  Alan DeKok.

More information about the Freeradius-Devel mailing list