vmps request: long attribute VQP-Ethernet-Frame
Dear developers, while trying to use freeradius 2.1.3 for vmps service I run into the rather hard limit of 253 bytes per attribute. 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 ? Thanks, Hermann -- Netzwerkadministration/Zentrale Dienste, Interdiziplinaeres Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg IWR; INF 368; 69120 Heidelberg; Tel: (06221)54-8236 Fax: -5224 Email: Hermann.Lauer@iwr.uni-heidelberg.de
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.
participants (2)
-
Alan DeKok -
Hermann Lauer