1# 2# ident "%Z%%M% %I% %E% SMI" 3# 4# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5# Use is subject to license terms. 6# 7# This sed command script edits the man pages distrubuted with tcp_wrappers 8# into a format appropriate for Solaris. This mostly changes the section names 9# of these man pages and of references to Solaris man pages, but also tweaks 10# the body text in a few places to better describe the operation under Solaris. 11# 12 131i\ 14'\\" t\ 15\.\\"\ 16\.\\" Modified for Solaris to to add the Solaris stability classification,\ 17\.\\" and to add a note about source availability.\ 18\.\\"\ 19s/#include "tcpd.h"/#include <tcpd.h>/ 20 21/#include <tcpd.h>/a\ 22\.\\" Begin Sun update\ 23\ 24cc [ flag ... ] file ... [ library ... ] \-lwrap\ 25\.\\" End Sun update 26 27s/or \\fItlid\\fR// 28s/or \\fItlid.conf\\fR // 29s/tlid.conf(5), format of the tlid control file.// 30 31s/inetd.conf(5)/inetd.conf(4)/g 32s/hosts_access(5)/hosts_access(4)/g 33s/\\fIhosts_access\\fR(5)/\\fIhosts_access\\fR(4)/g 34s/hosts_options(5)/hosts_options(4)/g 35s/\\fIhosts_options\\fR(5)/\\fIhosts_options\\fR(4)/g 36s/syslog.conf(5)/syslog.conf(4)/g 37s/inetd(8)/inetd(1M)/g 38s/\\fIinetd\\fR(8)/\\fIinetd\\fR(1M)/g 39s/tcpd(8)/tcpd(1M)/g 40s/tcpdmatch(8)/tcpdmatch(1M)/g 41s/tcpdchk(8)/tcpdchk(1M)/g 42/^\.TH .* 8$/s/8$/1M/ 43/^\.TH .* 5$/s/5$/4/ 44s/\\fIlibwrap.a\\fR/\\fIlibwrap.so\\fR/g 45 46$a\ 47\.\\" Begin Sun update\ 48.SH ATTRIBUTES\ 49See\ 50.BR attributes (5)\ 51for descriptions of the following attributes:\ 52.sp\ 53.TS\ 54box;\ 55cbp-1 | cbp-1\ 56l | l .\ 57ATTRIBUTE TYPE ATTRIBUTE VALUE\ 58=\ 59Availability SUNWtcpd\ 60=\ 61Interface Stability Committed\ 62.TE \ 63.PP\ 64.SH NOTES\ 65Source for tcp_wrappers is available in the SUNWtcpdS package.\ 66\.\\" End Sun update 67 68/^that pretend to have someone elses network address./a\ 69.SH LIBWRAP INTERFACE\ 70The same monitoring and access control functionality provided by the\ 71tcpd standalone program is also available through the libwrap shared\ 72library interface. Some programs, including the Solaris inetd daemon,\ 73have been modified to use the libwrap interface and thus do not\ 74require replacing the real server programs with tcpd. The libwrap\ 75interface is also more efficient and can be used for inetd internal\ 76services. See\ 77.BR inetd (1M)\ 78for more information. 79 80/^from PCs./,/^\.SH EXAMPLES/c\ 81from PCs.\ 82.PP\ 83Warning: If the local system runs an RFC 931 server it is important\ 84that it be configured NOT to use TCP Wrappers, or that TCP Wrappers\ 85be configured to avoid RFC 931-based access control for this service.\ 86If you use usernames in the access control files, make sure that you\ 87have a hosts.allow entry that allows the RFC 931 service (often called\ 88"identd" or "auth") without any username restrictions. Failure to heed\ 89this warning can result in two hosts getting in an endless loop of\ 90consulting each other's identd services.\ 91.SH EXAMPLES 92 93/format of the inetd control file./a\ 94inetd(1M), how to invoke tcpd from inetd using the libwrap library.\ 95inetadm(1M), managing inetd services in the Service Management Framework. 96