[TriLUG] hosts.deny question?
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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://www.trilug.org/pipermail/trilug/attachments/20060307/8fe2cfbb/signature.pgp
More information about the TriLUG