summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sshd.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 09e7adacc..367bf2c65 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
1520080225 1820080225
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 $
diff --git a/sshd.c b/sshd.c
index 9144bbaea..345ee4315 100644
--- a/sshd.c
+++ b/sshd.c
@@ -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>
125int allow_severity = LOG_INFO; 125int allow_severity;
126int deny_severity = LOG_WARNING; 126int 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;