Article View: alt.privacy.anon-server
Article #305003Re: Ping - Zax YAMN question
From: inwtx
Date: Sat, 18 May 2019 14:34
Date: Sat, 18 May 2019 14:34
33 lines
2531 bytes
2531 bytes
>
> On 5/18/19 10:06 AM, inwtx wrote:
>
>>>
>>>>
>>>> There is something being performed that is not compatible with YAMNclient. If a parameter is
>>>> incorrect in the yamn.cfg file, yamn then automatically reverts to 'Using internal, default config.'.
>>>> This has caused problems on some occasions, not knowing that there was a problem in the .cfg, as > well as sometimes not catching that there was a problem and yamn thereby using the wrong cfg parameters. I
>>>> think it would be better if yamn posted an error to sysout that there is an error in the yamn.cfg > file so it can be fixed. YAMNclient needs to always use the cfg file that is within its folder.
>>>
>>> What are the dangers in using the default config?
>>
>> Since I rarely get a response to my inquiries, I went ahead and made a modification to the yamn.exe. It now will throw an error message into the main window and exit, thereby never using the default internal config.
>
> The issue you are addressing, re: the fallback to the default config,
> caused me a lot of frustration while I was setting up the Yamn pinger.
> At the time the Mixmin Yamn Pinger did not carry all 8 yamn remailers
> and so reliance on that pinger would cause Echolot to always show 0%
> uptime for the one unlisted remailer.
>
> I'm pleased that you made the fix. Are the changes to yamn.exe avaiable
> for viewing in your Github repository?
The change to yamn I made are not on my git. Git still confuses me and I don't know how to make the green and red mods yet. Here is what I did to the yamn git code:
In config.go, delimitered statement 324:
// fmt.Println("Using internal, default config.")
and inserted these statements after 324:
fmt.Println("Mis-configured header or parameter in yamn.cfg. Fix and resend.")
os.Exit(1)
Technical Details
Message-ID:
<qbp55u$2op$1@news.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mailReferences:
<swUDE.53061$j65.30624@fx44.iad>Show Full Headers
Complete Article Headers
Message-ID: <qbp55u$2op$1@news.mixmin.net> Subject: Re: Ping - Zax YAMN question Date: Sat, 18 May 2019 09:34:37 -0500 From: "inwtx" <noreply@inwtx.net> References: <swUDE.53061$j65.30624@fx44.iad> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail Newsgroups: alt.privacy.anon-server Organization: Mixmin Injection-Date: Sat, 18 May 2019 14:34:39 -0000 (UTC) Injection-Info: news.mixmin.net; posting-host="232c1922fb2c2d9388c820a9a332e3e2b33feb1c"; Lines: 33