Displaying 20 results from an estimated 4000 matches similar to: "[PATCH]: sftp: Avoid paths beginning with "//""
2001 Aug 09
1
[PATCH]: ssh: Avoid paths beginning with "//"
We patched a few bugs in the sftp implementation last month that dealt with
path concatenation created paths beginning with "//", which caused problems
on Windows machines. Unfortunately, a few slipped by in ssh as well that
I'd like to get patched.
Ssh runs into the same problem when dealing with known_hosts files. When
the home directory for a user is set to "/", it
2001 May 22
1
[PATCH]: configure.in: Missing check for setvbuf
Hi,
in configure.in the patch for `setvbuf' is missing while in
sftp-int.c the HAVE_SETVBUF define is used:
Index: configure.in
===================================================================
RCS file: /cvs/openssh_cvs/configure.in,v
retrieving revision 1.286
diff -u -p -r1.286 configure.in
--- configure.in 2001/05/17 03:32:51 1.286
+++ configure.in 2001/05/22 11:59:54
@@ -460,7 +460,7
2009 Feb 12
2
[patch 1/3] add protocol extension to ATTR message
This patch adds all the missing commonly used UNIX attributes: st_dev,
st_ino, st_nlink, st_rdev, st_blocks, st_blksize, st_ctime. In
addition it extends st_atime and st_mtime to 64bits, and adds
nanosecond resolution to all three timestamps.
This is implemented as an extension to the ATTR message. This patch
alone is sufficient for SSHFS to be able to use these attributes. The
following two
2002 Jan 15
1
[PATCH]: scp: Avoid paths beginning with "//"
Scp has some path issues when transferring to or from the root file system
of a windows machine (cygwin). It creates a path that begins with //, which
indicates a UNC path on Windows. I sent in patches for similar issues last
year.
The fix is a one line change to determine if the path is "/", and not double
up on the slashes.
I've attached diffs to latest cvs.
-Mark
2002 Jul 04
1
[PATCH]: Remove HAVE_CYGWIN in favor of NO_IPPORT_RESERVED_CONCEPT
Hi,
I've sent that patch once already but it seems more or less forgotten
in the tumultuous days of the latest vulnerability.
It adds a new define NO_IPPORT_RESERVED_CONCEPT which can be defined
on platforms not supporting the concept of "privileged" ports only
accessible by privileged users but which allow everyone to use these
ports.
This patch removes some Cygwin dependencies
2001 Sep 04
3
2.9p2 behaves different from 2.5.2p2 on tunneling issue
Hi,
I have a problem with a Linux box which I updated from 2.5.2p2
to 2.9p2 recently. It's running a tunnel started via inittab
using a script which starts
ssh -2 -N -o 'ConnectionAttempts 3600' -L <tunnel> $host
This has run reliable with 2.5.2 over the last months. Now, after
I have upgraded to 2.9p2, the tunnel is closed right after each
attempt of an application to use
2001 Aug 30
2
[PATCH]: Drop Cygwin workaround
Hi,
the Cygwin specific workaround to sleep a second in daemon() isn't
needed anymore. We can eliminate it from the OpenSSH sources.
Index: daemon.c
===================================================================
RCS file: /cvs/openssh_cvs/openbsd-compat/daemon.c,v
retrieving revision 1.1
diff -u -p -r1.1 daemon.c
--- daemon.c 2001/01/31 21:52:03 1.1
+++ daemon.c 2001/08/30 08:41:39
@@
2001 Jun 04
1
[PATCH]: Add check_ntsec to ownership/mode tests
Hi,
I have added calls to `check_ntsec()' to the code which checks
for the ownership and modes of identity files and directories.
As you might know, check_ntsec() tests if owner/modes are
supported by the OS (9x/ME=no, NT/W2K=yes), the filesystem
(FAT/FAT32=no, NTFS=yes) and the current Cygwin settings
(ntea/ntsec).
Corinna
Index: auth-rhosts.c
2001 Dec 18
2
[PATCH]: Fix potential security hole in Cygwin version
Hi,
the following patch fixes a potential security hole in the Cygwin
version of sshd.
If you're logging in to a Cygwin sshd with version 2 protocol using an
arbitrary user name which is not in /etc/passwd, the forked sshd which
is handling this connection crashes with a segmentation violation. The
client side encounters an immediate disconnect ("Connection reset by
peer").
2002 Jun 13
1
[2.PATCH]: Eliminate typo in bsd-misc.*
Hi,
the following patch eliminates a typo in bsd-misc.* which disallows
building for Cygwin.
Corinna
Index: openbsd-compat/bsd-misc.c
===================================================================
RCS file: /cvs/openssh_cvs/openbsd-compat/bsd-misc.c,v
retrieving revision 1.7
diff -u -p -r1.7 bsd-misc.c
--- openbsd-compat/bsd-misc.c 12 Jun 2002 16:57:15 -0000 1.7
+++
2001 Nov 20
1
[PATCH]: Allow SSHD to install as service under WIndows 9x/Me
Hi,
the following patch is a (hopefully least intrusive) extension
when sshd is started so that it daemonizes itself. In that case
Windows 9x/Me has a slight problem with sshd as soon as the current
user logs off. The sshd daemon will be killed as well. Since
installing services is very different between NT and 9x, the way
used for NT boxes isn't working well for 9x. For that reason
2002 Jun 14
1
[PATCH]: auth-passwd.c: Eliminate a Cygwin special case
Hi,
as it turned out on the Cygwin mailing list, the special handling
of empty password in auth-passwd.c when running under Windows NT
results in problems.
Cause: The authentication methode "none" calls auth_password()
with an empty password. A piece of HAVE_CYGWIN code allows empty
passwords even if PermitEmptyPasswords is set to "no". This in
turn results in calling
2003 Jan 09
1
[PATCH] Cygwin and openssl-0.9.7
Hi,
the following patch is needed on Cygwin to link OpenSSH against
OpenSSL 0.9.7
Corinna
Index: configure.ac
===================================================================
RCS file: /cvs/openssh_cvs/configure.ac,v
retrieving revision 1.97
diff -u -p -r1.97 configure.ac
--- configure.ac 9 Jan 2003 01:22:59 -0000 1.97
+++ configure.ac 9 Jan 2003 22:12:43 -0000
@@ -84,6 +84,7 @@ case
2003 Jan 09
1
[PATCH] Allow multiple accounts on Windows 9x/Me
Hi,
the following patch by Pierre A. Humblet <Pierre.Humblet at ieee.org>
allows to use more than one uid on 9x/Me boxes which is currently
blocked due to the behaviour of Cygwin's security code. After this
patch is applied to sshd, we can safely change the affected code in
Cygwin.
Thanks,
Corinna
Index: session.c
===================================================================
2001 Apr 02
1
[PATCH]: scp could hang in Cygwin
Hi,
attached is a patch which solves the following problem:
Sometimes scp could hang in Cygwin when used as remote end using
the -t option. This is due to a binmode/textmode problem which
could be raised by the login shell which is used by the user and
it's setting of textmode on stdin. The patch solves that problem
by explicitly setting binmode on stdin.
Besides solving the hanging
2001 May 03
1
[PATCH]: Addition to Cygwin README
Hi,
just a short addition to the Cygwin README. It would be nice to
include that into the repository.
Thanks,
Corinna
Index: README
===================================================================
RCS file: /cvs/openssh_cvs/contrib/cygwin/README,v
retrieving revision 1.4
diff -u -p -r1.4 README
--- README 2001/03/14 21:30:18 1.4
+++ README 2001/05/03 12:13:45
@@ -57,6 +57,13 @@
2001 May 16
1
[PATCH]: configure.in
Hi,
it would be nice if somebody could apply the following patch. After
some months of maintaining the Cygwin version of OpenSSH it finally
turned out that USE_PIPES is the better option for Cygwin. It's
working more reliable than socketpairs and it's WAY faster.
Index: configure.in
===================================================================
RCS file:
2003 Sep 16
2
[PATCH] permanently_set_uid fails on Cygwin :-(
Hi,
I'm terribly sorry that I missed this before 3.7p1 was out. The
permanently_set_uid() function fails on Cygwin since the test to
revert to the saved uid unfortunately works on Cygwin though it
shouldn't. The reason is that a Windows NT process always can
revert to its previous privileges. There's no such concept of
giving up rights in a process permanently. This is only
2001 Jul 11
2
[PATCH]: Cygwin: Allow sshd to switch user context without password
Hi,
the following patch checks if OpenSSH is running under a Cygwin
version >= 1.3.2 which allows switching user context without password.
Otherwise sshd allows changing the user context only if password
authentication is used as it was before.
Corinna
Index: openbsd-compat/bsd-cygwin_util.c
===================================================================
RCS file:
2004 Sep 22
1
[PATCH] permanently_set_uid: Don't try restoring gid on Cygwin
Hi,
the below patch solves the same problem for gids as has already been
solved for uids. Windows has no concept of permanently changing the
identity. It's always possible to revert to the original identity.
Thanks,
Corinna
Index: uidswap.c
===================================================================
RCS file: /cvs/openssh_cvs/uidswap.c,v
retrieving revision 1.44
diff -p -u -r1.44