Displaying 20 results from an estimated 1000 matches similar to: "[PATCH]: Allow SSHD to install as service under WIndows 9x/Me"
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").
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 23
1
[PATCH]: Drop the use of `check_nt_auth'.
Hi,
the following patch removes some of the Cygwin specific code from
OpenSSH.
Since Cygwin is able to change the user context on NT/W2K even without
a password since the new Cygwin version 1.3.2, there's no need anymore
to allow changing the user context only if the sshd user is the same
user as the one which logs in or when a password is given.
For that reason the whole function
2000 Sep 02
2
[PATCH]: Cygwin port of 2.2.0p1
Attached is the patch for the Cygwin port of 2.2.0p1. As usual I didn't
attach the patch to `configure' but only the patch to `configure.in'.
BTW: I have attached a gzip'd version of the patch since it's size
is > 20K and I thought that it might be too big. The gzip'd diff is
< 8K.
What are "Small attachments (such as diff files) within the bounds
of common
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:
2002 Nov 09
1
[PATCH] Two Cygwin related patches
Hi,
the attached patch file contains two patches in one:
- contrib/cygwin/ssh-host-config: Create sshd_config according to latest
changes.
- openbsd-compat/bsd-cygwin_util.c: Rewrite a bit to allow easier retrieval
of Cygwin capabilities from version number (uname). For Cygwin versions
beginning with API minor version 56 assume ntsec being on by default.
Thanks in advance for applying
2019 Feb 22
2
[PATCH 2/2] Cygwin: implement case-insensitive Unicode user and group name matching
On Feb 22 16:02, Darren Tucker wrote:
> On Fri, Feb 22, 2019 at 03:32:43PM +1100, Darren Tucker wrote:
> > On Wed, 20 Feb 2019 at 23:54, Corinna Vinschen <vinschen at redhat.com> wrote:
> > > The previous revert enabled case-insensitive user names again. This
> > > patch implements the case-insensitive user and group name matching.
> > > To allow Unicode
2006 Sep 01
0
[PATCH] Cygwin: Avoid implicit declaration warnings
Hi,
I have left this slip through already too long. When compiling
openbsd-compat/bsd-cygwin_util.c, the following warnings appear:
openbsd-compat/bsd-cygwin_util.c: In function `binary_open':
openbsd-compat/bsd-cygwin_util.c:67: warning: implicit declaration of function `open'
openbsd-compat/bsd-cygwin_util.c: In function `binary_pipe':
openbsd-compat/bsd-cygwin_util.c:73:
2002 Jul 31
0
[PATCH]: Match Cygwin version check to reality
Hi,
the following patch rearranges some checkings in bsd-cygwin-util.c to keep
in sync with Cygwin versions. I moved the uname() check into it's own
function so that it's easier to add further checks when necessary.
Corinna
Index: openbsd-compat/bsd-cygwin_util.c
===================================================================
RCS file:
2019 Feb 22
3
[PATCH 2/2] Cygwin: implement case-insensitive Unicode user and group name matching
On Wed, 20 Feb 2019 at 23:54, Corinna Vinschen <vinschen at redhat.com> wrote:
> The previous revert enabled case-insensitive user names again. This
> patch implements the case-insensitive user and group name matching.
> To allow Unicode chars, implement the matcher using wchar_t chars in
> Cygwin-specific code. Keep the generic code changes as small as possible.
> Cygwin:
2000 Aug 08
1
[PATCH] Updated patch to Cygwin port of 2.1.1p4
I had to update the Cygwin port for two reasons:
- scp could fail because of another textmode/binmode problem.
- Privileged ports are not privileged on Windows and there's
no coherence between privileged user and uid 0.
So I send the complete patch again with the above changes.
ChangeLog:
==========
- Makefile.in: Changed to support $EXEEXT transparently. Added
`cygwin_util.o' to
2006 May 04
2
xmalloc(foo*bar) -> xcalloc(foo, bar) for Portable
Hi All.
While wandering in auth-pam.c I noticed that there's a few Portable-specific
escapees from the xmalloc(foo * bar) cleanup.
There's also a "probably can't happen" integer overflow in
ssh-rand-helper.c with the memset:
num_cmds = 64;
- entcmd = xmalloc(num_cmds * sizeof(entropy_cmd_t));
+ entcmd = xcalloc(num_cmds, sizeof(entropy_cmd_t));
2011 Aug 14
10
Call for testing: OpenSSH-5.9
Hi,
OpenSSH 5.9 is almost ready for release, so we would appreciate testing
on as many platforms and systems as possible. This release contains a
couple of new features and changes and bug fixes. Testing of the new
sandboxed privilege separation mode (see below) would be particularly
appreciated.
Snapshot releases for portable OpenSSH are available from
http://www.mindrot.org/openssh_snap/
The
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
2004 Apr 18
0
[PATCH] bsd-cygwin_util.c: Relax pubkey authentication prerequisites
Hi,
is it possible to apply the below patch before 3.8.1p1 comes out?
Due to a posting on the Cygwin mailing list it turned out, that the
prerequisites to allow public key authentication where to tight.
Since Cygwin version 1.5.x the so called `ntsec' setting isn't require
anymore to allow switching user context without password.
The below patch to bsd-cygwin_util.c fixes the test for
2019 Feb 20
3
[PATCH 0/2] Cygwin: allow user and group case-insensitive Unicode strings
Windows usernames are case-insensitive and almost any Unicode character
is allowed in a username. The user should be able to login with her
username given in any case and not be refused. However, this opens up
a security problem in terms of the sshd_config Match rules. The match
rules for user and group names have to operate case-insensitive as well,
otherwise the user can override her settings
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
@@
2010 Feb 19
1
[PATCH/cygwin] reduce number of propagated environment variables
Hi,
could somebody apply the below patch, please? It removes a couple of
environment variables which are propagated to the child process so far,
but which not really necessary to keep child processes running. What's
left now is the bare minimum which is requested by scripts, typically.
Thanks,
Corinna
Index: openbsd-compat/bsd-cygwin_util.c
2015 Jun 02
2
Call for testing: OpenSSH 6.9
On Mon, Jun 01, 2015 at 03:30:38PM +0200, Corinna Vinschen wrote:
> Hi,
>
> On May 29 17:12, Damien Miller wrote:
> > Hi,
> >
> > OpenSSH 6.9 is almost ready for release, so we would appreciate testing
> > on as many platforms and systems as possible. This release contains
> > some substantial new features and a number of bugfixes.
>
> I tested git
2003 Aug 03
2
[PATCH] Fix minor breakage on Cygwin: auth-passwd.c and session.c
Hi All.
I tried building -current on Cygwin but got a couple of minor errors.
The first is in auth-passwd.c where it appears Ben got a bit
over-enthusiastic cleaning up :-). The patch restores the relevant
"#ifdef HAVE_CYGWIN" fragment.
The second is in the send-break code in session.c, which won't compile
because Cygwin apparently doesn't have TIOCSBRK and TIOCCBRK ioctls.