Public bug reported:

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-Interval at radius server

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-Interval   85      integer

# Limit session traffic
ATTRIBUTE       Session-Octets-Limit    227     integer

# 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/radiusclient-ng/dictionary:

INCLUDE         dictionary.pppd
INCLUDE         dictionary.microsoft

Patch attached.

** Affects: radiusclient-ng (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: attribute dictionary ppp radius

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706036

Title:
  missing required dictionary attributes for standard pppd

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to