summaryrefslogtreecommitdiffstats
path: root/share/dictionary.vqp
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 14:11:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 14:11:00 +0000
commitaf754e596a8dbb05ed8580c342e7fe02e08b28e0 (patch)
treeb2f334c2b55ede42081aa6710a72da784547d8ea /share/dictionary.vqp
parentInitial commit. (diff)
downloadfreeradius-af754e596a8dbb05ed8580c342e7fe02e08b28e0.tar.xz
freeradius-af754e596a8dbb05ed8580c342e7fe02e08b28e0.zip
Adding upstream version 3.2.3+dfsg.upstream/3.2.3+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/dictionary.vqp')
-rw-r--r--share/dictionary.vqp112
1 files changed, 112 insertions, 0 deletions
diff --git a/share/dictionary.vqp b/share/dictionary.vqp
new file mode 100644
index 0000000..34650df
--- /dev/null
+++ b/share/dictionary.vqp
@@ -0,0 +1,112 @@
+# -*- 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
+#
+##############################################################################
+#
+# Cisco's VLAN Query Protocol
+#
+# This dictionary is NOT a RADIUS dictionary, but is used for a
+# similar purpose.
+#
+# The default destination port is 1589.
+#
+# $Id$
+#
+##############################################################################
+
+#
+# We've allocated "fake" attribute 0x2b00 ... 0x2cff for VQP.
+#
+#
+# 0x2b00..0x2bff are for the VQP packet headers.
+# 0x2c00..0x2cff are for the VQP attributes.
+#
+# Note that the VQP protocol specifies 0x0c01..0x0c08 as the
+# real numbers for the VQP attributes. We've added '0x2000'
+# to them to separate them from RADIUS attributes...
+#
+
+#
+# VQP Op codes
+#
+ATTRIBUTE VQP-Packet-Type 0x2b00 integer
+ATTRIBUTE VQP-Error-Code 0x2b01 integer
+ATTRIBUTE VQP-Sequence-Number 0x2b02 integer
+
+#
+# VQP Attributes
+#
+ATTRIBUTE VQP-Client-IP-Address 0x2c01 ipaddr
+ATTRIBUTE VQP-Port-Name 0x2c02 string
+ATTRIBUTE VQP-VLAN-Name 0x2c03 string
+
+# VTP domain
+ATTRIBUTE VQP-Domain-Name 0x2c04 string
+
+# Encapsulates an Ethernet frame...
+ATTRIBUTE VQP-Ethernet-Frame 0x2c05 octets
+ATTRIBUTE VQP-MAC 0x2c06 ether
+ATTRIBUTE VQP-Unknown 0x2c07 octets
+ATTRIBUTE VQP-Cookie 0x2c08 ether
+
+#
+# VQP integer mappings
+#
+
+VALUE VQP-Packet-Type VQP-Join-Request 1
+VALUE VQP-Packet-Type VQP-Join-Response 2
+VALUE VQP-Packet-Type VQP-Reconfirm-Request 3
+VALUE VQP-Packet-Type VQP-Reconfirm-Response 4
+
+VALUE VQP-Error-Code VQP-No-Error 0
+VALUE VQP-Error-Code VQP-Wrong-Version 1
+VALUE VQP-Error-Code VQP-Insufficient-Resources 2
+VALUE VQP-Error-Code VQP-Deny 3
+VALUE VQP-Error-Code VQP-Shutdown 4
+VALUE VQP-Error-Code VQP-Wrong-Mgmt-Domain 5
+
+######################################################################
+#
+# Duplicate names here, for simplicity
+#
+######################################################################
+
+#
+# VMPS Op codes
+#
+ATTRIBUTE VMPS-Packet-Type 0x2b00 integer
+ATTRIBUTE VMPS-Error-Code 0x2b01 integer
+ATTRIBUTE VMPS-Sequence-Number 0x2b02 integer
+
+#
+# VMPS Attributes
+#
+ATTRIBUTE VMPS-Client-IP-Address 0x2c01 ipaddr
+ATTRIBUTE VMPS-Port-Name 0x2c02 string
+ATTRIBUTE VMPS-VLAN-Name 0x2c03 string
+
+# VTP domain
+ATTRIBUTE VMPS-Domain-Name 0x2c04 string
+
+# Encapsulates an Ethernet frame...
+ATTRIBUTE VMPS-Ethernet-Frame 0x2c05 octets
+ATTRIBUTE VMPS-MAC 0x2c06 ether
+ATTRIBUTE VMPS-Unknown 0x2c07 octets
+ATTRIBUTE VMPS-Cookie 0x2c08 ether
+
+#
+# VMPS integer mappings
+#
+
+VALUE VMPS-Packet-Type VMPS-Join-Request 1
+VALUE VMPS-Packet-Type VMPS-Join-Response 2
+VALUE VMPS-Packet-Type VMPS-Reconfirm-Request 3
+VALUE VMPS-Packet-Type VMPS-Reconfirm-Response 4
+
+VALUE VMPS-Error-Code VMPS-No-Error 0
+VALUE VMPS-Error-Code VMPS-Wrong-Version 1
+VALUE VMPS-Error-Code VMPS-Insufficient-Resources 2
+VALUE VMPS-Error-Code VMPS-Deny 3
+VALUE VMPS-Error-Code VMPS-Shutdown 4
+VALUE VMPS-Error-Code VMPS-Wrong-Mgmt-Domain 5