Displaying 9 results from an estimated 9 matches for "syslog_level_debug3".
Did you mean:
syslog_level_debug1
2001 Jan 05
3
subject: ssh non-intuitive logging setting. (priority names)
...{ "VERBOSE", SYSLOG_LEVEL_VERBOSE },
{ "DEBUG", SYSLOG_LEVEL_DEBUG1 },
{ "DEBUG1", SYSLOG_LEVEL_DEBUG1 },
{ "DEBUG2", SYSLOG_LEVEL_DEBUG2 },
{ "DEBUG3", SYSLOG_LEVEL_DEBUG3 },
{ NULL, 0 }
The priorities specified, say, in sshd_config
will use the SYSLOG_LEVEL_* values defined in ssh.h.
typedef enum {
SYSLOG_LEVEL_QUIET,
SYSLOG_LEVEL_FATAL,
SYSLOG_LEVEL_ERROR,
SYSLOG_LEVEL_INFO,...
2001 Feb 12
0
log-server.c patch: adding tag to every log output.
...break;
case SYSLOG_LEVEL_DEBUG1:
! txt = "debug1";
pri = LOG_DEBUG;
break;
! case SYSLOG_LEVEL_DEBUG2:
! txt = "debug2";
pri = LOG_DEBUG;
break;
case SYSLOG_LEVEL_DEBUG3:
! txt = "debug3";
pri = LOG_DEBUG;
break;
default:
! txt = "internal error";
pri = LOG_ERR;
break;
}
if (txt != NULL) {
! snprintf(fmtbuf, sizeof(fm...
2016 Dec 28
2
certificates keys on pkcs11 devices
Hi,
I have not found any way to use a Certificate with ssh-agent when my Key is
stored on a pkcs11 device. I can add my key with
ssh-add -s /usr/local/lib/opensc-pkcs11.so
but
ssh-add -s /usr/local/lib/opensc-pkcs11.so ~/.ssh/mykey-cert.pub
does not add the certificate to my agent. As far as I undestand, in
ssh-add.c line 580
if (pkcs11provider != NULL) {
if (update_card(agent_fd,
2002 Dec 18
2
patch for openssh3.5p1 - adds logging option
...-3.5p1-orig/ssh-keysign.c openssh-3.5p1/ssh-keysign.c
--- openssh-3.5p1-orig/ssh-keysign.c 2002-12-18 10:10:13.000000000 -0500
+++ openssh-3.5p1/ssh-keysign.c 2002-12-18 10:43:40.000000000 -0500
@@ -160,7 +160,7 @@
arc4random_stir();
#ifdef DEBUG_SSH_KEYSIGN
- log_init("ssh-keysign", SYSLOG_LEVEL_DEBUG3, SYSLOG_FACILITY_AUTH, 0);
+ log_init("ssh-keysign", SYSLOG_LEVEL_DEBUG3, SYSLOG_FACILITY_AUTH, 0, NULL);
#endif
/* verify that ssh-keysign is enabled by the admin */
diff -urN openssh-3.5p1-orig/ssh-rand-helper.c openssh-3.5p1/ssh-rand-helper.c
--- openssh-3.5p1-orig/ssh-rand-helper...
2001 Oct 15
0
cosmetic patch
...{ "LOCAL7", SYSLOG_FACILITY_LOCAL7 },
- { NULL, 0 }
+ { NULL, (SyslogFacility)0 }
};
static struct {
@@ -85,7 +85,7 @@
{ "DEBUG1", SYSLOG_LEVEL_DEBUG1 },
{ "DEBUG2", SYSLOG_LEVEL_DEBUG2 },
{ "DEBUG3", SYSLOG_LEVEL_DEBUG3 },
- { NULL, 0 }
+ { NULL, (LogLevel)0 }
};
static void do_log(LogLevel level, const char *fmt, va_list args);
--- openssh-snap/readconf.c Thu Oct 4 02:39:39 2001
+++ openssh/readconf.c Mon Oct 15 17:34:26 2001
@@ -187,7 +193,7 @@
{ "smartcarddevice", oSm...
2002 Jun 05
1
Trailing comma in enum for 3.2.3p1
...log.h Tue Jun 4 17:52:03 2002
@@ -33,7 +33,7 @@
SYSLOG_FACILITY_LOCAL5,
SYSLOG_FACILITY_LOCAL6,
SYSLOG_FACILITY_LOCAL7,
- SYSLOG_FACILITY_NOT_SET = -1,
+ SYSLOG_FACILITY_NOT_SET = -1
} SyslogFacility;
typedef enum {
@@ -45,7 +45,7 @@
SYSLOG_LEVEL_DEBUG1,
SYSLOG_LEVEL_DEBUG2,
SYSLOG_LEVEL_DEBUG3,
- SYSLOG_LEVEL_NOT_SET = -1,
+ SYSLOG_LEVEL_NOT_SET = -1
} LogLevel;
void log_init(char *, LogLevel, SyslogFacility, int);
2003 Aug 16
0
sftp-server (secure) chroot patch, comment fix
...+ fatal("setgroups: %.100s", strerror(errno));
+ permanently_set_uid(pw);
+}
+#endif /* CHROOT */
+
static int
errno_to_portable(int unixerrno)
{
@@ -1028,15 +1082,19 @@
int in, out, max;
ssize_t len, olen, set_size;
+#ifdef DEBUG_SFTP-SERVER
+ log_init("sftp-server", SYSLOG_LEVEL_DEBUG3, SYSLOG_FACILITY_AUTH, 0);
+#endif
+
+#ifdef CHROOT
+ chroot_init();
+#endif
+
/* XXX should use getopt */
__progname = get_progname(av[0]);
handle_init();
-#ifdef DEBUG_SFTP_SERVER
- log_init("sftp-server", SYSLOG_LEVEL_DEBUG1, SYSLOG_FACILITY_AUTH, 0);
-#endif
-
in = dup(STD...
2003 Aug 16
0
sftp-server (secure) chroot patch?
...+ permanently_set_uid(pw);
+}
+#endif /* CHROOT */
+
static int
errno_to_portable(int unixerrno)
{
@@ -1028,15 +1082,17 @@
int in, out, max;
ssize_t len, olen, set_size;
- /* XXX should use getopt */
+#ifdef DEBUG_SFTP-SERVER
+ log_init("sftp-server", SYSLOG_LEVEL_DEBUG3, SYSLOG_FACILITY_AUTH, 0);
+#endif
+
+#ifdef CHROOT
+ chroot_init();
+#endif
__progname = get_progname(av[0]);
handle_init();
-#ifdef DEBUG_SFTP_SERVER
- log_init("sftp-server", SYSLOG_LEVEL_DEBUG1, SYSLOG_FACILITY_AUTH, 0);
-#endif
-
in = dup(STDIN_F...
2001 Jul 27
0
Updated ssh-keyscan patch for ssh2 support
...e {
+ if (++argno >= argc)
+ usage();
+ timeout = atoi(argv[argno]);
+ }
+ if (timeout <= 0)
+ usage();
+ goto double_break;
+ case 'v':
+ if (!debug_flag) {
+ debug_flag = 1;
+ log_level = SYSLOG_LEVEL_DEBUG1;
+ }
+ else if (log_level < SYSLOG_LEVEL_DEBUG3)
+ log_level++;
+ else
+ fatal("Too high debugging level.");
+ break;
+ default:
+ if (*--(argv[argno]) != '-')
+ fatal("Please separate options T and v from any other options.");
+ goto triple_break;
+ }
}
- if (timeout <= 0)
- usage...