Actions
Feature #11102
closedInclude a dictionary for mpd5 in Freeradius
Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
FreeRADIUS
Target version:
-
Start date:
11/25/2020
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Description
In order to pass mpd specific attributes from Freeradius to, for example, provide rate limits to PPPoE clients a dictionary file needs to exist defining them.
Adding /usr/local/share/freeradius/dictionary.mpd
#---------------------------------------------------------- # dictionary.mpd VENDOR mpd 12341 BEGIN-VENDOR mpd ATTRIBUTE mpd-rule 1 string ATTRIBUTE mpd-pipe 2 string ATTRIBUTE mpd-queue 3 string ATTRIBUTE mpd-table 4 string ATTRIBUTE mpd-table-static 5 string ATTRIBUTE mpd-filter 6 string ATTRIBUTE mpd-limit 7 string ATTRIBUTE mpd-input-octets 8 string ATTRIBUTE mpd-input-packets 9 string ATTRIBUTE mpd-output-octets 10 string ATTRIBUTE mpd-output-packets 11 string ATTRIBUTE mpd-link 12 string ATTRIBUTE mpd-bundle 13 string ATTRIBUTE mpd-iface 14 string ATTRIBUTE mpd-iface-index 15 integer ATTRIBUTE mpd-input-acct 16 string ATTRIBUTE mpd-output-acct 17 string ATTRIBUTE mpd-action 18 string ATTRIBUTE mpd-peer-ident 19 string ATTRIBUTE mpd-iface-name 20 string ATTRIBUTE mpd-iface-descr 21 string ATTRIBUTE mpd-iface-group 22 string ATTRIBUTE mpd-drop-user 154 integer END-VENDOR mpd #----------------------------------------------------------
Then adding the line:
$INCLUDE dictionary.mpd
to /usr/local/share/freeradius/dictionary
Should allow that.
I note that though this was created and suggested in the Freeradius lists on 2009 it does not appear to have been added:
http://lists.freeradius.org/pipermail/freeradius-devel/2009-July/004732.html
And the Enterprise code 12341 seems unrelated. Still an outstanding issue here:
https://sourceforge.net/p/mpd/discussion/44692/thread/0271b9c0/
Updated by Viktor Gurov over 3 years ago
Updated by Jim Pingle over 3 years ago
- Status changed from New to Pull Request Review
- Target version deleted (
Future)
Updated by Renato Botelho about 3 years ago
- Status changed from Pull Request Review to Feedback
- Assignee set to Viktor Gurov
PR has been merged. Thanks!
Updated by Viktor Gurov about 3 years ago
- Status changed from Feedback to Resolved
dictionary.mpd is included
Actions