Skip to content

Commit

Permalink
Add support for inline BEGIN keyword for protocols
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Nov 29, 2024
1 parent 344ff9c commit 9c4e97a
Show file tree
Hide file tree
Showing 20 changed files with 151 additions and 66 deletions.
2 changes: 1 addition & 1 deletion share/dictionary/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The following is a list of protocols currently supported in the
dictionaries. It is here for informational purposes only.

```
git grep -h '^PROTOCOL' | sort -nk 3
git grep -E -h '^(BEGIN )?PROTOCOL' | sort -nk 3
```

## Current Protocols
Expand Down
3 changes: 1 addition & 2 deletions share/dictionary/arp/dictionary
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
# Version: $Id$
#

PROTOCOL ARP 8
BEGIN-PROTOCOL ARP
BEGIN PROTOCOL ARP 8

$INCLUDE dictionary.freeradius.internal
$INCLUDE dictionary.rfc826
Expand Down
3 changes: 1 addition & 2 deletions share/dictionary/bfd/dictionary
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
# Version: $Id$
#

PROTOCOL BFD 13
BEGIN-PROTOCOL BFD
BEGIN PROTOCOL BFD 13

$INCLUDE dictionary.freeradius.internal
$INCLUDE dictionary.rfc5880
Expand Down
3 changes: 1 addition & 2 deletions share/dictionary/dhcpv4/dictionary
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
#
##############################################################################

PROTOCOL DHCPv4 2 verify=lib
BEGIN-PROTOCOL DHCPv4
BEGIN PROTOCOL DHCPv4 2 verify=lib

$INCLUDE dictionary.freeradius.internal

Expand Down
3 changes: 1 addition & 2 deletions share/dictionary/dhcpv6/dictionary
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
#
##############################################################################

PROTOCOL DHCPv6 3 verify=lib
BEGIN-PROTOCOL DHCPv6
BEGIN PROTOCOL DHCPv6 3 verify=lib

$INCLUDE dictionary.freeradius.internal
$INCLUDE dictionary.rfc3315
Expand Down
3 changes: 1 addition & 2 deletions share/dictionary/dns/dictionary
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
# Version: $Id$
#

PROTOCOL DNS 11 format=2
BEGIN-PROTOCOL DNS
BEGIN PROTOCOL DNS 11 format=2

$INCLUDE dictionary.freeradius.internal
$INCLUDE dictionary.rfc1034
Expand Down
3 changes: 1 addition & 2 deletions share/dictionary/eap/aka-sim/dictionary
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
# Protocol dictionary for EAP-AKA, EAP-AKA', and EAP-SIM
#
#
PROTOCOL EAP-AKA-SIM 102
BEGIN-PROTOCOL EAP-AKA-SIM
BEGIN PROTOCOL EAP-AKA-SIM 102

$INCLUDE dictionary.freeradius
$INCLUDE dictionary.rfc4187
Expand Down
3 changes: 1 addition & 2 deletions share/dictionary/eap/fast/dictionary
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
# Protocol dictionary for EAP-FAST
#
#
PROTOCOL EAP-FAST 103
BEGIN-PROTOCOL EAP-FAST
BEGIN PROTOCOL EAP-FAST 103

$INCLUDE dictionary.freeradius

Expand Down
3 changes: 1 addition & 2 deletions share/dictionary/ethernet/dictionary
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
# On top of that, a number of options are really TLV's.
# We need to be able to understand them, too.
#
PROTOCOL Ethernet 4
BEGIN-PROTOCOL Ethernet
BEGIN PROTOCOL Ethernet 4

$INCLUDE dictionary.ethernet

Expand Down
3 changes: 1 addition & 2 deletions share/dictionary/ldap/dictionary
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
# Version: $Id$
#

PROTOCOL LDAP 12
BEGIN-PROTOCOL LDAP
BEGIN PROTOCOL LDAP 12

$INCLUDE dictionary.freeradius.internal

Expand Down
3 changes: 1 addition & 2 deletions share/dictionary/radius/dictionary
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
# Version $Id$
#

PROTOCOL RADIUS 1 verify=lib
BEGIN-PROTOCOL RADIUS
BEGIN PROTOCOL RADIUS 1 verify=lib

#
# These are mostly ALIASes
Expand Down
3 changes: 1 addition & 2 deletions share/dictionary/snmp/dictionary
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
# Version: $Id$
#

PROTOCOL SNMP 7 format=4
BEGIN-PROTOCOL SNMP
BEGIN PROTOCOL SNMP 7 format=4

$INCLUDE dictionary.freeradius

Expand Down
3 changes: 1 addition & 2 deletions share/dictionary/tacacs/dictionary
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
# Version: $Id$
#

PROTOCOL TACACS 5 format=string
BEGIN-PROTOCOL TACACS
BEGIN PROTOCOL TACACS 5 format=string

$INCLUDE dictionary.freeradius.internal
$INCLUDE dictionary.tacacs
Expand Down
3 changes: 1 addition & 2 deletions share/dictionary/tftp/dictionary
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
# Version: $Id$
#

PROTOCOL TFTP 9
BEGIN-PROTOCOL TFTP
BEGIN PROTOCOL TFTP 9

$INCLUDE dictionary.freeradius.internal
$INCLUDE dictionary.rfc1350
Expand Down
3 changes: 1 addition & 2 deletions share/dictionary/tls/dictionary
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
# Version: $Id$
#

PROTOCOL TLS 10
BEGIN-PROTOCOL TLS
BEGIN PROTOCOL TLS 10

$INCLUDE dictionary.freeradius

Expand Down
3 changes: 1 addition & 2 deletions share/dictionary/vmps/dictionary
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
# Version: $Id$
#

PROTOCOL VMPS 6 format=2
BEGIN-PROTOCOL VMPS
BEGIN PROTOCOL VMPS 6 format=2

$INCLUDE dictionary.vmps

Expand Down
Loading

0 comments on commit 9c4e97a

Please sign in to comment.