search for: log_facility_numb

Displaying 10 results from an estimated 10 matches for "log_facility_numb".

Did you mean: log_facility_number
2007 Sep 12
0
PATCH: fix incorrect checking of syslog facility in sftp-server
...be ever printed because log_level is always not equal to -1 there. However, using incorrect facility will trigger "Unrecognized internal syslog level code ..." in log_init() later though so it will fail eventually as expected. the incorrect code: case 'f': log_facility = log_facility_number(optarg); if (log_level == SYSLOG_FACILITY_NOT_SET) error("Invalid log facility \"%s\"", optarg); break; --- sftp-server.c Sun May 20 07:09:05 2007 +++ sftp-server.c.new Wed Sep 12 16:25:32 2007 @@ -1244,7 +1244,7 @@ break;...
2007 Jun 18
0
[PATCH] sftp-server argument error handling
...,12 @@ case 'l': log_level = log_level_number(optarg); if (log_level == SYSLOG_LEVEL_NOT_SET) - error("Invalid log level \"%s\"", optarg); + fatal("Invalid log level \"%s\"", optarg); break; case 'f': log_facility = log_facility_number(optarg); if (log_level == SYSLOG_FACILITY_NOT_SET) - error("Invalid log facility \"%s\"", optarg); + fatal("Invalid log facility \"%s\"", optarg); break; case 'h': default: Tony. -- f.a.n.finch <dot at dotat.at> http://...
2001 Jul 27
0
openssh-2.9p2 compilation on LynxOS
...returned 1 exit status sshconnect.o: In function `ssh_connect': /openssh/openssh-2.9p2/sshconnect.c(207): undefined reference to `getservbynareadconf.o: In function `parse_token': /openssh/openssh-2.9p2/readconf.c(235): undefined reference to `strcasecmp' ./libssh.a(log.o): In function `log_facility_number': /openssh/openssh-2.9p2/log.c(97): undefined reference to `strcasecmp' ./libssh.a(log.o): In function `log_level_number': /openssh/openssh-2.9p2/log.c(108): undefined reference to `strcasecmp' ./libssh.a(log.o): In function `do_log': /openssh/openssh-2.9p2/log.c(383): undefin...
2007 Apr 10
6
[PATCH 0/6] openssh V_4_6: minor fixes/cleanups
This patch series consists of minor fixes and cleanups I made during update to openssh V_4_6 branch. openssh/auth-pam.c | 9 ++++----- openssh/auth2.c | 2 -- openssh/readconf.c | 7 ++++--- openssh/servconf.c | 14 ++++++++------ openssh/sftp-server.c | 9 ++++++--- openssh/sshd.c | 2 +- 6 files changed, 23 insertions(+), 20 deletions(-) -- ldv
2001 Feb 01
0
warnings on aix325
...tion of function `connect' channels.c: In function `x11_create_display_inet': channels.c:1819: warning: implicit declaration of function `gethostname' cipher.c: In function `cipher_by_name': cipher.c:450: warning: implicit declaration of function `strcasecmp' log.c: In function `log_facility_number': log.c:224: warning: implicit declaration of function `strcasecmp' nchan.c: In function `chan_shutdown_write': nchan.c:464: warning: implicit declaration of function `shutdown' packet.c: In function `packet_connection_is_on_socket': packet.c:196: warning: implicit declaration...
2004 Mar 23
2
A question on Compilation errors...
.../openssh-3.8p1/sshconnect.c(330): undefined reference to `getservbyname' sshconnect.o: In function `confirm': /openssh-3.8p1/sshconnect.c(545): undefined reference to `strncasecmp' /openssh-3.8p1/sshconnect.c(549): undefined reference to `strncasecmp' ./libssh.a(log.o): In function `log_facility_number': /openssh-3.8p1/log.c(101): undefined reference to `strcasecmp' ./libssh.a(log.o): In function `log_level_number': /openssh-3.8p1/log.c(113): undefined reference to `strcasecmp' ./libssh.a(log.o): In function `do_log': /openssh-3.8p1/log.c(329): undefined reference to `openlo...
2002 Dec 18
2
patch for openssh3.5p1 - adds logging option
...-18 10:10:13.000000000 -0500 +++ openssh-3.5p1/log.h 2002-12-18 10:38:48.000000000 -0500 @@ -48,7 +48,7 @@ SYSLOG_LEVEL_NOT_SET = -1 } LogLevel; -void log_init(char *, LogLevel, SyslogFacility, int); +void log_init(char *, LogLevel, SyslogFacility, int, char *); SyslogFacility log_facility_number(char *); LogLevel log_level_number(char *); diff -urN openssh-3.5p1-orig/servconf.c openssh-3.5p1/servconf.c --- openssh-3.5p1-orig/servconf.c 2002-12-18 10:10:13.000000000 -0500 +++ openssh-3.5p1/servconf.c 2002-12-18 10:20:33.000000000 -0500 @@ -64,6 +64,7 @@ options->listen_addrs = NULL;...
2011 Jun 02
2
preauth privsep logging via monitor
...log.h 13 Jun 2008 00:22:54 -0000 1.21 +++ log.h 2 Jun 2011 03:58:14 -0000 @@ -46,6 +46,8 @@ typedef enum { SYSLOG_LEVEL_NOT_SET = -1 } LogLevel; +typedef void (log_handler_fn)(LogLevel, const char *, void *); + void log_init(char *, LogLevel, SyslogFacility, int); SyslogFacility log_facility_number(char *); @@ -64,6 +66,9 @@ void debug(const char *, ...) __attr void debug2(const char *, ...) __attribute__((format(printf, 1, 2))); void debug3(const char *, ...) __attribute__((format(printf, 1, 2))); + +void set_log_handler(log_handler_fn *, void *); +void do_log2(LogLevel,...
2001 Nov 12
4
Please test -current
Could people please test -current? We will be making a release fairly soon. -d -- | By convention there is color, \\ Damien Miller <djm at mindrot.org> | By convention sweetness, By convention bitterness, \\ www.mindrot.org | But in reality there are atoms and space - Democritus (c. 400 BCE)
2001 Nov 20
3
problem with AFS token forwarding
Hello, I came across an interoperability problem in OpenSSH 3.0p1 and 3.0.1p1 concerning the AFS token forwarding. That means that the new versions are not able to exchange AFS tokens (and Kerberos TGTs) with older OpenSSH releases (including 2.9p2) and with the old SSH 1.2.2x. In my opinion this problem already existed in Openssh 2.9.9p1, but I have never used this version (I only looked at the