Your message dated Sun, 24 Apr 2022 19:06:43 +0000
with message-id <[email protected]>
and subject line Bug#962225: fixed in smokeping 2.7.3-4
has caused the Debian Bug report #962225,
regarding smokeping: SmokePing 2.7.3 needs a patch to mitigate '"Unknown key 
type "rsa1"' (SSH probe)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
962225: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962225
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: smokeping
Version: 2.7.3-2
Severity: normal

Dear Maintainer,

It is not possible to use SSH probe on Debian Buster:

```
$ sudo smokeping --debug

ERROR: output of '/usr/bin/ssh-keyscan -t dsa,rsa,rsa1 127.0.0.1' does not 
match (?^i:^# \S+ SSH-)
 at (eval 59) line 1.
```

because ssh-keyscan does not support rsa1:

```
$ /usr/bin/ssh-keyscan -t dsa,rsa,rsa1 127.0.0.1
Unknown key type "rsa1"
```

The solution is to apply patch: 
https://github.com/oetiker/SmokePing/commit/62ac9fda04b994bbf4f97d3dd1cf8b92cf279e71.patch?diff=unified

```
>From 62ac9fda04b994bbf4f97d3dd1cf8b92cf279e71 Mon Sep 17 00:00:00 2001
From: "Avinash H. Duduskar" <[email protected]>
Date: Mon, 11 Mar 2019 13:16:13 +0530
Subject: [PATCH] Update SSH.pm to drop SSHv1 rsa1

- Removes rsa1
- Adds ecdsa instead
https://github.com/oetiker/SmokePing/issues/120
---
 lib/Smokeping/probes/SSH.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Smokeping/probes/SSH.pm b/lib/Smokeping/probes/SSH.pm
index ffbb5cc2..f21f53e8 100644
--- a/lib/Smokeping/probes/SSH.pm
+++ b/lib/Smokeping/probes/SSH.pm
@@ -55,7 +55,7 @@ sub new($$$)
     # no need for this if we run as a cgi
     unless ( $ENV{SERVER_SOFTWARE} ) {

-        my $call = "$self->{properties}{binary} -t dsa,rsa,rsa1 127.0.0.1";
+        my $call = "$self->{properties}{binary} -t dsa,rsa,ecdsa 127.0.0.1";
         my $return = `$call 2>&1`;
         if ($return =~ m/$ssh_re/s){
             print "### parsing ssh-keyscan output...OK\n";
@@ -132,7 +132,7 @@ sub targetvars {
         return $class->_makevars($class->SUPER::targetvars, {
            keytype => {
                _doc => "Type of key, used in ssh-keyscan -t I<keytype>",
-              _re => "[dr]sa1*",
+              _re => "[ecdr]sa*",
                _example => 'dsa',
                _default => 'rsa',
            },
```         

Kind regards,
Milosz


-- System Information:
Debian Release: 10.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-8-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages smokeping depends on:
ii  adduser                                    3.118
ii  debianutils                                4.8.6.1
ii  exim4-daemon-light [mail-transport-agent]  4.92-8+deb10u4
ii  fping                                      4.2-1
ii  libcgi-fast-perl                           1:2.13-1
ii  libconfig-grammar-perl                     1.12-2
ii  libdigest-hmac-perl                        1.03+dfsg-2
ii  libjs-cropper                              1.2.2-1
ii  libjs-prototype                            1.7.1-3
ii  libjs-scriptaculous                        1.9.0-2
ii  librrds-perl                               1.7.1-2
ii  libsnmp-session-perl                       1.14~git20130523.186a005-4
ii  liburi-perl                                1.76-1
ii  libwww-perl                                6.36-2
ii  lsb-base                                   10.2019051400
ii  perl                                       5.28.1-6
ii  ucf                                        3.0038+nmu1

Versions of packages smokeping recommends:
pn  apache2 | apache2 | httpd  <none>
ii  dnsutils                   1:9.11.5.P4+dfsg-5.1+deb10u1
ii  echoping                   6.0.2-10
ii  libsocket6-perl            0.29-1+b1
ii  nginx-full [httpd-cgi]     1.14.2-2+deb10u1

Versions of packages smokeping suggests:
ii  curl                   7.64.0-4+deb10u1
pn  libauthen-radius-perl  <none>
ii  libio-socket-ssl-perl  2.060-3
pn  libnet-dns-perl        <none>
pn  libnet-ldap-perl       <none>
pn  libnet-telnet-perl     <none>
ii  openssh-client         1:7.9p1-10+deb10u2

-- Configuration Files:
/etc/smokeping/smokeping_secrets [Errno 13] Permission denied: 
'/etc/smokeping/smokeping_secrets'

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: smokeping
Source-Version: 2.7.3-4
Done: Gabriel Filion <[email protected]>

We believe that the bug you reported is fixed in the latest version of
smokeping, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gabriel Filion <[email protected]> (supplier of updated smokeping package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 24 Apr 2022 14:44:58 -0400
Source: smokeping
Architecture: source
Version: 2.7.3-4
Distribution: unstable
Urgency: low
Maintainer: Gabriel Filion <[email protected]>
Changed-By: Gabriel Filion <[email protected]>
Closes: 962225 981348
Changes:
 smokeping (2.7.3-4) unstable; urgency=low
 .
   [ Debian Janitor ]
   * Trim trailing whitespace.
   * Bump debhelper from old 10 to 12.
   * Set debhelper-compat version in Build-Depends.
   * Drop unnecessary dependency on dh-autoreconf.
   * Update standards version to 4.5.0, no changes needed.
 .
   [ Gabriel Filion ]
   * Import patch that disables refresh while zooming (Closes:#981348)
   * Import patch disabling rsa1 and enabling ecdsa for ssh probe (Closes:
     #962225)
Checksums-Sha1:
 01808bad7b280a87970c16fc5bfe6115d31ad3a4 1802 smokeping_2.7.3-4.dsc
 e61175f280091aa58e2e028287610facc6f642dc 27132 smokeping_2.7.3-4.debian.tar.xz
 e120141148dac3e16cdb0ffcb8649db15c5200e6 9192 smokeping_2.7.3-4_amd64.buildinfo
Checksums-Sha256:
 1cf6a629809b3be5384c5c8b603446a721b09d2288f3f7d68c9e620d86c18928 1802 
smokeping_2.7.3-4.dsc
 7ae1d95029cf6b413b921762beaedb91665833a5c21876ff0a1890903e440e72 27132 
smokeping_2.7.3-4.debian.tar.xz
 beac56cf2e77c474570d95326917f91a83500e1c4f5548359a01d14a7a2ecd13 9192 
smokeping_2.7.3-4_amd64.buildinfo
Files:
 4e4e6093329c085fe1b9c06e4512180c 1802 net optional smokeping_2.7.3-4.dsc
 61b39d68d6ecef4764c4ddd5f53775bf 27132 net optional 
smokeping_2.7.3-4.debian.tar.xz
 718ed959097c694406a7071b747a816c 9192 net optional 
smokeping_2.7.3-4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEexZCBNCWcjsBljWrPqHd3bJh2XsFAmJlnhAACgkQPqHd3bJh
2Xuj5gf/U0EE0961nctYlFdf7o3jlN6qqNV7Gi2pWUf3DMY1Fr510Xb3M3oFLzXA
5ebDvbh1hrnro5KZcS0lGq89nfTXUmWzCra8myv1nl1XJ0vr2dYIpqm7smDdeAI7
GOW9RBXvrZ1wnCHSj+znOvW4NeAzbrQy3jlG6ZQqRXrXPOsxEkMNpR3Egqybv6vX
uR6D3JDXf0NIRPT9GpxJxzzYd5T/Kcm5phMT42V+yI5kPmsh2w/LJ9NOVxR4sUt9
tYJBHg0Ytz3MpxcYcEQeV7IWcSazxqAybPhODosBB50FHZw0nXMUSC6C1TbhKdyY
OXa47FA68RIH8OMxQh18yhaK1G+Lbw==
=Ck8u
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to