missing required dictionary attributes for standard pppd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
radiusclient-ng (Debian) |
Fix Released
|
Unknown
|
|||
radiusclient-ng (Ubuntu) |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Dictionary included with package radusclient-ng missing required attributes for pppd.
When pppd receive attribute, which is not defined in dictionary it DROP CONNECTION !!!
Steps to reproduce:
1) configure pppd for radius authentication
2) configure radius accounting with Acct-Interim-
After first interval, pppd send AccountingRequest packet and drop connection with 'unknown attribute'
To fix this, need to include attributes, used by pppd to dictionary:
# RFC 2869
ATTRIBUTE Acct-Interim-
# Limit session traffic
ATTRIBUTE Session-
# What to assume as limit - 0 in+out, 1 in, 2 out, 3 max(in,out)
ATTRIBUTE Octets-Direction 228 integer
# Octets-Direction
VALUE Octets-Direction Sum 0
VALUE Octets-Direction Input 1
VALUE Octets-Direction Output 2
VALUE Octets-Direction MaxOveral 3
VALUE Octets-Direction MaxSession 4
Also, pppd unable to authenticate with radius, when Mictosoft MS-CHAPv2 authentication is configured because of no of this attributes defined in dictionary.
All this problems is very simple to fix - just include all attributes, used by pppd to dictionary.
I attached dictionaries for pppd and microsoft attributes.
To include it, please add this to /etc/radiusclie
INCLUDE dictionary.pppd
INCLUDE dictionary.
Patch attached.
Related branches
tags: | added: patch |
tags: |
added: patch-forwarded-debian removed: patch |
Changed in radiusclient-ng (Debian): | |
status: | Unknown → New |
Changed in radiusclient-ng (Debian): | |
status: | New → Fix Released |
Standard attributes, using by pppd in separate dictionary file.