In regard to: Re: Testing TCP Wrappers, Greg Wooledge said (at 2:16pm on...:

>On Tue, Jun 12, 2001 at 12:45:36PM -0500, Tim Mooney wrote:
>> In regard to: Testing TCP Wrappers, Manager Account said (at 1:18pm on Jun...:
>> >Is there any way to check if SSH is using libwrap?
>> Run strings on sshd, and see if a `hosts.allow' shows up.
>
>Would that also work if libwrap is dynamically linked?

It would not.  The default for tcp wrappers is to build a static libwrap,
though, so someone would have to do a little bit of work to get a dynamic one,
in which case your suggestion of using ldd would tell them whether their
sshd is actually using it.

>  (Since this is
>Solaris, the original poster can use "ldd sshd" to see what shared
>libraries are being used.  If libwrap.* shows up, then it's pretty
>obvious. ;-) )

Agreed.

Tim
-- 
Tim Mooney                              [EMAIL PROTECTED]
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

Reply via email to