| 1 | # | ||
| 2 | # This file is part of Config-Model-OpenSsh | ||
| 3 | # | ||
| 4 | # This software is Copyright (c) 2008-2025 by Dominique Dumont. | ||
| 5 | # | ||
| 6 | # This is free software, licensed under: | ||
| 7 | # | ||
| 8 | # The GNU Lesser General Public License, Version 2.1, February 1999 | ||
| 9 | # | ||
| 10 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | return [ | ||
| 14 | { | ||
| 15 | 2 | 'author' => [ | |
| 16 | 'Dominique Dumont' | ||
| 17 | ], | ||
| 18 | 'class_description' => 'Class to represent a Match block inside a sshd_config file. | ||
| 19 | |||
| 20 | It\'s made of a list of conditions to match and a list of | ||
| 21 | parameters to apply to the matched items.', | ||
| 22 | 'copyright' => [ | ||
| 23 | '2009-2011 Dominique Dumont' | ||
| 24 | ], | ||
| 25 | 'element' => [ | ||
| 26 | 'Condition', | ||
| 27 | { | ||
| 28 | 'config_class_name' => 'Sshd::MatchCondition', | ||
| 29 | 'description' => 'Specify the condition (User, Group, Host, Address) necessary for this Match block to be applied', | ||
| 30 | 'type' => 'node' | ||
| 31 | }, | ||
| 32 | 'Settings', | ||
| 33 | { | ||
| 34 | 'config_class_name' => 'Sshd::MatchElement', | ||
| 35 | 'description' => 'Defines the sshd_config parameters that will override general settings when all defined User, Group, Host and Address patterns match.', | ||
| 36 | 'type' => 'node' | ||
| 37 | } | ||
| 38 | ], | ||
| 39 | 'license' => 'LGPL2', | ||
| 40 | 'name' => 'Sshd::MatchBlock' | ||
| 41 | } | ||
| 42 | ] | ||
| 43 | ; | ||
| 44 | |||