Ok! Solved!

Looked
at https://sourceforge.net/p/rkhunter/mailman/message/37214275/ into
the last section: after changing the content of the
file /var/lib/rkhunter/db/mirrors.dat from


Version:2021020601
remote=https://rkhunter.sourceforge.io
mirror=https://rkhunter.sourceforge.io


to 


Version:2021020602
mirror=http://rkhunter.sourceforge.net
remote=http://rkhunter.sourceforge.net



it works! :-)


Thanks to all an have a nice weekend! 

Steffen




Am Donnerstag, den 01.07.2021 um 17:42 schrieb Ewert, Steffen:


 Hello,


I have here a Debian 10 system. Every time if I do a "rkhunter
--update" I get


| [17:30:24] Running Rootkit Hunter version 1.4.6 on DFlExt4
| [17:30:24]
| [17:30:24] Info: Start date is Thu 01 Jul 2021 05:30:24 PM CEST
| [17:30:24]
| [17:30:24] Checking configuration file and command-line options...
| [17:30:24] Info: Detected operating system is 'Linux'
| [17:30:24] Info: Found O/S name: Debian GNU/Linux 10 (buster)
| [17:30:24] Info: Command line is /usr/bin/rkhunter --update
| [17:30:24] Info: Environment shell is /bin/bash; rkhunter is using
dash
| [17:30:24] Info: Using configuration file '/etc/rkhunter.conf'
| [17:30:24] Info: Installation directory is '/usr'
| [17:30:24] Info: Using language 'en'
| [17:30:24] Info: Using '/var/lib/rkhunter/db' as the database
directory
| [17:30:24] Info: Using '/usr/share/rkhunter/scripts' as the support
script directory
| [17:30:24] Info: Using '/usr/local/sbin /usr/local/bin /usr/sbin
/usr/bin /sbin /bin /opt/wildfly-22.0.0.Final/bin' [1] as the command
directories
| [17:30:24] Info: Using '/var/lib/rkhunter/tmp' as the temporary
directory
| [17:30:24] Info: X will be automatically detected
| [17:30:24] Info: Using second color set
| [17:30:24] Info: Found the 'basename' command: /usr/bin/basename
| [17:30:24] Info: Found the 'diff' command: /usr/bin/diff
| [17:30:24] Info: Found the 'dirname' command: /usr/bin/dirname
| [17:30:24] Info: Found the 'file' command: /usr/bin/file
| [17:30:24] Info: Found the 'find' command: /usr/bin/find
| [17:30:24] Info: Found the 'ifconfig' command: /usr/sbin/ifconfig
| [17:30:24] Info: Found the 'ip' command: /usr/sbin/ip
| [17:30:24] Info: Found the 'ipcs' command: /usr/bin/ipcs
| [17:30:24] Info: Found the 'ldd' command: /usr/bin/ldd
| [17:30:24] Info: Found the 'lsattr' command: /usr/bin/lsattr
| [17:30:24] Info: Found the 'lsmod' command: /usr/sbin/lsmod
| [17:30:24] Info: Found the 'lsof' command: /usr/bin/lsof
| [17:30:24] Info: Found the 'mktemp' command: /usr/bin/mktemp
| [17:30:24] Info: Found the 'netstat' command: /usr/bin/netstat
| [17:30:24] Info: Found the 'numfmt' command: /usr/bin/numfmt
| [17:30:24] Info: Found the 'perl' command: /usr/bin/perl
| [17:30:24] Info: Found the 'pgrep' command: /usr/bin/pgrep
| [17:30:24] Info: Found the 'ps' command: /usr/bin/ps
| [17:30:24] Info: Found the 'pwd' command: /usr/bin/pwd
| [17:30:24] Info: Found the 'readlink' command: /usr/bin/readlink
| [17:30:24] Info: Found the 'stat' command: /usr/bin/stat
| [17:30:24] Info: Found the 'strings' command: /usr/bin/strings
| [17:30:24] Info: Found the 'wget' command: /usr/bin/wget
| [17:30:24] Info: The mirrors file will be rotated
| [17:30:24] Info: Both local and remote mirrors will be used
| [17:30:24] Info: The mirrors file will be updated
| [17:30:24] Info: Logging to log file: /var/log/rkhunter.log
| [17:30:24] Info: Locking is not being used
| [17:30:24]
| [17:30:24] Checking rkhunter data files...
| [17:30:24] Info: Created temporary file
'/var/lib/rkhunter/tmp/rkhunter.upd.rObivgfPpM'
| [17:30:24] Info: Created temporary file
'/var/lib/rkhunter/tmp/mirrors.dat.SVrROABgWb'
| [17:30:24] Info: The mirrors file has been rotated:
/var/lib/rkhunter/db/mirrors.dat
| [17:30:24] Info: Executing download command '/usr/bin/wget  -q -O
"/var/lib/rkhunter/tmp/rkhunter.upd.rObivgfPpM"
https://rkhunter.sourceforge.io/mirrors.dat 2>/dev/null'
| [17:30:25] Info: Download failed - 1 mirror(s) left.
| [17:30:25] Info: Created temporary file
'/var/lib/rkhunter/tmp/mirrors.dat.3VeWSgPHKp'
| [17:30:25] Info: The mirrors file has been rotated:
/var/lib/rkhunter/db/mirrors.dat
| [17:30:25] Info: Executing download command '/usr/bin/wget  -q -O
"/var/lib/rkhunter/tmp/rkhunter.upd.rObivgfPpM"
https://rkhunter.sourceforge.io/mirrors.dat 2>/dev/null'
| [17:30:26] Warning: Download of 'mirrors.dat' failed: Unable to
determine the latest version number.
| [17:30:26] Checking file mirrors.dat                   
     [ Update failed ]
| [17:30:26] Info: Executing download command '/usr/bin/wget  -q -O
"/var/lib/rkhunter/tmp/rkhunter.upd.rObivgfPpM"
https://rkhunter.sourceforge.io/programs_bad.dat 2>/dev/null'
| [17:30:27] Info: Download failed - 1 mirror(s) left.
| [17:30:27] Info: Created temporary file
'/var/lib/rkhunter/tmp/mirrors.dat.G52DN9sdJN'
| [17:30:27] Info: The mirrors file has been rotated:
/var/lib/rkhunter/db/mirrors.dat
| [17:30:27] Info: Executing download command '/usr/bin/wget  -q -O
"/var/lib/rkhunter/tmp/rkhunter.upd.rObivgfPpM"
https://rkhunter.sourceforge.io/programs_bad.dat 2>/dev/null'
| [17:30:28] Warning: Download of 'programs_bad.dat' failed: Unable
to determine the latest version number.
| [17:30:28] Checking file programs_bad.dat                 
  [ Update failed ]
| [17:30:28] Info: Executing download command '/usr/bin/wget  -q -O
"/var/lib/rkhunter/tmp/rkhunter.upd.rObivgfPpM"
https://rkhunter.sourceforge.io/backdoorports.dat 2>/dev/null'
| [17:30:29] Info: Download failed - 1 mirror(s) left.
| [17:30:29] Info: Created temporary file
'/var/lib/rkhunter/tmp/mirrors.dat.TERb4FKGwG'
| [17:30:29] Info: The mirrors file has been rotated:
/var/lib/rkhunter/db/mirrors.dat
| [17:30:29] Info: Executing download command '/usr/bin/wget  -q -O
"/var/lib/rkhunter/tmp/rkhunter.upd.rObivgfPpM"
https://rkhunter.sourceforge.io/backdoorports.dat 2>/dev/null'
| [17:30:30] Warning: Download of 'backdoorports.dat' failed: Unable
to determine the latest version number.
| [17:30:30] Checking file backdoorports.dat               
   [ Update failed ]
| [17:30:30] Info: Executing download command '/usr/bin/wget  -q -O
"/var/lib/rkhunter/tmp/rkhunter.upd.rObivgfPpM"
https://rkhunter.sourceforge.io/suspscan.dat 2>/dev/null'
| [17:30:31] Info: Download failed - 1 mirror(s) left.
| [17:30:31] Info: Created temporary file
'/var/lib/rkhunter/tmp/mirrors.dat.7Ft28KYtq9'
| [17:30:31] Info: The mirrors file has been rotated:
/var/lib/rkhunter/db/mirrors.dat
| [17:30:31] Info: Executing download command '/usr/bin/wget  -q -O
"/var/lib/rkhunter/tmp/rkhunter.upd.rObivgfPpM"
https://rkhunter.sourceforge.io/suspscan.dat 2>/dev/null'
| [17:30:32] Warning: Download of 'suspscan.dat' failed: Unable to
determine the latest version number.
| [17:30:32] Checking file suspscan.dat                   
    [ Update failed ]
| [17:30:32] Info: Executing download command '/usr/bin/wget  -q -O
"/var/lib/rkhunter/tmp/rkhunter.upd.rObivgfPpM"
https://rkhunter.sourceforge.io/i18n/1.4.6/i18n.ver 2>/dev/null'
| [17:30:33] Info: Download failed - 1 mirror(s) left.
| [17:30:33] Info: Created temporary file
'/var/lib/rkhunter/tmp/mirrors.dat.4JxnPBYOt6'
| [17:30:33] Info: The mirrors file has been rotated:
/var/lib/rkhunter/db/mirrors.dat
| [17:30:33] Info: Executing download command '/usr/bin/wget  -q -O
"/var/lib/rkhunter/tmp/rkhunter.upd.rObivgfPpM"
https://rkhunter.sourceforge.io/i18n/1.4.6/i18n.ver 2>/dev/null'
| [17:30:34] Checking file i18n versions                   
   [ Update failed ]
| [17:30:34] Warning: Download of 'i18n.ver' failed: Unable to
determine the latest version number.


I see that the URL is wrong.
It's https://rkhunter.sourceforge.io/mirrors.dat but it should
be https://rkhunter.sourceforge.io/1.4/mirrors.dat [2]. Is this
because of the error message in the last line "Unable to determine the
latest version number."? What can I do to get the update to work?








[link:MTkyLjE2OC4xLjIsMyxUaWNrZXQsMjQ2MQ==]



[link:MTkyLjE2OC4xLjIsMyxUaWNrZXQsMjQ2MQ==]



Links:
------
[1] http://wildfly-22.0.0.Final/bin'
[2] https://rkhunter.sourceforge.io/mirrors.dat
_______________________________________________
Rkhunter-users mailing list
Rkhunter-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkhunter-users

Reply via email to