search for: av0

Displaying 12 results from an estimated 12 matches for "av0".

Did you mean: a0
2000 Jul 14
0
rlogin/slogin handling [PATCH]
...12 15:54:55 2000 +++ ssh.c Fri Jul 14 13:15:45 2000 @@ -160,11 +160,26 @@ { char *args[10]; int i; + char rsh_program_name[256]; log("Using rsh. WARNING: Connection will not be encrypted."); + +/* Check case for rlogin/slogin */ + if (strncmp(av0, "rlogin", strlen(av0)) == 0 || strncmp(av0, "slogin", strlen(av0)) == 0)+ { + strncpy(rsh_program_name, _PATH_RSH, sizeof(rsh_program_name)); + if (strchr(rsh_program_name, '/')) + *strrchr(rsh_program_name, '/'...
2001 Jan 04
2
Patch to allow openssh-2.2.0-p1 to be started from /etc/inittab
...*/ + int sshd_daemon(int nochdir, int noclose); + #endif /* _BSD_DAEMON_H */ diff -c -r openssh-2.2.0p1/sshd.c openssh-2.2.0p1-pen1/sshd.c *** openssh-2.2.0p1/sshd.c Tue Aug 29 02:05:50 2000 --- openssh-2.2.0p1-pen1/sshd.c Thu Jan 4 23:30:46 2001 *************** *** 552,558 **** log_init(av0, options.log_level == -1 ? SYSLOG_LEVEL_INFO : options.log_level, options.log_facility == -1 ? SYSLOG_FACILITY_AUTH : options.log_facility, ! !silent && !inetd_flag); /* Read server configuration options from the configuration file. */ read_server_config(&opt...
2000 Oct 30
2
Minor fixes for openssh-SNAP-20001028
I've attached a patch for openssh-SNAP-20001028 which fixes the following two problems: 1) I fixed fixpaths to complain instead of failing silently if it can't write the output file. 2) I changed log-server.c to use av0 as the first argument to openlog(). I also made sure it called openlog() before the TCP wrapper stuff, because libwrap calls syslog() and winds up using the wrong program name. Please let me know if you have any questions or problems. Thanks! -- Mark D. Roth <roth at feep.net> h...
2006 Feb 14
0
ANOVA: Help with SSQ decomposition and contrasts
...F = data.frame(r, e, tra, y) # Graphic par(mfrow=c(2,1)) interaction.plot(dF$r, dF$e, dF$y, col = 'blue', ylab = 'Y', xlab = 'R') interaction.plot(dF$e, dF$r, dF$y, col = 'blue', ylab = 'Y', xlab = 'R') # ANOVAs av0 = aov(y ~ tra, data=dF) summary(av0) av1 = aov(y ~ r*e, data=dF) summary(av1) av2 = aov(y ~ r/e, data=dF) e_r = summary(av2, split = list('r:e' = list( 'e1 vs e2/r1' = 1, 'e1 vs e2/r2' = 2, 'e1 vs e2/r3' = 3))) e_r av3 = aov(y ~ e/r, data=dF) r_e =...
2006 Feb 16
0
SSQ decomposition and contrasts with ANOVA
...19.4, 18.8, 19.2, 19.8, 21.4, 22.8, 21.3) dF = data.frame(a, b, tra, y) # Graphic par(mfrow=c(2,1)) interaction.plot(dF$a, dF$b, dF$y, ylab = 'y', xlab = 'a') interaction.plot(dF$b, dF$a, dF$y, ylab = 'y', xlab = 'b') # ANOVAs av0 = aov(y ~ tra, data=dF) summary(av0) av1 = aov(y ~ a*b, data=dF) summary(av1) av2 = aov(y ~ a/b, data=dF) b_a = summary(av2, split = list('a:b' = list( 'b1 vs b2/a1' = 1, 'b1 vs b2/a2' = 2, 'b1 vs b2/a3' = 3))) b_a av3 = aov(y ~ b/a, data=dF) a_b =...
2001 Feb 19
0
Restarting with kill -HUP
...cure. Cheers, Han Holl --- sshd.c.orig Mon Feb 19 10:55:54 2001 +++ sshd.c Mon Feb 19 10:56:15 2001 @@ -208,7 +208,7 @@ { log("Received SIGHUP; restarting."); close_listen_socks(); - execv(saved_argv[0], saved_argv); + execvp(saved_argv[0], saved_argv); log("RESTART FAILED: av0='%s', error: %s.", av0, strerror(errno)); exit(1); }
2002 Dec 18
2
patch for openssh3.5p1 - adds logging option
...g.h> +#include <time.h> static LogLevel log_level = SYSLOG_LEVEL_INFO; static int log_on_stderr = 1; @@ -48,6 +49,8 @@ extern char *__progname; +FILE *logf; + /* textual representation of log-facilities/levels */ static struct { @@ -261,7 +264,8 @@ */ void -log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr) +log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr, +char *logfile) { argv0 = av0; @@ -331,6 +335,16 @@ (int) facility); exit(1); } + if(logfile != NULL) { + logf = fopen(logfile,"a"); + i...
1999 Nov 20
1
openssh and DOS
.... Close the listening socket, and start using - the accepted socket. Reinitialize logging (since our - pid has changed). We break out of the loop to handle - the connection. */ - close(listen_sock); - sock_in = newsock; - sock_out = newsock; - log_init(av0, options.log_level, options.log_facility, log_stderr); - break; + /* Make sure we don't have too many connections. */ + if (options.max_connections > 0 + && current_connections >= options.max_connections) + error ("Maximum number of connections (%d) reache...
2011 Jun 02
2
preauth privsep logging via monitor
...011 03:59:56 -0000 @@ -56,6 +56,8 @@ static LogLevel log_level = SYSLOG_LEVEL static int log_on_stderr = 1; static int log_facility = LOG_AUTH; static char *argv0; +static log_handler_fn *log_handler; +static void *log_handler_ctx; extern char *__progname; @@ -260,6 +262,9 @@ log_init(char *av0, LogLevel level, Sysl exit(1); } + log_handler = NULL; + log_handler_ctx = NULL; + log_on_stderr = on_stderr; if (on_stderr) return; @@ -327,6 +332,23 @@ log_init(char *av0, LogLevel level, Sysl #define MSGBUFSIZ 1024 void +set_log_handler(log_handler_fn *handler, void *ctx) +{ +...
2001 Feb 06
4
argv[0] => host feature considered harmful
OpenSSH still has this feature, SSH-1.2.27 no longer has it. Admittedly it can be useful sometimes, even though I'd prefer this to be done using a trivial shell wrapper, which would be the UNIX way of doing things. Not being able to call OpenSSH's ssh by another name (say ``ssh1'') can get in the way when having to maintain two versions of ssh in parallel because the ``ssh ->
2000 Jan 19
3
AIX openssh patches
...d int *)&dummy, e, n)) { public_key->e = e; public_key->n = n; comment = xstrdup(cp ? cp : "no comment"); *** ssh.c.DIST Tue Jan 11 12:13:59 2000 --- ssh.c Tue Jan 11 12:15:16 2000 *************** *** 207,212 **** --- 207,216 ---- /* Save our own name. */ av0 = av[0]; + #ifdef SOCKS + SOCKSinit(av0); + #endif /* SOCKS */ + /* Initialize option structure to indicate that no values have been set. */ initialize_options(&options); *** sshconnect.c.DIST Tue Jan 11 09:54:21 2000 --- sshconnect.c Wed Jan 19 11:03:46 2000 *************** *** 1...
2003 Oct 14
4
Printing Issues with NT type Clients.
Hi. To begin with, I have a freshly built RedHat Linux 8.0 box running samba 2.2.8a. The kernel version is 2.4.18-14. I downloaded and compiled samba from source. I am using LPRng-3.8.9-6 as my printing system. The attached printer is a Lexmark Z22 printer and it is attached to the parralel port. Problem: For the life of me, I can't get NT type clients, NT4, 2K and XP to print to samba.