Darren Tucker
063ba7455f
- (dtucker) [openbsd-compat/setenv.c] Sync changes from OpenBSD setenv.c
...
revs 1.7 - 1.9.
2005-11-10 10:38:45 +11:00
Darren Tucker
32b531067d
- (dtucker) [openbsd-compat/getenv.c] Make __findenv static, remove
...
unnecessary prototype.
2005-11-10 10:13:06 +11:00
Darren Tucker
b8c89d14bb
- (dtucker) [openbsd-compat/getenv.c] Merge changes for __findenv from
...
OpenBSD getenv.c revs 1.4 - 1.8 (ANSIfication of arguments, removal of
"register").
2005-11-10 10:10:10 +11:00
Damien Miller
9b59ada7ca
- (djm) [openbsd-compat/getrrsetbyname.c] Sync to latest OpenBSD version,
...
resolving memory leak bz#1111 reported by kremenek AT cs.stanford.edu;
ok dtucker@
2005-11-05 16:56:52 +11:00
Darren Tucker
3a38c5a856
- (dtucker) [README.platform] Add PAM section.
2005-11-05 16:28:35 +11:00
Damien Miller
5fd8b02b44
- djm@cvs.openbsd.org 2005/11/05 05:01:15
...
[bufaux.c]
Fix leaks in error paths, bz #1109 and #1110 reported by kremenek AT
cs.stanford.edu; ok dtucker@
2005-11-05 16:04:36 +11:00
Damien Miller
19bb3a57f8
- djm@cvs.openbsd.org 2005/11/04 05:15:59
...
[kex.c kex.h kexdh.c kexdhc.c kexdhs.c kexgex.c kexgexc.c kexgexs.c]
remove hardcoded hash lengths in key exchange code, allowing
implementation of KEX methods with different hashes (e.g. SHA-256);
ok markus@ dtucker@ stevesk@
2005-11-05 15:19:35 +11:00
Damien Miller
24ecf61261
- dtucker@cvs.openbsd.org 2005/11/03 13:38:29
...
[canohost.c]
Cache reverse lookups with and without DNS separately; ok markus@
2005-11-05 15:16:52 +11:00
Damien Miller
83d0d39d0e
- jmc@cvs.openbsd.org 2005/10/31 19:55:25
...
[ssh-keygen.1]
grammar;
2005-11-05 15:16:27 +11:00
Damien Miller
c7e2d3fa10
- djm@cvs.openbsd.org 2005/10/31 11:48:29
...
[serverloop.c]
make sure we clean up wtmp, etc. file when we receive a SIGTERM,
SIGINT or SIGQUIT when running without privilege separation (the
normal privsep case is already OK). Patch mainly by dtucker@ and
senthilkumar_sen AT hotpop.com; ok dtucker@
2005-11-05 15:16:12 +11:00
Damien Miller
f14be5ce03
- djm@cvs.openbsd.org 2005/10/31 11:12:49
...
[ssh-keygen.1 ssh-keygen.c]
generate a protocol 2 RSA key by default
2005-11-05 15:15:49 +11:00
Damien Miller
653b93be5d
- dtucker@cvs.openbsd.org 2005/10/31 06:15:04
...
[sftp.c]
Fix sorting with "ls -1" command. From Robert Tsai, "looks right" deraadt@
2005-11-05 15:15:23 +11:00
Damien Miller
788f212aed
- djm@cvs.openbsd.org 2005/10/30 08:52:18
...
[clientloop.c packet.c serverloop.c session.c ssh-agent.c ssh-keygen.c]
[ssh.c sshconnect.c sshconnect1.c sshd.c]
no need to escape single quotes in comments, no binary change
2005-11-05 15:14:59 +11:00
Damien Miller
713de76f66
- jmc@cvs.openbsd.org 2005/10/30 08:43:47
...
[ssh_config.5]
remove trailing whitespace;
2005-11-05 15:13:49 +11:00
Damien Miller
4d3fd54c91
- dtucker@cvs.openbsd.org 2005/10/30 08:29:29
...
[canohost.c sshd.c]
Check for connections with IP options earlier and drop silently. ok djm@
2005-11-05 15:13:24 +11:00
Damien Miller
aa3bb10940
- djm@cvs.openbsd.org 2005/10/30 04:03:24
...
[ssh.c]
fix misleading debug message; ok dtucker@
2005-11-05 15:12:59 +11:00
Damien Miller
4bbacb706b
- djm@cvs.openbsd.org 2005/10/30 04:01:03
...
[ssh-keyscan.c]
make ssh-keygen discard junk from server before SSH- ident, spotted by
dave AT cirt.net; ok dtucker@
2005-11-05 15:12:28 +11:00
Damien Miller
b3bfbb7355
- djm@cvs.openbsd.org 2005/10/30 01:23:19
...
[ssh_config.5]
mention control socket fallback behaviour, reported by
tryponraj AT gmail.com
2005-11-05 15:11:48 +11:00
Damien Miller
319550a52b
- stevesk@cvs.openbsd.org 2005/10/17 14:13:35
...
[dns.c dns.h]
more cleanups; ok jakob@
2005-11-05 15:11:15 +11:00
Damien Miller
7e8795d308
- stevesk@cvs.openbsd.org 2005/10/17 14:01:28
...
[dns.c]
remove #ifdef LWRES; ok jakob@
2005-11-05 15:10:42 +11:00
Damien Miller
c1af1d5f40
- stevesk@cvs.openbsd.org 2005/10/15 15:28:12
...
[sshconnect.c]
make external definition static; ok deraadt@
2005-11-05 15:08:57 +11:00
Damien Miller
0a0176e9f3
- stevesk@cvs.openbsd.org 2005/10/14 02:29:37
...
[channels.c clientloop.c]
free()->xfree(); ok djm@
2005-11-05 15:07:59 +11:00
Damien Miller
15d72a00a3
- stevesk@cvs.openbsd.org 2005/10/14 02:17:59
...
[ssh-keygen.c ssh.c sshconnect2.c]
no trailing "\n" for log functions; ok djm@
2005-11-05 15:07:33 +11:00
Damien Miller
6fd6defbce
- stevesk@cvs.openbsd.org 2005/10/13 22:24:31
...
[auth2-gss.c gss-genr.c gss-serv.c monitor.c]
KNF; ok djm@
2005-11-05 15:07:05 +11:00
Damien Miller
20afc24363
- stevesk@cvs.openbsd.org 2005/10/13 19:13:41
...
[dns.c]
unneeded #include, unused declaration, little knf; ok deraadt@
2005-11-05 15:06:38 +11:00
Damien Miller
5f916c8f6c
- stevesk@cvs.openbsd.org 2005/10/13 19:08:08
...
[gss-serv-krb5.c gss-serv.c]
unused declarations; ok deraadt@
(id sync only for gss-serv-krb5.c)
2005-11-05 15:05:28 +11:00
Damien Miller
9fac263639
- stevesk@cvs.openbsd.org 2005/10/13 14:20:37
...
[gss-serv.c]
spelling in comments
2005-11-05 15:03:48 +11:00
Damien Miller
5434eb2a69
- stevesk@cvs.openbsd.org 2005/10/13 14:03:01
...
[auth2-gss.c gss-genr.c gss-serv.c]
remove unneeded #includes; ok markus@
2005-11-05 15:03:24 +11:00
Damien Miller
5e7fd076f5
- djm@cvs.openbsd.org 2005/10/11 23:37:37
...
[channels.c]
bz #1076 set SO_REUSEADDR on X11 forwarding listner sockets, preventing
bind() failure when a previous connection's listeners are in TIME_WAIT,
reported by plattner AT inf.ethz.ch; ok dtucker@
2005-11-05 14:53:39 +11:00
Damien Miller
39eda6eb6a
- djm@cvs.openbsd.org 2005/10/10 10:23:08
...
[channels.c channels.h clientloop.c serverloop.c session.c]
fix regression I introduced in 4.2: X11 forwardings initiated after
a session has exited (e.g. "(sleep 5; xterm) &") would not start.
bz #1086 reported by t8m AT centrum.cz; ok markus@ dtucker@
2005-11-05 14:52:50 +11:00
Damien Miller
3f54a9f5b7
- (djm) OpenBSD CVS Sync
...
- markus@cvs.openbsd.org 2005/10/07 11:13:57
[ssh-keygen.c]
change DSA default back to 1024, as it's defined for 1024 bits only
and this causes interop problems with other clients. moreover,
in order to improve the security of DSA you need to change more
components of DSA key generation (e.g. the internal SHA1 hash);
ok deraadt
2005-11-05 14:52:18 +11:00
Darren Tucker
d32e293c04
- (dtucker) [openbsd-compat/bsd-misc.c] Bug #1108 : fix broken strdup().
...
Reported by olavi at ipunplugged.com and antoine.brodin at laposte.net
via FreeBSD.
2005-11-02 09:07:31 +11:00
Darren Tucker
42308a4374
- (dtucker) [session.c] Bug #1045do not check /etc/nologin when PAM is
...
enabled, instead allow PAM to handle it. Note that on platforms using PAM,
the pam_nologin module should be added to sshd's session stack in order to
maintain exising behaviour. Based on patch and discussion from t8m at
centrum.cz, ok djm@
2005-10-30 15:31:55 +11:00
Damien Miller
88edf6255b
- (djm) [contrib/suse/openssh.spec contrib/suse/rc.
...
sshd contrib/suse/sysconfig.ssh] Bug #1106 : Updated SuSE spec and init
files from imorgan AT nas.nasa.gov
2005-10-30 11:55:45 +11:00
Darren Tucker
a841dceb4c
- (dtucker) [contrib/cygwin/ssh-user-config] Remove duplicate yes/no
...
prompt. Patch from vinschen at redhat.com.
2005-10-25 18:55:00 +10:00
Darren Tucker
e737455430
- (dtucker) [configure.ac] Bug #1104 : Tru64's printf family doesn't
...
understand "%lld", even though the compiler has "long long", so handle
it as a special case. Patch tested by mcaskill.scott at epa.gov.
(actually was included in previous commit)
2005-10-25 18:52:31 +10:00
Darren Tucker
537f1ed7df
- (dtucker) [configure.ac] Relocate LLONG_MAX calculation to after the
...
sizeof(long long) checks, to make fixing bug #1104 easier (no changes
yet).
2005-10-25 18:38:33 +10:00
Darren Tucker
314d89e050
- (dtucker) [configure.ac] Bug #1097 : Fix configure for cross-compiling.
...
/etc/default/login report and testing from aabaker at iee.org, corrections
from tim@.
2005-10-17 23:29:23 +10:00
Darren Tucker
9ac1a65acb
- (dtucker) [configure.ac defines.h openbsd-compat/vis.{c,h}] Sync current
...
versions from OpenBSD. ok djm@
2005-10-09 11:40:03 +10:00
Damien Miller
e04ec6fdfd
- (djm) [configure.ac] missing 'test' call for -with-Werror test
2005-10-08 16:21:19 +10:00
Darren Tucker
1e6616bb14
- (dtucker) [configure.ac] Bug #1098 : define $MAIL for HP-UX; report from
...
brian.smith at agilent com.
2005-10-08 12:07:01 +10:00
Darren Tucker
b18f15100a
- (dtucker) [configure.ac sshd.8] Enable locked account check (a prepended
...
"*LOCKED*" string) for FreeBSD. Patch jeremie at le-hen.org and
senthilkumar_sen at hotpop.com.
2005-10-05 23:02:16 +10:00
Darren Tucker
1f85dc7034
- (dtucker) [regress/README.regress] Bug #989 : Document limitation that scp
...
is required in the system path for the multiplex test to work.
2005-10-03 20:14:18 +10:00
Darren Tucker
b0b12296f9
- dtucker@cvs.openbsd.org 2005/10/03 07:44:42
...
[canohost.c]
Relocate check_ip_options call to prevent logging of garbage for
connections with IP options set. bz#1092 from David Leonard,
"looks good" deraadt@
2005-10-03 18:23:44 +10:00
Darren Tucker
28e8e59b35
- jaredy@cvs.openbsd.org 2005/09/30 20:34:26
...
[ssh-keyscan.1]
deploy .An -nosplit; ok jmc
2005-10-03 18:20:28 +10:00
Darren Tucker
45b0142643
- djm@cvs.openbsd.org 2005/09/21 23:37:11
...
[sshd.c]
change label at markus@'s request
2005-10-03 18:20:00 +10:00
Darren Tucker
e2dd2d5baa
- djm@cvs.openbsd.org 2005/09/21 23:36:54
...
[sshd_config.5]
aquire -> acquire, from stevesk@
2005-10-03 18:19:06 +10:00
Darren Tucker
1e4308e6fa
- djm@cvs.openbsd.org 2005/09/19 23:31:31
...
[ssh.1]
spelling nit from stevesk@
2005-10-03 18:18:40 +10:00
Darren Tucker
895d698515
- jmc@cvs.openbsd.org 2005/09/19 15:42:44
...
[ssh.c]
update -D usage here too;
2005-10-03 18:18:05 +10:00
Darren Tucker
05d4dfe38f
- jmc@cvs.openbsd.org 2005/09/19 15:38:27
...
[ssh.1]
some more .Bk/.Ek to avoid ugly line split;
2005-10-03 18:17:38 +10:00
Darren Tucker
8813bbbca9
- djm@cvs.openbsd.org 2005/09/19 11:48:10
...
[gss-serv.c]
typo
2005-10-03 18:17:02 +10:00
Darren Tucker
a2cdbda2de
- djm@cvs.openbsd.org 2005/09/19 11:47:09
...
[sshd.c]
stop connection abort on rekey with delayed compression enabled when
post-auth privsep is disabled (e.g. when root is logged in); ok dtucker@
2005-10-03 18:16:02 +10:00
Darren Tucker
c8d6421a64
- djm@cvs.openbsd.org 2005/09/19 11:37:34
...
[ssh_config.5 ssh.1]
mention ability to specify bind_address for DynamicForward and -D options;
bz#1077 spotted by Haruyama Seigo
2005-10-03 18:13:42 +10:00
Darren Tucker
ce321d8a30
- djm@cvs.openbsd.org 2005/09/13 23:40:07
...
[sshd.c ssh.c misc.h sftp.c ssh-keygen.c ssh-keysign.c sftp-server.c
scp.c misc.c ssh-keyscan.c ssh-add.c ssh-agent.c]
ensure that stdio fds are attached; ok deraadt@
2005-10-03 18:11:24 +10:00
Darren Tucker
d89dbf29ff
- markus@cvs.openbsd.org 2005/09/09 19:18:05
...
[clientloop.c]
typo; from mark at mcs.vuw.ac.nz, bug #1082
2005-10-03 18:05:26 +10:00
Darren Tucker
d3d0fa1558
- markus@cvs.openbsd.org 2005/09/07 08:53:53
...
[channels.c]
enforce chanid != NULL; ok djm
2005-10-03 18:03:05 +10:00
Darren Tucker
d4f04ae247
- (dtucker) [monitor.c] Bug #1087 : Send loginmsg to preauth privsep
...
child during PAM account check without clearing it. This restores the
post-login warnings such as LDAP password expiry. Patch from Tomas Mraz
with help from several others.
2005-09-30 10:23:21 +10:00
Darren Tucker
6e4221129e
- (dtucker) [openbsd-compat/openbsd-compat.h] Bug #1096 : Add prototype
...
for strtoll. Patch from o.flebbe at science-computing.de.
2005-09-30 09:55:49 +10:00
Darren Tucker
372c8fbe9b
- (dtucker) [monitor_wrap.c] Remove duplicate definition of loginmsg
...
introduced during sync.
2005-09-29 22:01:10 +10:00
Darren Tucker
7b1e695846
- (dtucker) [auth-pam.c] Bug #1028 : send final non-query messages from
...
PAM via keyboard-interactive. Patch tested by the folks at Vintela.
2005-09-28 22:33:27 +10:00
Darren Tucker
46e7ba5d53
- (dtucker) [entropy.c] Use u_char for receiving RNG seed for consistency
2005-09-28 08:26:30 +10:00
Darren Tucker
c6f8219e0d
- (dtucker) [entropy.c entropy.h sshd.c] Pass RNG seed to the reexec'ed
...
process when sshd relies on ssh-random-helper. Should result in faster
logins on systems without a real random device or prngd. ok djm@
2005-09-27 22:46:32 +10:00
Darren Tucker
f1377bdeed
- (dtucker) [entropy.c] Remove unnecessary tests for getuid and geteuid
...
calls, since they can't possibly fail. ok djm@
2005-09-27 19:50:25 +10:00
Darren Tucker
d3eff2bfa5
- (dtucker) [auth2.c] Move start_pam() calls out of if-else block to remove
...
duplicate call. ok djm@
2005-09-24 12:43:51 +10:00
Darren Tucker
82171c6607
- (dtucker) [configure.ac] Fix help for --with-opensc; patch from skeleten at
...
shillest.net.
2005-09-22 20:19:54 +10:00
Darren Tucker
c373a56343
- (dtucker) [configure.ac] Use -R linker flag for libedit too; patch from
...
skeleten at shillest.net.
2005-09-22 20:15:08 +10:00
Tim Rice
542f62b9d2
remove acconfig.h
2005-09-19 09:36:55 -07:00
Tim Rice
7df8d39a5f
- (tim) [aclocal.m4 configure.ac] Delete acconfig.h and add templates to
...
AC_DEFINE and AC_DEFINE_UNQUOTED to quiet autoconf 2.59 warning messages.
2005-09-19 09:33:39 -07:00
Tim Rice
fd9e9e3ba6
- (tim) [configure.ac] Bug 1078. Fix --without-kerberos5. Reported by
...
Mike Frysinger.
2005-09-12 17:36:10 -07:00
Tim Rice
64ead485ac
- (tim) [defines.h openbsd-compat/port-uw.c] Add long password support to
...
OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@
2005-09-08 21:56:33 -07:00
Damien Miller
c8ab8ceacb
- (djm) Update RPM spec file versions
2005-09-01 19:10:48 +10:00
Tim Rice
66fd217e8e
- (tim) [configure.ac auth.c defines.h session.c openbsd-compat/port-uw.c
...
openbsd-compat/port-uw.h openbsd-compat/xcrypt.c] libiaf cleanup. Disable
libiaf bits for OpenServer6. Free memory allocated by ia_get_logpwd().
Feedback and OK dtucker@
2005-08-31 09:59:49 -07:00
Darren Tucker
d0a47cd243
- (dtucker) [README] Update release note URL to 4.2
2005-09-01 00:05:56 +10:00
Damien Miller
ae37959bfb
- markus@cvs.openbsd.org 2005/08/31 09:28:42
...
[version.h]
4.2
2005-08-31 19:47:07 +10:00
Damien Miller
da9984fc3a
- (djm) OpenBSD CVS Sync
...
- djm@cvs.openbsd.org 2005/08/30 22:08:05
[gss-serv.c sshconnect2.c]
destroy credentials if krb5_kuserok() call fails. Stops credentials being
delegated to users who are not authorised for GSSAPIAuthentication when
GSSAPIDeletegateCredentials=yes and another authentication mechanism
succeeds; bz#1073 reported by paul.moore AT centrify.com, fix by
simon AT sxw.org.uk, tested todd@ biorn@ jakob@; ok deraadt@
2005-08-31 19:46:26 +10:00
Damien Miller
ca9ce95bdd
correct bug number
2005-08-31 19:42:20 +10:00
Tim Rice
eb456545fd
- (tim) [configure.ac] Back out last change. It needs to be done differently.
2005-08-30 07:12:02 -07:00
Tim Rice
2016865b95
- (tim) [configure.ac] ia_openinfo() seems broken on OSR6. Limit UW long
...
password support to 7.x for now.
2005-08-29 17:17:37 -07:00
Tim Rice
2291c00ab2
- (tim) [CREDITS LICENCE auth.c configure.ac defines.h includes.h session.c
...
openbsd-compat/Makefile.in openbsd-compat/openbsd-compat.h
openbsd-compat/xcrypt.c] New files [openssh/openbsd-compat/port-uw.c
openssh/openbsd-compat/port-uw.h] Support long passwords (> 8-char)
on UnixWare 7 from Dhiraj Gulati and Ahsan Rashid. Cleanup and testing
by tim@. Feedback and OK dtucker@
2005-08-26 13:15:19 -07:00
Tim Rice
8cc2ad68cd
- (tim) [defines.h] PATH_MAX bits for OpenServer OK dtucker@
2005-08-23 17:18:21 -07:00
Tim Rice
3db1e3fc68
- (tim) [configure.ac ] Not all gcc's support -Wsign-compare
2005-08-23 17:11:26 -07:00
Darren Tucker
114572f7ee
- (dtucker) [regress/test-exec.sh] Do not prepend an extra "/" to a fully-
...
qualified sshd pathname since some systems (eg Cygwin) may consider "/foo"
and "//foo" to be different. Spotted by vinschen at redhat.com.
2005-08-23 23:32:05 +10:00
Darren Tucker
93e7e8f345
- (dtucker) [configure.ac defines.h includes.h sftp.c] Add support for
...
LynxOS, patch from Olli Savia (ops at iki.fi). ok djm@
2005-08-23 08:06:55 +10:00
Damien Miller
1d10976c16
- (djm) [ttymodes.c] bugzilla #1054 : Fix encoding of _POSIX_VDISABLE,
...
from Jacob Nevins; ok dtucker@
2005-08-16 21:32:09 +10:00
Tim Rice
c1819c831f
- (tim) [configure.ac] corrections to libedit tests. Report and patches
...
by skeleten AT shillest.net
2005-08-15 17:48:40 -07:00
Tim Rice
027e8b10f5
- (tim) wrap el_end() in #ifdef USE_LIBEDIT
2005-08-15 14:52:50 -07:00
Damien Miller
0e2c102858
- jaredy@cvs.openbsd.org 2005/08/08 13:22:48
...
[sftp.c]
sftp prompt enhancements:
- in non-interactive mode, do not print an empty prompt at the end
before finishing
- print newline after EOF in editline mode
- call el_end() in editline mode
ok dtucker djm
2005-08-12 22:16:22 +10:00
Damien Miller
8e489484a1
oops, that last commit was:
...
Report from Janusz Mucka; ok djm@
2005-08-12 22:11:58 +10:00
Damien Miller
203c70579e
- dtucker@cvs.openbsd.org 2005/08/06 10:03:12
...
[servconf.c]
Unbreak sshd ListenAddress for bare IPv6 addresses.
2005-08-12 22:11:37 +10:00
Damien Miller
43f6db64ff
- djm@cvs.openbsd.org 2005/07/30 02:03:47
...
[readconf.c]
listen_hosts initialisation here too; spotted greg AT y2005.nest.cx
2005-08-12 22:11:18 +10:00
Damien Miller
be1045dc58
- djm@cvs.openbsd.org 2005/07/30 01:26:16
...
[ssh.c]
fix -D listen_host initialisation, so it picks up gateway_ports setting
correctly
2005-08-12 22:10:56 +10:00
Damien Miller
b5c012577e
- markus@cvs.openbsd.org 2005/07/28 17:36:22
...
[packet.c]
missing packet_init_compression(); from solar
2005-08-12 22:10:28 +10:00
Darren Tucker
73f671a090
- (dtucker) [LICENCE configure.ac defines.h openbsd-compat/realpath.c]
...
Sync current (thread-safe) version of realpath.c from OpenBSD (which is
in turn based on FreeBSD's). ok djm@
2005-08-10 21:52:36 +10:00
Darren Tucker
c7572b2661
- (dtucker) [configure.ac] Test libedit library and headers for compatibility.
...
Report from skeleten AT shillest.net, ok djm@
2005-08-10 20:34:15 +10:00
Tim Rice
8bc6b900ed
- (tim) [configure.ac] Allow --with-audit=no. OK dtucker@
...
Report by skeleten AT shillest.net
2005-08-09 10:09:53 -07:00
Darren Tucker
9825697d3c
- (dtucker) [openbsd-compat/fake-rfc2553.h] MAX_INT -> INT_MAX since the
...
latter is specified in the standard.
2005-08-03 15:36:21 +10:00
Darren Tucker
212cfc4b48
- (dtucker) [openbsd-compat/fake-rfc2553.h] Check for EAI_* defines
...
individually and use a value less likely to collide with real values from
netdb.h. Fixes compile warnings on FreeBSD 5.3. ok djm@
2005-08-03 10:57:15 +10:00
Darren Tucker
7da23cb5d3
- (dtucker) [configure.ac] Add a --with-Werror option to configure for
...
adding -Werror to CFLAGS when all of the configure tests are done. ok djm@
2005-08-03 00:20:15 +10:00
Darren Tucker
dd352b675b
- (dtucker) [configure.ac] Enable -Wuninitialized by default when compiling
...
with gcc. ok djm@
2005-08-02 17:21:29 +10:00
Darren Tucker
4085853915
- dtucker@cvs.openbsd.org 2005/07/27 10:39:03
...
[scp.c hostfile.c sftp-client.c]
Silence bogus -Wuninitialized warnings; ok djm@
2005-08-02 17:07:07 +10:00
Damien Miller
9786e6e2a0
- markus@cvs.openbsd.org 2005/07/25 11:59:40
...
[kex.c kex.h myproposal.h packet.c packet.h servconf.c session.c]
[sshconnect2.c sshd.c sshd_config sshd_config.5]
add a new compression method that delays compression until the user
has been authenticated successfully and set compression to 'delayed'
for sshd.
this breaks older openssh clients (< 3.5) if they insist on
compression, so you have to re-enable compression in sshd_config.
ok djm@
2005-07-26 21:54:56 +10:00
Damien Miller
47655ee03a
- (djm) OpenBSD CVS Sync
...
- otto@cvs.openbsd.org 2005/07/19 15:32:26
[auth-passwd.c]
auth_usercheck(3) can return NULL, so check for that. Report from
mpech@. ok markus@
2005-07-26 21:54:11 +10:00
Darren Tucker
ac1910f1a5
- (dtucker) [configure.ac] Update zlib warning message too, pointed out by
...
tim@.
2005-07-26 12:00:42 +10:00
Darren Tucker
41097edcf6
- (dtucker) [configure.ac] Update zlib version check for CAN-2005-2096.
2005-07-25 15:24:21 +10:00
Damien Miller
04b65335a8
- (djm) [monitor.c monitor_wrap.c] -Wsign-compare for PAM monitor calls
2005-07-17 17:53:31 +10:00
Damien Miller
b6f72f5294
-(djm) [audit.c auth1.c auth2.c entropy.c loginrec.c serverloop.c]
...
[ssh-rand-helper.c] fix portable 2nd level indents at 4 spaces too
2005-07-17 17:26:43 +10:00
Damien Miller
0dc1bef12d
- djm@cvs.openbsd.org 2005/07/17 07:17:55
...
[auth-rh-rsa.c auth-rhosts.c auth2-chall.c auth2-gss.c channels.c]
[cipher-ctr.c gss-genr.c gss-serv.c kex.c moduli.c readconf.c]
[serverloop.c session.c sftp-client.c sftp.c ssh-add.c ssh-keygen.c]
[sshconnect.c sshconnect2.c]
knf says that a 2nd level indent is four (not three or five) spaces
2005-07-17 17:22:45 +10:00
Damien Miller
2b9b045d93
- (djm) [auth-pam.c sftp.c] spaces vs. tabs at start of line
...
- djm@cvs.openbsd.org 2005/07/17 06:49:04
[channels.c channels.h session.c session.h]
Fix a number of X11 forwarding channel leaks:
1. Refuse multiple X11 forwarding requests on the same session
2. Clean up all listeners after a single_connection X11 forward, not just
the one that made the single connection
3. Destroy X11 listeners when the session owning them goes away
testing and ok dtucker@
2005-07-17 17:19:24 +10:00
Damien Miller
37294fb630
- (djm) [auth-pam.c sftp.c] spaces vs. tabs at start of line
2005-07-17 17:18:49 +10:00
Damien Miller
94cf4c8448
- (djm) [acss.c auth-pam.c auth-shadow.c auth-skey.c auth1.c canohost.c]
...
[cipher-acss.c loginrec.c ssh-rand-helper.c sshd.c] Fix whitespace at EOL
in portable too ("perl -p -i -e 's/\s+$/\n/' *.[ch]")
2005-07-17 17:04:47 +10:00
Damien Miller
46d38de48b
- djm@cvs.openbsd.org 2005/07/16 01:35:24
...
[auth1.c channels.c cipher.c clientloop.c kex.c session.c ssh.c]
[sshconnect.c]
spacing
2005-07-17 17:02:09 +10:00
Darren Tucker
4f1adad4f6
- (dtucker) [auth-pam.c] Ensure that only one side of the authentication
...
socketpair stays open on in both the monitor and PAM process. Patch from
Joerg Sonnenberger.
2005-07-16 11:33:06 +10:00
Darren Tucker
4a42257b06
- (dtucker) [configure.ac defines.h] Define __sentinel__ to nothing if the
...
compiler doesn't understand it to prevent warnings. If any mainstream
compiler versions acquire it we can test for those versions. Based on
discussion with djm@.
2005-07-14 17:22:11 +10:00
Darren Tucker
8e2eb308d0
- dtucker@cvs.openbsd.org 2005/07/14 04:00:43
...
[misc.h]
use __sentinel__ attribute; ok deraadt@ djm@ markus@
2005-07-14 17:07:21 +10:00
Darren Tucker
6c71d20d76
- jmc@cvs.openbsd.org 2005/07/08 12:53:10
...
[ssh_config.5]
new sentence, new line;
2005-07-14 17:06:50 +10:00
Darren Tucker
89f4d47e66
- dtucker@cvs.openbsd.org 2005/07/08 10:20:41
...
[ssh_config.5]
change BindAddress to match recent ssh -b change; prompted by markus@
2005-07-14 17:06:21 +10:00
Darren Tucker
ce377c3ff1
- markus@cvs.openbsd.org 2005/07/08 09:41:33
...
[channels.h]
race when efd gets closed while there is still buffered data:
change CHANNEL_EFD_OUTPUT_ACTIVE()
1) c->efd must always be valid AND
2a) no EOF has been seen OR
2b) there is buffered data
report, initial fix and testing Chuck Cranor
2005-07-14 17:05:51 +10:00
Darren Tucker
bee73d5ce0
- dtucker@cvs.openbsd.org 2005/07/08 09:26:18
...
[misc.c]
Make comment match code; ok djm@
2005-07-14 17:05:02 +10:00
Darren Tucker
a5cf85584c
- dtucker@cvs.openbsd.org 2005/07/06 09:33:05
...
[ssh.1]
clarify meaning of ssh -b ; with & ok jmc@
2005-07-14 17:04:18 +10:00
Darren Tucker
893c602ef0
- (dtucker) [acconfig.h auth-krb5.c configure.ac gss-serv-krb5.c] Remove
...
calls to krb5_init_ets, which has not been required since krb-1.1.x and
most Kerberos versions no longer export in their public API. From sxw
at inf.ed.ac.uk, ok djm@
2005-07-07 20:33:36 +10:00
Darren Tucker
a83f2612c2
- (dtucker) [auth-krb5.c] There's no guarantee that snprintf will set errno
...
in the case where the buffer is insufficient, so always return ENOMEM.
Also pointed out by sxw at inf.ed.ac.uk.
2005-07-07 20:09:35 +10:00
Darren Tucker
a916d143a1
- [auth-krb5.c auth.h gss-serv-krb5.c] Move KRB5CCNAME generation for the MIT
...
Kerberos code path into a common function and expand mkstemp template to be
consistent with the rest of OpenSSH. From sxw at inf.ed.ac.uk, ok djm@
2005-07-07 11:50:20 +10:00
Damien Miller
f92c0794ec
- markus@cvs.openbsd.org 2005/07/04 14:04:11
...
[channels.c]
don't forget to set x11_saved_display
2005-07-06 09:45:26 +10:00
Damien Miller
fd94fbaf56
- jmc@cvs.openbsd.org 2005/07/04 11:29:51
...
[ssh_config.5]
fix Xr and a little grammar;
2005-07-06 09:44:59 +10:00
Damien Miller
1339002e8b
- djm@cvs.openbsd.org 2005/07/04 00:58:43
...
[channels.c clientloop.c clientloop.h misc.c misc.h ssh.c ssh_config.5]
implement support for X11 and agent forwarding over multiplex slave
connections. Because of protocol limitations, the slave connections inherit
the master's DISPLAY and SSH_AUTH_SOCK rather than distinctly forwarding
their own.
ok dtucker@ "put it in" deraadt@
2005-07-06 09:44:19 +10:00
Damien Miller
a7270309fc
- markus@cvs.openbsd.org 2005/07/01 13:19:47
...
[channels.c]
don't free() if getaddrinfo() fails; report mpech@
2005-07-06 09:36:05 +10:00
Damien Miller
dba6354c05
wrap
2005-06-26 08:56:48 +10:00
Damien Miller
7c71cc738c
- djm@cvs.openbsd.org 2005/06/25 22:47:49
...
[ssh.c]
do the default port filling code a few lines earlier, so it really
does fix %p
2005-06-26 08:56:31 +10:00
Damien Miller
8f74c8fc32
- djm@cvs.openbsd.org 2005/06/18 04:30:36
...
[ssh.c ssh_config.5]
allow ControlPath=none, patch from dwmw2 AT infradead.org; ok dtucker@
2005-06-26 08:56:03 +10:00
Damien Miller
9651fe690a
- (djm) OpenBSD CVS Sync
...
- djm@cvs.openbsd.org 2005/06/17 22:53:47
[ssh.c sshconnect.c]
Fix ControlPath's %p expanding to "0" for a default port,
spotted dwmw2 AT infradead.org; ok markus@
2005-06-26 08:55:25 +10:00
Damien Miller
52c8afeec5
- (djm) [loginrec.c ssh-rand-helper.c] Fix -Wsign-compare for portable,
...
tested and fixes tim@
2005-06-19 10:19:43 +10:00
Damien Miller
06221f1527
- djm@cvs.openbsd.org 2005/06/17 02:44:33
...
[auth1.c] make this -Wsign-compare clean; ok avsm@ markus@
2005-06-19 07:36:10 +10:00
Damien Miller
6abf57ccbf
- djm@cvs.openbsd.org 2005/05/20 12:57:01;
...
[auth1.c] split protocol 1 auth methods into separate functions, makes
authloop much more readable; fixes and ok markus@ (portable ok &
polish dtucker@)
2005-06-19 07:31:37 +10:00
Darren Tucker
f0bd352429
- (dtucker) [cipher.c openbsd-compat/openbsd-compat.h
...
openbsd-compat/openssl-compat.c] only include openssl compat stuff where
it's needed as it can cause conflicts elsewhere (eg xcrypt.c). Found by
and ok tim@
----------------------------------------------------------------------
automatically CVS: CVS: Committing in . CVS: CVS: Modified Files:
----------------------------------------------------------------------
2005-06-17 21:15:20 +10:00
Damien Miller
eccb9de72a
- djm@cvs.openbsd.org 2005/06/17 02:44:33
...
[auth-rsa.c auth.c auth1.c auth2-chall.c auth2-gss.c authfd.c authfile.c]
[bufaux.c canohost.c channels.c cipher.c clientloop.c dns.c gss-serv.c]
[kex.c kex.h key.c mac.c match.c misc.c packet.c packet.h scp.c]
[servconf.c session.c session.h sftp-client.c sftp-server.c sftp.c]
[ssh-keyscan.c ssh-rsa.c sshconnect.c sshconnect1.c sshconnect2.c sshd.c]
make this -Wsign-compare clean; ok avsm@ markus@
NB. auth1.c changes not committed yet (conflicts with uncommitted sync)
NB2. more work may be needed to make portable Wsign-compare clean
2005-06-17 12:59:34 +10:00
Damien Miller
677257fe07
- markus@cvs.openbsd.org 2005/06/16 08:00:00
...
[canohost.c channels.c sshd.c]
don't exit if getpeername fails for forwarded ports; bugzilla #1054 ;
ok djm
2005-06-17 12:55:03 +10:00
Damien Miller
17e7ed0e75
- (djm) OpenBSD CVS Sync
...
- djm@cvs.openbsd.org 2005/06/16 03:38:36
[channels.c channels.h clientloop.c clientloop.h ssh.c]
move x11_get_proto from ssh.c to clientloop.c, to make muliplexed xfwd
easier later; ok deraadt@
2005-06-17 12:54:33 +10:00
Damien Miller
46f55d3665
- dtucker@cvs.openbsd.org 2005/06/09 13:43:49
...
[cipher.c]
Correctly initialize end of array sentinel; ok djm@
(Id sync only, change already in portable)
2005-06-16 13:21:17 +10:00
Damien Miller
d14b1e731c
- djm@cvs.openbsd.org 2005/06/08 11:25:09
...
[clientloop.c readconf.c readconf.h ssh.c ssh_config.5]
add ControlMaster=auto/autoask options to support opportunistic
multiplexing; tested avsm@ and jakob@, ok markus@
2005-06-16 13:19:41 +10:00
Damien Miller
ac7ef6a736
- djm@cvs.openbsd.org 2005/06/08 03:50:00
...
[ssh-keygen.1 ssh-keygen.c sshd.8]
increase default rsa/dsa key length from 1024 to 2048 bits;
ok markus@ deraadt@
2005-06-16 13:19:06 +10:00
Damien Miller
6476cad9bb
- djm@cvs.openbsd.org 2005/06/06 11:20:36
...
[auth.c auth.h misc.c misc.h ssh.c ssh_config.5 sshconnect.c]
introduce a generic %foo expansion function. replace existing % expansion
and add expansion to ControlPath; ok markus@
2005-06-16 13:18:34 +10:00
Damien Miller
05656967b1
- (djm) OpenBSD CVS Sync
...
- jaredy@cvs.openbsd.org 2005/06/07 13:25:23
[progressmeter.c]
catch SIGWINCH and resize progress meter accordingly; ok markus dtucker
2005-06-16 13:18:04 +10:00
Darren Tucker
488d602618
typo
2005-06-09 23:40:39 +10:00
Darren Tucker
a55ec77013
- (dtucker) [cipher.c openbsd-compat/Makefile.in
...
openbsd-compat/openbsd-compat.{c,h} openbsd-compat/openssl-compat.h]
Move compatibility code for supporting older OpenSSL versions to the
compat layer. Suggested by and "no objection" djm@
2005-06-09 21:45:10 +10:00
Darren Tucker
431f022263
- (dtucker) [configure.ac] Continue the hunt for LLONG_MIN and LLONG_MAX:
...
in today's episode we attempt to coax it from limits.h where it may be
hiding, failing that we take the DIY approach. Tested by tim@
2005-06-07 17:53:40 +10:00
Darren Tucker
6a45f3dab4
- (dtucker) [configure.ac] Point configure's reporting address at the
...
openssh-unix-dev list. ok tim@ djm@
2005-06-03 19:33:10 +10:00
Darren Tucker
67b3703da3
- (dtucker) [configure.ac] Only try gcc -std=gnu99 if LLONG_MAX isn't
...
defined, and check that it helps before keeping it in CFLAGS. Some old
gcc's don't set an error code when encountering an unknown value in -std.
Found and tested by tim@.
2005-06-03 17:58:31 +10:00
Tim Rice
fcc7ff1de8
- (tim) [configure.ac] Some platforms need sys/types.h for arpa/nameser.h.
...
Take AC_CHECK_HEADERS test out of ultrix section. It caused other platforms
to skip builtin standard includes tests. (first AC_CHECK_HEADERS test
must be run on all platforms) Add missing ;; to case statement. OK dtucker@
2005-06-02 20:28:29 -07:00
Tim Rice
4dbacffe7b
- (tim) [configure.ac] set TEST_SHELL for OpenServer 6
2005-06-01 20:09:28 -07:00
Tim Rice
5f7075800a
- (tim) [config.guess config.sub] Update to '2005-05-27' version.
2005-06-01 19:57:45 -07:00