🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #211328

Re: StartTLS with Mercury/32

#211328
From: Runaway Remailer Admin
Date: Fri, 13 Oct 2006 18:49
87 lines
4425 bytes
"madmax" <anon@comments.header> schrieb im Newsbeitrag 
news:X4OUV4MJ39003.5725231481@twistycreek.com...
> On Fri, 13 Oct 2006, "Runaway Remailer Admin" <anonymous@nym.alias.net>
> wrote:
>
>>>
>>> Do you know what happens when a running instance of Mercury no longer 
>>> does
>>> TLS? Does it no longer offer TLS, or does it offer TLS but fail to
>>> negotiate it correctly?
>>
>>As far as I could see looking at the Mercury SMTP Server it still offers
>>STARTTLS but it falis to negotiate it correctly. I can see how it offers 
>>on
>>my main MX and fails to negotiate and then the connection switches to my
>>backup MX. So, after a while running with STARTTLS mode it offers, but 
>>falis
>>to connect on the main MX, switches therefore the connection to the backup
>>MX without STARTTLS. That's how it looks like when I am looking at the
>>Mercury SMTP Server scrolling window. Hope this helps.
>>
>>Runaway Admin
>>
>
> Thanks, Runaway. That means I'd need a different scheme to detect TLS
> failure. You can see in my code that I presently issue the STARTTLS
> command, then check the first character of the server reply string, 
> looking
> for a "5".
>
> I suppose I'll have to go back to my original notion of using OpenSSL, as
> in stunnel, to check for TLS failure. That's for next week.
>
> Were you able to compile and run the code? Java has to create the Mercury
> subprocess in order for Java to be able to kill the Mercury subprocess.
> What I did was simply to use my code to start Mercury, then use Mercury's
> own smtp config dialog to turn off SSL., I then could observe that the 
> Java
> program behaved correctly (stopping Mercury then starting a new Mercury).
>
> Can you give me an idea of what degree of use causes Mercury to stop doing
> TLS? Is it a hundred msgs, a thousand, a mere dozen? I supose it's
> difficult for you to know, because you wouldn't ordinarily know on which
> port incoming msgs arrive.
>

I tried compiling but I got the following error messages:

C:\Programme\Java\jdk1.5.0_09\bin>javac MadMonitor.java
MadMonitor.java:27: unclosed string literal
            System.err.println("Usage: java Madmonitor executable port
                               ^
MadMonitor.java:28: unclosed string literal
interval_seconds");
                ^
MadMonitor.java:29: unclosed string literal
            System.err.println("e.g.: java Madmonitor
                               ^
MadMonitor.java:30: illegal character: \92
c:\\mercury\\mercury.exe 25 30");
  ^
MadMonitor.java:30: illegal character: \92
c:\\mercury\\mercury.exe 25 30");
   ^
MadMonitor.java:30: illegal character: \92
c:\\mercury\\mercury.exe 25 30");
           ^
MadMonitor.java:30: illegal character: \92
c:\\mercury\\mercury.exe 25 30");
            ^
MadMonitor.java:30: unclosed string literal
c:\\mercury\\mercury.exe 25 30");
                              ^
MadMonitor.java:31: ')' expected
        } else {
        ^
9 errors

C:\Programme\Java\jdk1.5.0_09\bin>

Usually Mercury accepts about 30 messages with STARTTLS and then stops 
connecting via TLS.

Runaway Admin 

Technical Details
Message-ID: <egon32$api$1@bananasplit.info>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed.x-privat.org!news.bananasplit.info!not-for-mail
References: <eg291q$uq6$1@bananasplit.info> <B9218YR538996.0247453704@twistycreeQ <M6M4Z55Z39001.7462268519@twistycreek.com> <DQ0AI6PN39001.7919560185@twistycreek.com> <F52MKNUB39002.9877430556@anonymous.poster> <egn7p6$os0$1@bananasplit.info> <X4OUV4MJ39003.5725231481@twistycreek.com>

Show Full Headers
Complete Article Headers
Message-ID: <egon32$api$1@bananasplit.info>
Subject: Re: StartTLS with Mercury/32
Date: Fri, 13 Oct 2006 20:49:02 +0200
From: "Runaway Remailer Admin" <anonymous@nym.alias.net>
References: <eg291q$uq6$1@bananasplit.info> <B9218YR538996.0247453704@twistycreeQ <M6M4Z55Z39001.7462268519@twistycreek.com> <DQ0AI6PN39001.7919560185@twistycreek.com> <F52MKNUB39002.9877430556@anonymous.poster> <egn7p6$os0$1@bananasplit.info> <X4OUV4MJ39003.5725231481@twistycreek.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed.x-privat.org!news.bananasplit.info!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Bananasplit
Lines: 87
X-Complaints-To: abuse@bananasplit.info
NNTP-Posting-Date: Fri, 13 Oct 2006 18:49:06 +0000 (UTC)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Original
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MSMail-Priority: Normal