FreeRADIUS / freeradius-server

FreeRADIUS - A multi-protocol policy server.
http://freeradius.org
GNU General Public License v2.0
2.11k stars 1.08k forks source link

ZTE dictionary error #2130

Closed maximumG closed 6 years ago

maximumG commented 6 years ago

The ZTE vendor dictionary has 2 errors from line 14 to 15 for DNS assignation over RADIUS.

ATTRIBUTE       ZTE-Client-DNS-Pri                      1       integer
ATTRIBUTE       ZTE-Client-DNS-Sec                      2       integer

These 2 attributes are basically strings (ipv4 addresses) and should be changed to

ATTRIBUTE       ZTE-Client-DNS-Pri                      1       string
ATTRIBUTE       ZTE-Client-DNS-Sec                      2       string
alandekok commented 6 years ago

Do you have a reference or packet trace from ZTE to show this?

maximumG commented 6 years ago

Hello,

Here is an output of Wireshark with the actual format of ZTE-Client-DNS-Pri & ZTE-Client-DNS-Sec capture du 2018-01-12 16-28-02

We are using the string format and its working just fine and accepted by ZTE devices

dannyZhou commented 2 months ago

May be

ATTRIBUTE       ZTE-Client-DNS-Pri                      1       ipaddr
ATTRIBUTE       ZTE-Client-DNS-Sec                      2       ipaddr

is right.