cancel
Showing results for 
Search instead for 
Did you mean: 

TCP Wrappers 7.6 and HP-UX 11.1

Luis_74
Occasional Visitor

TCP Wrappers 7.6 and HP-UX 11.1

Hello Everyone,

I've recently installed TCP Wrappers 7.6 from the HP-UX portal site. The tcpd service appears to work but not fully. I cannot get any options from the /etc/hosts.allow file to work. Here's an example:

ftpd: ALL: BANNERS /etc/banners: SEVERITY local3.info
telnetd: ALL: BANNERS /etc/banners
ALL: ALL: ALLOW

Yes there is an ftpd file in /etc/banners. Permissions as permissable as possible. The inetd.conf file also has tcpd in the path for ftpd. I've used logger -p local3.info to verify syslog. The same hosts.allow file works on our Sun box. (in.ftpd of course) I've used all the tools: tcpdchk -v, tcpdmatch (<-- very useful but does not output the banner.) Any ideas? Am I missing something obvious??

Thanks,

Luis F.
1 REPLY
Ermin Borovac
Honored Contributor

Re: TCP Wrappers 7.6 and HP-UX 11.1

The following assumes that you downloaded TCP wrappers from hpux.connect.org.uk or one of the mirrors. I think (but I might be wrong) that support for keyword "banners" may not be compiled in.

If you have a look at the source code package Makefile at http://hpux.cs.utah.edu/hppd/cgi-bin/wwwtar?/hpux/Networking/Admin/tcp_wrappers-7.6/tcp_wrappers-7.6-ss-11.00.tar.gz+tcp_wrappers-7.6/Makefile+text
, you will find that optional features are not enabled.

#STYLE = -DPROCESS_OPTIONS # Enable language extensions.

So you can get the source code package from http://hpux.cs.utah.edu/ftp/hpux/Networking/Admin/tcp_wrappers-7.6/tcp_wrappers-7.6-ss-11.00.tar.gz, uncomment the STYLE line from Makefile and recompile the package.

Alternative is to get TCP Wrappers from HP software web site. It seems to have optional features compiled in (but I haven't verified this).

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=TCPWRAP