diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sshd.c | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -11,6 +11,9 @@ | |||
11 | getgrouplist via getgrset on AIX, rather than iterating over getgrent. | 11 | getgrouplist via getgrset on AIX, rather than iterating over getgrent. |
12 | This allows, eg, Match and AllowGroups directives to work with NIS and | 12 | This allows, eg, Match and AllowGroups directives to work with NIS and |
13 | LDAP groups. | 13 | LDAP groups. |
14 | - (dtucker) [sshd.c] Bug #1042: make log messages for tcpwrappers use the | ||
15 | same SyslogFacility as the rest of sshd. Patch from William Knox, | ||
16 | ok djm@. | ||
14 | 17 | ||
15 | 20080225 | 18 | 20080225 |
16 | - (dtucker) [openbsd-compat/fake-rfc2553.h] rename ssh_gai_strerror hack | 19 | - (dtucker) [openbsd-compat/fake-rfc2553.h] rename ssh_gai_strerror hack |
@@ -3641,4 +3644,4 @@ | |||
3641 | OpenServer 6 and add osr5bigcrypt support so when someone migrates | 3644 | OpenServer 6 and add osr5bigcrypt support so when someone migrates |
3642 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ | 3645 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ |
3643 | 3646 | ||
3644 | $Id: ChangeLog,v 1.4845 2008/02/28 12:16:04 dtucker Exp $ | 3647 | $Id: ChangeLog,v 1.4846 2008/02/28 12:20:48 dtucker Exp $ |
@@ -122,8 +122,8 @@ | |||
122 | #ifdef LIBWRAP | 122 | #ifdef LIBWRAP |
123 | #include <tcpd.h> | 123 | #include <tcpd.h> |
124 | #include <syslog.h> | 124 | #include <syslog.h> |
125 | int allow_severity = LOG_INFO; | 125 | int allow_severity; |
126 | int deny_severity = LOG_WARNING; | 126 | int deny_severity; |
127 | #endif /* LIBWRAP */ | 127 | #endif /* LIBWRAP */ |
128 | 128 | ||
129 | #ifndef O_NOCTTY | 129 | #ifndef O_NOCTTY |
@@ -1747,6 +1747,8 @@ main(int ac, char **av) | |||
1747 | audit_connection_from(remote_ip, remote_port); | 1747 | audit_connection_from(remote_ip, remote_port); |
1748 | #endif | 1748 | #endif |
1749 | #ifdef LIBWRAP | 1749 | #ifdef LIBWRAP |
1750 | allow_severity = options.log_facility|LOG_INFO; | ||
1751 | deny_severity = options.log_facility|LOG_WARNING; | ||
1750 | /* Check whether logins are denied from this host. */ | 1752 | /* Check whether logins are denied from this host. */ |
1751 | if (packet_connection_is_on_socket()) { | 1753 | if (packet_connection_is_on_socket()) { |
1752 | struct request_info req; | 1754 | struct request_info req; |