🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Ping Stefan

#328759
From: inwtx
Date: Tue, 15 Apr 2025 09:57
123 lines
6315 bytes
>>>>> Please report any problems here in alt.privacy.anon-server.
>>>>> 
>>>>> https://github.com/inwtx/MiniMail-FE/blob/main/MiniMailer.zip
>>>> 
>>>> This is an observation, not a complaint.
>>>> 
>>>> Running MiniMail alone, no other Tor instances.
>>>> 
>>>> netstat -a | Find "90"
>>>>   TCP    127.0.0.1:9050         XXXXXX:0               LISTENING
>>>> 
>>>> I see Tor listening on the port at 9050 above when running
>>>> MiniMailer.  This is fine and as an added benefit, I can also proxy
>>>> through the port using any other applications I want, works good.
>>>> 
>>>> I also run OmniMix a lot.
>>>> 
>>>> netstat -a | Find "90"
>>>>   TCP    127.0.0.1:9054         XXXXXX:0               LISTENING
>>>>   TCP    127.0.0.1:9055         XXXXXX:0               LISTENING
>>>> 
>>>> Tor listens on 9054 and the management port is 9055.  Never any
>>>> problems with OmniMix, built like a rock.
>>>> 
>>>> The issue.
>>>> 
>>>> If I have OmniMix running first, all works fine including
>>>> MiniMailer.  Connections of all capable types still work via OmniMix
>>>> (News, Browser, Telnet, Mail etc.).  MiniMail can post and does so
>>>> consistently.  Multiple postings work fine.
>>>> 
>>>> When exiting MiniMail, it kills something in the OmniMix Tor runtime
>>>> where Tor no longer works.
>>>> 
>>>> Stopping and starting the Tor service in OmniMix cannot recover.
>>>> Starting and stopping the server services, then trying the Tor stop 
>>>> and start again does not work either.
>>>> 
>>>> OmniMix has to exit completely and be started again for Tor to work.
>>>> 
>>>> It's minor and just boils down to awareness.  I can work around it.
>>>> 
>>>> The app is working quite nicely so far.  Thank you!
>>> 
>>>   I have tried making a change to the shipped Omnimix Tor that worked
>>> as far as successfully sending a message to alt.test.test.  I don't
>>> have time this morning to further test it, but you can make the mod
>>> to Tor and see if it fixes the problem of running MiniMail-FE along
>>> with Omnimix.
>>> 
>>>   Open the ...\OMtor\data\torrc file and modify this line:
>>> SocksPort 127.0.0.1:9054 IsolateDestAddr IsolateDestPort
>>> to:
>>> SocksPort 127.0.0.1:9059 IsolateDestAddr IsolateDestPort
>>> 
>>> Please let me know if it fixed your Omnimix conflice.
>>> 
>>> Thanks
>> 
>> Tried it, no difference.  I've discovered however that my first 
>> observations and conclusions are flawed.
>> 
>> For each application, opening and closing them individually is clean,
>> no issues.  Each application opens an instance of tor.exe(32bit). 
>> When exiting the tor instance is closed as well.  
>> 
>> If OmniMix is running first, then MiniMail is executed, all seems to 
>> work fine for apps using Tor through either.  Exiting MiniMail is
>> where the issue comes in and it's not what I thought.
>> 
>> You can see both Tor listeners.
>> 
>> netstat -a | Find "90"
>>   TCP    127.0.0.1:9050         XXXXXX:0               LISTENING
>>   TCP    127.0.0.1:9054         XXXXXX:0               LISTENING
>>   TCP    127.0.0.1:9055         XXXXXX:0               LISTENING
>> 
>> OmniMix has some activity indicators for Services and Tor on the main
>> menu.  It also has a real time window for Tor activity where circuit
>> state, outgoing sock port numbers, other things of interest are
>> logged. 
>> 
>> When exiting MiniMail, OmniMix Tor appears to hang because the
>> activity indicators for it stop.  The Tor real time logging stops. I
>> had tried stopping and starting OmniMix Tor, assuming that the visual
>> indicators and logging would resume, and when they didn't, also
>> assumed Tor wasn't working on OmniMix.
>> 
>> This isn't the case.  Clicking the stop/start buttons does stop and 
>> start Tor, you just can't see it visually, but the applications using 
>> OmniMix Tor will resume working.  It's more of a cosmetic thing at 
>> this point.  
>> 
>> Next, we've exited MiniMail, but both listeners are still present.
>> 
>> netstat -a | Find "90"
>>   TCP    127.0.0.1:9050         XXXXXX:0               LISTENING
>>   TCP    127.0.0.1:9054         XXXXXX:0               LISTENING
>>   TCP    127.0.0.1:9055         XXXXXX:0               LISTENING
>> 
>> If you look in Task Manager, there are two instances of tor.exe(32bit)
>> running, each from the individual folder where they are installed.  
>> If we terminate the MiniMail tor.exe(32bit)instance, it doesn't change
>> OmniMix Tor or the activity/realtime status.  In one case the OmniMix 
>> tor.exe(32bit) also remained running.  Ending it and restarting 
>> OmniMix restored the activity/realtime functions.
>> 
>> Hopefully these observations help.
>
> Tried a few things afterwards, here's a workaround.
>
> If you run MiniMailer and OmniMix at the same time, and plan to continue 
> to run OmniMix after closing MiniMailer, do this.  Prior to exiting 
> MiniMailer, click the "Stop Tor" button on OmniMix.  When MiniMailer 
> has closed, click the "Start Tor" button and the activity 
> indicators/realtime status logging will work fine on OmniMix.

  It looks like that when MiniMailer closes the OmniMix Tor, OmniMix
goes crazy.  I may be closing the OmniMix Tor instead of the one I
started.  I'll see if I can isolate the one I have started and stop it.
I will be a while before I can test this.

Thanks for getting back.  This does show me what the problem it.
Technical Details
Message-ID: <f8b414b296.1744711024@hwihc.lz>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder3.eternal-september.org!news.tcpreset.net!onion!mail2news
References: <4cf64b17ddf0dad321b703cc9dd32be153bd755d@i2pn2.org>

Show Full Headers
Complete Article Headers
Message-ID: <f8b414b296.1744711024@hwihc.lz>
Subject: Re: Ping Stefan
Date: Tue, 15 Apr 2025 09:57:06 +0000
From: inwtx
References: <4cf64b17ddf0dad321b703cc9dd32be153bd755d@i2pn2.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder3.eternal-september.org!news.tcpreset.net!onion!mail2news
Newsgroups: alt.privacy.anon-server
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
User-Agent: Mini Mailer v0.1.1
X-Hashcash: 1:26:250415095702:mail2news::AA6MQPEaZvrt2euF:01YqZm