Changing Class attribute from octets to string

Antonio Modesto Amaral Sousa modesto at isimples.com.br
Tue Apr 1 17:09:54 CEST 2014



On Mon 31 Mar 2014 02:07:05 PM BRT, Alan DeKok wrote:
> Antonio Modesto Amaral Sousa wrote:
>> Thank you for replying. Sorry for the stupid question but, where am I
>> supposed to put this config? I don't know if I was clear enough in the
>> last e-mail, I need the attribute in plain text format inside the acct
>> packet
>
>    What does that mean?  The attributes in the packet do NOT have a data
> type.  They're just binary blobs.  The RFCs say that Class is a binary
> blob, too.
>
>> so my DPI box can get the service plan of the user, not to just
>> convert it.
>
>    If you're sending accounting packets to your DPI box, then you need to
> fix your DPI box to treat Class as text.  No amount of poking FreeRADIUS
> will change the way your DPI box works.
>
>    Perhaps you could explain what you *think* is going on.  Right now, it
> looks like you're operating under false assumptions.  Therefore, your
> questions are wrong.

Hello Alan,

You're right. I misunderstood the concept. Freeradius can't do anything 
about the way the NAS/DPI read or treat the attributes.

Sorry about that.

>
>    Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

--



Atenciosamente,
Antonio Modesto Amaral Sousa
Gerente de rede
Praça Getúlio Vargas, 77 - Sala 308 - Centro
Santo Antônio do Monte/MG - 35.560-000
(37) 3281-2800 (ramal: 110) / 0800-300-2800 / *37.9814-8465*
*modesto at isimples.com.br* / faleconosco at isimples.com.br
http://www.isimples.com.br




More information about the Freeradius-Users mailing list