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 */
27 void refuse(struct request_info *request)
30 syslog(deny_severity, "refused connect from %s (%s)",
31 eval_client(request), eval_hostaddr(request->client));
33 syslog(deny_severity, "refused connect from %s", eval_client(request));