strings /sbin/portmap | grep wrap libwrap.so.0 Dirk Petteri Hakkarainen wrote:
Good try guys, BUT...:-)
I tried both rpm and ldd way and got plenty of services listed. After a quick look I could not find either portmap or telnet (both installed on the system), yet I know they are libwrap supported software.
Petteri
-----Original Message----- From: Christian Boltz
To: suse-security@suse.com Date: Thu, 17 Nov 2005 21:52:33 +0100 Subject: Re: [suse-security] libwrap supported services Hello,
Am Donnerstag, 17. November 2005 12:31 schrieb Armin Schoech: [...]
Do you think this is a complete list of services (with the files in /etc/xinetd.d, of course)? --> I don't really know. But if you really want to be sure, you could use a command like "ldd /usr/sbin/* /sbin/* ..."
to list all libraries used by the different programs. Then you have to look for "libwrap" to find the tcp-wrapper. This will list only programs using the shared version of libwrap, though.
For a fast overview, you can also try rpm -q --whatrequires libwrap.so.0 ;-)
Programs compiled linking libwrap statically are probably much harder to nail down.
I guess rpm also doesn't know about them.
Regards,
Christian Boltz
-- xcldsc TRIA IT-consulting GmbH Joseph-Wild-Straße 20 81829 München Germany Tel: +49 (89) 92907-0 Fax: +49 (89) 92907-100 http://www.tria.de Registergericht München HRB 113466 USt.-IdNr. DE 180017238 Steuer-Nr. 802/40600 Geschäftsführer: Richard Hofbauer kaufm. Geschäftsleitung: Rosa Igl -------------------------------------------------------- Nachricht von: Dirk.Schreiner@tria.de Nachricht an: phakkarainen@myrealbox.com, suse-security@suse.com # Dateianhänge: 0 Die Mitteilung dieser E-Mail ist vertraulich und nur für den oben genannten Empfänger bestimmt. Wenn Sie nicht der vorgesehene Empfänger dieser E-Mail oder mit der Aushändigung an ihn betraut sind, weisen wir darauf hin, daß jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung sowie Weitergabe des Inhalts untersagt ist. Wir bitten Sie uns in diesem Fall umgehend zu unterrichten. Vielen Dank The information contained in this E-Mail is privileged and confidental intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient or competent to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this E-Mail is strictly prohibited. If you have received this E-Mail in error, please notify us immediately. Thank you