summaryrefslogtreecommitdiff
path: root/log-server.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-01-19 04:26:52 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-01-19 04:26:52 +0000
commitdb65e8fdedadaf79df2d8393a4d43e9094c80649 (patch)
treee5902db5ee2b69f9f3c2fa0dbdeb7f4fc20c68b4 /log-server.c
parent5aa80596f76ce36dee4623a00a55548834c3328d (diff)
Please grep through the source and look for 'ISSUE' comments and verify
that I was able to get all the portable bits in the right location. As for the SKEY comment there is an email out to Markus as to how it should be resolved. Until then I just #ifdef SKEY/#endif out the whole block. - (bal) OpenBSD Resync - markus@cvs.openbsd.org 2001/01/18 16:20:21 [log-client.c log-server.c log.c readconf.c servconf.c ssh.1 ssh.h sshd.8 sshd.c] log() is at pri=LOG_INFO, since LOG_NOTICE goes to /dev/console on many systems - markus@cvs.openbsd.org 2001/01/18 16:59:59 [auth-passwd.c auth.c auth.h auth1.c auth2.c serverloop.c session.c session.h sshconnect1.c] 1) removes fake skey from sshd, since this will be much harder with /usr/libexec/auth/login_XXX 2) share/unify code used in ssh-1 and ssh-2 authentication (server side) 3) make addition of BSD_AUTH and other challenge reponse methods easier. - markus@cvs.openbsd.org 2001/01/18 17:12:43 [auth-chall.c auth2-chall.c] rename *-skey.c *-chall.c since the files are not skey specific
Diffstat (limited to 'log-server.c')
-rw-r--r--log-server.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/log-server.c b/log-server.c
index 2335a3ef4..3b19550e3 100644
--- a/log-server.c
+++ b/log-server.c
@@ -36,14 +36,14 @@
36 */ 36 */
37 37
38#include "includes.h" 38#include "includes.h"
39RCSID("$OpenBSD: log-server.c,v 1.18 2001/01/07 11:28:05 markus Exp $"); 39RCSID("$OpenBSD: log-server.c,v 1.19 2001/01/18 16:20:21 markus Exp $");
40 40
41#include <syslog.h> 41#include <syslog.h>
42#include "packet.h" 42#include "packet.h"
43#include "xmalloc.h" 43#include "xmalloc.h"
44#include "ssh.h" 44#include "ssh.h"
45 45
46static LogLevel log_level = SYSLOG_LEVEL_NOTICE; 46static LogLevel log_level = SYSLOG_LEVEL_INFO;
47static int log_on_stderr = 0; 47static int log_on_stderr = 0;
48static int log_facility = LOG_AUTH; 48static int log_facility = LOG_AUTH;
49 49
@@ -60,7 +60,7 @@ log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr)
60 case SYSLOG_LEVEL_QUIET: 60 case SYSLOG_LEVEL_QUIET:
61 case SYSLOG_LEVEL_FATAL: 61 case SYSLOG_LEVEL_FATAL:
62 case SYSLOG_LEVEL_ERROR: 62 case SYSLOG_LEVEL_ERROR:
63 case SYSLOG_LEVEL_NOTICE: 63 case SYSLOG_LEVEL_INFO:
64 case SYSLOG_LEVEL_VERBOSE: 64 case SYSLOG_LEVEL_VERBOSE:
65 case SYSLOG_LEVEL_DEBUG1: 65 case SYSLOG_LEVEL_DEBUG1:
66 case SYSLOG_LEVEL_DEBUG2: 66 case SYSLOG_LEVEL_DEBUG2:
@@ -141,8 +141,8 @@ do_log(LogLevel level, const char *fmt, va_list args)
141 txt = "error"; 141 txt = "error";
142 pri = LOG_ERR; 142 pri = LOG_ERR;
143 break; 143 break;
144 case SYSLOG_LEVEL_NOTICE: 144 case SYSLOG_LEVEL_INFO:
145 pri = LOG_NOTICE; 145 pri = LOG_INFO;
146 break; 146 break;
147 case SYSLOG_LEVEL_VERBOSE: 147 case SYSLOG_LEVEL_VERBOSE:
148 pri = LOG_INFO; 148 pri = LOG_INFO;