2 * refuse() reports a refused connection, and takes the consequences: in
3 * case of a datagram-oriented service, the unread datagram is taken from
4 * the input queue (or inetd would see the same datagram again and again);
5 * the program is terminated.
7 * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands.
13 static char sccsid
[] = "@(#) refuse.c 1.5 94/12/28 17:42:39";
16 /* System libraries. */
25 /* refuse - refuse request */
28 struct request_info
*request
;
31 syslog(deny_severity
, "refused connect from %s (%s)",
32 eval_client(request
), eval_hostaddr(request
->client
));
34 syslog(deny_severity
, "refused connect from %s", eval_client(request
));