summaryrefslogtreecommitdiffstats
path: root/share/dictionary.nokia
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--share/dictionary.nokia41
-rw-r--r--share/dictionary.nokia.conflict32
2 files changed, 73 insertions, 0 deletions
diff --git a/share/dictionary.nokia b/share/dictionary.nokia
new file mode 100644
index 0000000..d522ff7
--- /dev/null
+++ b/share/dictionary.nokia
@@ -0,0 +1,41 @@
+# -*- text -*-
+# Copyright (C) 2019 The FreeRADIUS Server project and contributors
+# This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0
+#
+######################################################################
+#
+# Nokia dictionary
+# $Id$
+#
+######################################################################
+
+VENDOR Nokia 94
+
+BEGIN-VENDOR Nokia
+
+ATTRIBUTE Nokia-AVPair 1 string
+ATTRIBUTE Nokia-User-Profile 2 string
+ATTRIBUTE Nokia-Service-Name 3 octets # magic format
+ATTRIBUTE Nokia-Service-Id 4 octets # magic format
+ATTRIBUTE Nokia-Service-Username 5 octets # magic format
+ATTRIBUTE Nokia-Service-Password 6 octets # magic format
+ATTRIBUTE Nokia-Service-Primary-Indicator 7 octets
+ATTRIBUTE Nokia-Service-Charging-Type 8 octets # magic format
+ATTRIBUTE Nokia-Service-Encrypted-Password 9 octets # magic format
+ATTRIBUTE Nokia-Session-Access-Method 10 octets
+ATTRIBUTE Nokia-Session-Charging-Type 11 octets
+ATTRIBUTE Nokia-OCS-ID1 12 integer
+ATTRIBUTE Nokia-OCS-ID2 13 integer
+ATTRIBUTE Nokia-TREC-Index 14 integer
+ATTRIBUTE Nokia-Requested-APN 15 string
+END-VENDOR Nokia
+
+#
+# The format of some Nokia attributes is binary coded decimal
+# (BCD) with the last four bits all set to 1 if there are an odd
+# number of digits,
+#
+# e.g 123 is encoded as hexadecimal bytes 21 F3
+#
+# This is an incredibly stupid way of encoding the data.
+#
diff --git a/share/dictionary.nokia.conflict b/share/dictionary.nokia.conflict
new file mode 100644
index 0000000..5ff9fda
--- /dev/null
+++ b/share/dictionary.nokia.conflict
@@ -0,0 +1,32 @@
+# -*- text -*-
+# Copyright (C) 2019 The FreeRADIUS Server project and contributors
+# This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0
+#
+##############################################################################
+#
+# Nokia dictionary for attributes that conflict with other dictionaries.
+#
+# $Id$
+#
+##############################################################################
+
+#
+# Enable by putting the line "$INCLUDE dictionary.nokia.conflict" into
+# the main dictionary file. Don't forget to comment out the
+# $INCLUDE dictionary.ascend, because these over-lap with the
+# standard RADIUS attributes, which are also illegitimately used
+# by Ascend.
+#
+# It's apparently rocket science for people to define their own
+# VSA's.
+#
+
+ATTRIBUTE Nokia-Primary-DNS-Server 135 ipaddr
+ATTRIBUTE Nokia-Secondary-DNS-Server 136 ipaddr
+
+ATTRIBUTE Nokia-IMSI 224 octets
+ATTRIBUTE Nokia-Charging-Id 225 integer
+ATTRIBUTE Nokia-Prepaid-Ind 226 integer
+ATTRIBUTE Nokia-GGSN-IP-Address 227 ipaddr
+ATTRIBUTE Nokia-SGSN-IP-Address 228 ipaddr
+