Displaying 1 result from an estimated 1 matches for "nut_err_access_deni".
Did you mean:
nut_err_access_denied
2010 Dec 03
1
[PATCH] upsd tcp_wrappers parsing and logging
...RQ_DAEMON, progname, RQ_CLIENT_ADDR, client->addr, RQ_USER, client->username, 0);
+ request_init(&req, RQ_DAEMON, progname, RQ_FILE, client->sock_fd, 0);
+ fromhost(&req);
if (!hosts_access(&req)) {
/* tcp-wrappers says access should be denied */
send_err(client, NUT_ERR_ACCESS_DENIED);
+ upslogx(deny_severity, "tcp_wrappers denied connection from %s", eval_client(&req));
return;
}
#endif /* HAVE_WRAP */
--
1.7.3.2