Damien Miller
ce02e5e09e
- (djm) [openbsd-compat/bindresvport.c] Rename variables s/sin/in/ to
...
avoid clash with sin(3) function; reported by
cristian.ionescu-idbohrn AT axis.com
2008-07-14 12:02:24 +10:00
Damien Miller
7f980d1ac7
- djm@cvs.openbsd.org 2008/07/13 22:16:03
...
[sftp.c]
increase number of piplelined requests so they properly fill the
(recently increased) channel window. prompted by rapier AT psc.edu;
ok markus@
2008-07-14 11:29:24 +10:00
Damien Miller
163886ff71
- djm@cvs.openbsd.org 2008/07/13 22:13:07
...
[channels.c]
use struct sockaddr_storage instead of struct sockaddr for accept(2)
address argument. from visibilis AT yahoo.com in bz#1485; ok markus@
2008-07-14 11:28:58 +10:00
Damien Miller
81dec0589a
- sthen@cvs.openbsd.org 2008/07/13 21:22:52
...
[ssh-keygen.c]
Change "ssh-keygen -F [host] -l" to not display random art unless
-v is also specified, making it consistent with the manual and other
uses of -l.
ok grunk@
2008-07-14 11:28:29 +10:00
Damien Miller
a034baf1b9
- djm@cvs.openbsd.org 2008/07/12 05:33:41
...
[scp.1]
better description for -i flag:
s/RSA authentication/public key authentication/
2008-07-12 17:12:49 +10:00
Damien Miller
2bcb866327
- (djm) OpenBSD CVS Sync
...
- djm@cvs.openbsd.org 2008/07/12 04:52:50
[channels.c]
unbreak; move clearing of cctx struct to before first use
reported by dkrause@
2008-07-12 17:12:29 +10:00
Damien Miller
b61f3fc31f
- markus@cvs.openbsd.org 2008/07/10 18:08:11
...
[clientloop.c monitor.c monitor_wrap.c packet.c packet.h sshd.c]
sync v1 and v2 traffic accounting; add it to sshd, too;
ok djm@, dtucker@
2008-07-11 17:36:48 +10:00
Damien Miller
dda5fffb84
- markus@cvs.openbsd.org 2008/07/10 18:05:58
...
[channels.c]
missing bzero; from mickey; ok djm@
2008-07-11 17:35:37 +10:00
Damien Miller
87dd5f2804
- stevesk@cvs.openbsd.org 2008/07/07 23:32:51
...
[key.c]
/*NOTREACHED*/ for lint warning:
warning: function key_equal falls off bottom without returning value
ok djm@
2008-07-11 17:35:09 +10:00
Damien Miller
2f7faf19d5
- stevesk@cvs.openbsd.org 2008/07/07 00:31:41
...
[ttymodes.c]
we don't need arg after the debug3() was removed. from lint.
ok djm@
2008-07-11 17:34:35 +10:00
Damien Miller
73193b3693
- (djm) [configure.ac] Add -Wformat-security to CFLAGS for gcc 3.x and 4.x
2008-07-09 21:07:19 +10:00
Damien Miller
7acf550aeb
- (djm) [auth.c] Missing unistd.h for close()
2008-07-09 20:54:37 +10:00
Damien Miller
773a7b98f9
- (djm) [auth1.c] Fix format string vulnerability in protocol 1 PAM
...
account check failure path. The vulnerable format buffer is supplied
from PAM and should not contain attacker-supplied data.
2008-07-09 20:54:05 +10:00
Damien Miller
d9648eee7c
- (djm) [Makefile.in] Print "all tests passed" when all regress tests pass
2008-07-09 00:21:12 +10:00
Damien Miller
c9c96f2e28
- djm@cvs.openbsd.org 2008/07/05 05:16:01
...
[PROTOCOL]
grammar
2008-07-05 15:17:48 +10:00
Damien Miller
ff2e492028
- (djm) [configure.ac] unbreak: remove extra closing brace
2008-07-05 09:52:03 +10:00
Damien Miller
42743cb6ba
- (djm) [Makefile.in] Pass though pass to conch for interop tests
2008-07-05 09:50:23 +10:00
Damien Miller
0b4d48ba74
- djm@cvs.openbsd.org 2008/07/04 23:30:16
...
[auth1.c auth2.c]
Make protocol 1 MaxAuthTries logic match protocol 2's.
Do not treat the first protocol 2 authentication attempt as
a failure IFF it is for method "none".
Makes MaxAuthTries' user-visible behaviour identical for
protocol 1 vs 2.
ok dtucker@
2008-07-05 09:44:53 +10:00
Damien Miller
d874fa517b
- OpenBSD CVS Sync
...
- djm@cvs.openbsd.org 2008/07/04 23:08:25
[packet.c]
handle EINTR in packet_write_poll()l ok dtucker@
2008-07-05 09:40:56 +10:00
Damien Miller
20d1694719
- (djm) [atomicio.c configure.ac] Disable poll() fallback in atomiciov for
...
Tru64. readv doesn't seem to be a comparable object there.
bz#1386, patch from dtucker@ ok me
2008-07-05 09:36:58 +10:00
Damien Miller
22989f1b5e
- (djm) [auth.c] Fixed test for locked account on HP/UX with shadowed
...
passwords disabled. bz#1083 report & patch from senthilkumar_sen AT
hotpop.com, w/ dtucker@
2008-07-05 08:59:43 +10:00
Damien Miller
d8968adb5f
- (djm) [atomicio.c channels.c clientloop.c defines.h includes.h]
...
[packet.c scp.c serverloop.c sftp-client.c ssh-agent.c ssh-keyscan.c]
[sshd.c] Explicitly handle EWOULDBLOCK wherever we handle EAGAIN, on
some platforms (HP nonstop) it is a distinct errno;
bz#1467 reported by sconeu AT yahoo.com; ok dtucker@
2008-07-04 23:10:49 +10:00
Darren Tucker
b01bac109b
- djm@cvs.openbsd.org 2008/06/30 10:43:03
...
[regress/conch-ciphers.sh]
explicitly disable conch options that could interfere with the test
2008-07-04 17:11:30 +10:00
Darren Tucker
5d6d70a842
- djm@cvs.openbsd.org 2008/06/30 10:31:11
...
[putty-transfer.sh putty-kex.sh putty-ciphers.sh]
remove "set -e" left over from debugging
2008-07-04 17:10:30 +10:00
Darren Tucker
8c7a14ea28
- djm@cvs.openbsd.org 2008/06/30 08:07:34
...
[key-options.sh]
shell portability: use "=" instead of "==" in test(1) expressions,
double-quote string with backslash escaped /
2008-07-04 17:08:58 +10:00
Darren Tucker
f7fa706e70
- (dtucker) [sftp-server.c] Bug #1447 : fall back to racy rename if link
...
returns EXDEV. Patch from Mike Garrison, ok djm@
2008-07-04 14:10:19 +10:00
Darren Tucker
2784f1fcc3
- dtucker@cvs.openbsd.org 2008/07/04 03:47:02
...
[monitor.c]
Make debug a little clearer. ok djm@
2008-07-04 13:51:45 +10:00
Darren Tucker
b03fd02aed
- djm@cvs.openbsd.org 2008/07/04 03:44:59
...
[servconf.c groupaccess.h groupaccess.c]
support negation of groups in "Match group" block (bz#1315); ok dtucker@
2008-07-04 13:51:12 +10:00
Darren Tucker
f5cafb0c85
- otto@cvs.openbsd.org 2008/07/03 21:46:58
...
[auth2-pubkey.c]
avoid nasty double free; ok dtucker@ djm@
2008-07-04 12:54:25 +10:00
Darren Tucker
9a2a60986b
- djm@cvs.openbsd.org 2008/07/02 13:47:39
...
[ssh.1 ssh.c]
When forking after authentication ("ssh -f") with ExitOnForwardFailure
enabled, delay the fork until after replies for any -R forwards have
been seen. Allows for robust detection of -R forward failure when
using -f (similar to bz#92); ok dtucker@
2008-07-04 12:53:50 +10:00
Darren Tucker
7c99b1ceda
- djm@cvs.openbsd.org 2008/07/02 13:30:34
...
[auth2.c]
really really remove the freebie "none" auth try for protocol 2
2008-07-04 12:53:23 +10:00
Darren Tucker
4230a5dc30
- djm@cvs.openbsd.org 2008/07/02 12:36:39
...
[auth2-none.c auth2.c]
Make protocol 2 MaxAuthTries behaviour a little more sensible:
Check whether client has exceeded MaxAuthTries before running
an authentication method and skip it if they have, previously it
would always allow one try (for "none" auth).
Preincrement failure count before post-auth test - previously this
checked and postincremented, also to allow one "none" try.
Together, these two changes always count the "none" auth method
which could be skipped by a malicious client (e.g. an SSH worm)
to get an extra attempt at a real auth method. They also make
MaxAuthTries=0 a useful way to block users entirely (esp. in a
sshd_config Match block).
Also, move sending of any preauth banner from "none" auth method
to the first call to input_userauth_request(), so worms that skip
the "none" method get to see it too.
2008-07-02 22:56:09 +10:00
Darren Tucker
33c787f23c
- dtucker@cvs.openbsd.org 2008/07/02 12:03:51
...
[auth-rsa.c auth.c auth2-pubkey.c auth.h]
Merge duplicate host key file checks, based in part on a patch from Rob
Holland via bz #1348 . Also checks for non-regular files during protocol
1 RSA auth. ok djm@
2008-07-02 22:37:30 +10:00
Darren Tucker
7499b0cca0
- djm@cvs.openbsd.org 2008/07/02 02:24:18
...
[sshd_config sshd_config.5 sshd.8 servconf.c]
increase default size of ssh protocol 1 ephemeral key from 768 to 1024
bits; prodded by & ok dtucker@ ok deraadt@
2008-07-02 22:35:43 +10:00
Darren Tucker
f2e21dec68
- stevesk@cvs.openbsd.org 2008/07/01 23:12:47
...
[PROTOCOL.agent]
fix some typos; ok djm@
2008-07-02 22:35:00 +10:00
Darren Tucker
d7bdc0c8e8
- dtucker@cvs.openbsd.org 2008/07/01 07:24:22
...
[sshconnect.c sshd.c]
Send CR LF during protocol banner exchanges, but only for Protocol 2 only,
in order to comply with RFC 4253. bz #1443 , ok djm@
2008-07-02 22:34:30 +10:00
Darren Tucker
068e01f53f
- dtucker@cvs.openbsd.org 2008/07/01 07:20:52
...
[sshconnect.c]
Check ExitOnForwardFailure if forwardings are disabled due to a failed
host key check. ok djm@
2008-07-02 22:33:55 +10:00
Darren Tucker
1f781b194f
- djm@cvs.openbsd.org 2008/06/30 12:18:34
...
[PROTOCOL]
clarify that eow@openssh.com is only sent on session channels
2008-07-02 22:33:16 +10:00
Darren Tucker
8748b96522
- djm@cvs.openbsd.org 2008/06/30 12:16:02
...
[nchan.c]
only send eow@openssh.com notifications for session channels; ok! markus@
2008-07-02 22:32:43 +10:00
Darren Tucker
8810dd41b9
- djm@cvs.openbsd.org 2008/06/30 12:15:39
...
[serverloop.c]
only pass channel requests on session channels through to the session
channel handler, avoiding spurious log messages; ok! markus@
2008-07-02 22:32:14 +10:00
Darren Tucker
00f00f0451
- djm@cvs.openbsd.org 2008/06/30 08:05:59
...
[PROTOCOL.agent]
typo: s/constraint_date/constraint_data/
2008-07-02 22:31:31 +10:00
Damien Miller
a766cea689
- (djm) [regress/Makefile] search for conch by path, like we do putty
2008-06-30 08:12:37 +10:00
Damien Miller
4268a136d4
- djm@cvs.openbsd.org 2008/06/28 13:57:25
...
[regress/Makefile regress/test-exec.sh regress/conch-ciphers.sh]
very basic regress test against Twisted Conch in "make interop"
target (conch is available in ports/devel/py-twisted/conch);
ok markus@
2008-06-30 08:07:56 +10:00
Damien Miller
d9bfce83b7
- dtucker@cvs.openbsd.org 2008/06/11 23:11:40
...
[Makefile]
Don't run cipher-speed test by default; mistakenly enabled by me
2008-06-30 08:06:51 +10:00
Damien Miller
2e80cf2b63
- dtucker@cvs.openbsd.org 2008/06/10 23:13:43
...
[regress/Makefile regress/key-options.sh]
Add regress test for key options. ok djm@
2008-06-30 08:06:25 +10:00
Damien Miller
1e18beb1e7
- djm@cvs.openbsd.org 2008/06/28 14:08:30
...
[PROTOCOL PROTOCOL.agent]
document the protocol used by ssh-agent; "looks ok" markus@
2008-06-30 00:07:00 +10:00
Damien Miller
471db5c2eb
- djm@cvs.openbsd.org 2008/06/28 14:05:15
...
[ssh-agent.c]
reset global compat flag after processing a protocol 2 signature
request with the legacy DSA encoding flag set; ok markus
2008-06-30 00:05:48 +10:00
Damien Miller
1cfadabc0e
- djm@cvs.openbsd.org 2008/06/28 13:58:23
...
[ssh-agent.c]
refuse to add a key that has unknown constraints specified;
ok markus
2008-06-30 00:05:21 +10:00
Damien Miller
bd45afb5ad
- djm@cvs.openbsd.org 2008/06/28 07:25:07
...
[PROTOCOL]
spelling fixes
2008-06-30 00:04:57 +10:00
Damien Miller
8639920a9b
- jmc@cvs.openbsd.org 2008/06/26 21:11:46
...
[ssh.1]
add VisualHostKey to the list of options listed in -o;
2008-06-30 00:04:31 +10:00