{"id":3618,"date":"2022-12-20T17:09:10","date_gmt":"2022-12-20T20:09:10","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/tcpdmatch-man8\/"},"modified":"2022-12-20T17:09:10","modified_gmt":"2022-12-20T20:09:10","slug":"tcpdmatch-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/tcpdmatch-man8\/","title":{"rendered":"TCPDMATCH (man8)"},"content":{"rendered":"<h1 align=\"center\">TCPDMATCH<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSYS\">SYNOPSYS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#ARGUMENTS\">ARGUMENTS<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#FILES\">FILES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHORS\">AUTHORS<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">tcpdmatch \u2212 tcp wrapper oracle<\/p>\n<h2>SYNOPSYS <a name=\"SYNOPSYS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">tcpdmatch [-d] [-i inet_conf] daemon client<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">tcpdmatch [-d] [-i inet_conf] daemon[@server] [user@]client<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>tcpdmatch<\/i> predicts how the tcp wrapper would handle a specific request for service. Examples are given below.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The program examines the <i>tcpd<\/i> access control tables (default <i>\/etc\/hosts.allow<\/i> and <i>\/etc\/hosts.deny<\/i>) and prints its conclusion. For maximal accuracy, it extracts additional information from your <i>inetd<\/i> or <i>tlid<\/i> network configuration file.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">When <i>tcpdmatch<\/i> finds a match in the access control tables, it identifies the matched rule. In addition, it displays the optional shell commands or options in a pretty-printed format; this makes it easier for you to spot any discrepancies between what you want and what the program understands.<\/p>\n<h2>ARGUMENTS <a name=\"ARGUMENTS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The following two arguments are always required:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p>daemon<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p>A daemon process name. Typically, the last component of a daemon executable pathname.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p>client<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p>A host name or network address, or one of the \u2018unknown\u2019 or \u2018paranoid\u2019 wildcard patterns.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\">When a client host name is specified, <i>tcpdmatch<\/i> gives a prediction for each address listed for that client.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">When a client address is specified, <i>tcpdmatch<\/i> predicts what <i>tcpd<\/i> would do when client name lookup fails.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Optional information specified with the <i>daemon@server<\/i> form:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p style=\"margin-top: 1em\">server<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p style=\"margin-top: 1em\">A host name or network address, or one of the \u2018unknown\u2019 or \u2018paranoid\u2019 wildcard patterns. The default server name is \u2018unknown\u2019.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%; margin-top: 1em\">Optional information specified with the <i>user@client<\/i> form:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p style=\"margin-top: 1em\">user<\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p style=\"margin-top: 1em\">A client user identifier. Typically, a login name or a numeric userid. The default user name is \u2018unknown\u2019.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\">-d<\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p style=\"margin-top: 1em\">Examine <i>hosts.allow<\/i> and <i>hosts.deny<\/i> files in the current directory instead of the default ones.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\">-i inet_conf<\/p>\n<p style=\"margin-left:22%;\">Specify this option when <i>tcpdmatch<\/i> is unable to find your <i>inetd.conf<\/i> or <i>tlid.conf<\/i> network configuration file, or when you suspect that the program uses the wrong one.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">To predict how <i>tcpd<\/i> would handle a telnet request from the local system:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">tcpdmatch in.telnetd localhost<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The same request, pretending that hostname lookup failed:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">tcpdmatch in.telnetd 127.0.0.1<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">To predict what tcpd would do when the client name does not match the client address:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">tcpdmatch in.telnetd paranoid<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">On some systems, daemon names have no \u2018in.\u2019 prefix, or <i>tcpdmatch<\/i> may need some help to locate the inetd configuration file.<\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The default locations of the <i>tcpd<\/i> access control tables are:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/hosts.allow <br \/> \/etc\/hosts.deny<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">tcpdchk(8), tcpd configuration checker <br \/> hosts_access(5), format of the tcpd access control tables. <br \/> hosts_options(5), format of the language extensions. <br \/> inetd.conf(5), format of the inetd control file. <br \/> tlid.conf(5), format of the tlid control file.<\/p>\n<h2>AUTHORS <a name=\"AUTHORS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Wietse Venema (wietse@wzv.win.tue.nl), <br \/> Department of Mathematics and Computing Science, <br \/> Eindhoven University of Technology <br \/> Den Dolech 2, P.O. Box 513, <br \/> 5600 MB Eindhoven, The Netherlands<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  tcpdmatch \u2212 tcp wrapper oracle <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,734],"class_list":["post-3618","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-tcpdmatch"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3618","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3618"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3618\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}