]> andersk Git - openssh.git/commitdiff
- (djm) OpenBSD CVS Updates:
authordjm <djm>
Tue, 11 Jul 2000 23:45:27 +0000 (23:45 +0000)
committerdjm <djm>
Tue, 11 Jul 2000 23:45:27 +0000 (23:45 +0000)
   - deraadt@cvs.openbsd.org 2000/07/11 02:11:34
     [session.c sshd.c ]
     make MaxStartups code still work with -d; djm
   - deraadt@cvs.openbsd.org 2000/07/11 13:17:45
     [readconf.c ssh_config]
     disable FallBackToRsh by default

ChangeLog
readconf.c
session.c
ssh_config
sshd.c

index 16bd6649bb49d07ab93a2771243e6963efea0d05..52df47d9c3e0f2562c0a07887c652300f29bab50 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+20000712
+ - Remove -lresolve for Reliant Unix
+ - (djm) OpenBSD CVS Updates:
+   - deraadt@cvs.openbsd.org 2000/07/11 02:11:34
+     [session.c sshd.c ]
+     make MaxStartups code still work with -d; djm
+   - deraadt@cvs.openbsd.org 2000/07/11 13:17:45
+     [readconf.c ssh_config]
+     disable FallBackToRsh by default
+
 20000711
  - (djm) Fixup for AIX getuserattr() support from Tom Bertelson
    <tbert@abac.com>
index 28aa0a8b8349efce5f09224e7e268941b3098aac..c514e9b59154dbf822b8d9acde9d72c0924344f1 100644 (file)
@@ -14,7 +14,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: readconf.c,v 1.40 2000/07/10 16:27:05 ho Exp $");
+RCSID("$OpenBSD: readconf.c,v 1.41 2000/07/11 19:17:44 deraadt Exp $");
 
 #include "ssh.h"
 #include "cipher.h"
@@ -739,7 +739,7 @@ fill_default_options(Options * options)
        if (options->rhosts_rsa_authentication == -1)
                options->rhosts_rsa_authentication = 1;
        if (options->fallback_to_rsh == -1)
-               options->fallback_to_rsh = 1;
+               options->fallback_to_rsh = 0;
        if (options->use_rsh == -1)
                options->use_rsh = 0;
        if (options->batch_mode == -1)
index abf3ef3461ae6274533c645f3e676c7ab2b595aa..3e889dbf1b4af99646fe1c5fb84dcf4980ccc21e 100644 (file)
--- a/session.c
+++ b/session.c
@@ -8,7 +8,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: session.c,v 1.22 2000/07/05 20:18:07 deraadt Exp $");
+RCSID("$OpenBSD: session.c,v 1.23 2000/07/11 08:11:33 deraadt Exp $");
 
 #include "xmalloc.h"
 #include "ssh.h"
@@ -169,8 +169,10 @@ do_authenticated(struct passwd * pw)
         * authentication.
         */
        alarm(0);
-       if (startup_pipe != -1)
+       if (startup_pipe != -1) {
                close(startup_pipe);
+               startup_pipe = -1;
+       }
 
        /*
         * Inform the channel mechanism that we are the server side and that
@@ -1793,8 +1795,10 @@ do_authenticated2(void)
         * authentication.
         */
        alarm(0);
-       if (startup_pipe != -1)
+       if (startup_pipe != -1) {
                close(startup_pipe);
+               startup_pipe = -1;
+       }
        server_loop2();
        if (xauthfile)
                xauthfile_cleanup_proc(NULL);
index 5963b16df7478e2a9ab39a6a9c11c5b35e3418c7..70275b392c88076e9293e2b33d712dbca0b29068 100644 (file)
@@ -19,7 +19,7 @@
 #   RhostsRSAAuthentication yes
 #   RSAAuthentication yes
 #   PasswordAuthentication yes
-#   FallBackToRsh yes
+#   FallBackToRsh no
 #   UseRsh no
 #   BatchMode no
 #   CheckHostIP yes
diff --git a/sshd.c b/sshd.c
index e53629d4bf15503a83f6afc3e95a3576920f1645..cab0dd6f1b4b6b8c4949ef504023bcd6f18ea207 100644 (file)
--- a/sshd.c
+++ b/sshd.c
@@ -14,7 +14,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: sshd.c,v 1.121 2000/07/05 21:35:56 provos Exp $");
+RCSID("$OpenBSD: sshd.c,v 1.122 2000/07/11 08:11:34 deraadt Exp $");
 
 #include "xmalloc.h"
 #include "rsa.h"
@@ -854,8 +854,8 @@ main(int ac, char **av)
                                        close_listen_socks();
                                        sock_in = newsock;
                                        sock_out = newsock;
-                                       pid = getpid();
                                        startup_pipe = -1;
+                                       pid = getpid();
                                        break;
                                } else {
                                        /*
This page took 0.055395 seconds and 5 git commands to generate.