Damien Miller
0670c7396f
- djm@cvs.openbsd.org 2004/07/21 11:51:29
...
[canohost.c]
bz#902: cache remote port so we don't fatal() in auth_log when remote
connection goes away quickly. from peak AT argo.troja.mff.cuni.cz;
ok markus@
2004-07-21 21:53:34 +10:00
Damien Miller
2d2ed3d633
- (djm) [auth-pam.c] Portable parts of bz#899: Don't display invalid
...
usernames in setproctitle from peak AT argo.troja.mff.cuni.cz;
2004-07-21 20:54:47 +10:00
Damien Miller
10a445b9e5
- djm@cvs.openbsd.org 2004/07/21 10:36:23
...
[gss-serv-krb5.c]
fix function declaration
2004-07-21 20:49:39 +10:00
Damien Miller
30d1f84911
- djm@cvs.openbsd.org 2004/07/21 10:33:31
...
[auth1.c auth2.c]
bz#899: Don't display invalid usernames in setproctitle
2004-07-21 20:48:53 +10:00
Damien Miller
a22f2d761b
- (djm) OpenBSD CVS Sync
...
- markus@cvs.openbsd.org 2004/07/21 08:56:12
[auth.c]
s/Illegal user/Invalid user/; many requests; ok djm, millert, niklas,
miod, ...
2004-07-21 20:48:24 +10:00
Damien Miller
b5a21440a8
- (djm) [regress/README.regress] Remove caveat regarding TCP wrappers, now
...
that sshd is fixed to behave better; suggested by tim
2004-07-21 20:44:05 +10:00
Damien Miller
8fe0105be4
- (djm) [contrib/redhat/sshd.pam] bz #903 : Remove redundant entries; from
...
peak AT argo.troja.mff.cuni.cz
2004-07-21 11:01:41 +10:00
Damien Miller
23a7027e48
- (djm) [log.c] bz #111 : Escape more control characters when sending data
...
to syslog; from peak AT argo.troja.mff.cuni.cz
2004-07-21 10:52:13 +10:00
Tim Rice
816bd0d087
- (tim) [configure.ac] updwtmpx() on OpenServer seems to add duplicate entry.
...
Report by rac AT tenzing.org
2004-07-19 10:19:26 -07:00
Damien Miller
a6fb77fd6c
- (djm) [auth-pam.c] Avoid use of xstrdup and friends in conversation function,
...
instead return PAM_CONV_ERR, avoiding another path to fatal(); ok dtucker@
2004-07-19 09:39:11 +10:00
Damien Miller
65df174574
- (djm) [openbsd-compat/bsd-arc4random.c] Discard early keystream, like OpenBSD
...
ok dtucker@
2004-07-19 09:30:38 +10:00
Darren Tucker
0999174755
- dtucker@cvs.openbsd.org 2004/07/17 05:31:41
...
[monitor.c monitor_wrap.c session.c session.h sshd.c sshlogin.c]
Move "Last logged in at.." message generation to the monitor, right
before recording the new login. Fixes missing lastlog message when
/var/log/lastlog is not world-readable and incorrect datestamp when
multiple sessions are used (bz #463 ); much assistance & ok markus@
2004-07-17 17:05:14 +10:00
Darren Tucker
3ca4508201
- brad@cvs.openbsd.org 2004/07/12 23:34:25
...
[ssh-keyscan.1]
Fix incorrect macro, .I -> .Em
From: Eric S. Raymond <esr at thyrsus dot com>
ok jmc@
2004-07-17 16:13:15 +10:00
Darren Tucker
fc9597034b
- deraadt@cvs.openbsd.org 2004/07/11 17:48:47
...
[channels.c cipher.c clientloop.c clientloop.h compat.h moduli.c
readconf.c nchan.c pathnames.h progressmeter.c readconf.h servconf.c
session.c sftp-client.c sftp.c ssh-agent.1 ssh-keygen.c ssh.c ssh1.h
sshd.c ttymodes.h]
spaces
2004-07-17 16:12:08 +10:00
Darren Tucker
ba6de952a0
- (dtucker) [logintest.c scp.c sftp-server.c sftp.c ssh-add.c ssh-agent.c
...
ssh-keygen.c ssh-keyscan.c ssh-keysign.c ssh-rand-helper.c ssh.c sshd.c
openbsd-compat/bsd-misc.c] Move "char *__progname" to bsd-misc.c. Reduces
diff vs OpenBSD; ok mouring@, tested by tim@ too.
2004-07-17 14:07:42 +10:00
Darren Tucker
5d423f4ece
- (dtucker) [auth-pam.c] Check for zero from waitpid() too, which allows
...
the monitor to properly clean up the PAM thread (Debian bug #252676 ).
2004-07-11 16:54:08 +10:00
Tim Rice
3b376f08fb
- (tim) [contrib/cygwin/README] add minires-devel requirement. Patch from
...
vinschen AT redhat.com
2004-07-09 10:45:26 -07:00
Darren Tucker
e1f17055ed
- dtucker@cvs.openbsd.org 2004/07/08 12:47:21
...
[scp.c]
Prevent scp from skipping the file following a double-error.
bz #863 , ok markus@
2004-07-08 23:11:44 +10:00
Darren Tucker
042e2e8cbb
- dtucker@cvs.openbsd.org 2004/07/03 11:02:25
...
[monitor_wrap.c]
Put s/key functions inside #ifdef SKEY same as monitor.c,
from des@freebsd via bz #330 , ok markus@
2004-07-08 23:09:42 +10:00
Darren Tucker
cd99fa0648
- dtucker@cvs.openbsd.org 2004/07/03 05:11:33
...
[sshlogin.c] (RCSID sync only, the corresponding code is not in Portable)
Use '\0' not 0 for string; ok djm@, deraadt@
2004-07-08 23:08:26 +10:00
Darren Tucker
d062da53c7
- (dtucker) [mdoc2man.awk] Teach it to ignore .Bk -words, reported by
...
strube at physik3.gwdg.de a long time ago.
2004-07-02 18:43:09 +10:00
Tim Rice
a5757f0f28
- (tim) [buildpkg.sh.in] Add $REV to bump the package revision within
...
the same version. Handle the case where someone uses --with-privsep-user=
and the user name does not match the group name. ok dtucker@
2004-07-01 20:41:15 -07:00
Darren Tucker
1f7e40864f
- (dtucker) [auth-pam.c] Bug #559 (last piece): Pass DISALLOW_NULL_AUTHTOK
...
to pam_authenticate for challenge-response auth too. Originally from
fcusack at fcusack.com, ok djm@
2004-07-01 14:00:14 +10:00
Darren Tucker
e2ba9c2e83
- (dtucker) [auth-pam.c] Bug #705 : Make arguments match PAM specs, fixes
...
warnings on compliant platforms. From paul.a.bolton at bt.com. ok djm@
2004-07-01 12:38:14 +10:00
Darren Tucker
0a44d1ecf3
- (dtucker) [session.c] Call display_loginmsg again after do_pam_session.
...
Ensures messages from PAM modules are displayed when privsep=no.
Note: I did not want to just move display_loginmsg since that would change
existing behaviour (order of expiry warnings, "Last Login", motd) to less
like the native tools.
2004-07-01 09:48:29 +10:00
Damien Miller
a6b1d169e6
- djm@cvs.openbsd.org 2004/06/30 08:36:59
...
[session.c]
unbreak TTY break, diagnosed by darren AT dazwin.com; ok markus@
2004-06-30 22:41:07 +10:00
Damien Miller
386c6a2c70
- avsm@cvs.openbsd.org 2004/06/26 20:07:16
...
[sshd.c]
initialise some fd variables to -1, djm@ ok
2004-06-30 22:40:20 +10:00
Damien Miller
26213e556b
- jmc@cvs.openbsd.org 2004/06/26 09:14:40
...
[sshd_config.5]
new sentence, new line;
2004-06-30 22:39:34 +10:00
Damien Miller
2234bac999
- jmc@cvs.openbsd.org 2004/06/26 09:11:14
...
[ssh_config.5]
punctuation and grammar fixes. also, keep the options in order.
2004-06-30 22:38:52 +10:00
Damien Miller
5d1ecebcb5
- OpenBSD CVS Sync
...
- jmc@cvs.openbsd.org 2004/06/26 09:03:21
[ssh.1]
- remove double word
- rearrange .Bk to keep SYNOPSIS nice
- -M before -m in options description
2004-06-30 22:37:57 +10:00
Darren Tucker
59e06026d7
- (dtucker) [auth-pam.c] Check for buggy PAM modules that return a NULL
...
appdata_ptr to the conversation function. ok djm@
By rights we should free the messages too, but if this happens then one
of the modules has already proven itself to be buggy so can we trust
the messages?
2004-06-30 20:34:31 +10:00
Darren Tucker
5288cb242a
- (dtucker) [openbsd-compat/port-aix.c] Missing __func__.
2004-06-28 18:11:19 +10:00
Darren Tucker
e59b508798
- (dtucker) [acconfig.h configure.ac sftp-server.c] Bug #823 : add sftp
...
rename handling for Linux which returns EPERM for link() on (at least some)
filesystems that do not support hard links. sftp-server will fall back to
stat+rename() in such cases.
2004-06-28 16:01:19 +10:00
Darren Tucker
f9eb2b0135
- (dtucker) [regress/README.regress] Document new variables.
2004-06-28 15:52:50 +10:00
Darren Tucker
58cef1f0bb
- (dtucker) [mdoc2man.awk] Bug #883 : correctly recognise .Pa and .Ev macros.
2004-06-28 15:45:08 +10:00
Tim Rice
5287902643
Minor updates to some README files.
2004-06-27 20:50:35 -07:00
Damien Miller
96d6d7d9a0
- djm@cvs.openbsd.org 2004/06/25 23:21:38
...
[sftp.c]
bz #875 : fix bad escape char error message; reported by f_mohr AT yahoo.de
2004-06-26 09:21:06 +10:00
Damien Miller
035a5b47cc
- OpenBSD CVS Sync
...
- djm@cvs.openbsd.org 2004/06/25 18:43:36
[sshd.c]
fix broken fd handling in the re-exec fallback path, particularly when
/dev/crypto is in use; ok deraadt@ markus@
2004-06-26 08:16:31 +10:00
Darren Tucker
aedc1d6a3e
- dtucker@cvs.openbsd.org 2004/06/25 05:38:48
...
[sftp-server.c]
Fall back to stat+rename if filesystem doesn't doesn't support hard
links. bz#823, ok djm@
2004-06-25 17:06:02 +10:00
Darren Tucker
17c5d03ad3
- (dtucker) [sshd.c] add line missing from reexec sync.
2004-06-25 14:22:23 +10:00
Darren Tucker
60bd4098f6
- (dtucker) [configure.ac openbsd-compat/misc.c [openbsd-compat/misc.h]
...
Add closefrom() for platforms that don't have it.
(might need some tuning later, but I want to be able to test reexec).
2004-06-25 14:03:34 +10:00
Darren Tucker
ef3b47a73a
- djm@cvs.openbsd.org 2004/06/25 01:25:12
...
[regress/test-exec.sh]
clean reexec-specific junk out of text-exec.sh and simplify; idea markus@
2004-06-25 13:46:08 +10:00
Darren Tucker
977a9d21c8
- djm@cvs.openbsd.org 2004/06/24 19:32:00
...
[regress/Makefile regress/test-exec.sh, added regress/reexec.sh]
regress test for re-exec corner cases
2004-06-25 13:45:18 +10:00
Darren Tucker
586b0b98bf
- djm@cvs.openbsd.org 2004/06/25 01:16:09
...
[sshd.c]
only perform tcp wrappers checks when the incoming connection is on a
socket. silences useless warnings from regress tests that use
proxycommand="sshd -i". prompted by david@ ok markus@
2004-06-25 13:34:31 +10:00
Darren Tucker
645ab757bd
- djm@cvs.openbsd.org 2004/06/24 19:30:54
...
[servconf.c servconf.h sshd.c]
re-exec sshd on accept(); initial work, final debugging and ok markus@
2004-06-25 13:33:20 +10:00
Darren Tucker
b5bc1a6393
- dtucker@cvs.openbsd.org 2004/06/23 14:31:01
...
[ssh.c]
Fix counting in master/slave when passing environment variables; ok djm@
2004-06-24 00:34:53 +10:00
Darren Tucker
ede07fb0a0
- mouring@cvs.openbsd.org 2004/06/23 00:39:38
...
[rijndael.c]
-Wshadow fix up s/encrypt/do_encrypt/. OK djm@, markus@
2004-06-24 00:33:48 +10:00
Ben Lindstrom
ca37219d75
- (bal) [contrib/README] Removed "mdoc2man.pl" reference and added
...
reference to "findssl.sh"
Also corrected my ChangeLog entries since I placed them in the wrong place.
2004-06-23 04:04:45 +00:00
Tim Rice
af4ab6cbf5
- (tim) [regress/try-ciphers.sh] "if ! some_command" is not portable.
2004-06-22 20:53:02 -07:00
Darren Tucker
0a9d43d726
- (dtucker) [auth.c openbsd-compat/port-aix.c openbsd-compat/port-aix.h]
...
Move loginrestrictions test to port-aix.c, replace with a generic hook.
2004-06-23 13:45:24 +10:00
Ben Lindstrom
ef8f8af86c
- (bal) [Makefile.in] Remove opensshd.init on 'make distclean'
2004-06-23 03:21:54 +00:00
Darren Tucker
e5a604fdd4
- (dtucker) [cipher.c] encrypt->do_encrypt inside SSH_OLD_EVP to match
...
-Wshadow change.
2004-06-23 12:28:31 +10:00
Darren Tucker
3b9c0adaab
- dtucker@cvs.openbsd.org 2004/06/22 22:55:56
...
[regress/dynamic-forward.sh regress/test-exec.sh]
Allow setting of port for regress from TEST_SSH_PORT variable; ok markus@
2004-06-23 09:28:20 +10:00
Darren Tucker
6223eea596
- dtucker@cvs.openbsd.org 2004/06/22 22:45:52
...
[regress/test-exec.sh]
Add TEST_SSH_SSHD_CONFOPTS and TEST_SSH_SSH_CONFOPTS to allow adding
arbitary options to sshd_config and ssh_config during tests. ok markus@
2004-06-23 09:25:02 +10:00
Darren Tucker
6eabe64304
- dtucker@cvs.openbsd.org 2004/06/22 22:42:02
...
[regress/envpass.sh]
Add quoting for test -z; ok markus@
2004-06-23 09:23:58 +10:00
Darren Tucker
a8c73d3b8c
- (dtucker) [auth1.c] Ensure do_pam_account is called for Protocol 1
...
connections with empty passwords. Patch from davidwu at nbttech.com,
ok djm@
2004-06-23 09:17:54 +10:00
Darren Tucker
b09b677166
- dtucker@cvs.openbsd.org 2004/06/22 05:05:45
...
[monitor.c monitor_wrap.c]
Change login->username, will prevent -Wshadow errors in Portable;
ok markus@
2004-06-22 15:06:46 +10:00
Darren Tucker
430c6a1552
- markus@cvs.openbsd.org 2004/06/22 03:12:13
...
[regress/envpass.sh regress/multiplex.sh]
more portable env passing tests
2004-06-22 13:38:56 +10:00
Ben Lindstrom
e35bf12eeb
- (bal) [auth-passwd.c auth1.c] Clean up unused variables.
2004-06-22 03:37:11 +00:00
Darren Tucker
59bf4a9bd4
- (dtucker) [defines.h] Define __dead if not already defined.
2004-06-22 13:27:16 +10:00
Darren Tucker
5e4e272e8d
Missing ChangeLog entry for previous
2004-06-22 13:26:00 +10:00
Darren Tucker
9a52645566
- djm@cvs.openbsd.org 2004/06/22 01:16:39
...
[sftp.c]
don't show .files by default in ls, add -a option to turn them back on;
ok markus
2004-06-22 13:09:55 +10:00
Darren Tucker
15ca6e8842
- djm@cvs.openbsd.org 2004/06/21 22:41:31
...
[sftp.1]
document sort options
2004-06-22 13:08:21 +10:00
Darren Tucker
a4e9ffa653
- djm@cvs.openbsd.org 2004/06/21 22:30:45
...
[sftp.c]
prefix ls option flags with LS_
2004-06-22 13:07:58 +10:00
Darren Tucker
b9123453d0
- djm@cvs.openbsd.org 2004/06/21 22:04:50
...
[sftp.c]
introduce sorting for ls, same options as /bin/ls; ok markus@
2004-06-22 13:06:45 +10:00
Darren Tucker
efa62f98a1
- djm@cvs.openbsd.org 2004/06/21 22:02:58
...
[log.h]
mark fatal and cleanup exit as __dead; ok markus@
2004-06-22 12:57:44 +10:00
Darren Tucker
723e945b55
- djm@cvs.openbsd.org 2004/06/21 17:53:03
...
[session.c]
fix fd leak for multiple subsystem connections; with markus@
2004-06-22 12:57:08 +10:00
Darren Tucker
3f9fdc7121
- avsm@cvs.openbsd.org 2004/06/21 17:36:31
...
[auth-rsa.c auth2-gss.c auth2-pubkey.c authfile.c canohost.c channels.c
cipher.c dns.c kex.c monitor.c monitor_fdpass.c monitor_wrap.c
monitor_wrap.h nchan.c packet.c progressmeter.c scp.c sftp-server.c sftp.c
ssh-gss.h ssh-keygen.c ssh.c sshconnect.c sshconnect1.c sshlogin.c
sshpty.c]
make ssh -Wshadow clean, no functional changes
markus@ ok
There are also some portable-specific -Wshadow warnings to be fixed in
monitor.c and montior_wrap.c.
2004-06-22 12:56:01 +10:00
Darren Tucker
b357afc0a0
- djm@cvs.openbsd.org 2004/06/20 19:28:12
...
[sftp.1]
mention new -n flag
2004-06-22 12:31:23 +10:00
Darren Tucker
b215c5d8fe
- djm@cvs.openbsd.org 2004/06/20 18:53:39
...
[sftp.c]
make "ls -l" listings print user/group names, add "ls -n" to show uid/gid
(like /bin/ls); idea & ok markus@
2004-06-22 12:30:53 +10:00
Darren Tucker
365433f883
- djm@cvs.openbsd.org 2004/06/20 17:36:59
...
[ssh.c]
filter passed env vars at slave in connection sharing case; ok markus@
2004-06-22 12:29:23 +10:00
Tim Rice
f7ba8f67b7
(tim) [configure.ac Makefile.in] Only change TEST_SHELL on broken platforms.
...
OK dtucker@
2004-06-20 10:37:32 -07:00
Tim Rice
5af9db9e0c
- (tim) [configure.ac buildpkg.sh.in contrib/solaris/README] move opensshd
...
init script to top level directory.
2004-06-19 19:31:06 -07:00
Darren Tucker
17db1c47cf
- (dtucker) [auth-pam.c] Don't use PAM namespace for
...
pam_password_change_required either.
2004-06-19 12:54:38 +10:00
Damien Miller
3bbd878c2e
- djm@cvs.openbsd.org 2004/06/18 11:11:54
...
[channels.c clientloop.c]
Don't explode in clientloop when we receive a bogus channel id, but
also don't generate them to begin with; ok markus@
2004-06-18 22:23:22 +10:00
Damien Miller
b8ea24868f
- markus@cvs.openbsd.org 2004/06/18 10:55:43
...
[ssh.1 ssh.c]
trim synopsis for -S, allow -S and -oControlMaster, -MM means 'ask'; ok djm
2004-06-18 22:21:55 +10:00
Damien Miller
0809e233a4
- (djm) OpenBSD CVS Sync
...
- djm@cvs.openbsd.org 2004/06/18 10:40:19
[ssh.c]
delay signal handler setup until we have finished talking to the master.
allow interrupting of setup (e.g. if master is stuck); ok markus@
2004-06-18 22:20:57 +10:00
Darren Tucker
6288dc14fc
- dtucker@cvs.openbsd.org 2004/06/18 06:15:51
...
[multiplex.sh]
Use -S for scp/sftp to force the use of the ssh being tested.
ok djm@,markus@
2004-06-18 16:25:35 +10:00
Darren Tucker
bd12f1741e
- dtucker@cvs.openbsd.org 2004/06/18 06:13:25
...
[sftp.c]
Use execvp instead of execv so sftp -S ssh works. "makes sense" markus@
2004-06-18 16:23:43 +10:00
Darren Tucker
ba5c592126
- djm@cvs.openbsd.org 2004/06/17 23:56:57
...
[ssh.1 ssh.c]
sync usage() and SYNPOSIS with connection sharing changes
2004-06-18 16:22:39 +10:00
Darren Tucker
13fbe57722
- (dtucker) [regress/README.regress] Add detail on how to run a single
...
test from the top-level Makefile.
2004-06-18 14:14:43 +10:00
Damien Miller
e826a8c9d9
- djm@cvs.openbsd.org 2004/06/17 14:53:27
...
[regress/multiplex.sh]
shared connection env passing regress test
2004-06-18 01:23:03 +10:00
Damien Miller
23f0770a1b
- djm@cvs.openbsd.org 2004/06/17 15:10:14
...
[clientloop.c misc.h readconf.c readpass.c ssh.c ssh_config.5]
Add option for confirmation (ControlMaster=ask) via ssh-askpass before
opening shared connections; ok markus@
2004-06-18 01:19:03 +10:00
Damien Miller
3756dcee24
- (djm) OpenBSD CVS Sync
...
- djm@cvs.openbsd.org 2004/06/17 14:52:48
[clientloop.c clientloop.h ssh.c]
support environment passing over shared connections; ok markus@
2004-06-18 01:17:29 +10:00
Darren Tucker
a9972e19e9
- (dtucker) [regress/multiplex.sh] Increase sleep time to 120 sec (60 is not
...
enough for slow systems, especially if they don't have a kernel RNG).
2004-06-17 17:01:21 +10:00
Darren Tucker
10e7f1929b
- (dtucker) [regress/multiplex.sh] add EXEEXT for those platforms that need
...
it.
2004-06-17 16:36:27 +10:00
Darren Tucker
3e86fc4e99
- dtucker@cvs.openbsd.org 2004/06/17 06:19:06
...
[regress/multiplex.sh]
Add small description of failing test to failure message; ok djm@
2004-06-17 16:34:02 +10:00
Darren Tucker
ffaa6a5f01
- dtucker@cvs.openbsd.org 2004/06/17 06:00:05
...
[regress/multiplex.sh]
Use DATA and COPY for test data rather than hard-coded paths; ok djm@
2004-06-17 16:32:45 +10:00
Darren Tucker
ddea13d74d
- dtucker@cvs.openbsd.org 2004/06/17 05:51:59
...
[regress/multiplex.sh]
Remove datafile between and after tests, kill sshd rather than wait;
ok djm@
2004-06-17 16:27:43 +10:00
Darren Tucker
8a2f1b3537
- (dtucker) [regress/scp.sh] diff -N is not portable (but needed for some
...
platforms), so test if diff understands it. Pointed out by tim@, ok djm@
2004-06-17 15:18:32 +10:00
Darren Tucker
af16154b00
Add missing regress.
2004-06-16 23:24:19 +10:00
Darren Tucker
5711dca4a6
- dtucker@cvs.openbsd.org 2004/06/16 13:16:40
...
[multiplex.sh]
Silence multiplex sftp and scp tests. ok markus@
2004-06-16 23:23:50 +10:00
Darren Tucker
6f0e35b566
- dtucker@cvs.openbsd.org 2004/06/16 13:15:09
...
[regress/scp.sh]
Make scp -r tests use diff -rN not cmp (which won't do dirs. ok markus@
2004-06-16 23:22:37 +10:00
Darren Tucker
7a06f62b6a
- (dtucker) [regress/README.regress]
...
Add $TEST_SHELL to readme.
2004-06-16 21:08:32 +10:00
Darren Tucker
0e6868e2c4
- (dtucker) [regress/test-exec.sh]
...
Move Portable-only StrictModes to top of list to make syncs easier.
2004-06-16 20:36:16 +10:00
Darren Tucker
9fe95da3ea
Add missing regress/envpass.sh
2004-06-16 20:33:55 +10:00
Darren Tucker
a40395663c
- djm@cvs.openbsd.org 2004/06/13 15:16:54
...
[regress/test-exec.sh]
remove duplicate setting of $SCP; spotted by markus@
2004-06-16 20:31:18 +10:00
Darren Tucker
e7d0583f36
- djm@cvs.openbsd.org 2004/06/13 15:04:08
...
[regress/Makefile regress/test-exec.sh, added regress/multiplex.sh]
regress test for client multiplexing; ok markus@
2004-06-16 20:22:22 +10:00
Darren Tucker
50433a9243
- dtucker@cvs.openbsd.org 2004/06/13 13:51:02
...
[regress/Makefile regress/test-exec.sh, added regress/scp-ssh-wrapper.sh
regress/scp.sh]
Add scp regression test; with & ok markus@
2004-06-16 20:15:59 +10:00
Darren Tucker
4c37ef08ab
- djm@cvs.openbsd.org 2004/04/27 09:47:30
...
[regress/Makefile regress/test-exec.sh, added regress/envpass.sh]
regress test for environment passing, SendEnv & AcceptEnv options;
ok markus@
2004-06-16 20:08:56 +10:00
Darren Tucker
a7ea546f1b
- (dtucker) [openbsd-compat/port-aix.c] Expand whitespace -> tabs. No
...
code changes.
2004-06-16 12:01:15 +10:00
Damien Miller
03e66f650c
- djm@cvs.openbsd.org 2004/06/15 05:45:04
...
[clientloop.c]
missed one unset_nonblock; spotted by Tim Rice
2004-06-15 15:47:51 +10:00
Tim Rice
51cee0892f
fix typo
2004-06-14 21:25:33 -07:00
Damien Miller
07b6ff12c4
- (djm) [ssh.c] Use separate var for address length
2004-06-15 11:14:45 +10:00
Damien Miller
5e6f4db085
- (djm) Fix Makefile.in for connection sharing changes
2004-06-15 10:44:40 +10:00
Damien Miller
232711f6db
- djm@cvs.openbsd.org 2004/06/14 01:44:39
...
[channels.c clientloop.c misc.c misc.h packet.c ssh-agent.c ssh-keyscan.c]
[sshd.c]
set_nonblock() instead of fnctl(...,O_NONBLOCK); "looks sane" deraadt@
2004-06-15 10:35:30 +10:00
Damien Miller
0e220dbfbc
- djm@cvs.openbsd.org 2004/06/13 15:03:02
...
[channels.c channels.h clientloop.c clientloop.h includes.h readconf.c]
[readconf.h scp.1 sftp.1 ssh.1 ssh.c ssh_config.5]
implement session multiplexing in the client (the server has supported
this since 2.0); ok markus@
2004-06-15 10:34:08 +10:00
Damien Miller
05202ffe21
- dtucker@cvs.openbsd.org 2004/06/13 14:01:42
...
[ssh.1 ssh_config.5 sshd_config.5]
List supported ciphers in man pages, tidy up ssh -c;
"looks fine" jmc@, ok markus@
2004-06-15 10:30:39 +10:00
Damien Miller
f675fc4948
- djm@cvs.openbsd.org 2004/06/13 12:53:24
...
[dh.c dh.h kex.c kex.h kexdhc.c kexdhs.c monitor.c myproposal.h]
[ssh-keyscan.c sshconnect2.c sshd.c]
implement diffie-hellman-group14-sha1 kex method (trivial extension to
existing diffie-hellman-group1-sha1); ok markus@
2004-06-15 10:30:09 +10:00
Damien Miller
7cf17eb78c
- pedro@cvs.openbsd.org 2004/06/03 12:22:20
...
[sftp-client.c sftp.c]
initialize pointers, ok markus@
2004-06-15 10:28:56 +10:00
Damien Miller
16ea6494b6
- dtucker@cvs.openbsd.org 2004/06/01 14:20:45
...
[auth2-chall.c]
Remove redundant #include; ok markus@
2004-06-15 10:28:24 +10:00
Damien Miller
3379385060
- dtucker@cvs.openbsd.org 2004/05/27 00:50:13
...
[readconf.c]
Kill dead code after fatal(); ok djm@
2004-06-15 10:27:55 +10:00
Damien Miller
3e4dffb140
- markus@cvs.openbsd.org 2004/05/26 23:02:39
...
[channels.c]
missing freeaddrinfo; Andrey Matveev
2004-06-15 10:27:15 +10:00
Damien Miller
350327c042
- djm@cvs.openbsd.org 2004/05/26 08:59:57
...
[sftp.c]
exit -> _exit in forked child on error; from andrushock AT korovino.net
2004-06-15 10:24:13 +10:00
Darren Tucker
94befab9dd
- (dtucker) [auth-pam.c] Don't use pam_* namespace for sshd's PAM functions.
...
ok djm@
2004-06-03 14:53:12 +10:00
Damien Miller
26314f6354
- (djm) [auth-pam.c] Add copyright for local changes
2004-06-01 11:28:20 +10:00
Tim Rice
2d2b9f706f
[buildpkg.sh.in] Last minute fix didn't make it in the .in file. :-(
2004-05-30 21:48:40 -07:00
Tim Rice
6f1f758cca
- (tim) [configure.ac Makefile.in] Add support for "make package" ok djm@
...
- (tim) [buildpkg.sh.in] New file. A more flexible version of
contrib/solaris/buildpkg.sh used for "make package".
2004-05-30 21:38:51 -07:00
Darren Tucker
e061b1598a
- (dtucker) [auth-pam.c] Use an invalid password for root if
...
PermitRootLogin != yes or the login is invalid, to prevent leaking
information. Based on Openwall's owl-always-auth patch. ok djm@
2004-05-30 22:04:56 +10:00
Darren Tucker
450a158d7e
- (dtucker) [auth-pam.c auth-pam.h auth-passwd.c]: Bug #874 : Re-add PAM
...
support for PasswordAuthentication=yes. ok djm@
2004-05-30 20:43:59 +10:00
Darren Tucker
0ffe638bbb
- (dtucker) [contrib/caldera/openssh.spec contrib/redhat/openssh.spec
...
contrib/README CREDITS INSTALL] Bug #873 : Correct URLs for x11-ssh-askpass
and Jim Knoble's email address , from Jim himself.
2004-05-27 09:59:31 +10:00
Darren Tucker
12984968fb
- (dtucker) [sshd.c] Fix typo in comment.
2004-05-24 13:37:13 +10:00
Darren Tucker
b53355eca5
- (dtucker) [auth-pam.c] Bug #839 : Ensure that pam authentication "thread"
...
is terminated if the privsep slave exits during keyboard-interactive
authentication. ok djm@
2004-05-24 11:55:36 +10:00
Darren Tucker
89413dbafa
- dtucker@cvs.openbsd.org 2004/05/23 23:59:53
...
[auth.c auth.h auth1.c auth2.c servconf.c servconf.h sshd_config sshd_config.5]
Add MaxAuthTries sshd config option; ok markus@
2004-05-24 10:36:23 +10:00
Darren Tucker
e534e12127
- jmc@cvs.openbsd.org 2004/05/22 16:01:05
...
[ssh.1]
kill whitespace at eol;
2004-05-24 10:35:14 +10:00
Darren Tucker
1973c88898
- djm@cvs.openbsd.org 2004/05/22 06:32:12
...
[clientloop.c ssh.1]
use '-h' for help in ~C commandline instead of '-?'; inspired by jmc@
2004-05-24 10:34:36 +10:00
Darren Tucker
e7066dfde3
- djm@cvs.openbsd.org 2004/05/21 11:33:11
...
[channels.c channels.h clientloop.c serverloop.c ssh.1]
bz #756 : add support for the cancel-tcpip-forward request for the server and
the client (through the ~C commandline). reported by z3p AT twistedmatrix.com;
ok markus@
2004-05-24 10:18:05 +10:00
Darren Tucker
e4ab1157db
- markus@cvs.openbsd.org 2004/05/21 08:43:03
...
[kex.h moduli.c tildexpand.c]
add prototypes for -Wall; ok djm
2004-05-24 10:14:24 +10:00
Darren Tucker
e167582947
- dtucker@cvs.openbsd.org 2004/05/20 10:58:05
...
[clientloop.c]
Trivial type fix 0 -> '\0'; ok markus@
2004-05-24 10:13:07 +10:00
Darren Tucker
cdf547afe4
- djm@cvs.openbsd.org 2004/05/19 12:17:33
...
[sftp-client.c sftp.c]
gracefully abort transfers on receipt of SIGINT, also ignore SIGINT while
waiting for a command; ok markus@
2004-05-24 10:12:19 +10:00
Ben Lindstrom
efec7c23b1
- (bal) [openbsd-compat/sys-queue.h] Reintroduce machinary to handle
...
old/broken/incomplete <sys/queue.h>.
2004-05-23 06:22:27 +00:00
Damien Miller
b409718797
- (djm) [configure.ac] Warn if the system has no known way of figuring out
...
which user is on the other end of a Unix domain socket; ok dtucker@
2004-05-23 14:09:40 +10:00
Damien Miller
701d0514ee
- (djm) Explain consequences of UsePAM=yes a little better in sshd_config;
...
ok dtucker@
2004-05-23 11:47:58 +10:00
Darren Tucker
991d95f412
- (dtucker) [openbsd-compat/getrrsetbyname.c] Fix typo too: HAVE_DECL_H_ERROR
...
-> HAVE_DECL_H_ERRNO.
2004-05-13 20:24:10 +10:00
Darren Tucker
cc2685577b
- (dtucker) [openbsd-compat/getrrsetbyname.c] Check that HAVE_DECL_H_ERROR
...
is defined before using.
2004-05-13 20:10:38 +10:00
Darren Tucker
b6db172a79
- (dtucker) [auth-pam.c scard-opensc.c] Tinderbox says auth-pam.c uses
...
readpass.h, grep says scard-opensc.c does too. Replace with misc.h.
2004-05-13 17:29:35 +10:00
Darren Tucker
1dcff9a3a8
- (dtucker) [sshd.8] Bug #843 : Add warning about PasswordAuthentication to
...
UsePAM section. Parts from djm@ and jmc@.
2004-05-13 16:51:40 +10:00
Darren Tucker
a86b453bb3
- dtucker@cvs.openbsd.org 2004/05/13 02:47:50
...
[ssh-agent.1]
Add examples to ssh-agent.1, bz#481 from Ralf Hauser; ok deraadt@
2004-05-13 16:45:46 +10:00
Darren Tucker
1f8311c836
- deraadt@cvs.openbsd.org 2004/05/11 19:01:43
...
[auth.c auth2-none.c authfile.c channels.c monitor.c monitor_mm.c
packet.c packet.h progressmeter.c session.c openbsd-compat/xmmap.c]
improve some code lint did not like; djm millert ok
2004-05-13 16:39:33 +10:00
Darren Tucker
b42714e28b
- djm@cvs.openbsd.org 2004/05/09 01:26:48
...
[kex.c]
don't overwrite what we are trying to compute
2004-05-13 16:31:48 +10:00
Darren Tucker
e14e005f41
- djm@cvs.openbsd.org 2004/05/09 01:19:28
...
[OVERVIEW auth-rsa.c auth1.c kex.c monitor.c session.c sshconnect1.c
sshd.c] removed: mpaux.c mpaux.h
kill some more tiny files; ok deraadt@
2004-05-13 16:30:44 +10:00
Darren Tucker
770fc01078
- djm@cvs.openbsd.org 2004/05/09 00:06:47
...
[moduli.c ssh-keygen.c] removed: moduli.h
zap another tiny header; ok deraadt@
2004-05-13 16:24:32 +10:00
Darren Tucker
e608ca2965
- djm@cvs.openbsd.org 2004/05/08 00:21:31
...
[clientloop.c misc.h readpass.c scard.c ssh-add.c ssh-agent.c ssh-keygen.c
sshconnect.c sshconnect1.c sshconnect2.c] removed: readpass.h
kill a tiny header; ok deraadt@
2004-05-13 16:15:47 +10:00
Darren Tucker
06f2bd8bde
- deraadt@cvs.openbsd.org 2004/05/08 00:01:37
...
[auth.c clientloop.c misc.h servconf.c ssh.c sshpty.h sshtty.c
tildexpand.c], removed: sshtty.h tildexpand.h
make two tiny header files go away; djm ok
2004-05-13 16:06:46 +10:00
Darren Tucker
dcf6ec48f6
- jmc@cvs.openbsd.org 2004/05/06 11:24:23
...
[ssh_config.5]
typo from John Cosimano (PR 3770);
2004-05-13 13:03:56 +10:00
Darren Tucker
2e578f6292
- jmc@cvs.openbsd.org 2004/05/04 18:36:07
...
[scp.1]
SendEnv here too;
2004-05-13 13:03:04 +10:00
Darren Tucker
8e968a596a
- (dtucker) [configure.ac] Bug #867 : Additional tests for res_query in
...
libresolv, fixes problems detecting it on some platforms
(eg Linux/x86-64). From Kurt Roeckx via Debian, ok mouring@
2004-05-13 11:56:16 +10:00
Darren Tucker
c0796d7676
- dtucker@cvs.openbsd.org 2004/05/02 23:17:51
...
[scp.1]
ConnectionTimeout -> ConnectTimeout for scp.1 too.
2004-05-03 09:19:03 +10:00
Darren Tucker
3d5cbb7761
- dtucker@cvs.openbsd.org 2004/05/02 23:02:17
...
[sftp.1]
ConnectionTimeout -> ConnectTimeout here too, pointed out by jmc@
2004-05-03 09:13:15 +10:00
Darren Tucker
edae0ec12a
- dtucker@cvs.openbsd.org 2004/05/02 11:57:52
...
[ssh.1]
ConnectionTimeout -> ConnectTimeout, from m.a.ellis at ncl.ac.uk via
Debian. ok djm@
2004-05-02 22:15:52 +10:00
Darren Tucker
097e1e9a97
- dtucker@cvs.openbsd.org 2004/05/02 11:54:31
...
[sshd.8]
Man page grammar fix (bz #858 ), from damerell at chiark.greenend.org.uk
via Debian; ok djm@
2004-05-02 22:15:08 +10:00
Darren Tucker
7a6c06620e
- jmc@cvs.openbsd.org 2004/04/28 07:13:42
...
[sftp.1 ssh.1]
add SendEnv to -o list;
2004-05-02 22:14:03 +10:00
Darren Tucker
b2a601cc99
- jmc@cvs.openbsd.org 2004/04/28 07:02:56
...
[sshd_config.5]
remove unnecessary .Pp;
2004-05-02 22:13:20 +10:00
Darren Tucker
1e0c9bf9fb
- djm@cvs.openbsd.org 2004/04/28 05:17:10
...
[ssh_config.5 sshd_config.5]
manpage fixes in envpass stuff from Brian Poole (raj AT cerias.purdue.edu)
2004-05-02 22:12:48 +10:00
Darren Tucker
46bc075474
- djm@cvs.openbsd.org 2004/04/27 09:46:37
...
[readconf.c readconf.h servconf.c servconf.h session.c session.h ssh.c
ssh_config.5 sshd_config.5]
bz #815 : implement ability to pass specified environment variables from
the client to the server; ok markus@
2004-05-02 22:11:30 +10:00
Darren Tucker
47abce45b2
- djm@cvs.openbsd.org 2004/04/22 11:56:57
...
[moduli.c]
Bugzilla #850 : Sophie Germain is the correct name of the French
mathematician, "Sophie Germaine" isn't; from Luc.Maisonobe@c-s.fr
2004-05-02 22:09:00 +10:00
Darren Tucker
7749c5163b
- (dtucker) [README.platform] List prereqs for building on Cygwin.
2004-04-23 18:57:13 +10:00
Darren Tucker
5bb140019c
- (dtucker) [configure.ac openbsd-compat/getrrsetbyname.c] Declare h_errno
...
as extern int if not already declared. Fixes compile errors on old SCO
platforms. ok tim@
2004-04-23 18:53:10 +10:00
Damien Miller
752e4e603f
- (djm) Update config.guess and config.sub to autoconf-2.59 versions; ok tim@
2004-04-21 12:29:13 +10:00
Damien Miller
5561e0b73d
- (djm) [configure.ac] Check whether libroken is required when building
...
with Heimdal
2004-04-20 20:28:55 +10:00
Damien Miller
50bec89baf
rewrap
2004-04-20 20:20:40 +10:00
Damien Miller
914420fe74
- djm@cvs.openbsd.org 2004/04/19 21:51:49
...
[ssh.c]
fix idiot typo that i introduced in my last commit;
spotted by cschneid AT cschneid.com
2004-04-20 20:14:07 +10:00
Damien Miller
1a81258f4e
- jmc@cvs.openbsd.org 2004/04/19 16:12:14
...
[ssh_config.5]
kill whitespace at eol;
2004-04-20 20:13:32 +10:00
Damien Miller
c970cb9052
- djm@cvs.openbsd.org 2004/04/19 13:02:40
...
[ssh.1 ssh_config.5]
document strict permission checks on ~/.ssh/config; prompted by,
with & ok jmc@
2004-04-20 20:12:53 +10:00
Damien Miller
57a4476a69
- djm@cvs.openbsd.org 2004/04/18 23:10:26
...
[readconf.c readconf.h ssh-keysign.c ssh.c]
perform strict ownership and modes checks for ~/.ssh/config files,
as these can be used to execute arbitrary programs; ok markus@
NB. ssh will now exit when it detects a config with poor permissions
2004-04-20 20:11:57 +10:00
Damien Miller
1824c071ab
- (djm) [openbsd-compat/sys-queue.h] Sync with OpenBSD, needed for above change
2004-04-20 20:10:46 +10:00
Damien Miller
0b51a52a10
- (djm) OpenBSD CVS Sync
...
- henning@cvs.openbsd.org 2004/04/08 16:08:21
[sshconnect2.c]
swap the last two parameters to TAILQ_FOREACH_REVERSE. matches what FreeBSD and NetBSD do.
ok millert@ mcbride@ markus@ ho@, checked to not affect ports by naddy@
2004-04-20 20:07:19 +10:00
Darren Tucker
bddc2b0179
- markus@cvs.openbsd.org 2004/04/01 12:19:57
...
[scp.c]
limit trust between local and remote rcp/scp process,
noticed by lcamtuf; ok deraadt@, djm@
2004-04-19 23:50:16 +10:00
Darren Tucker
d04121f0ab
- djm@cvs.openbsd.org 2004/03/31 21:58:47
...
[canohost.c]
don't skip ip options check when UseDNS=no; ok markus@ (ID sync only)
2004-04-19 22:16:53 +10:00
Darren Tucker
dca6a4dd88
- djm@cvs.openbsd.org 2004/03/30 12:41:56
...
[sftp-client.c]
sync comment with reality
2004-04-19 22:10:52 +10:00
Darren Tucker
0a74ae7c14
- dtucker@cvs.openbsd.org 2004/03/08 10:17:12
...
[regress/login-timeout.sh]
Missing OBJ, from tim@. ok markus@ (Already fixed, ID sync only)
2004-04-19 22:04:21 +10:00
Darren Tucker
9929d1f666
- dtucker@cvs.openbsd.org 2004/02/29 22:04:45
...
[regress/login-timeout.sh]
Use sudo when restarting daemon during test. ok markus@
2004-04-19 22:01:37 +10:00
Damien Miller
2eb4236d86
- (djm) [openbsd-compat/bsd-cygwin_util.c] Recent versions of Cygwin allow
...
change of user context without a password, so relax auth method
restrictions; from vinschen AT redhat.com; ok dtucker@
2004-04-18 21:15:43 +10:00
Darren Tucker
2a9bf4b3d3
- (dtucker) [auth-pam.c] Log username and source host for failed PAM
...
authentication attempts. With & ok djm@
2004-04-18 11:00:26 +10:00
Tim Rice
fe6d5aa54b
- (tim) [configure.ac] Set SETEUID_BREAKS_SETUID, BROKEN_SETREUID and
...
BROKEN_SETREGID for SCO OpenServer 3
2004-04-16 20:03:07 -07:00
Damien Miller
9c870f966a
- (djm) [auth-krb5.c auth.h session.c] Explicitly refer to Kerberos ccache
...
file using FILE: method, fixes problems on Mac OSX.
Patch from simon@sxw.org.uk ; ok dtucker@
2004-04-16 22:47:55 +10:00
Darren Tucker
c99a19b445
- (dtucker) [regress/sftp-cmds.sh] Skip quoting test on Cygwin, since
...
FAT/NTFS does not permit quotes in filenames. From vinschen at redhat.com
2004-04-16 17:58:28 +10:00
Damien Miller
0ac4500f37
- (djm) [configure.ac] Fix detection of libwrap on OpenBSD; ok dtucker@
2004-04-14 20:14:26 +10:00
Darren Tucker
06a8cfe796
- (dtucker) [auth-skey.c defines.h monitor.c] Make skeychallenge explicitly
...
4-arg, with compatibility for 3-arg versions. From djm@, ok me.
2004-04-14 17:24:30 +10:00
Darren Tucker
3b908f65b4
- (dtucker) [acconfig.h configure.ac defines.h] Bug #673 : check for 4-arg
...
skeychallenge(), eg on NetBSD. ok mouring@
2004-04-14 15:26:39 +10:00
Darren Tucker
96cc26b614
- (dtucker) [sshd_config.5] Add PermitRootLogin without-password warning
...
from bug #701 (text from jfh at cise.ufl.edu).
2004-04-14 13:04:35 +10:00
Ben Lindstrom
036768e48c
- (bal) [monitor.c monitor_wrap.c] Ok.. Last time. Promise. Tim suggested
...
limiting scope and dtucker@ agreed.
2004-04-08 16:12:30 +00:00
Darren Tucker
11f18294ab
- (dtucker) [defines.h loginrec.c] Define UT_LINESIZE if not defined and
...
simplify loginrec.c. ok tim@
2004-04-08 16:16:06 +10:00
Ben Lindstrom
1b9f2a6b44
- (bal) [monitor.c monitor_wrap.c] Second try. Put the zlib.h headers
...
back and #undef TARGET_OS_MAC instead. (Bug report pending with Apple)
2004-04-08 05:11:03 +00:00
Darren Tucker
4d2f361f96
- (dtucker) [loginrec.c] Use UT_LINESIZE if available, prevents truncating
...
pty name on Linux 2.6.x systems. Patch from jpe at eisenmenger.org.
2004-04-08 10:57:05 +10:00
Ben Lindstrom
a8104b5c92
- (bal) [acconfig.h auth-krb5.c configure.ac gss-serv-krb5.c] Check to see
...
if Krb5 library exports krb5_init_etc() since some OSes (like MacOS/X)
are starting to restrict it as internal since it is not needed by
developers any more. (Patch based on Apple tree)
- (bal) [monitor.c monitor_wrap.c] monitor_wrap.c] moved zlib.h higher since
krb5 on MacOS/X conflicts. There may be a better solution, but this will
work for now.
2004-04-07 04:16:11 +00:00
Darren Tucker
ac7c998a2d
- (dtucker) [session.c] Flush stdout after displaying loginmsg. From
...
f_mohr at yahoo.de.
2004-04-07 08:04:09 +10:00
Darren Tucker
4398cf5927
- (dtucker) [configure.ac] Bug #816 , #748 (again): Attempt to detect
...
broken getaddrinfo and friends on HP-UX. ok djm@
2004-04-06 21:39:02 +10:00
Darren Tucker
8db9a0ffd8
- (dtucker) [acconfig.h configure.ac defines.h] Bug #820 : don't use
...
updwtmpx() on IRIX since it seems to clobber utmp. ok djm@
2004-04-06 21:31:12 +10:00
Damien Miller
ccea020574
- (djm) Bug #825 : Fix ip_options_check() for mapped IPv4/IPv6 connection;
...
with & ok dtucker@
2004-03-31 15:17:54 +10:00
Darren Tucker
17addf0463
- (dtucker) [auth-pam.c] rename the_authctxt to sshpam_authctxt in auth-pam.c
...
to reduce potential confusion with the one in sshd.c. ok djm@
2004-03-30 20:57:57 +10:00
Darren Tucker
809031f6c4
- (dtucker) [configure.ac] Bug #811 : Use "!" for LOCKED_PASSWD_PREFIX on
...
Linuxes, since that's what many use. ok djm@
2004-03-30 14:03:45 +10:00
Darren Tucker
b385059346
- (dtucker) [session.c] Bug #817 : Clear loginmsg after fork to prevent
...
duplicate login messages for mutli-session logins. ok djm@
2004-03-27 16:44:21 +11:00
Damien Miller
154e8b82ef
- (djm) Crank RPM spec versions
2004-03-22 09:40:01 +11:00
Damien Miller
aed7cee49a
- markus@cvs.openbsd.org 2004/03/20 10:40:59
...
[version.h]
3.8.1
2004-03-22 09:39:09 +11:00
Damien Miller
0c889cd9e9
- markus@cvs.openbsd.org 2004/03/11 10:21:17
...
[ssh.c sshd.c]
ssh, sshd: sync version output, ok djm
2004-03-22 09:36:00 +11:00
Damien Miller
b408786db9
- markus@cvs.openbsd.org 2004/03/11 08:36:26
...
[sshd.c]
trim usage; ok deraadt
2004-03-22 09:35:21 +11:00
Damien Miller
5095510e5f
- markus@cvs.openbsd.org 2004/03/10 09:45:06
...
[ssh.c]
trim usage to match ssh(1) and look more like unix. ok djm@
2004-03-22 09:34:58 +11:00
Damien Miller
3df755e441
- markus@cvs.openbsd.org 2004/03/09 22:11:05
...
[ssh.c]
increase x11 cookie lifetime to 20 minutes; ok djm
2004-03-22 09:34:26 +11:00
Damien Miller
bfba354261
- (djm) [sshd.c] Drop supplemental groups if started as root
2004-03-22 09:29:57 +11:00
Damien Miller
4fefe24c01
- (djm) [configure.ac] Add standard license to configure.ac; ok ben, dtucker
2004-03-11 14:20:10 +11:00
Darren Tucker
7c991ab1e1
- (dtucker) [openbsd-compat/fake-rfc2553.h] Bug #812 : #undef getaddrinfo
...
before redefining it, silences warnings on Tru64.
2004-03-10 21:06:32 +11:00
Tim Rice
aa5383243d
- (tim) [regress/README.regress] Document ssh-rand-helper issue. ok bal
2004-03-08 12:12:18 -08:00
Damien Miller
8448e66770
- dtucker@cvs.openbsd.org 2004/03/08 10:18:57
...
[sshd_config.5]
Document KerberosGetAFSToken; ok markus@
2004-03-08 23:13:15 +11:00
Damien Miller
3b51301a4b
- djm@cvs.openbsd.org 2004/03/08 09:38:05
...
[ssh-keyscan.c]
explicitly initialise remote_major and remote_minor.
from cjwatson AT debian.org; ok markus@
2004-03-08 23:13:00 +11:00
Damien Miller
bd394c329b
- markus@cvs.openbsd.org 2004/03/05 10:53:58
...
[readconf.c readconf.h scp.1 sftp.1 ssh.1 ssh_config.5 sshconnect2.c]
add IdentitiesOnly; ok djm@, pb@
2004-03-08 23:12:36 +11:00
Damien Miller
c0f27d8782
- djm@cvs.openbsd.org 2004/03/03 09:31:20
...
[sftp.c]
Fix initialisation of progress meter; ok markus@
2004-03-08 23:12:19 +11:00
Damien Miller
9ba3069a8b
- djm@cvs.openbsd.org 2004/03/03 09:30:42
...
[sftp-client.c]
Don't print duplicate messages when progressmeter is off
Spotted by job317 AT mailvault.com; ok markus@
2004-03-08 23:12:02 +11:00
Damien Miller
57aae982be
- (djm) OpenBSD CVS Sync
...
- markus@cvs.openbsd.org 2004/03/03 06:47:52
[sshd.c]
change proctiltle after accept(2); ok henning, deraadt, djm
2004-03-08 23:11:25 +11:00
Darren Tucker
dbf7a74ee5
- (dtucker) [auth-pam.c auth-pam.h auth1.c auth2.c monitor.c monitor_wrap.c
...
monitor_wrap.h] Bug #808 : Ensure force_pwchange is correctly initialized
even if keyboard-interactive is not used by the client. Prevents segfaults
in some cases where the user's password is expired (note this is not
considered a security exposure). ok djm@
2004-03-08 23:04:06 +11:00
Darren Tucker
112aaac0ce
- (dtucker) [sshd.c] Back out rev 1.270 as it caused problems on some
...
platforms (eg SCO, HP-UX) with logging in the wrong TZ.
2004-03-08 22:13:12 +11:00
Tim Rice
f45eff21dc
- (tim) [regress/login-timeout.sh] fix building outside of source tree.
2004-03-07 10:40:01 -08:00
Darren Tucker
91bf45c597
- (dtucker) [auth-passwd.c auth-sia.c auth-sia.h defines.h
...
openbsd-compat/xcrypt.c] Bug #802 : Fix build error on Tru64 when
configured --with-osfsia. ok djm@
2004-03-04 22:59:36 +11:00
Darren Tucker
b9b6021667
- (dtucker) [auth-pam.c] Reset signal status when starting pam auth thread,
...
prevent hanging during PAM keyboard-interactive authentications. ok djm@
2004-03-04 20:03:54 +11:00
Darren Tucker
4b385d4bc0
- (dtucker) [auth-pam.c] Don't try to export PAM when compiled with
...
-DUSE_POSIX_THREADS. From antoine.verheijen at ualbert ca. ok djm@
2004-03-04 19:54:10 +11:00
Darren Tucker
6e26bf15ee
wrong year
2004-03-04 19:47:29 +11:00
Damien Miller
6c4914afcc
- (djm) [configure.ac ssh-agent.c] Use prctl to prevent ptrace on ssh-agent
...
ok dtucker
2004-03-03 11:08:59 +11:00
Tim Rice
ad4a188e46
- (tim) [configure.ac] Put back bits mistakenly removed from Rev 1.188
2004-02-29 15:53:37 -08:00
Darren Tucker
b099d855d3
- (dtucker) [regress/try-ciphers.sh] Skip acss if not compiled in (eg if we
...
built with openssl < 0.9.7)
2004-02-29 21:30:05 +11:00
Darren Tucker
9468ba33a1
- dtucker@cvs.openbsd.org 2004/02/28 13:44:45
...
[regress/try-ciphers.sh]
Test acss too; ok markus@
2004-02-29 20:38:26 +11:00
Darren Tucker
68b184c75d
- dtucker@cvs.openbsd.org 2004/02/28 12:16:57
...
[regress/dynamic-forward.sh]
Make dynamic-forward understand nc's new output. ok markus@
2004-02-29 20:37:06 +11:00
Darren Tucker
437a5f035b
- markus@cvs.openbsd.org 2004/02/24 17:06:52
...
[regress/ssh-com-client.sh regress/ssh-com-keygen.sh
regress/ssh-com-sftp.sh regress/ssh-com.sh]
test against recent ssh.com releases
2004-02-29 20:33:51 +11:00
Darren Tucker
03c907a22b
- markus@cvs.openbsd.org 2004/02/24 16:56:30
...
[regress/test-exec.sh]
allow arguments in ${TEST_SSH_XXX}
2004-02-29 20:31:08 +11:00
Darren Tucker
017fd61a92
- dtucker@cvs.openbsd.org 2004/02/17 08:23:20
...
[regress/Makefile regress/login-timeout.sh]
Add regression test for LoginGraceTime; ok markus@
2004-02-29 20:30:17 +11:00
Darren Tucker
effc84ce5b
- dtucker@cvs.openbsd.org 2004/02/27 22:49:27
...
[dh.c]
Reset bit counter at the right time, fixes debug output in the case where
the DH group is rejected. ok markus@
2004-02-29 20:15:08 +11:00
Darren Tucker
c56c7ef592
- dtucker@cvs.openbsd.org 2004/02/27 22:44:56
...
[dh.c]
Make /etc/moduli line buffer big enough for 8kbit primes, in case anyone
ever uses one. ok markus@
2004-02-29 20:13:34 +11:00
Darren Tucker
fc113c97a3
- dtucker@cvs.openbsd.org 2004/02/27 22:42:47
...
[dh.c]
Prevent sshd from sending DH groups with a primitive generator of zero or
one, even if they are listed in /etc/moduli. ok markus@
2004-02-29 20:12:33 +11:00
Darren Tucker
d592048c36
- djm@cvs.openbsd.org 2004/02/25 00:22:45
...
[sshd.c]
typo in comment
2004-02-29 20:11:30 +11:00
Ben Lindstrom
78ffe26501
- (bal) KNF our sshlogin.c even if the code looks nothing like upstream
...
code due to diversity issues.
2004-02-27 03:01:19 +00:00
Damien Miller
124055dd3b
- (djm) Don't specify path to PAM modules in Redhat sshd.pam; from Fedora
2004-02-25 10:57:45 +11:00
Damien Miller
d891395a09
- (djm) Trim ChangeLog
2004-02-25 10:56:31 +11:00
Damien Miller
3342470472
- (djm) Release 3.8p1
2004-02-24 17:13:28 +11:00
Tim Rice
e8c898a54f
[configure.ac] SCO3 needs -lcrypt_i for -lprot
2004-02-23 21:47:04 -08:00
Darren Tucker
149543e56d
- (dtucker) {README.platform] Add platform-specific notes.
2004-02-24 16:14:41 +11:00
Darren Tucker
5ce131f2b6
- (dtucker) [README] Add pointer to release notes. ok djm@
2004-02-24 16:13:24 +11:00
Damien Miller
9fc475f0c3
- (djm) Crank RPM spec versions
2004-02-24 16:00:02 +11:00
Tim Rice
18959006c0
[openbsd-compat/getrrsetbyname.c] Make gcc 2.7.2.3 happy. ok djm@
2004-02-23 20:51:06 -08:00
Darren Tucker
2359aa985d
- (dtucker) [uidswap.c] Minor KNF. ok djm@
2004-02-24 13:17:30 +11:00
Damien Miller
a811d9a9a1
- (djm) [groupaccess.c uidswap.c] Bug #787 : Size group arrays at runtime
...
using sysconf() if available Based on patches from
holger AT van-lengerich.de and openssh_bugzilla AT hockin.org
2004-02-24 13:05:11 +11:00
Darren Tucker
8a4e4f8779
Add missing ok
2004-02-24 10:58:10 +11:00
Darren Tucker
0d27ed1c19
- (dtucker) [configure.ac gss-serv-krb5.c ssh-gss.h] Define GSSAPI when found
...
with krb5-config, hunt down gssapi.h and friends. Based partially on patch
from deengert at anl.gov.
For the MIT Kerberos bug against krb5-config related to this see:
http://krbdev.mit.edu/rt/Ticket/Display.html?id=2240
2004-02-24 10:37:33 +11:00
Darren Tucker
a6ea420c38
- markus@cvs.openbsd.org 2004/02/23 15:16:46
...
[version.h]
enter 3.8
2004-02-24 09:24:01 +11:00
Darren Tucker
0acc92a93c
- markus@cvs.openbsd.org 2004/02/23 15:12:46
...
[bufaux.c]
encode 0 correctly in buffer_put_bignum2; noted by Mikulas Patocka
and drop support for negative BNs; ok otto@
2004-02-24 09:21:41 +11:00
Darren Tucker
efa3706f05
- markus@cvs.openbsd.org 2004/02/23 12:02:33
...
[sshd.c]
backout revision 1.279; set listen socket to non-block; ok henning.
2004-02-24 09:20:29 +11:00
Darren Tucker
37bd3663bf
- markus@cvs.openbsd.org 2004/02/19 21:15:04
...
[sftp-server.c]
switch to new license.template
2004-02-24 09:19:15 +11:00
Darren Tucker
1825f26d21
- (dtucker) [session.c] Bug #789 : Only make setcred call for !privsep in the
...
non-interactive path. ok djm@
2004-02-24 00:01:27 +11:00
Darren Tucker
e828d0c75b
Add missed ChangeLog entries for previous commits...
2004-02-22 11:55:07 +11:00
Darren Tucker
15ee748f28
- (dtucker) [auth-shadow.c auth.c auth.h] Move shadow account expiry test
...
to auth-shadow.c, no functional change. ok djm@
2004-02-22 09:43:15 +11:00
Damien Miller
2e45cb0fb4
- (djm) [openbsd-compat/setproctitle.c] fix comments; from grange@
2004-02-20 20:37:44 +11:00
Damien Miller
051b0acbbc
- (djm) [log.c] Tighten openlog_r tests
2004-02-18 22:59:43 +11:00
Damien Miller
82c78b3b9d
- (djm) [log.c] Correct use of HAVE_OPENLOG_R
2004-02-18 15:42:31 +11:00
Damien Miller
05a75b6e5b
- jmc@cvs.openbsd.org 2004/02/17 19:35:21
...
[sshd_config.5]
remove cruft left over from RhostsAuthentication removal;
ok markus@
2004-02-18 14:31:23 +11:00
Damien Miller
20e1fabace
- djm@cvs.openbsd.org 2004/02/17 11:03:08
...
[sftp.c]
sftp.c and sftp-int.c, together at last; ok markus@
2004-02-18 14:30:55 +11:00
Damien Miller
d7d46bb606
- (djm) OpenBSD CVS Sync
...
- djm@cvs.openbsd.org 2004/02/17 07:17:29
[sftp-glob.c sftp.c]
Remove useless headers; ok deraadt@
2004-02-18 14:11:13 +11:00
Darren Tucker
a22897df06
- (dtucker) [configure.ac] Handle case where krb5-config --libs returns a
...
path with a "-" in it. From Sergio.Gelato at astro.su.se.
2004-02-18 11:21:12 +11:00
Darren Tucker
5cf8ef735c
- (dtucker) [auth-pam.c] Store output from pam_session and pam_setcred for
...
display after login. Should fix problems like pam_motd not displaying
anything, noticed by cjwatson at debian.org. ok djm@
2004-02-17 23:20:07 +11:00
Darren Tucker
ba53b839d3
- (dtucker) [auth-pam.c] Tidy up PAM debugging. ok djm@
2004-02-17 20:46:59 +11:00
Damien Miller
34255b9f4c
- (djm) Bug #698 : Specify FILE: for KRB5CCNAME; patch from
...
stadal@suse.cz and simon@sxw.org.uk
2004-02-17 20:33:52 +11:00
Damien Miller
4e60ed74a6
- djm@cvs.openbsd.org 2004/02/17 05:39:51
...
[sftp-client.c sftp-client.h sftp-glob.c sftp-glob.h sftp-int.c]
[sftp-int.h sftp.c]
switch to license.template for code written by me (belated, I know...)
2004-02-17 17:07:59 +11:00
Damien Miller
98225c2950
- (djm) Simplify the license on code I have written. No code changes.
2004-02-17 16:49:41 +11:00
Tim Rice
3d5352e156
[configure.ac] Make sure -lcrypto is before -lsocket for sco3. ok mouring@
2004-02-12 09:27:21 -08:00
Tim Rice
9ad7e0e805
[Makefile.in regress/sftp-badcmds.sh regress/test-exec.sh]
...
Portablity fixes. Data sftp transfers needs to be world readable. Some
older shells hang on while loops when doing sh -n some_script. OK dtucker@
2004-02-12 07:17:10 -08:00
Tim Rice
43fa557ce2
[configure.ac] Fix comment to match code changes in ver 1.117
2004-02-11 14:46:40 -08:00
Darren Tucker
cee6d4cf5a
- (dtucker) [auth-passwd.c auth-shadow.c] Only enable shadow expiry check
...
if HAS_SHADOW_EXPIRY is set.
2004-02-11 18:48:52 +11:00
Darren Tucker
13a707b60d
- (dtucker) [configure.ac] Bug #345 : Do not disable utmp on HP-UX 10.x.
...
ok djm@
2004-02-10 17:15:05 +11:00
Darren Tucker
c28b88a314
- (dtucker) [configure.ac loginrec.c] Bug #464 : Use updwtmpx on platforms
...
that support it. from & ok mouring@
2004-02-10 16:49:35 +11:00
Darren Tucker
cfea2063e5
- (dtucker) [openbsd-compat/port-aix.c openbsd-compat/port-aix.h] Move
...
include from port-aix.h to port-aix.c and remove unnecessary function
definition. Fixes build errors on AIX.
#include'ing auth.h in port-aix.h causes conflicting definitions of Authctxt
in sshconnect2.c. Sigh.
2004-02-10 15:27:34 +11:00
Darren Tucker
1921ed9f96
- (dtucker) [auth-pam.c auth-pam.h session.c] Bug #14 : Use do_pwchange to
...
change expired PAM passwords for SSHv1 connections without privsep.
pam_chauthtok is still used when privsep is disabled. ok djm@
2004-02-10 13:23:28 +11:00
Darren Tucker
ffae532076
- (dtucker) [openbsd-compat/fake-rfc2553.h] Bug #563 : Prepend ssh_ to compat
...
functions to avoid conflicts with Heimdal's libroken. ok djm@
2004-02-10 13:05:40 +11:00
Darren Tucker
9df3defdbb
- (dtucker) [LICENCE Makefile.in auth-passwd.c auth-shadow.c auth.c auth.h
...
defines.h] Bug #14 : Use do_pwchange to support password expiry and force
change for platforms using /etc/shadow. ok djm@
2004-02-10 13:01:14 +11:00
Darren Tucker
e3dba82dd4
- (dtucker) [auth-passwd.c auth.h openbsd-compat/port-aix.c
...
openbsd-compat/port-aix.h] Bug #14 : Use do_pwchange to support AIX's
native password expiry.
2004-02-10 12:50:19 +11:00
Darren Tucker
693f8a8aae
- (dtucker) [cipher.c] enable AES counter modes with OpenSSL 0.9.5.
...
ok djm@, markus@
2004-02-07 12:29:39 +11:00
Darren Tucker
fc57f71fb1
- dtucker@cvs.openbsd.org 2004/02/06 23:41:13
...
[cipher-ctr.c]
Use EVP_CIPHER_CTX_key_length for key length. ok markus@
(This will fix builds with OpenSSL 0.9.5)
2004-02-07 10:41:48 +11:00
Darren Tucker
074593538a
- (dtucker) [configure.ac includes.h] Include <sys/stream.h> if present,
...
required on Solaris 2.5.1 for queue_t, which is used by <sys/ptms.h>.
2004-02-06 21:29:41 +11:00
Darren Tucker
7f73a4955d
- markus@cvs.openbsd.org 2004/02/05 15:33:33
...
[progressmeter.c]
fix ETA for > 4GB; bugzilla #791 ; ok henning@ deraadt@
2004-02-06 16:41:37 +11:00
Darren Tucker
a8be9e23d2
- dtucker@cvs.openbsd.org 2004/02/05 05:37:17
...
[monitor.c sshd.c]
Pass SIGALRM through to privsep child if LoginGraceTime expires. ok markus@
2004-02-06 16:40:27 +11:00
Darren Tucker
23bc8d0bff
- markus@cvs.openbsd.org 2004/01/30 09:48:57
...
[auth-passwd.c auth.h pathnames.h session.c]
support for password change; ok dtucker@
(set password-dead=1w in login.conf to use this).
In -Portable, this is currently only platforms using bsdauth.
2004-02-06 16:24:31 +11:00
Darren Tucker
819d4526ca
Add bug no.
2004-02-06 16:18:47 +11:00
Darren Tucker
e45674ae80
- (dtucker) [openbsd-compat/port-aix.c openbsd-compat/port-aix.h] Restore
...
previous authdb setting after auth calls. Fixes problems with setpcred
failing on accounts that use AFS or NIS password registries.
2004-02-06 16:17:51 +11:00
Darren Tucker
ecc9d46dc5
- (dtucker) [sshd.c] Bug #757 : Clear child's environment to prevent
...
accidentally inheriting from root's environment. ok djm@
2004-02-06 16:04:08 +11:00
Darren Tucker
f58fb7e727
- (dtucker) [configure.ac] Bug #748 : Always define BROKEN_GETADDRINFO
...
for HP-UX 11.11. If there are known-good configs where this is not
required, please report them. ok djm@
2004-02-06 15:59:06 +11:00
Darren Tucker
ef3a4a208c
- (dtucker) [session.c] Bug #789 : Do not call do_pam_setcred as a non-root
...
user, since some modules might fail due to lack of privilege. ok djm@
2004-02-06 15:30:50 +11:00
Darren Tucker
6977fe742b
- (dtucker) [cipher-acss.c cipher.c] Enable acss only if building with
...
OpenSSL >= 0.9.7. ok djm@
2004-02-06 15:26:10 +11:00
Darren Tucker
9976246dfd
- (dtucker) [acss.c acss.h] Fix $Id tags.
2004-02-06 15:22:43 +11:00
Darren Tucker
2df334380b
- (dtucker) [configure.ac openbsd-compat/bsd-cray.c openbsd-compat/bsd-cray.h]
...
Bug #775 : Cray fixes from wendy at cray.com
2004-01-30 14:34:21 +11:00
Darren Tucker
dcc736b7de
- (dtucker) [configure.ac] Add --without-zlib-version-check. Feedback from
...
tim@, ok several
2004-01-30 14:20:59 +11:00
Darren Tucker
46662bfc21
- djm@cvs.openbsd.org 2004/01/13 09:49:06
...
[sftp-batch.sh]
don't delete thyself when running without obj/ ; ok markus@
2004-01-30 13:02:55 +11:00
Darren Tucker
633f3e0dd0
- jmc@cvs.openbsd.org 2003/11/07 10:16:44
...
[ssh-com.sh]
adress -> address, and a few more; all from Jonathon Gray;
2004-01-30 13:00:29 +11:00
Darren Tucker
22991ba2e2
- dtucker@cvs.openbsd.org 2003/10/11 11:49:49
...
[Makefile banner.sh]
Test missing banner file, suppression of banner with ssh -q, check return
code from ssh. ok markus@
2004-01-30 12:58:51 +11:00
Darren Tucker
77970695de
- (dtucker) [moduli] Import new moduli file from OpenBSD.
2004-01-28 15:44:04 +11:00
Darren Tucker
4f9f6794c5
- (dtucker) [regress/README.regress] Add tcpwrappers issue, noted by tim@
2004-01-28 12:26:14 +11:00
Damien Miller
ec69203e45
- djm@cvs.openbsd.org 2004/01/27 10:08:10
...
[sftp.c]
reorder parsing so user:skey@host:file works (bugzilla #777 )
patch from admorten AT umich.edu; ok markus@
2004-01-27 21:22:00 +11:00
Damien Miller
f6723f08e0
- djm@cvs.openbsd.org 2004/01/25 03:49:09
...
[sshconnect.c]
reset nonblocking flag after ConnectTimeout > 0 connect; (bugzilla #785 )
from jclonguet AT free.fr; ok millert@
2004-01-27 21:21:27 +11:00
Damien Miller
b2d1c2b3b8
- hshoexer@cvs.openbsd.org 2004/01/23 19:26:33
...
[cipher.c]
rename acss@opebsd.org to acss@openssh.org
ok deraadt@
2004-01-27 21:20:59 +11:00
Damien Miller
b21be84471
- mouring@cvs.openbsd.org 2004/01/23 17:57:48
...
[sftp-int.c]
Fix issue pointed out with ls not handling large directories
with embeded paths correctly. OK damien@
2004-01-27 21:20:11 +11:00
Damien Miller
4f0fe684da
- (djm) OpenBSD CVS Sync
...
- hshoexer@cvs.openbsd.org 2004/01/23 17:06:03
[cipher.c]
enable acss for ssh
ok deraadt@ markus@
- (djm) [acss.c acss.h cipher-acss.c] Portable support for ACSS
if libcrypto lacks it
2004-01-27 21:19:21 +11:00
Tim Rice
01326ebada
[defines.h openbsd-compat/getrrsetbyname.h] Move defines for HFIXEDSZ
...
and T_SIG to getrrsetbyname.h
2004-01-26 21:40:35 -08:00
Tim Rice
2597bfd1fb
[configure.ac includes.h] add <sys/ptms.h> for grantpt() and friends.
2004-01-26 19:03:39 -08:00
Tim Rice
ba1c2b82c4
[defines.h] Add defines for HFIXEDSZ and T_SIG
2004-01-26 16:02:17 -08:00
Tim Rice
eafd8e9c55
20040126
...
[regress/test-exec.sh] RhostsAuthentication is deprecated.
2004-01-26 14:10:10 -08:00