Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support TLV attributes #46

Open
gen2brain opened this issue Nov 30, 2018 · 1 comment
Open

Support TLV attributes #46

gen2brain opened this issue Nov 30, 2018 · 1 comment

Comments

@gen2brain
Copy link

gen2brain commented Nov 30, 2018

Hi,

I am trying to use radius-dict-gen to generate helper functions for dictionary.freeradius , but for version 4.0.x here https://github.com/FreeRADIUS/freeradius-server/blob/master/share/dictionary.freeradius#L23 . Generator seems to skip such OIDs. I only recently started using FreeRADIUS, but to me it looks like that dict is using extended attributes like in this rfc https://tools.ietf.org/html/rfc6929#section-2.7.2 .

Is there a way I can "manually" add such attributes to packet, I see there is OID type which is a slice of ints but how can be used? I did a exorter for prometheus here https://github.com/bvantagelimited/freeradius_exporter , but I need it also for version 4.0.x.

Thanks,
Milan

@gen2brain gen2brain changed the title Attributes with Attributes with "dotted number" notation Nov 30, 2018
@ghost
Copy link

ghost commented Nov 30, 2018

This is a TLV attribute. There is a PR to support this (#25), but I have yet to review it.

@ghost ghost added the enhancement label Nov 30, 2018
@ghost ghost changed the title Attributes with "dotted number" notation Support TLV attributes Dec 19, 2018
@ghost ghost pinned this issue Dec 19, 2018
@ghost ghost unpinned this issue Dec 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant