Commit Graph

1745 Commits

Author SHA1 Message Date
Damien Miller
139d4cd908 - markus@cvs.openbsd.org 2001/10/09 10:12:08
[session.c]
     chdir $HOME after krb_afslog(); from bbense@networking.stanford.edu
2001-10-10 15:07:44 +10:00
Damien Miller
7ea6f204b6 - markus@cvs.openbsd.org 2001/10/08 16:15:47
[sshconnect.c]
     use correct family for -b option
2001-10-10 15:04:41 +10:00
Damien Miller
d3c04b90e4 - markus@cvs.openbsd.org 2001/10/08 11:48:57
[channels.c]
     better debug
2001-10-10 15:04:20 +10:00
Damien Miller
4623a75462 - markus@cvs.openbsd.org 2001/10/07 17:49:40
[channels.c channels.h]
     avoid possible FD_ISSET overflow for channels established
     during channnel_after_select() (used for dynamic channels).
2001-10-10 15:03:58 +10:00
Damien Miller
058655cced - markus@cvs.openbsd.org 2001/10/07 10:29:52
[authfile.c]
     grammer; Matthew_Clarke@mindlink.bc.ca
2001-10-10 15:03:36 +10:00
Damien Miller
59d9fb9e55 - markus@cvs.openbsd.org 2001/10/06 11:18:19
[sshconnect1.c sshconnect2.c sshconnect.c]
     unify hostkey check error messages, simplify prompt.
2001-10-10 15:03:11 +10:00
Damien Miller
9c75142917 - markus@cvs.openbsd.org 2001/10/06 00:36:42
[session.c]
     fix typo in error message, sync with do_exec_nopty
2001-10-10 15:02:46 +10:00
Damien Miller
e398004f6c - markus@cvs.openbsd.org 2001/10/06 00:14:50
[sshconnect.c]
     remove unused argument
2001-10-10 15:02:03 +10:00
Damien Miller
8c3902afde - markus@cvs.openbsd.org 2001/10/04 15:12:37
[serverloop.c]
     client_alive_check cleanup
2001-10-10 15:01:40 +10:00
Damien Miller
af5f2e641c - markus@cvs.openbsd.org 2001/10/04 15:05:40
[channels.c serverloop.c]
     comment out bogus conditions for selecting on connection_in
2001-10-10 15:01:16 +10:00
Damien Miller
af3030f709 - markus@cvs.openbsd.org 2001/10/04 14:34:16
[key.c]
     call OPENSSL_free() for memory allocated by openssl; from chombier@mac.com
2001-10-10 15:00:49 +10:00
Ben Lindstrom
f16c81f900 - (bal) ssh-copy-id corrected permissions for .ssh/ and authorized_keys.
Prompted by Matthew Vernon <matthew@sel.cam.ac.uk>
2001-10-08 01:54:24 +00:00
Ben Lindstrom
4c90149c50 - (bal) AES works under Cray, no more hack. 2001-10-06 00:08:09 +00:00
Ben Lindstrom
8bceffb0c3 - (bal) nchan2.ms resync. BSD License applied. 2001-10-04 21:16:57 +00:00
Ben Lindstrom
c3e49e7b31 - markus@cvs.openbsd.org 2001/10/03 10:01:20
[auth.c]
     use realpath() for homedir, too. from jinmei@isl.rdc.toshiba.co.jp
2001-10-03 17:55:26 +00:00
Ben Lindstrom
1bae404457 - stevesk@cvs.openbsd.org 2001/10/02 22:56:09
[sshd.c]
     #include "channels.h" for channel_set_af()
2001-10-03 17:46:39 +00:00
Ben Lindstrom
569f88de04 - djm@cvs.openbsd.org 2001/10/02 08:38:50
[ssh-add.c]
     return non-zero exit code on error; ok markus@
2001-10-03 17:43:01 +00:00
Ben Lindstrom
3cecc9a41f - markus@cvs.openbsd.org 2001/10/01 21:51:16
[readconf.c readconf.h ssh.1 sshconnect.c]
     add NoHostAuthenticationForLocalhost; note that the hostkey is
     now check for localhost, too.
2001-10-03 17:39:38 +00:00
Ben Lindstrom
908afed17f - markus@cvs.openbsd.org 2001/10/01 21:38:53
[channels.c channels.h ssh.c sshd.c]
     remove ugliness; vp@drexel.edu via angelos
2001-10-03 17:34:59 +00:00
Ben Lindstrom
3e45e4cd00 - markus@cvs.openbsd.org 2001/10/01 08:06:28
[scp.c]
     skip filenames containing \n; report jdamery@chiark.greenend.org.uk
     and matthew@debian.org
2001-10-03 17:30:58 +00:00
Ben Lindstrom
83f07d1954 - markus@cvs.openbsd.org 2001/09/28 15:46:29
[ssh.c]
     bug: read user config first; report kaukasoi@elektroni.ee.tut.fi
2001-10-03 17:22:29 +00:00
Ben Lindstrom
1af4d3bb70 - djm@cvs.openbsd.org 2001/09/28 12:07:09
[ssh-keygen.c]
     bzero private key after loading to smartcard; ok markus@
2001-10-03 17:18:37 +00:00
Ben Lindstrom
6149a6c57f - camield@cvs.openbsd.org 2001/09/27 17:53:24
[sshd.8]
     don't talk about compile-time options
     ok markus@
2001-10-03 17:15:32 +00:00
Ben Lindstrom
bdfb4df08c - markus@cvs.openbsd.org 2001/09/27 15:31:17
[auth2.c auth2-chall.c sshconnect1.c]
     typos; from solar
2001-10-03 17:12:43 +00:00
Ben Lindstrom
ae3de4b39e - markus@cvs.openbsd.org 2001/09/27 11:59:37
[packet.c]
     missing called=1; chombier@mac.com
2001-10-03 17:10:17 +00:00
Ben Lindstrom
96f8d143a7 - markus@cvs.openbsd.org 2001/09/27 11:58:16
[compress.c]
     mem leak; chombier@mac.com
2001-10-03 17:07:47 +00:00
Ben Lindstrom
9b023ed2a2 - (bal) CVS ID fix up in version.h 2001-10-03 17:03:54 +00:00
Kevin Steves
5217265349 - (stevesk) loginrec.c: fix type conversion problems exposed when using
64-bit off_t.
2001-10-02 00:29:00 +00:00
Ben Lindstrom
819f1bef5c 20010929
- (bal) move reading 'config.h' up higher.  Patch by albert chin
   <china@thewrittenword.com)
2001-09-29 14:27:00 +00:00
Damien Miller
bccb5a9338 - (djm) Update spec files for new x11-askpass 2001-09-28 20:03:25 +10:00
Damien Miller
3ff36d6ce2 - (djm) OpenBSD CVS sync:
- djm@cvs.openbsd.org 2001/09/28 09:49:31
     [scard.c]
     Fix segv when smartcard communication error occurs during key load.
     ok markus@
2001-09-28 19:51:54 +10:00
Kevin Steves
a0957d6898 - (stevesk) session.c: declare do_pre_login() before use
wayned@users.sourceforge.net
2001-09-27 19:50:26 +00:00
Damien Miller
5f4b10088f - (djm) Avoid bad and unportable sprintf usage in compat code 2001-09-25 22:21:52 +10:00
Damien Miller
e8bb450af9 - (djm) Add AC_SYS_LARGEFILE configure test 2001-09-25 16:39:35 +10:00
Damien Miller
16fcade16b - (djm) Sync $sysconfdir/moduli 2001-09-25 13:06:18 +10:00
Damien Miller
964fed54cd - (djm) Pull in auth-krb5.c from OpenBSD CVS. NB. it is not currently used. 2001-09-25 12:58:23 +10:00
Ben Lindstrom
8b16c0e67a - (bal) Updated all *.specs for 2.9.9p1 and updated version.h 2001-09-24 23:15:15 +00:00
Ben Lindstrom
40a0d20913 - (bal) Removed 'extern int optopt;' since it is dead wood. 2001-09-24 22:04:02 +00:00
Ben Lindstrom
5ccf63a974 - (bal) updated ssh.c to mirror minor getopts 'extern int' formating done
by stevesk@
2001-09-24 20:00:10 +00:00
Ben Lindstrom
bffa1cb7f6 - markus@cvs.openbsd.org 2001/09/23 09:58:13
[LICENCE]
     new rijndael implementation
2001-09-23 13:58:38 +00:00
Ben Lindstrom
b85544d717 <grumble> Editing ChangeLog in the wrong directory.
- markus@cvs.openbsd.org 2001/09/23 11:09:13
     [authfile.c]
     relax permission check for private key files.
2001-09-23 13:54:57 +00:00
Ben Lindstrom
15da033b34 - mouring@cvs.openbsd.org 2001/09/20 20:57:51
[sshd_config]
     CheckMail removed.  OKed stevesk@
2001-09-20 23:15:44 +00:00
Ben Lindstrom
f558cf6580 - markus@cvs.openbsd.org 2001/09/20 13:50:40
[compat.c compat.h ssh.c]
     bug compat: request a dummy channel for -N (no shell) sessions +
     cleanup; vinschen@redhat.com
2001-09-20 23:13:49 +00:00
Ben Lindstrom
1bc3bdb1c2 - markus@cvs.openbsd.org 2001/09/20 13:46:48
[auth2.c]
     key_read returns now -1 or 1
2001-09-20 23:11:26 +00:00
Ben Lindstrom
406b4f0f33 - stevesk@cvs.openbsd.org 2001/09/20 00:15:54
[sshd.8]
     fix ClientAliveCountMax
2001-09-20 23:09:16 +00:00
Kevin Steves
50abba560c - (stevesk) sun_len, SUN_LEN() configure stuff no longer required 2001-09-20 19:43:41 +00:00
Tim Rice
1ce8f0c3e5 - (tim) [scard/Makefile.in] Don't strip the Java binary 2001-09-20 11:39:35 -07:00
Ben Lindstrom
84a6bfba15 - (bal) openbsd-compat/vis.[ch] is dead wood. Removed. 2001-09-20 02:07:50 +00:00
Ben Lindstrom
03598a1c23 - stevesk@cvs.openbsd.org 2001/09/19 21:41:57
[sshd.8]
     don't advertise -V in usage; ok markus@
2001-09-20 01:07:57 +00:00
Ben Lindstrom
dfd1850398 - stevesk@cvs.openbsd.org 2001/09/19 21:04:53
[sshd.8]
     missing -t in usage
2001-09-20 01:06:08 +00:00
Ben Lindstrom
b1d822c311 - stevesk@cvs.openbsd.org 2001/09/19 19:35:30
[authfd.c]
     use sizeof addr vs. SUN_LEN(addr) for sockaddr_un.  Stevens
     blesses this and we do it this way elsewhere.  this helps in
     portable because not all systems have SUN_LEN() and
     sockaddr_un.sun_len.  ok markus@
2001-09-20 01:03:31 +00:00
Ben Lindstrom
2b7a0e953e - stevesk@cvs.openbsd.org 2001/09/19 19:24:19
[readconf.c readconf.h scp.c sftp.c ssh.1]
     add ClearAllForwardings ssh option and set it in scp and sftp; ok
     markus@
2001-09-20 00:57:55 +00:00
Ben Lindstrom
309f3d1d9c - markus@cvs.openbsd.org 2001/09/19 13:23:29
[key.c]
     key_read() now returns -1 on type mismatch, too
2001-09-20 00:55:53 +00:00
Ben Lindstrom
20daef753d - markus@cvs.openbsd.org 2001/09/19 10:08:51
[sshd.8]
     command=xxx applies to subsystem now, too
2001-09-20 00:54:01 +00:00
Kevin Steves
871f662cb6 - (stevesk) nchan.c: we use X/Open Sockets on HP-UX now so shutdown(2)
returns ENOTCONN vs. EINVAL for socket not connected; remove EINVAL
   check. ok Lutz Jaenicke
2001-09-18 16:08:24 +00:00
Ben Lindstrom
cc7aafc7a4 - stevesk@cvs.openbsd.org 2001/09/17 23:56:07
[scp.1]
     missing -B in usage string
2001-09-18 05:56:57 +00:00
Ben Lindstrom
3b4d42c240 - markus@cvs.openbsd.org 2001/09/17 21:09:47
[compat.c]
     more versions suffering the SSH_BUG_DEBUG bug;
     3.0.x reported by dbutts@maddog.storability.com
2001-09-18 05:55:10 +00:00
Ben Lindstrom
6d218f404f - markus@cvs.openbsd.org 2001/09/17 21:04:02
[channels.c serverloop.c]
     don't send fake dummy packets on CR (\r)
     bugreport from yyua@cs.sfu.ca via solar@@openwall.com
2001-09-18 05:53:12 +00:00
Ben Lindstrom
944c4f0bda - markus@cvs.openbsd.org 2001/09/17 20:52:47
[channels.c channels.h clientloop.c]
     try to fix agent-forwarding-backconnection-bug, as seen on HPUX,
     for example; with Lutz.Jaenicke@aet.TU-Cottbus.DE,
2001-09-18 05:51:13 +00:00
Ben Lindstrom
99a30f11c2 - markus@cvs.openbsd.org 2001/09/17 20:50:22
[key.c ssh-keygen.c]
     better error handling if you try to export a bad key to ssh.com
2001-09-18 05:49:14 +00:00
Ben Lindstrom
6a33763332 - stevesk@cvs.openbsd.org 2001/09/17 20:38:09
[sftp.1 sftp.c]
     cleanup and document -1, -s and -S; ok markus@
2001-09-18 05:47:32 +00:00
Ben Lindstrom
a2fec90e05 - markus@cvs.openbsd.org 2001/09/17 20:22:14
[scard.c]
     never keep a connection to the smartcard open.
     allows ssh-keygen -D U while the agent is running; report from jakob@
2001-09-18 05:45:44 +00:00
Ben Lindstrom
9e0ddd4379 - stevesk@cvs.openbsd.org 2001/09/17 19:27:15
[kexdh.c kexgex.c key.c key.h ssh-dss.c ssh-keygen.c ssh-rsa.c]
     u_char*/char* cleanup; ok markus
2001-09-18 05:41:19 +00:00
Ben Lindstrom
1e24324164 - stevesk@cvs.openbsd.org 2001/09/17 17:57:57
[scp.1 scp.c sftp.1 sftp.c]
      add -Fssh_config option; ok markus@
2001-09-18 05:38:44 +00:00
Ben Lindstrom
033e4557c0 - (bal) LICENCE update. Has not been done in a while. 2001-09-18 05:36:27 +00:00
Damien Miller
f2bd06c21e - (djm) Make smartcard support conditional in Redhat RPM spec 2001-09-18 15:33:07 +10:00
Damien Miller
7948d93173 - (djm) Specify --datadir in RPM spec files so smartcard applet gets
put somewhere sane. Add Ssh.bin to manifest.
2001-09-18 15:12:10 +10:00
Damien Miller
d97c2ceed1 - (djm) More makefile infrastructre for smartcard support, also based
on Ben's work
2001-09-18 15:06:21 +10:00
Damien Miller
ff5f47e230 - (djm) Avoid warning on BSDgetopt 2001-09-18 15:05:20 +10:00
Damien Miller
ffbe69890d - (djm) Revert setgroups call, it causes problems on OS-X 2001-09-18 14:03:03 +10:00
Damien Miller
85de580adc - (djm) Configure support for smartcards 2001-09-18 14:01:11 +10:00
Tim Rice
a4f7ae1a35 - (tim) [includes.h openbsd-compat/getopt.c openbsd-compat/getopt.h]
rename getopt() to BSDgetopt() to keep form conflicting with
	 system getopt().
	 [Makefile.in configure.in] disable filepriv until I can add
	 missing procpriv calls.
2001-09-17 14:34:33 -07:00
Damien Miller
01ebad06db - (djm) x11-ssh-askpass-1.2.4 in RPM spec, revert workarounds 2001-09-17 15:07:23 +10:00
Ben Lindstrom
37e41c9019 - markus@cvs.openbsd.org 2001/09/16 14:46:54
[session.c]
      calls krb_afslog() after setting $HOME; mattiasa@e.kth.se; fixes
      pr 1943b
2001-09-16 22:17:15 +00:00
Damien Miller
0b9278e923 - (djm) Workaround XFree breakage in RPM spec file 2001-09-16 17:13:45 +10:00
Damien Miller
426d6bdc00 I really should commit these in sync with the actual changes 2001-09-16 17:13:11 +10:00
Damien Miller
ebf989e601 - (djm) Clear supplemental groups at sshd start to prevent them from
being propogated to random PAM modules. Based on patch from Redhat via
   Pekka Savola <pekkas@netcore.fi>
2001-09-15 21:12:49 +10:00
Damien Miller
ba6f9f9e49 - (djm) Redhat initscript config sanity checking from Pekka Savola
<pekkas@netcore.fi>
2001-09-15 21:03:10 +10:00
Damien Miller
0c217b74e2 C - (djm) Redhat spec file cleanups from Pekka Savola <pekkas@netcore.fi> and
Redhat
VS: ----------------------------------------------------------------------
2001-09-15 21:01:41 +10:00
Damien Miller
69e00a18a5 - (djm) Sync scard/ stuff 2001-09-15 20:58:46 +10:00
Damien Miller
599d8eba16 - (djm) Make do_pre_login static to avoid prototype #ifdef hell 2001-09-15 12:25:53 +10:00
Ben Lindstrom
23124eab3b - markus@cvs.openbsd.org 2001/09/14
[sshd.c]
     typo
2001-09-14 23:14:25 +00:00
Ben Lindstrom
b09f6b5b02 - markus@cvs.openbsd.org 2001/09/14
[session.c]
     command=xxx overwrites subsystems, too
2001-09-14 23:12:07 +00:00
Ben Lindstrom
d5e1c04c00 - markus@cvs.openbsd.org 2001/09/13
[rijndael.c rijndael.h]
     missing $OpenBSD
2001-09-14 23:09:29 +00:00
Ben Lindstrom
319fc7353c I was promised that this does not need to have endness fix up by Markus.
So I will blindly trust him. =)

   - markus@cvs.openbsd.org 2001/08/23 11:31:59
     [cipher.c cipher.h]
     switch to the optimised AES reference code from
     http://www.esat.kuleuven.ac.be/~rijmen/rijndael/rijndael-fst-3.0.zip
2001-09-14 02:47:33 +00:00
Ben Lindstrom
4213c559ef - stevesk@cvs.openbsd.org 2001/09/12 18:18:25
[scp.c]
     don't forward agent for non third-party copies; ok markus@
2001-09-12 18:45:09 +00:00
Ben Lindstrom
594e203894 - deraadt@cvs.openbsd.org 2001/09/05 06:23:07
[scp.1 sftp.1 ssh.1 ssh-agent.1 sshd.8 ssh-keygen.1 ssh-keyscan.1]
     avoid first person in manual pages
2001-09-12 18:35:30 +00:00
Ben Lindstrom
edc0cf26d1 - stevesk@cvs.openbsd.org 2001/09/03 20:58:33
[readconf.c readconf.h ssh.c]
     fatal() for nonexistent -Fssh_config. ok markus@
2001-09-12 18:32:20 +00:00
Ben Lindstrom
7d19996201 - markus@cvs.openbsd.org 2001/08/31 11:46:39
[sshconnect2.c]
     disable kbd-interactive if we don't get
     SSH2_MSG_USERAUTH_INFO_REQUEST messages
2001-09-12 18:29:00 +00:00
Ben Lindstrom
520b55c8c4 - markus@cvs.openbsd.org 2001/08/30 22:22:32
[ssh-keyscan.c]
     do not pass pointers to longjmp; fix from wayne@blorf.net
2001-09-12 18:05:05 +00:00
Ben Lindstrom
d71ba5771b - stevesk@cvs.openbsd.org 2001/08/30 20:36:34
[auth-options.c sshd.8]
     validate ports for permitopen key file option. add host/port
     alternative syntax for IPv6. ok markus@
2001-09-12 18:03:31 +00:00
Ben Lindstrom
62c25a43db - stevesk@cvs.openbsd.org 2001/08/30 16:04:35
[readconf.c ssh.1]
     validate ports for LocalForward/RemoteForward.
     add host/port alternative syntax for IPv6 (like -L/-R).
     ok markus@
2001-09-12 18:01:59 +00:00
Ben Lindstrom
6e69d532dc - naddy@cvs.openbsd.org 2001/08/30 15:42:36
[ssh.1]
     add -D to synopsis line; ok markus@
2001-09-12 17:59:59 +00:00
Ben Lindstrom
60d82be9f3 - stevesk@cvs.openbsd.org 2001/08/29 23:39:40
[ssh.1 sshd.8]
     additional documentation for GatewayPorts; ok markus@
2001-09-12 17:58:15 +00:00
Ben Lindstrom
1a1747172e - stevesk@cvs.openbsd.org 2001/08/29 23:27:23
[ssh.c]
     validate ports for -L/-R; ok markus@
2001-09-12 17:56:15 +00:00
Ben Lindstrom
19ceb17040 - stevesk@cvs.openbsd.org 2001/08/29 23:13:10
[ssh.1 ssh.c]
     document -D and DynamicForward; ok markus
2001-09-12 17:54:24 +00:00
Ben Lindstrom
6f672c0954 - stevesk@cvs.openbsd.org 2001/08/29 23:02:21
[sshd.8]
     add text about -u0 preventing DNS requests; ok markus@
2001-09-12 17:51:55 +00:00
Ben Lindstrom
5fccbc2339 - markus@cvs.openbsd.org 2001/08/29 20:44:03
[scp.c]
     clear the malloc'd buffer, otherwise source() will leak malloc'd
     memory; ok theo@
2001-09-12 17:49:48 +00:00
Ben Lindstrom
14f31ab947 - markus@cvs.openbsd.org 2001/08/28 15:39:48
[ssh.1 ssh.c]
     allow: ssh -F configfile host
2001-09-12 17:48:04 +00:00
Ben Lindstrom
525a09389e - markus@cvs.openbsd.org 2001/08/28 09:51:26
[readconf.c]
     don't set DynamicForward unless Host matches
2001-09-12 17:35:27 +00:00
Ben Lindstrom
78bbd9ebe3 - danh@cvs.openbsd.org 2001/08/27 22:02:13
[ssh-keyscan.c]
     fix memory fault if non-existent filename is given to the -f option
     ok markus@
2001-09-12 17:10:40 +00:00
Ben Lindstrom
8d066fb262 - stevesk@cvs.openbsd.org 2001/08/23 18:08:59
[ssh-add.1 ssh-keyscan.1]
     minor cleanup
2001-09-12 17:06:13 +00:00
Ben Lindstrom
ba1fa1d67b - stevesk@cvs.openbsd.org 2001/08/23 18:02:48
[ssh-agent.1]
     fix usage; ok markus@
2001-09-12 17:02:49 +00:00
Ben Lindstrom
ce89dacda8 - camield@cvs.openbsd.org 2001/08/23 17:59:31
[sshd.c]
     end request with 0, not NULL
     ok markus@
2001-09-12 16:58:04 +00:00
Ben Lindstrom
ffa1dd6817 - stevesk@cvs.openbsd.org 2001/08/22 17:45:16
[ssh.1]
     document cipher des for protocol 1; ok deraadt@
2001-09-12 16:52:28 +00:00
Ben Lindstrom
044274bcb0 - stevesk@cvs.openbsd.org 2001/08/22 16:30:02
[sshd.8]
     no rexd; ok markus@
2001-09-12 16:46:08 +00:00
Ben Lindstrom
a10aed8b5e - stevesk@cvs.openbsd.org 2001/08/22 16:21:21
[ssh.1]
     hostname not optional; ok markus@
2001-09-12 16:43:26 +00:00
Ben Lindstrom
e59433da7a - stevesk@cvs.openbsd.org 2001/08/21 21:47:42
[ssh.1 sshd.8]
     minor typos and cleanup
2001-09-12 16:41:37 +00:00
Ben Lindstrom
7bb37b29c6 - stevesk@cvs.openbsd.org 2001/08/17 18:59:47
[servconf.h]
     typo in comment
2001-09-12 16:40:05 +00:00
Ben Lindstrom
1c0fd09d15 - stevesk@cvs.openbsd.org 2001/08/16 20:14:57
[ssh.1 sshd.8]
     document case sensitivity for ssh, sshd and key file
     options and arguments; ok markus@
2001-09-12 16:36:17 +00:00
Ben Lindstrom
91e9868e4f - jakob@cvs.openbsd.org 2001/08/16 19:18:34
[servconf.c servconf.h session.c sshd.8]
     deprecate CheckMail. ok markus@
2001-09-12 16:32:14 +00:00
Ben Lindstrom
19d7b8d3fa - (bal) QNX resync. OK tim@ 2001-08-16 00:09:49 +00:00
Ben Lindstrom
14c62eb2be - stevesk@cvs.openbsd.org 2001/08/14 17:54:29
[scp.1 sftp.1 ssh.1]
     consistent documentation and example of ``-o ssh_option'' for sftp and
     scp; document keyword=argument for ssh.
2001-08-15 23:25:46 +00:00
Ben Lindstrom
59e1249d67 - markus@cvs.openbsd.org 2001/08/14 09:23:02
[sftp.1 sftp-int.c]
     "bye"; hk63a@netscape.net
2001-08-15 23:22:56 +00:00
Ben Lindstrom
1fa90101f0 - stevesk@cvs.openbsd.org 2001/08/13 23:38:54
[scp.c]
     don't need main prototype (also sync with rcp); ok markus@
2001-08-15 23:21:01 +00:00
Ben Lindstrom
930b14a28e - jakob@cvs.openbsd.org 2001/08/11 22:51:27
[ssh.c tildexpand.c]
     fix more paths beginning with "//"; <bradshaw@staff.crosswalk.com>.
     ok markus@
2001-08-15 23:19:21 +00:00
Ben Lindstrom
049e0dd6cf - markus@cvs.openbsd.org 2001/08/08 21:34:19
[uidswap.c]
     undo last change; does not work for sshd
2001-08-15 23:17:22 +00:00
Ben Lindstrom
a66039373b - markus@cvs.openbsd.org 2001/08/08 18:20:15
[uidswap.c]
     permanently_set_uid is a noop if user is not privilegued;
     fixes bug on solaris; from sbi@uchicago.edu
2001-08-15 23:14:49 +00:00
Ben Lindstrom
79e93bca6f - deraadt@cvs.openbsd.org 2001/08/08 07:16:58
[scp.1]
     when describing the -o option, give -o Protocol=1 as the specific example
     since we are SICK AND TIRED of clueless people who cannot have difficulty
     thinking on their own.
2001-08-15 23:06:59 +00:00
Ben Lindstrom
c9a2636420 - markus@cvs.openbsd.org 2001/08/07 10:37:46
[authfd.c authfd.h]
     extended failure messages from galb@vandyke.com
2001-08-15 23:04:50 +00:00
Ben Lindstrom
d0ff40847d - (bal) Fixed stray code in readconf.c that went in by mistake. 2001-08-15 22:58:59 +00:00
Kevin Steves
4da21abd24 - (stevesk) bsd-cray.c: more cleanup; ok wendyp@cray.com 2001-08-14 21:02:15 +00:00
Kevin Steves
72992afb26 - (stevesk) bsd-cray.c: utmp strings are not C strings 2001-08-14 20:54:52 +00:00
Kevin Steves
25ee4e48f7 - (stevesk) sshpty.c: return 0 on error in cray pty code;
ok wendyp@cray.com
2001-08-14 20:41:34 +00:00
Kevin Steves
ad4aa5655d forgot this 2001-08-14 20:35:35 +00:00
Damien Miller
56cb92968b - (djm) Fix detection of long long int support. Based on patch from
Michael Stone <mstone@cs.loyola.edu>. ok stevesk, tim
2001-08-12 13:02:50 +10:00
Ben Lindstrom
113339e024 - (bal) Minor correction to inet_ntop.h. _BSD_RRESVPORT_H should be
_BSD_INET_NTOP_H.  Pointed out by Mark Miller <markm@swoon.net>
2001-08-09 00:56:52 +00:00
Tim Rice
e991e3cf22 - (tim) [configure.in sshconnect.c openbsd-compat/Makefile.in
openbsd-compat/openbsd-compat.h ] Add inet_ntop.c inet_ntop.h back
	 in. Needed for sshconnect.c
	 [sshconnect.c] fix INET6_ADDRSTRLEN for non IPv6 machines
	 [configure.in] make tests with missing libraries fail
	 patch by Wendy Palm <wendyp@cray.com>
	 Added openbsd-compat/bsd-cray.h. Selective patches from
	 William L. Jones <jones@mail.utexas.edu>
2001-08-07 15:29:07 -07:00
Ben Lindstrom
6db66ff387 - (bal) Second around of UNICOS patches. A few other things left.
Patches by William L. Jones <jones@mail.utexas.edu>
2001-08-06 23:29:16 +00:00
Ben Lindstrom
ff2866cf51 - (bal) ssh-keyscan double -lssh hack due to seed_rng(). 2001-08-06 22:56:46 +00:00
Ben Lindstrom
958d9f695b - stevesk@cvs.openbsd.org 2001/08/06 19:47:05
[scp.c]
     use alarm vs. setitimer for portable; ok markus@
2001-08-06 22:48:19 +00:00
Ben Lindstrom
de8fc6fadc - markus@cvs.openbsd.org 2001/08/05 23:29:58
[ssh-keyscan.c]
     make -t dsa work with commercial servers, too
2001-08-06 22:43:50 +00:00
Ben Lindstrom
325e70c90f - markus@cvs.openbsd.org 2001/08/05 23:18:20
[ssh-keyscan.1 ssh-keyscan.c]
     ssh 2 support; from wayned@users.sourceforge.net
2001-08-06 22:41:30 +00:00
Ben Lindstrom
ddfb1e3a89 - jakob@cvs.openbsd.org 2001/08/03 10:31:30
[ssh-add.c ssh-agent.c ssh-keyscan.c]
     improve usage(). ok markus@
2001-08-06 22:06:35 +00:00
Ben Lindstrom
e690121f0d - jakob@cvs.openbsd.org 2001/08/03 10:31:19
[ssh-add.1]
     document smartcard options. ok markus@
2001-08-06 22:03:08 +00:00
Ben Lindstrom
0b5afb98eb - mpech@cvs.openbsd.org 2001/08/02 18:37:35
[ssh-keyscan.1]
     o) .Sh AUTHOR -> .Sh AUTHORS;
     o) .Sh EXAMPLE -> .Sh EXAMPLES;
     o) Delete .Sh OPTIONS. Text moved to .Sh DESCRIPTION;

     millert@ ok
2001-08-06 22:01:29 +00:00
Ben Lindstrom
bcc1808bf2 - jakob@cvs.openbsd.org 2001/08/02 16:14:05
[scard.c ssh-agent.c ssh.c ssh-keygen.c]
     clean up some /* SMARTCARD */. ok markus@
2001-08-06 21:59:25 +00:00
Ben Lindstrom
ffce147638 - jakob@cvs.openbsd.org 2001/08/02 15:43:57
[ssh-agent.c ssh.c ssh-keygen.c]
     add /* SMARTCARD */ to #else/#endif. ok markus@
2001-08-06 21:57:31 +00:00
Ben Lindstrom
61eb9568b3 - jakob@cvs.openbsd.org 2001/08/02 15:32:10
[ssh.c]
     add smartcard to usage(). ok markus@
2001-08-06 21:53:42 +00:00
Ben Lindstrom
a1ec4a9cb8 - jakob@cvs.openbsd.org 2001/08/02 15:07:23
[ssh-keygen.1]
     document smartcard upload/download. ok markus@
2001-08-06 21:51:34 +00:00
Ben Lindstrom
97be31e6ff - jakob@cvs.openbsd.org 2001/08/02 15:06:52
[ssh-keygen.c]
     more verbose usage(). ok markus@
2001-08-06 21:49:06 +00:00
Ben Lindstrom
f19578c447 - jakob@cvs.openbsd.org 2001/08/02 08:58:35
[ssh-keygen.c]
     change -u (upload smartcard key) to -U. ok markus@
2001-08-06 21:46:54 +00:00
Ben Lindstrom
8282d6a82f - markus@cvs.openbsd.org 2001/08/02 00:10:17
[ssh-keygen.c]
     add -D readerid option (download, i.e. print public RSA key to stdout).
     check for card present when uploading keys.
     use strings instead of ints for smartcard reader ids, too.
2001-08-06 21:44:05 +00:00
Ben Lindstrom
a6c8a8d4d5 - markus@cvs.openbsd.org 2001/08/01 23:38:45
[scard.c ssh.c]
     support finish rsa keys.
     free public keys after login -> call finish -> close smartcard.
2001-08-06 21:42:00 +00:00
Ben Lindstrom
6818bfbf30 - markus@cvs.openbsd.org 2001/08/01 23:33:09
[ssh-keygen.c]
     allow uploading RSA keys for non-default AUT0 (sha1 over passphrase
     like sectok).
2001-08-06 21:40:04 +00:00
Ben Lindstrom
020a8699a9 - markus@cvs.openbsd.org 2001/08/01 22:16:45
[ssh.1 sshd.8]
     refer to current ietf drafts for protocol v2
2001-08-06 21:38:10 +00:00
Ben Lindstrom
f7db3bb64c - markus@cvs.openbsd.org 2001/08/01 22:03:33
[authfd.c authfd.h readconf.c readconf.h scard.c scard.h ssh-add.c
      ssh-agent.c ssh.c]
     use strings instead of ints for smartcard reader ids
2001-08-06 21:35:51 +00:00
Ben Lindstrom
3ab1dfa2a6 - jakob@cvs.openbsd.org 2001/07/31 12:53:34
[scard.c]
     close smartcard connection if card is missing
2001-08-06 21:33:44 +00:00
Ben Lindstrom
95148e3de2 - jakob@cvs.openbsd.org 2001/07/31 12:42:50
[sftp-int.c sftp-server.c]
     avoid paths beginning with "//"; <vinschen@redhat.com>
     ok markus@
2001-08-06 21:30:53 +00:00
Ben Lindstrom
ae996bf7d1 - jakob@cvs.openbsd.org 2001/07/31 09:28:44
[readconf.c readconf.h ssh.1 ssh.c]
     add 'SmartcardDevice' client option to specify which smartcard device
     is used to access a smartcard used for storing the user's private RSA
     key. ok markus@.
2001-08-06 21:27:53 +00:00
Ben Lindstrom
94baf30d14 - jakob@cvs.openbsd.org 2001/07/31 08:41:10
[scard.c]
     do not complain about missing smartcards. ok markus@
2001-08-06 21:25:38 +00:00
Ben Lindstrom
0256e8b93c - stevesk@cvs.openbsd.org 2001/07/30 16:23:30
[rijndael.c rijndael.h]
     new BSD-style license:
     Brian Gladman <brg@gladman.plus.com>:
     >I have updated my code at:
     >http://fp.gladman.plus.com/cryptography_technology/rijndael/index.htm
     >with a copyright notice as follows:
     >[...]
     >I am not sure which version of my old code you are using but I am
     >happy for the notice above to be substituted for my existing copyright
     >intent if this meets your purpose.
2001-08-06 21:24:11 +00:00
Ben Lindstrom
30b00be24f - jakob@cvs.openbsd.org 2001/07/30 16:06:07
[scard.c scard.h]
     better errorcodes from sc_*; ok markus@
2001-08-06 21:22:10 +00:00
Ben Lindstrom
50e22c937f - mouring@cvs.openbsd.org 2001/07/29 17:02:46
[scp.1]
     Clarified -o option in scp.1  OKed by Markus@
2001-08-06 21:20:22 +00:00
Ben Lindstrom
07d24dcbd8 - markus@cvs.openbsd.org 2001/07/28 09:21:15
[sshd.8]
     cleanup some RSA vs DSA vs SSH1 vs SSH2 notes
2001-08-06 21:18:57 +00:00
Ben Lindstrom
2772a3f864 - deraadt@cvs.openbsd.org 2001/07/27 17:26:16
[scp.c]
     shorten lines
2001-08-06 21:17:12 +00:00
Ben Lindstrom
711b04a56a - millert@cvs.openbsd.org 2001/07/27 14:50:45
[ssh.c]
     If smart card support is compiled in and a smart card is being used
     for authentication, make it the first method used.  markus@ OK
2001-08-06 21:12:42 +00:00
Ben Lindstrom
60df8e4f7d - rees@cvs.openbsd.org 2001/07/26 20:04:27
[scard.c ssh-keygen.c]
     Inquire Cyberflex class for 0xf0 cards
     change aid to conform to 7816-5
     remove gratuitous fid selects
2001-08-06 21:10:52 +00:00
Ben Lindstrom
794325ac7a - stevesk@cvs.openbsd.org 2001/07/26 17:18:22
[sshd.8 sshd.c]
     add -t option to test configuration file and keys; pekkas@netcore.fi
     ok markus@
2001-08-06 21:09:07 +00:00
Ben Lindstrom
f9cedb9ca0 - markus@cvs.openbsd.org 2001/07/25 14:35:18
[readconf.c ssh.1 ssh.c sshconnect.c]
     cleanup connect(); connection_attempts 4 -> 1; from
eivind@freebsd.org
2001-08-06 21:07:11 +00:00
Ben Lindstrom
f9bedf1441 - markus@cvs.openbsd.org 2001/07/25 11:59:35
[scard.c]
     typo in comment
2001-08-06 21:05:05 +00:00
Ben Lindstrom
ff6458e03e - stevesk@cvs.openbsd.org 2001/07/23 18:21:46
[xmalloc.c]
     no zero size xstrdup() error; ok markus@
2001-08-06 21:03:23 +00:00
Ben Lindstrom
940fb86c9a - stevesk@cvs.openbsd.org 2001/07/23 18:14:58
[auth2.c auth-rsa.c]
     use %lu; ok markus@
2001-08-06 21:01:49 +00:00
Ben Lindstrom
d18c80c2a6 - aaron@cvs.openbsd.org 2001/07/23 14:14:18
[ssh-keygen.1]
     Fix typo.
2001-08-06 21:00:27 +00:00
Ben Lindstrom
a9086a1c4c - markus@cvs.openbsd.org 2001/07/23 12:47:05
[ssh.1]
     sync PreferredAuthentications
2001-08-06 20:58:51 +00:00
Ben Lindstrom
45350e8374 - markus@cvs.openbsd.org 2001/07/23 09:06:28
[sshconnect2.c]
     reorder default sequence of userauth methods to match ssh behaviour:
     hostbased,publickey,keyboard-interactive,password
2001-08-06 20:57:11 +00:00
Ben Lindstrom
c8e29ceb68 - markus@cvs.openbsd.org 2001/07/22 22:24:16
[sshd.8]
     Xr login.conf
2001-08-06 20:55:28 +00:00
Ben Lindstrom
0076d75c25 - markus@cvs.openbsd.org 2001/07/22 22:04:19
[readconf.c ssh.1]
     enable challenge-response auth by default; ok millert@
2001-08-06 20:53:26 +00:00
Ben Lindstrom
e2b9b06425 - pvalchev@cvs.openbsd.org 2001/07/22 21:32:42
[ssh.1]
     There is no option "Compress", point to "Compression" instead; ok
     markus
2001-08-06 20:50:55 +00:00
Ben Lindstrom
c88785efc8 - markus@cvs.openbsd.org 2001/07/22 21:32:27
[sshpty.c]
     update comment
2001-08-06 20:47:23 +00:00
Damien Miller
2ab5924d1f - (djm) Fix interrupted read in entropy gatherer. Spotted by markus@ on
a fast UltraSPARC.
2001-08-06 16:51:49 +10:00
Kevin Steves
e26a155415 - (stevesk) use mysignal() in protocol 1 loop now that the SIGCHLD
handler has converged.
2001-07-26 17:51:49 +00:00
Ben Lindstrom
8103de7d06 - (bal) Added 'install-nokeys' to Makefile to assist package builders. 2001-07-25 16:24:33 +00:00
Ben Lindstrom
8e2aa5bb63 - (bal) 4711 not 04711 for ssh binary. 2001-07-24 17:00:13 +00:00
Ben Lindstrom
979c981f99 - stevesk@cvs.openbsd.org 2001/07/20 18:41:51
[ssh.1]
     "the" command line
2001-07-22 20:45:39 +00:00
Ben Lindstrom
0250da057d - markus@cvs.openbsd.org 2001/07/20 14:46:11
[ssh-agent.c]
     do not exit() from signal handlers; ok deraadt@
2001-07-22 20:44:00 +00:00
Ben Lindstrom
660076925e - stevesk@cvs.openbsd.org 2001/07/19 00:41:44
[ssh.1]
     escape chars are below now
2001-07-22 20:41:59 +00:00
Ben Lindstrom
3fdf876107 - stevesk@cvs.openbsd.org 2001/07/18 21:40:40
[ssh-agent.c]
     chdir("/") from bbraun@synack.net; ok markus@
2001-07-22 20:40:24 +00:00
Ben Lindstrom
d01ba98986 - OpenBSD CVS Sync
- markus@cvs.openbsd.org 2001/07/18 21:10:43
     [sshpty.c]
     pr #1946, allow sshd if /dev is readonly
2001-07-22 20:36:57 +00:00
Ben Lindstrom
d9e0824b43 - (bal) Starting the Unicossmk merger. File merged TODO, configure.in,
myproposal.h, ssh_prng_cmds.in, and openbsd-compat/Makefile.in.
	 Added openbsd-compat/bsd-cray.c.  Rest will be merged after
	 approval.  Selective patches from William L. Jones
	 <jones@mail.utexas.edu>
2001-07-22 19:32:00 +00:00
Tim Rice
5d629cb653 - (tim) [configure.in] put inet_aton back in AC_CHECK_FUNCS.
report from Mark Miller <markm@swoon.net>
2001-07-19 20:33:46 -07:00
Ben Lindstrom
dc00c93b6c - OpenBSD CVS Sync
- mouring@cvs.openbsd.org 2001/07/18 16:45:52
     [scp.c]
     Missing -o in scp usage()
2001-07-18 16:50:33 +00:00
Ben Lindstrom
a92783fbfa cvs + pico == Bad when attempting to abort. <sigh> This should go with
the last update.

 - (bal) Updated cygwin README and ssh-host-config.  Patch by
         Corinna Vinschen <vinschen@redhat.com>
2001-07-18 16:27:31 +00:00
Ben Lindstrom
a5820295c3 *** empty log message *** 2001-07-18 16:25:41 +00:00
Ben Lindstrom
cff94beb65 - (bal) Allow sshd to switch user context without password for Cygwin.
Patch by Corinna Vinschen <vinschen@redhat.com>
2001-07-18 16:19:48 +00:00
Ben Lindstrom
0dd676a26b - (bal) Cleaned up trailing spaces in ChangeLog. 2001-07-18 16:05:50 +00:00
Ben Lindstrom
16d29d57e8 - markus@cvs.openbsd.org 2001/07/17 21:04:58
[channels.c channels.h clientloop.c nchan.c serverloop.c]
     keep track of both maxfd and the size of the malloc'ed fdsets.
     update maxfd if maxfd gets closed.
2001-07-18 16:01:46 +00:00
Ben Lindstrom
a3d5a4c2db - markus@cvs.openbsd.org 2001/07/17 20:48:42
[ssh-agent.c]
     update maxfd if maxfd is closed; report from jmcelroy@dtgnet.com
2001-07-18 15:58:08 +00:00
Ben Lindstrom
a7fc2f7434 - stevesk@cvs.openbsd.org 2001/07/15 16:58:29
[ssh-agent.c]
     typo in usage; ok markus@
2001-07-18 15:53:39 +00:00
Ben Lindstrom
a4a5323b2a - stevesk@cvs.openbsd.org 2001/07/15 16:57:21
[ssh-agent.1]
     -d will not fork; ok markus@
2001-07-18 15:51:00 +00:00
Ben Lindstrom
36857f6b8b - markus@cvs.openbsd.org 2001/07/15 16:17:08
[serverloop.c]
     schedule client alive for ssh2 only, greg@cheers.bungi.com
2001-07-18 15:48:57 +00:00
Ben Lindstrom
ad77313f22 - OpenBSD CVS Sync
- stevesk@cvs.openbsd.org 2001/07/14 15:10:17
      [readpass.c sftp-client.c sftp-common.c sftp-glob.c]
      delete spurious #includes; ok deraadt@ markus@
2001-07-18 15:45:44 +00:00
Tim Rice
2db5371d30 - (tim) put openssh/openbsd-compat/inet_aton.[ch] back in.
(needed by openbsd-compat/fake-getaddrinfo.c)
2001-07-15 19:07:49 -07:00
Ben Lindstrom
fed7bb498f - (bal) Set "BROKEN_GETADDRINFO" for darwin platform. Reported by
Josh Larios <jdlarios@cac.washington.edu>
2001-07-15 18:30:42 +00:00
Kevin Steves
6482ec865a - (stevesk) configure.in: use ll suffix for long long constant
in snprintf() test
2001-07-15 02:09:28 +00:00
Kevin Steves
60193f70f7 - (stevesk) change getopt() declaration 2001-07-14 16:05:55 +00:00
Damien Miller
4f8e66929b - (djm) Pull in getopt(3) from OpenBSD libc for the optreset extension. 2001-07-14 13:22:53 +10:00
Damien Miller
8f6bc30a4b - (djm) Reorder Makefile.in so clean targets work a little better when
run directly from Makefile.in
2001-07-14 13:07:43 +10:00
Damien Miller
0ae6e009c8 - markus@cvs.openbsd.org 2001/07/11 18:26:15
[auth.c]
     no need to call dirname(pw->pw_dir).
     note that dirname(3) modifies its argument on some systems.
2001-07-14 12:21:34 +10:00
Damien Miller
c4b7feabe0 - itojun@cvs.openbsd.org 2001/07/11 00:24:53
[servconf.c]
     make it compilable in all 4 combination of KRB4/KRB5 settings.
     dugsong ok
     XXX isn't it sensitive to the order of -I/usr/include/kerberosIV and
     -I/usr/include/kerberosV?
2001-07-14 12:20:32 +10:00