Package: tiger
Version: 1:3.2.1-24
Severity: normal
Tags: patch
The check_listeningprocs script reports a warning (sample included
below) for processes that are listening on the loopback interface
('127.0.0.1'), even though it seems that it's not supposed to, judging
from the source.
In the check_socket() function (line 130 of check_listeningprocs), it
checks to see if $address is '127.0.0.1' and if it is, changes
$address to 'loopback'. Later in the same function (line 145), it
again check if $address is '127.0.0.1', but as I understand it that
can never happen. As a result, a warning is reported even though it
seems that it's not the original intention.
A sample report:
# Checking listening processes
NEW: --WARN-- [lin003w] The process `mysqld' is listening on socket
3306 (TCP on loopback interface) is run by mysql.
My suggestion for a patch to fix it:
--- check_listeningprocs.orig 2005-04-21 17:47:21.000000000 +0200
+++ check_listeningprocs 2005-04-21 17:48:11.000000000 +0200
@@ -142,7 +142,7 @@
message INFO lin002i "" "The process \`$proc' is listening on socket
$socket ($type) on $address interface."
;;
*)
- [ "$address" != "127.0.0.1" ] && {
+ [ "$address" != "loopback" ] && {
message WARN lin003w "" "The process \`$proc' is listening
on socket $socket ($type on $address interface) is run by $user."
}
;;
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.19
Locale: LANG=C, LC_CTYPE=sv_SE (charmap=ISO-8859-1)
Versions of packages tiger depends on:
ii binutils 2.15-5 The GNU assembler, linker and bina
ii coreutils [fileutils] 5.2.1-2 The GNU core utilities
ii debconf 1.4.30.13 Debian configuration management sy
ii diff 2.8.1-11 File comparison utilities
ii fileutils 5.2.1-2 The GNU file management utilities
ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an
ii net-tools 1.60-10 The NET-3 networking toolkit
-- debconf information excluded
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]