🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: yamn-0.2.5 testing

#318301
From: Stefan Claas
Date: Sat, 29 Jan 2022 18:30
110 lines
7396 bytes
Zax <admin@mixmin.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> Hi,
> I've been doing some work on the config/flag handling in yamn.  Since it
> was released there have been credible moves to standardise config file
> formats. I've consequently decided to convert it to use a YAML format
> config file.  Some key points to note:-
> * v0.2.5 is not compatible with the config file from older versions.  It
>   needs to be re-coded into YAML format.
> * Running "yamn --debug" will print the configuration in YAML format.
>   If no config file is found (see below) the defaults will be output.
> * yamn config is now a Go package with unit tests.  This has no impact
>   on usage but helps with development and debugging.
> Config file location
> - --------------------
> yamn will try quite hard to find a configuration file.  In order of
> precedence (highest first):-
> * If the --config flag points to a file that exists, it will be used.
> * If the YAMNCFG environment variable points to an existing file, use
>   that file.
> * If there is a yamn.yml in the current directory, use it.
> * If the --dir flag was specified, look for a yamn.yml in the directory
>   specified.
> * If a yamn.yml file exists in the user's homedir, use it.
> * Lastly, use /etc/yamn.yml if it exists.
> * If all attempts fail, issue a warning and go with defaults
> The output from "yaml --debug" will include:-
> files:
>   config: <path-to-config>
> This will indicate what config file will be read.  Consider that it
> might vary depending on what directory you run it from (if there is a
> yamn.yml in the current directory).
> Testing
> - -------
> If you'd like to test the new version, please switch to a branch called
> "config" on Github and compile from there.  I'll merge this into the
> master branch once I'm confident it hasn't broken anything.  My remailer
> "yamn4" is currently running it.
> remailer-wallet
> - ---------------
> I've seen the proposal to get yamn to respond to a remailer-wallet
> request.  It's not included in this branch but, once it's been merged,
> I'm happy to add that functionality.
> Thanks and enjoy!

Hi Steve,

I tested yamn-config client today under Windows 10 and here is my
info for that, so that people can also try a binary if they like.

https://gateway.pinata.cloud/ipfs/QmUeeFs88Vm8R2kPKRt3MnrwTbJFD37FKe8JDgRAW5hnEz

26cb67a0921c954671bc262c73f2420919ee6c6bc0cde60abaeae1c52d97d5f6  yamn-config-darwin-amd64
8fec744d65304b3c98f7201c932ef09331577fab690d2905674bd1eaceac15fc  yamn-config-dragonfly-amd64
695f6231aa15a245706acfe90c7d009d695d04201b06ceb9a8eca5955e9792d1  yamn-config-freebsd-amd64
ee1e7f8a55d1d8a42643d6150f64715d8a7a5a0d84150e6d483044c3489f89a9  yamn-config-freebsd-arm5
60f51806749552552d06f58accc4b08aa341cdd241c9515f60ead22ac6b79ae0  yamn-config-freebsd-arm6
90a42beb6e499aaef1a8edd2c954a714c770b4843e3b7e79c6574c8ae774b93d  yamn-config-freebsd-arm7
898e00649e2bf5e058c7e9ade226e6656ef707b8173a564a58c95c0ab99830ca  yamn-config-linux-386
5e2a2b56b1dfc44ab507e5879ff711db57d16bc30cbe3827602681380fdf7e00  yamn-config-linux-amd64
afbd766fc9ca5992869814db5ff3145e83ff26bc0d63e6bcf4d303de40817b27  yamn-config-linux-arm5
b0ab1920750bff905b648e9958c3c057deec8b83d84d02586c9d481813532d0e  yamn-config-linux-arm6
d17ab0104c495c1f3b5d7238de95864f43670c2c9082448e3a9c604876597538  yamn-config-linux-arm64
d12de5d8ae9c60f7b65c2b376c389fda69bee6da428364ed061fa31df6f88f45  yamn-config-linux-arm7
bddb67a5caa48e0c16c2026b164bc6f5b07094ba7c24bfe098e15991ae6a9b13  yamn-config-linux-mips64
a623bfbd25b75f4c11e26bedb417a947dc0a3fb882475dbb69db46d87eb40d39  yamn-config-linux-mips64le
fa165e8a9891871fb0dd9bcce3f4713de7ecba865752d3ff04cec4c67ff1c156  yamn-config-linux-ppc64
b5bf6b0847994b2e21d2820cafbca2aa0fa728c9803ffcea75e36e3b57139dce  yamn-config-linux-ppc64le
dca5fc3ec9b55186f1820f4a650f86280e9b51c4931438dd6765aacd2fd86fcb  yamn-config-netbsd-amd64
089b492e027c85b776256d75ee6f852ebbed6b4890b0d227b02196f15370ee89  yamn-config-netbsd-arm5
7459f7497669f05c0180e7e47f3bb3943dd630488e97274b71b9c19c4032dd6e  yamn-config-netbsd-arm6
76996557295acef0446fdfbeb142839124f9dff0a974d08cd8394fd0e97883f9  yamn-config-netbsd-arm7
a3e227f5577fb549a704642bbfd714756d37579cab0d1857515c31c63f7bdd68  yamn-config-openbsd-amd64
4531050d5b0567464046dbf0d9aea36063abef313701bd03ea29f698fb51ab3e  yamn-config-plan9-386
edc524fba8a9d4e9ac0dfd6d775002f9cec76deae78a5f983cda4ce78f4fb506  yamn-config-plan9-amd64
5550dfefdab8759ce493611d67c72aabebc64dae71d544613ea2c195af4f8f5d  yamn-config-solaris-amd64
7ee56f72bd919749f230321648b2431e37a8861889307678ff618e2577a01889  yamn-config-windows-386.exe
ac5cc8ae6384bd4a6e1f56b823aaaab29a2f2b0d3a340c4e74348aef68fb6f32  yamn-config-windows-amd64.exe

Here is the log file created with yamn-config:

Info: 2022/01/29 19:09:47 yamn.go:187: Using config file: C:\Users\xxxxxxxxxxxx\Desktop\yamn/yamn.yml
Info: 2022/01/29 19:09:47 chain.go:36: Stats updated and reimported
Info: 2022/01/29 19:09:47 client.go:172: Chain: yamn4@mixmin.net,yamn@mix2.remailer.xyz
Trace: 2022/01/29 19:09:47 client.go:228: Encrypting Final Hop: Hop=yamn@mix2.remailer.xyz, KeyID=f5228bfe7223a6bb92f653604445ba54
Trace: 2022/01/29 19:09:47 client.go:281: Encrypting: Hop=yamn4@mixmin.net, KeyID=12998ad8f6934b4b7587c5687f02329c
Trace: 2022/01/29 19:09:47 mail.go:231: Message recipients are: yamn4@mixmin.net
Trace: 2022/01/29 19:09:48 pool.go:179: Deleted m8907418de3f91c from Pool

(m2n dizum, News Group: alt.test.test, Subject: yamn-config test, (send the message twice due to wrong yamn config file extension))

And this is my yamn.yml client configuration in base64

Z2VuZXJhbDoKICAgIGxvZ2xldmVsOiB0cmFjZQogICAgbG9ndG9maWxlOiB0cnVlCmZpbGVzOgog
ICAgY29uZmlnOiBDOlxVc2Vyc1x4eHh4eHh4eHh4eHhcRGVza3RvcFx5YW1uL3lhbW4ueW1sCiAg
ICBwdWJyaW5nOiBwdWJyaW5nLm1peAogICAgbWxpc3QyOiBtbGlzdDIudHh0CiAgICBwb29sZGly
OiBwb29sCiAgICBsb2dmaWxlOiB5YW1uLmxvZwp1cmxzOgogICAgZmV0Y2g6IHRydWUKICAgIHB1
YnJpbmc6IGh0dHA6Ly93d3cubWl4bWluLm5ldC95YW1uL3B1YnJpbmcubWl4CiAgICBtbGlzdDI6
IGh0dHA6Ly93d3cubWl4bWluLm5ldC95YW1uL21saXN0Mi50eHQKbWFpbDoKICAgIHNlbmRtYWls
OiBmYWxzZQogICAgb3V0ZmlsZTogZmFsc2UKICAgIHVzZXRsczogdHJ1ZQogICAgc210cF9yZWxh
eTogZmxlZWdsZS5taXhtaW4ubmV0CiAgICBzbXRwX3BvcnQ6IDU4NwogICAgbXhfcmVsYXk6IGZh
bHNlCiAK

I will test yamn-config with Hal tomorrow.

Best Regards
Stefan

Technical Details
Message-ID: <st413i$g2$1@gioia.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!paganini.bofh.team!news.freedyn.de!aioe.org!DNi+fko7fOvnXQCyLm0H/g.user.46.165.242.91.POSTED!not-for-mail
References: <slrnsvaidj.e3v.admin@fleegle.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <st413i$g2$1@gioia.aioe.org>
Subject: Re: yamn-0.2.5 testing
Date: Sun, 30 Jan 2022 02:30:10 +0800
From: "Stefan Claas" <stefan@ctemplar.com>
References: <slrnsvaidj.e3v.admin@fleegle.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!paganini.bofh.team!news.freedyn.de!aioe.org!DNi+fko7fOvnXQCyLm0H/g.user.46.165.242.91.POSTED!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Aioe.org NNTP Server
Content-Type: text/plain; charset=UTF-8; format=flowed
Injection-Info: gioia.aioe.org; logging-data="514"; posting-host="DNi+fko7fOvnXQCyLm0H/g.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
X-HTTP-Posting-Host: 92.78.27.123
X-Newsreader: newsgroupstats.hk