[TriLUG] hosts.deny question?
Pat Regan
thehead at patshead.com
Tue Mar 7 08:58:40 EST 2006
Alan Porter wrote:
> WA Brown wrote:
>
>> Someone said that the server should use tcp wrappers. How can I find
>> out if it does?
>
>
> There's no magic command for this. But this trick works.
>
> # strings -f yourbinaryfile | grep hosts_access
>
> If the binary has been compiled against libwrap.a, you'll
> see at least one line of output with a matched string.
That will probably get the job done, but it would probably be better to do:
ldd <binary> | grep libwrap
Pat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://www.trilug.org/pipermail/trilug/attachments/20060307/8fe2cfbb/attachment.pgp>
More information about the TriLUG
mailing list