[syslog-ng]Problems getting tcp wrappers to work in Solaris

Jason Buchanan jsb@cmpnet.com
Thu, 19 Dec 2002 12:03:58 -0500


Balazs Scheidler wrote:

>On Wed, Dec 18, 2002 at 11:11:38PM -0500, Ed Ravin wrote:
>  
>
>>Jason Buchanan writes:
>>    
>>
>>>Can someone pass along the format required for properly implementing tcp 
>>>wrappers for syslog-ng?
>>>      
>>>
>>I do this : 
>>
>>in hosts.deny:
>>
>>  syslog-ng: ALL EXCEPT 1.2.3.4
>>
>>And I don't have a hosts.allow file.
>>
>>However, the example you posted looked OK - it's possible there's
>>something else wrong.  Have you tried strace/ktrace/truss as
>>appropriate for your platform and see if syslog-ng is actually
>>searching for / reading in /etc/hosts.allow and hosts.deny?
>>    
>>
>
>Have you configured syslog-ng to actually use TCP wrappers?
>Hint: check your './configure' output.
>

configure doesn't seem to work real well.  I have tcpd.h in 
/usr/local/include but configure doesn't find it.  I make a symlink so 
configure could find it in /usr/include but that didn't work either.  So 
I copied libwrap.a to /usr/lib but it still wasn't finding hosts_access 
in the library, even though I rebuilt tcp wrappers from a 
freshly-extracted archive.

Is there a different tcp wrappers distribution that I should use?


This is for Solaris 8.

Thanks!


Sorry for the long quote - hopefully it will help anyone else who missed 
the first part of the thread.