-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #1713: ncm-ssh add ssh/sshd option GSSAPIKexAlgorithms to schem…
…a.pan
- Loading branch information
1 parent
797d010
commit ebd631f
Showing
1 changed file
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,8 @@ type ssh_kbdinteractivedevices = string with match (SELF, "^(bsdauth|pam|skey)$" | |
type ssh_kexalgorithms = string with match (SELF, "^(diffie-hellman-group-exchange-sha256|" + | ||
"ecdh-sha2-nistp(256|384|521)|[email protected])$"); | ||
type ssh_MACs = string with is_valid_ssh_MAC(SELF); | ||
type ssh_gssapikexalgorithms = string with match (SELF, "^(gss-gex-sha1-|gss-group1-sha1-|" + | ||
"gss-group14-sha1-|gss-group14-sha256-|gss-group16-sha512-|gss-nistp256-sha256-|gss-curve25519-sha256-)$"); | ||
|
||
function is_valid_ssh_MAC = { | ||
match(ARGV[0], "^(hmac-(sha2-256|sha2-512|ripemd160)|(hmac-ripemd160|umac-64|umac-128|hmac-sha2-256-etm" + | ||
|
@@ -73,6 +75,7 @@ type ssh_core_options_type = { | |
"Compression" ? string with match (SELF, '^(yes|delayed|no)$') | ||
"GSSAPIAuthentication" ? legacy_binary_affirmation_string | ||
"GSSAPICleanupCredentials" ? legacy_binary_affirmation_string | ||
"GSSAPIKexAlgorithms" ? ssh_gssapikexalgorithms[] | ||
"GSSAPIKeyExchange" ? legacy_binary_affirmation_string | ||
"GatewayPorts" ? legacy_binary_affirmation_string | ||
"HostbasedAuthentication" ? legacy_binary_affirmation_string | ||
|