| 1 |
.TH TCPDCHK 8 |
| 2 |
.SH NAME |
| 3 |
tcpdchk \- tcp wrapper configuration checker |
| 4 |
.SH SYNOPSIS |
| 5 |
tcpdchk [-a] [-d] [-i inet_conf] [-v] |
| 6 |
.SH DESCRIPTION |
| 7 |
.PP |
| 8 |
\fItcpdchk\fR examines your tcp wrapper configuration and reports all |
| 9 |
potential and real problems it can find. The program examines the |
| 10 |
\fItcpd\fR access control files (by default, these are |
| 11 |
\fI/etc/hosts.allow\fR and \fI/etc/hosts.deny\fR), and compares the |
| 12 |
entries in these files against entries in the \fIinetd\fR |
| 13 |
network configuration file. |
| 14 |
.PP |
| 15 |
\fItcpdchk\fR reports problems such as non-existent pathnames; services |
| 16 |
that appear in \fItcpd\fR access control rules, but are not controlled |
| 17 |
by \fItcpd\fR; services that should not be wrapped; non-existent host |
| 18 |
names or non-internet address forms; occurrences of host aliases |
| 19 |
instead of official host names; hosts with a name/address conflict; |
| 20 |
inappropriate use of wildcard patterns; inappropriate use of NIS |
| 21 |
netgroups or references to non-existent NIS netgroups; references to |
| 22 |
non-existent options; invalid arguments to options; and so on. |
| 23 |
.PP |
| 24 |
Where possible, \fItcpdchk\fR provides a helpful suggestion to fix the |
| 25 |
problem. |
| 26 |
.SH OPTIONS |
| 27 |
.IP -a |
| 28 |
Report access control rules that permit access without an explicit |
| 29 |
ALLOW keyword. |
| 30 |
.IP -d |
| 31 |
Examine \fIhosts.allow\fR and \fIhosts.deny\fR files in the current |
| 32 |
directory instead of the default ones. |
| 33 |
.IP "-i inet_conf" |
| 34 |
Specify this option when \fItcpdchk\fR is unable to find your |
| 35 |
\fIinetd.conf\fR network configuration file, or when |
| 36 |
you suspect that the program uses the wrong one. |
| 37 |
.IP -v |
| 38 |
Display the contents of each access control rule. Daemon lists, client |
| 39 |
lists, shell commands and options are shown in a pretty-printed format; |
| 40 |
this makes it easier for you to spot any discrepancies between what you |
| 41 |
want and what the program understands. |
| 42 |
.SH FILES |
| 43 |
.PP |
| 44 |
The default locations of the \fItcpd\fR access control tables are: |
| 45 |
.PP |
| 46 |
/etc/hosts.allow |
| 47 |
.br |
| 48 |
/etc/hosts.deny |
| 49 |
.SH SEE ALSO |
| 50 |
.na |
| 51 |
.nf |
| 52 |
tcpdmatch(8), explain what tcpd would do in specific cases. |
| 53 |
hosts_access(5), format of the tcpd access control tables. |
| 54 |
hosts_options(5), format of the language extensions. |
| 55 |
inetd.conf(5), format of the inetd control file. |
| 56 |
.SH AUTHORS |
| 57 |
.na |
| 58 |
.nf |
| 59 |
Wietse Venema ([email protected]), |
| 60 |
Department of Mathematics and Computing Science, |
| 61 |
Eindhoven University of Technology |
| 62 |
Den Dolech 2, P.O. Box 513, |
| 63 |
5600 MB Eindhoven, The Netherlands |
| 64 |
\" @(#) tcpdchk.8 1.3 95/01/08 17:00:30 |