mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
fuzz: Add ProxyJump misconfiguration cases to ssh_client_config_fuzzer_corpus
This commit adds test cases to catch issues where ProxyJump configurations lead to infinite loops or incorrect username usage, as reported in issue #287, and issue #291 Signed-off-by: Yuvraj Saxena <ysaxenax@gmail.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
committed by
Jakub Jelen
parent
a93e84efb9
commit
d02163546d
5
tests/fuzz/ssh_client_config_fuzzer_corpus/infinite_loop
Normal file
5
tests/fuzz/ssh_client_config_fuzzer_corpus/infinite_loop
Normal file
@@ -0,0 +1,5 @@
|
||||
Host ssh-host
|
||||
Hostname 10.1.1.1
|
||||
|
||||
Host 10.1.1.* 10.1.20.*
|
||||
ProxyJump ssh-host
|
||||
@@ -0,0 +1,7 @@
|
||||
Host jumpbox
|
||||
User oliverw
|
||||
Hostname jumpbox.example.org
|
||||
|
||||
Host myserver.example.org
|
||||
Hostname 1.2.3.4
|
||||
ProxyJump jumpbox
|
||||
Reference in New Issue
Block a user