|
Lines 89-96
Link Here
|
| 89 |
#ifdef LIBWRAP |
89 |
#ifdef LIBWRAP |
| 90 |
#include <tcpd.h> |
90 |
#include <tcpd.h> |
| 91 |
#include <syslog.h> |
91 |
#include <syslog.h> |
| 92 |
int allow_severity = LOG_INFO; |
92 |
int allow_severity; |
| 93 |
int deny_severity = LOG_WARNING; |
93 |
int deny_severity; |
| 94 |
#endif /* LIBWRAP */ |
94 |
#endif /* LIBWRAP */ |
| 95 |
|
95 |
|
| 96 |
#ifndef O_NOCTTY |
96 |
#ifndef O_NOCTTY |
|
Lines 1634-1639
Link Here
|
| 1634 |
audit_connection_from(remote_ip, remote_port); |
1634 |
audit_connection_from(remote_ip, remote_port); |
| 1635 |
#endif |
1635 |
#endif |
| 1636 |
#ifdef LIBWRAP |
1636 |
#ifdef LIBWRAP |
|
|
1637 |
allow_severity = options.log_facility|LOG_INFO; |
| 1638 |
deny_severity = options.log_facility|LOG_WARNING; |
| 1637 |
/* Check whether logins are denied from this host. */ |
1639 |
/* Check whether logins are denied from this host. */ |
| 1638 |
if (packet_connection_is_on_socket()) { |
1640 |
if (packet_connection_is_on_socket()) { |
| 1639 |
struct request_info req; |
1641 |
struct request_info req; |