From 50b37d4a27d3295a29afca2286f1a5a086142cec Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 11:49:46 +0200 Subject: Adding upstream version 3.2.1+dfsg. Signed-off-by: Daniel Baumann --- share/dictionary.vqp | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 share/dictionary.vqp (limited to 'share/dictionary.vqp') 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 -- cgit v1.2.3