From: "Steven Levine" Received: from [192.168.100.201] (HELO mail.2rosenthals.com) by 2rosenthals.com (CommuniGate Pro SMTP 5.4.10) with ESMTPS id 1730721 for ecs-isp@2rosenthals.com; Sun, 07 Mar 2021 22:38:00 -0500 Received: from secmgr-va.2rosenthals.com ([50.73.8.217]:54824 helo=mail2.2rosenthals.com) by mail.2rosenthals.com with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1lJ6iM-0003MV-2t for ecs-isp@2rosenthals.com; Sun, 07 Mar 2021 22:37:51 -0500 Received: from elasmtp-curtail.atl.sa.earthlink.net ([209.86.89.64]:40082) by mail2.2rosenthals.com with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1lJ6iK-0005qw-0O for ecs-isp@2rosenthals.com; Sun, 07 Mar 2021 22:37:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=earthlink.net; s=dk12062016; t=1615174668; bh=us3VVXKKab42DQjpTL2p9TVZmSCoBtNKmc6t Wt2VfeA=; h=Received:From:Date:To:In-Reply-To:Subject:X-Mailer: Message-ID:X-ELNK-Trace:X-Originating-IP; b=XBjVKrNhqovWnwI2DQIJuV h+mVd4iSBB8DodEx7hvMXTds5UXXS/82yhpC15RJo7H3gQ/8HByvBNGKEl9Sz4542NM fPEmekvQsFBPbOPGylGUD0pV2h5zZqrY76+TxpJsVMR/W4qcJvgKVWCi7vN3LgSPkKo /Z5BB965OK1rp9zchYNmEBc2HCS1o5zpVf+55dwiLVZ4bIaFQUrT37vy+GuxOcm1C30 E4pvwWU8+bykd2TO/uV4h9japax1eKKhNivgKj2x29sntNRDmceNzzwueM359JF5j6z 1VaEFZy5eN7vI86hpTGGzd9vG+mCYJtXA8EH+Z5c84FWiPuwInYA== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk12062016; d=earthlink.net; b=TnnjzcFHhE8GFLGs9d07xfP2f3SSW14T4i87lZn+a0WiBDB7jRqbdpVWusKpZvjkIQ6H2ie/LsHnE6SgLSeMKjwxq4+ZdQT/o4IcJ3FeirGM/vtdnKRGDdUTWLozkkl4tXqVd+6OHs+n8qHX4Wb/B9mYyqdGs1RtxVMe/8KQvhi0TtuoGNP45TYjflpz34yftAUQQdesg29Xy7MvPwbuLaWHcBOVUFj0ZTH09M32ymGt1lHY5VI7InKplGPIXetqXKy2V380w0IG+7rzNR6J0n6nry6XYhntUafTGyp74Ksm5t0hPtLWmh96kOvUs1ZgdslfvDcIS4nvgD2wllMDng==; h=Received:From:Date:To:In-Reply-To:Subject:X-Mailer:Message-ID:X-ELNK-Trace:X-Originating-IP; Received: from [108.193.255.28] (helo=slamain) by elasmtp-curtail.atl.sa.earthlink.net with esmtpa (Exim 4) (envelope-from ) id 1lJ6iI-0009NY-LD for ecs-isp@2rosenthals.com; Sun, 07 Mar 2021 22:37:46 -0500 Date: Sun, 07 Mar 2021 18:48:37 -0800 To: "eCS ISP Mailing List" In-Reply-To: Subject: Re: [eCS-ISP] Stunnel 5.58 X-Mailer: MR/2 Internet Cruiser Edition for OS/2 v3.00.11.21 BETA/60 Message-ID: X-ELNK-Trace: a1109158fca87577d780f4a490ca6956df8303b86ceddf55ee51352903c328a2edb628e1d07e0532350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 108.193.255.28 In , on 03/07/21 at 08:15 PM, "Massimo S." said: Hi Massimo, >i alredy have log to debug level 7 >but this not help, since the new version crash before creating the log >file The log file logic is bit complicated and it appears we have an issue in the stunnel patches. When you define a log file, you can lose log output in some cases and an abort (it's not a crash) is one of those cases. When the abort occurs, it causes the code that would write the cached log files to the log file to by bypassed. The workaround is to disable the output setting with: ; output = r:\stunnel.log and to add foreground = yes which has the side effect of routing log output to the console. However, this is not going to help you in this case, because it appears that this is really the first and only line of log output. I faked the ssl_init() failure under the debugger to check this. This is where I found we have an issue in the patches. Since we don't support daemonize(), I patched the code a while ago to default to make forground mode the default. The patch is still there: options.c:951 #if !defined(__OS2__) new_global_options.option.foreground=0; #else // 2011-01-07 SHL // default to foreground mode because this better matches older builds which // suppressed daemonize which forground implies, but did not set the flag // so some of the code still acted as if daemonize was in effect new_global_options.option.foreground=1; #endif However, it looks like I missed a line of code or the sources have changed since 2011. :-) The current code for forground = yes does: options.c:969 if(!strcasecmp(arg, "yes")) { new_global_options.option.foreground=1; new_global_options.option.log_stderr=1; } else if(!strcasecmp(arg, "quiet")) { so the patch needs to be updated to include: new_global_options.option.log_stderr=1; Paul, can you do this for us for the next build? There's not rush Massimo, the evidence implies you have an out of sync DLL. Are you fully updated according to ANPM or yum or whatever you use? Steven -- ---------------------------------------------------------------------- "Steven Levine" Warp/DIY/BlueLion etc. www.scoug.com www.arcanoae.com www.warpcave.com ----------------------------------------------------------------------