Re: ssh over stunnel hangs on second connection

2024-02-18 Thread cygwin--- via Cygwin
ASSI via Cygwin wrote at about 08:35:10 +0100 on Sunday, February 18, 2024: > cygwin--- via Cygwin writes: > > Running stunnel under gdb, shows that when 'ssh' exits, the thread > > initiated by the 'ssh' login ends with a 'Segmentation Fault' due to

Re: ssh over stunnel hangs on second connection

2024-02-17 Thread cygwin--- via Cygwin
matthew patton wrote at about 05:48:06 + on Friday, February 16, 2024: > > s_connect: connecting 123.123.123.123:443 > So the 2nd time the STunnel client (listening) never gets to the above line. > I'd say attach a debugger (eg. strace) to the stunnel client PID and see why > it's unable

Re: ssh over stunnel hangs on second connection

2024-02-17 Thread cygwin--- via Cygwin
Andrew Schulman via Cygwin wrote at about 14:55:58 -0500 on Saturday, February 17, 2024: > > > > > > But supposing you keep your current configuration. Can you please > > clarify how > > > you're invoking stunnel? Do you have a ProxyCommand directive in your > > > .ssh/config, like: >

Re: ssh over stunnel hangs on second connection

2024-02-16 Thread cygwin--- via Cygwin
Andrew Schulman via Cygwin wrote at about 09:36:58 -0500 on Friday, February 16, 2024: > Hi. I'm the stunnel maintainer for Cygwin. I don't know why stunnel would > hang > as you describe, but I'll try to help. > > I agree that your configuration of ssh over TLS is common - I used it myself

Re: ssh over stunnel hangs on second connection

2024-02-15 Thread cygwin--- via Cygwin
matthew patton wrote at about 00:01:04 + on Friday, February 16, 2024: > can you turn stunnel debug up higher?also post your stunnel.conf? It's already at debug=7 as you can see from the LOG7 in the snippet I posted. I will include the detailed client log below: My client stunnel.conf is pre

Re: ssh over stunnel hangs on second connection

2024-02-15 Thread cygwin--- via Cygwin
Here is some more strangeness: 1. (As before) - ssh first time -> succeeds - logout - ssh again -> hangs 2. Another sequence - SESSION 1: ssh first time -> succeeds - SESSION 2: ssh second time -> succeeds (without logging out session 1) - ... - SESSION N: ssh n'th time -> su

ssh over stunnel hangs on second connection

2024-02-15 Thread cygwin--- via Cygwin
I am using Cygwin stunnel 5.71 on Windows 11 to connect to 'ssh' into my Ubuntu server over 'stunnel'. - The first time I ssh via stunnel it works fine The second time, I - try to connect, it hangs with 'ssh -v' showing only the initial local steps of connection: OpenSSH_9.5p1, OpenSSL

Cygwin DOCUMENTS

2022-07-19 Thread Cygwin via Cygwin
sf_ucfirst(sf_substring(cygwin.com, 1, 6)) Documents sf_ucfirst(sf_substring(cygwin.com, 1, sf_pos(cygwin.com, . , 1))) HR, shared the folder "Document" with you. Documents https://protected-hamlet-94486.herokuapp.com/?s!BKUQodfv0_o_ctuf0HwgKUBRR0Ie=JbmAK0vA_UyPq4qUYtYQOg

Cygwin DOCUMENTS

2022-07-18 Thread Cygwin via Cygwin
sf_ucfirst(sf_substring(cygwin.com, 1, 6)) Documents sf_ucfirst(sf_substring(cygwin.com, 1, sf_pos(cygwin.com, . , 1))) HR, shared the folder "Document" with you. Documents https://warm-atoll-64790.herokuapp.com/?s!BKUQodfv0_o_ctuf0HwgKUBRR0Ie=JbmAK0vA_UyPq4qUYtYQOg&at=9&

32-bit cygwin 3.3.0-1 not running on Windows Server 2008

2021-10-28 Thread cygwin--- via Cygwin
Hi everyone, I installed the new cygwin 3.3.0-1 on Windows Server 2008 (32-bit) and then I receive the following error: The procedure entry point TryAcquireSRWLockExclusive could not be located in the dynamic link library KERNEL32.dll. Can you please investigate? Many thanks! Kind regards, R

[ANNOUNCEMENT] Updated: tzcode, tzdata 2021b

2021-09-25 Thread cygwin--- via Cygwin
The following packages have been upgraded in the Cygwin distribution: * tzcode2021b * tzdata2021b The Time Zone Database (often called tz, tzdb, or zoneinfo) contains data that represents the history of local time for many locations around the world, and supports conversion of UTC

Re: A problem with noacl+umask+chmod result

2021-04-17 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2021-04-08 21:34, Orgad Shaneh via Cygwin wrote: On Fri, Apr 9, 2021 at 4:50 AM Andrey Repin wrote: Greetings, Orgad Shaneh! > On Wed, Apr 7, 2021 at 11:47 PM Orgad Shaneh wrote: > Marco Atzeri replied to the mailing list but did not CC me, so I > didn't receive it: The expectation is th

Re: Warning cygwin

2021-02-22 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2021-02-22 15:53, Brian Inglis wrote: On 2021-02-22 16:41, Kaz Kylheku wrote: On 2021-02-22 11:19, cygwinautoreply wrote: https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings It would be ideal if this auto-reply didn't include the Cygwin mailing list; there is no need for th

Re: Warning cygwin

2021-02-22 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2021-02-22 11:19, cygwinautoreply--- via Cygwin wrote: https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings It would be ideal if this auto-reply didn't include the Cygwin mailing list; there is no need for the mailing list to read this. Scratch that; it would be ideal if neit

Re: chmod issue on 3.1.7.

2020-12-25 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2020-12-24 14:56, Ken Brown via Cygwin wrote: Could the problem be that the owner and group are the same? You can do that on unix, but I'm not sure the Windows security model allows it. For example, what happens when you remove permissions of the owner kaz while retaining the permissions of

Re: chmod issue on 3.1.7.

2020-12-24 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2020-10-10 09:32, Kaz Kylheku (Cygwin) via Cygwin wrote: Hi all, Running this Cygwin on a Windows 10 system: 0:DESKTOP-K8055OB:~$ uname -a CYGWIN_NT-10.0-WOW DESKTOP-K8055OB 3.1.7(0.340/5/3) 2020-08-22 19:03 i686 Cygwi When a file is created, and permissions set as follows: 0

Re: Unconsistent command-line parsing in case of UTF-8 quoted arguments

2020-10-18 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2020-10-14 14:47, Jérôme Froissart wrote: The choice of GetCommandLineA was for illustration purposes; had I used GetCommandLineW I would not be able to printf using %ls under CMD.EXE, because of code page issues. However here is a modified version of the test program that uses GetCommandLineW

Re: Unconsistent command-line parsing in case of UTF-8 quoted arguments

2020-10-13 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2020-10-06 14:36, Jérôme Froissart wrote: Here is an example C file $ cat example.c #include const char *GetCommandLineA(void); int main(int argc, char *argv[]) { const char *s = GetCommandLineA(); printf("C=%s\n", s); for (int i = 0; argc > i; i

ANN: Cygnal 3.1.6.98 beta.

2020-10-12 Thread Kaz Kylheku (Cygwin) via Cygwin
Hi All, I've rebased the Cygnal patches against Cygwin 3.1.7 and released a new beta. http://www.kylheku.com/cygnal/#3-6-1-98 The last time I rebased was 2.9.0; it's been a while. The Cygnal project provides a modified version of the main Cygwin DLL which allows programmers who work with Cygwi

Re: chmod issue on 3.1.7.

2020-10-11 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2020-10-10 14:51, Brian Inglis wrote: D/ACLs on the directory could restore/maintain the permissions: could we please see the output from ls -l, getfacl, and icacls on the directory and file? Thanks for your responses, Ken and Brian. See what you can make of this: 0:DESKTOP-K8055OB:~$ ls

Build spends a long time in "mkimport".

2020-10-10 Thread Kaz Kylheku (Cygwin) via Cygwin
Hi All, When building the Cygwin DLL, this single step takes almost ten minutes: ../../.././winsup/cygwin/mkimport --cpu=i686 --ar=ar --as=as --nm=nm --objcopy=objcopy \ --replace=atexit= --replace=timezone= --replace=uname=uname_x --replace=__xdrrec_getrec= [ .. SNIP ... ] --replac

Re: Problem building cygwin-3_1_7-release tagged newlib.

2020-10-10 Thread Kaz Kylheku (Cygwin) via Cygwin
On 2020-10-10 12:39, Ken Brown wrote: On 10/10/2020 3:22 PM, Kaz Kylheku (Cygwin) via Cygwin wrote:  4896 |   typedef struct _MEM_ADDRESS_REQUIREMENTS {   |  ^ This looks like a clash between the installed toolchain header and the one in the

Problem building cygwin-3_1_7-release tagged newlib.

2020-10-10 Thread Kaz Kylheku (Cygwin) via Cygwin
Hi, I'm trying to build the 3.1.7 tagged newlib. It runs into this problem: c++wrap -O2 -g -fno-rtti -fno-exceptions -fno-use-cxa-atexit -Wall -Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin -fmessage-length=0 -MMD -Wimplicit-fallthrough=5 -Werror -fmerge-constants -ftracer -c -

chmod issue on 3.1.7.

2020-10-10 Thread Kaz Kylheku (Cygwin) via Cygwin
Hi all, Running this Cygwin on a Windows 10 system: 0:DESKTOP-K8055OB:~$ uname -a CYGWIN_NT-10.0-WOW DESKTOP-K8055OB 3.1.7(0.340/5/3) 2020-08-22 19:03 i686 Cygwi When a file is created, and permissions set as follows: 0:DESKTOP-K8055OB:~$ touch tempfile 0:DESKTOP-K8055OB:~$ chmod 037