@brian-murray - I performed the following test.

System info:
$ uname -a
Linux linodeusw01 5.4.0-74-generic #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021 
x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal

Package update:
$ wget 
https://launchpad.net/ubuntu/+source/logwatch/7.5.2-1ubuntu1.3/+build/21758051/+files/logwatch_7.5.2-1ubuntu1.3_all.deb
$ sudo dpkg -i logwatch_7.5.2-1ubuntu1.3_all.deb

Testing:
1) Removed my custom config /etc/logwatch/conf/services/sshd.conf and script 
/etc/logwatch/scripts/services/sshd
2) Ran logwatch and inspected section "Illegal users from:" within " 
--------------------- SSHD Begin ------------------------"
  Sample line:
  27.151.56.7 (7.56.151.27.broad.fz.fj.dynamic.163data.com.cn): 5 Times
3) Created /etc/logwatch/conf/services/sshd.conf with contents:
  # Set to No to disable IP lookups
  $sshd_ip_lookup = No
4) Ran logwatch and inspected section "Illegal users from:" within " 
--------------------- SSHD Begin ------------------------"
  Sample line:
  27.151.56.7: 5 Times

Results:
This patch is working as expected on focal.

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1904362

Title:
  [Wishlist] Disable hostname lookup by default for logwatch service
  sshd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/logwatch/+bug/1904362/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to