Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Got Mole problems? Call Avogadro at 6.02 x 10^23.


computers / Rocksolid Nodes Help / Re: Remote peering configuration problems

SubjectAuthor
* Remote peering configuration problemsvga256
`* Remote peering configuration problemsRetro Guy
 `* Remote peering configuration problemsvga256
  `* Remote peering configuration problemsRetro Guy
   `* Remote peering configuration problemsvga256
    `* Remote peering configuration problemsvga256
     `* Remote peering configuration problemsvga256
      `* Remote peering configuration problemsRetro Guy
       `* Remote peering configuration problemsvga256
        `* Remote peering configuration problemsRetro Guy
         +- Remote peering configuration problemsRetro Guy
         `* Remote peering configuration problemsvga256
          `* Remote peering configuration problemsRetro Guy
           `* Remote peering configuration problemsvga256
            `* Remote peering configuration problemsvga256
             `* Remote peering configuration problemsRetro Guy
              `* Remote peering configuration problemsvga256
               `* Remote peering configuration problemsvga256
                +* Remote peering configuration problemsvga256
                |+* Remote peering configuration problemsvga256
                ||`* Remote peering configuration problemsRetro Guy
                || `* Remote peering configuration problemsvga256
                ||  `* Remote peering configuration problemsvga256
                ||   `* Remote peering configuration problemsvga256
                ||    `* Remote peering configuration problemsRetro Guy
                ||     `* Remote peering configuration problemsRetro Guy
                ||      `* Remote peering configuration problemsRetro Guy
                ||       `* Remote peering configuration problemsvga256
                ||        `* Remote peering configuration problemsRetro Guy
                ||         `* Remote peering configuration problemsvga256
                ||          +* Remote peering configuration problemsvga256
                ||          |`- Remote peering configuration problemsRetro Guy
                ||          +* Remote peering configuration problemsRetro Guy
                ||          |`* Remote peering configuration problemsvga256
                ||          | `* Remote peering configuration problemsRetro Guy
                ||          |  `* Remote peering configuration problemsRetro Guy
                ||          |   `- Remote peering configuration problemsvga256
                ||          `* Remote peering configuration problemsRetro Guy
                ||           `* Remote peering configuration problemsvga256
                ||            `* Remote peering configuration problemsRetro Guy
                ||             `* Remote peering configuration problemsvga256
                ||              +* Remote peering configuration problemsRetro Guy
                ||              |`* Remote peering configuration problemsvga256
                ||              | `* Remote peering configuration problemsRetro Guy
                ||              |  `* Remote peering configuration problemsvga256
                ||              |   `* Remote peering configuration problemsRetro Guy
                ||              |    `* Remote peering configuration problemsRetro Guy
                ||              |     `* Remote peering configuration problemsvga256
                ||              |      `* Remote peering configuration problemsRetro Guy
                ||              |       `* Remote peering configuration problemsvga256
                ||              |        +* Remote peering configuration problemsvga256
                ||              |        |`* Remote peering configuration problemsvga256
                ||              |        | `* Remote peering configuration problemsRetro Guy
                ||              |        |  `- Remote peering configuration problemsRetro Guy
                ||              |        `* Remote peering configuration problemsRetro Guy
                ||              |         `* Remote peering configuration problemsvga256
                ||              |          `* Remote peering configuration problemsvga256
                ||              |           `* Remote peering configuration problemsvga256
                ||              |            `* Remote peering configuration problemsvga256
                ||              |             `* Remote peering configuration problemsRetro Guy
                ||              |              `* Remote peering configuration problemsvga256
                ||              |               `* Remote peering configuration problemsRetro Guy
                ||              |                `* Remote peering configuration problemsRetro Guy
                ||              |                 `* Remote peering configuration problemsvga256
                ||              |                  `* Remote peering configuration problemsvga256
                ||              |                   `* Remote peering configuration problemsRetro Guy
                ||              |                    `- Remote peering configuration problemsRetro Guy
                ||              `- GnuPG / OpenSSL / OnionCat / SoCat / NNCP / NACL / LibSodiumSyber Shock
                |`- Remote peering configuration problemsRetro Guy
                `* Remote peering configuration problemsRetro Guy
                 +- Remote peering configuration problemsRetro Guy
                 `- Remote peering configuration problemsvga256

Pages:123
Re: Remote peering configuration problems

<6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=584&group=rocksolid.nodes.help#584

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Thu, 10 Aug 2023 22:08:27 +0000
Organization: RetroBBS
Message-ID: <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <7397cc5e4741de10910d37ce243bf3e0@rocksolidbbs.com> <79e881c0a2ceb77bca9a54e6d377f75b@rocksolidbbs.com> <1d3c3694bdcb169ca995466435338b01@rocksolidbbs.com> <4296fbe04b103f4d1fbaebe280a31129@news.novabbs.org> <3e715c591f553c20f6a3ee544c5e9842@rocksolidbbs.com> <735a1a1a786c31f21b017cf0728c427a@news.novabbs.org> <25d4dc8347cc259922104f637450cacb@rocksolidbbs.com> <0ace26fd6cbf0e05dd62080aa00c07f1@news.novabbs.org> <5235314e450da370801c8028151a99e6@rocksolidbbs.com> <fd73572639632394c9431d7d068934ab@news.novabbs.org> <20dad994a4ae4af71c0d683471481aa0@news.novabbs.org> <0fda50e5e15f18278c00453d4f1ffc27@news.novabbs.org> <6f6d42b6b55982a8b91adce7327958aa@rocksolidbbs.com> <e8053a8c210fc3f09d417e12ab2cdcf8@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2065695"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Rslight-Site: $2y$10$LKEwaKZVEDac259oxUG3T.pf2sowNRQ74l413Azj2KoZD2NZ.brh6
 by: Retro Guy - Thu, 10 Aug 2023 22:08 UTC

bbs.tomo.city is not producing a correct hash (used for Message-ID and Notice-ID.

In interBBS_mail.php, here:

$hashtail = hash('crc32', $domain.$organization.$from.$rslight_gpg['nntp_group']);
$thishash = hash('crc32', $body.$diff_days->format("%a").$hashtail).hash('crc32', $signing_key);

it looks like 'hash('crc32', $signing_key)' is not producing a hash, which would indicate that $signing_key may not be set.

Just thought I'd point that out in case there is some issue.

tomo.dialup.cafe is fine.

--
Retro Guy

GnuPG / OpenSSL / OnionCat / SoCat / NNCP / NACL / LibSodium

<008850120e57f46fda33f6411fbdee33$1@sybershock.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=585&group=rocksolid.nodes.help#585

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!rocksolid2!.POSTED!not-for-mail
From: admin@sybershock.com (Syber Shock)
Newsgroups: rocksolid.nodes.help
Subject: GnuPG / OpenSSL / OnionCat / SoCat / NNCP / NACL / LibSodium
Date: Thu, 10 Aug 2023 17:53:33 -0500
Organization: sybershock.com
Message-ID: <008850120e57f46fda33f6411fbdee33$1@sybershock.com>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org>
<e543199aa039df9a67ec66f7b6fc2ca1@news.novabbs.org>
<2ed73b7d47cee638cf788a8ee7a1da03@news.novabbs.org>
<d1be274babad77a25aa3f276538b46fb@rocksolidbbs.com>
<fcd192881e5fedcdbe0a858631b7fa7a@news.novabbs.org>
<0d837116854c6d76cf12af730dc1c33c@news.novabbs.org>
<6e1e276919fc0eec7db5ba6a74832ce7@news.novabbs.org>
<7397cc5e4741de10910d37ce243bf3e0@rocksolidbbs.com>
<79e881c0a2ceb77bca9a54e6d377f75b@rocksolidbbs.com>
<1d3c3694bdcb169ca995466435338b01@rocksolidbbs.com>
<4296fbe04b103f4d1fbaebe280a31129@news.novabbs.org>
<3e715c591f553c20f6a3ee544c5e9842@rocksolidbbs.com>
<735a1a1a786c31f21b017cf0728c427a@news.novabbs.org>
<25d4dc8347cc259922104f637450cacb@rocksolidbbs.com>
<0ace26fd6cbf0e05dd62080aa00c07f1@news.novabbs.org>
<5235314e450da370801c8028151a99e6@rocksolidbbs.com>
<fd73572639632394c9431d7d068934ab@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: novabbs.org;
logging-data="60349"; mail-complaints-to="usenet@novabbs.org";
posting-account="TzG3Hl99Aa0Fgb506WreKRgRTO2mG9+aGjVDifyfNqo";
 by: Syber Shock - Thu, 10 Aug 2023 22:53 UTC

<snip>

If GPG is buggy or opaque for debugging, you might find solace in
knowing that OpenSSL can replicate much of the GPG functionality:

- generate keys
- verify keys
- sign
- encrypt
- hash
- symmetric cipher
- SSL certificates

You can even duct tape and rubber band your own cert authority for
peers who trust each other instead of using hockeypuck servers.

And conveniently, OpenSSL has a built-in client and server:

- openssl s_client
- openssl s_server

If you need forked simultaneous connections, 'socat' will handle that:

$ apt show socat
Package: socat
......
Description: multipurpose relay for bidirectional data transfer
Socat (for SOcket CAT) establishes two bidirectional byte streams
and transfers data between them. Data channels may be files, pipes,
devices (terminal or modem, etc.), or sockets (Unix, IPv4, IPv6, raw,
UDP, TCP, SSL). It provides forking, logging and tracing, different
modes for interprocess communication and many more options.

It can be used, for example, as a TCP relay (one-shot or daemon),
as an external socksifier, as a shell interface to Unix sockets,
as an IPv6 relay, as a netcat and rinetd replacement, to redirect
TCP-oriented programs to a serial line, or to establish a relatively
secure environment (su and chroot) for running client or server shell
scripts inside network connections. Socat supports sctp as of 1.7.0.

If you need secure, anonymous VPN functionality then 'onioncat' will do
that over both Tor and I2P hidden services.

I think I already mentioned NNCP which also can use Tor.

'nacl-tools' allows scripting against the NACL library:

"NaCl (pronounced "salt") is a new easy-to-use high-speed software
library for network communication, encryption, decryption, signatures,
etc. NaCl's goal is to provide all of the core operations needed to
build higher-level cryptographic tools. Tools include basic programs to
deploy CurveCP message-handling."

'libsodium23' provides scriptable access to the NACL library:

"NaCl (pronounced "salt") is a new easy-to-use high-speed software
library for network communication, encryption, decryption, signatures,
etc.

NaCl's goal is to provide all of the core operations needed to build
higher-level cryptographic tools. Sodium is a portable,
cross-compilable, installable, packageable fork of NaCl, with a
compatible API."

There are so many ways to skin a cat that nine lives are too few.

--
SugarBug | https://sybershock.com

Re: Remote peering configuration problems

<a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=586&group=rocksolid.nodes.help#586

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Fri, 11 Aug 2023 00:14:06 +0000
Organization: Rocksolid Light
Message-ID: <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <7397cc5e4741de10910d37ce243bf3e0@rocksolidbbs.com> <79e881c0a2ceb77bca9a54e6d377f75b@rocksolidbbs.com> <1d3c3694bdcb169ca995466435338b01@rocksolidbbs.com> <4296fbe04b103f4d1fbaebe280a31129@news.novabbs.org> <3e715c591f553c20f6a3ee544c5e9842@rocksolidbbs.com> <735a1a1a786c31f21b017cf0728c427a@news.novabbs.org> <25d4dc8347cc259922104f637450cacb@rocksolidbbs.com> <0ace26fd6cbf0e05dd62080aa00c07f1@news.novabbs.org> <5235314e450da370801c8028151a99e6@rocksolidbbs.com> <fd73572639632394c9431d7d068934ab@news.novabbs.org> <20dad994a4ae4af71c0d683471481aa0@news.novabbs.org> <0fda50e5e15f18278c00453d4f1ffc27@news.novabbs.org> <6f6d42b6b55982a8b91adce7327958aa@rocksolidbbs.com> <e8053a8c210fc3f09d417e12ab2cdcf8@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com> <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2074147"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Site: $2y$10$qFRPwBi9MVNuQqs0aoexyOOBFgEhGiNaZUV8BVL8l9VRZ5rg7nHyK
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
 by: vga256 - Fri, 11 Aug 2023 00:14 UTC

> bbs.tomo.city is not producing a correct hash (used for Message-ID and Notice-ID.

holy crap. how on earth did you figure that out? i had no idea it was producing an incorrect hash, and i would have *never* figured it out.

it turns out $keydir was being set to null due to me forgetting to add a global (I use global $pubkey_dir instead of a hardcoded path for keydir).

--
Posted on Rocksolid Light

Re: Remote peering configuration problems

<be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=587&group=rocksolid.nodes.help#587

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Fri, 11 Aug 2023 00:33:13 +0000
Organization: RetroBBS
Message-ID: <be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <1d3c3694bdcb169ca995466435338b01@rocksolidbbs.com> <4296fbe04b103f4d1fbaebe280a31129@news.novabbs.org> <3e715c591f553c20f6a3ee544c5e9842@rocksolidbbs.com> <735a1a1a786c31f21b017cf0728c427a@news.novabbs.org> <25d4dc8347cc259922104f637450cacb@rocksolidbbs.com> <0ace26fd6cbf0e05dd62080aa00c07f1@news.novabbs.org> <5235314e450da370801c8028151a99e6@rocksolidbbs.com> <fd73572639632394c9431d7d068934ab@news.novabbs.org> <20dad994a4ae4af71c0d683471481aa0@news.novabbs.org> <0fda50e5e15f18278c00453d4f1ffc27@news.novabbs.org> <6f6d42b6b55982a8b91adce7327958aa@rocksolidbbs.com> <e8053a8c210fc3f09d417e12ab2cdcf8@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com> <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com> <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2075426"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Rslight-Site: $2y$10$y9RwCoXqWWKpfjFs1/oUgOEaUtfJYQ8pi4B4MBQcK3jUHUp9qzUMq
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
 by: Retro Guy - Fri, 11 Aug 2023 00:33 UTC

vga256 wrote:

>> bbs.tomo.city is not producing a correct hash (used for Message-ID and Notice-ID.

> holy crap. how on earth did you figure that out? i had no idea it was producing an incorrect hash, and i would have *never* figured it out.

Lol. It's the eight zeros at the end of the 'notice' that gave it away. Then figuring why that happened was pretty easy only because I wrote the code that generates it :)

> it turns out $keydir was being set to null due to me forgetting to add a global (I use global $pubkey_dir instead of a hardcoded path for keydir).

Glad that's working. You MAILKEY notices wouldn't offer a key fingerprint with that not working properly.

--
Retro Guy

Re: Remote peering configuration problems

<2ca0ff741415e57b2f9cabb1c6556106@news.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=588&group=rocksolid.nodes.help#588

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Fri, 11 Aug 2023 20:39:00 +0000
Organization: Rocksolid Light
Message-ID: <2ca0ff741415e57b2f9cabb1c6556106@news.novabbs.org>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <1d3c3694bdcb169ca995466435338b01@rocksolidbbs.com> <4296fbe04b103f4d1fbaebe280a31129@news.novabbs.org> <3e715c591f553c20f6a3ee544c5e9842@rocksolidbbs.com> <735a1a1a786c31f21b017cf0728c427a@news.novabbs.org> <25d4dc8347cc259922104f637450cacb@rocksolidbbs.com> <0ace26fd6cbf0e05dd62080aa00c07f1@news.novabbs.org> <5235314e450da370801c8028151a99e6@rocksolidbbs.com> <fd73572639632394c9431d7d068934ab@news.novabbs.org> <20dad994a4ae4af71c0d683471481aa0@news.novabbs.org> <0fda50e5e15f18278c00453d4f1ffc27@news.novabbs.org> <6f6d42b6b55982a8b91adce7327958aa@rocksolidbbs.com> <e8053a8c210fc3f09d417e12ab2cdcf8@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com> <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com> <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org> <be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2169692"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
X-Spam-Level: *
X-Rslight-Site: $2y$10$f/2D7y41NVeEtuJIxLaL.uqCVS.w5v2EptAcZAXvydOpeGHrgWLNG
 by: vga256 - Fri, 11 Aug 2023 20:39 UTC

Spent some more time trying to pin down why mail is showing up in the shared.test group, but is not showing up in user mailboxes...

Replicating odd behaviour here -

Machine 1 (originating):
1. write private message to sysop@bbs.tomo.city (machine 2 - receiving)
2. Run cron to spool the message.
3. Output of spoolnews during the bbsmail copy phase:

Retrieving articles for: tomonet.shared.test...
copying /Users/tomo/tomobbs/www/common/../../spoolnews/articles/tomonet/shared/test/27 to /Users/tomo/tomobbs/www/common/../../spoolnews/bbsmail/in/bbsmail-BBSMAIL notice 940ebbbddedbdfc0
Retrieved: tomonet.shared.test 27<!--openmodus: a-->

4. Check Machine 1 (originating), /spoolnews/bbsmail/in, and there is a file named: bbsmail-BBSMAIL notice 940ebbbddedbdfc0

5. Run cron again, just to see what happens next.

6. Check Machine 1 (originating), /spoolnews/log/mail.log:
Found BBSMAIL message bbsmail-BBSMAIL notice 940ebbbddedbdfc0
Aug 11 20:35:40 spoolnews BAD signature in: "bbsmail-BBSMAIL notice 940ebbbddedbdfc0" decrypt-verify failed: No secret key
Aug 11 20:35:40 spoolnews Let's try to get the key
Aug 11 20:35:40 spoolnews Domain: tomo.dialup.cafe
Aug 11 20:35:40 spoolnews Location: tomo.dialup.cafe/pubkey/server_pubkey.txt
Aug 11 20:35:40 spoolnews IMPORTED: B1849EE67428B6C4C1BC45652E1C769900587C92
Aug 11 20:35:40 spoolnews Domain Match: tomo.dialup.cafe
Aug 11 20:35:40 spoolnews New PGP Key added for: tomo.dialup.cafe Domain: tomo.dialup.cafe

It strikes me as odd that Machine 1 would (a) be putting its *outgoing* mail into its own bbsmail/in/ box. Even weirder that it tries decrypting its own mail, then fails. Is this intended behaviour?

--
Posted on Rocksolid Light

Re: Remote peering configuration problems

<d565038d10e8b7755e253eeb89ce012c@news.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=589&group=rocksolid.nodes.help#589

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Fri, 11 Aug 2023 21:04:32 +0000
Organization: Rocksolid Light
Message-ID: <d565038d10e8b7755e253eeb89ce012c@news.novabbs.org>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <3e715c591f553c20f6a3ee544c5e9842@rocksolidbbs.com> <735a1a1a786c31f21b017cf0728c427a@news.novabbs.org> <25d4dc8347cc259922104f637450cacb@rocksolidbbs.com> <0ace26fd6cbf0e05dd62080aa00c07f1@news.novabbs.org> <5235314e450da370801c8028151a99e6@rocksolidbbs.com> <fd73572639632394c9431d7d068934ab@news.novabbs.org> <20dad994a4ae4af71c0d683471481aa0@news.novabbs.org> <0fda50e5e15f18278c00453d4f1ffc27@news.novabbs.org> <6f6d42b6b55982a8b91adce7327958aa@rocksolidbbs.com> <e8053a8c210fc3f09d417e12ab2cdcf8@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com> <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com> <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org> <be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com> <2ca0ff741415e57b2f9cabb1c6556106@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2171429"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
X-Rslight-Site: $2y$10$oF4qRPyJdd9Z69MxNPMtfOR26/W7j0uBZJr1DbLvGBjYsIw9uVRAy
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
 by: vga256 - Fri, 11 Aug 2023 21:04 UTC

(fwiw, I am running the most recent commits of the RSL-messaging branch)

--
Posted on Rocksolid Light

Re: Remote peering configuration problems

<027a21892e4b7582bdfdfaf19a5f0447@news.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=590&group=rocksolid.nodes.help#590

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Fri, 11 Aug 2023 21:19:18 +0000
Organization: Rocksolid Light
Message-ID: <027a21892e4b7582bdfdfaf19a5f0447@news.novabbs.org>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <3e715c591f553c20f6a3ee544c5e9842@rocksolidbbs.com> <735a1a1a786c31f21b017cf0728c427a@news.novabbs.org> <25d4dc8347cc259922104f637450cacb@rocksolidbbs.com> <0ace26fd6cbf0e05dd62080aa00c07f1@news.novabbs.org> <5235314e450da370801c8028151a99e6@rocksolidbbs.com> <fd73572639632394c9431d7d068934ab@news.novabbs.org> <20dad994a4ae4af71c0d683471481aa0@news.novabbs.org> <0fda50e5e15f18278c00453d4f1ffc27@news.novabbs.org> <6f6d42b6b55982a8b91adce7327958aa@rocksolidbbs.com> <e8053a8c210fc3f09d417e12ab2cdcf8@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com> <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com> <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org> <be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com> <2ca0ff741415e57b2f9cabb1c6556106@news.novabbs.org> <d565038d10e8b7755e253eeb89ce012c@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2172671"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Site: $2y$10$mgLg.rgWOw.omgVntsFAP.tV5T4VTvH7a3K84zxsaTnwZ1b6R2ZAy
 by: vga256 - Fri, 11 Aug 2023 21:19 UTC

Addendum to earlier report:

I also noticed that eventually (looks to be after the second run of cron), outgoing mail is being moved from originatingmachine/spoolnews/bbsmail/in/bbsmail-BBSMAIL noticeetcetc, to the /failed/ folder.

On the receiving machine, the post shows up in tomonet.shared.test as expected, but it does *not* get copied to receivingmachine/spoolnews/bbsmail/in

--
Posted on Rocksolid Light

Re: Remote peering configuration problems

<bb70f2e0d9c482a3a2c9cf9a26af67ce@rocksolidbbs.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=591&group=rocksolid.nodes.help#591

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Fri, 11 Aug 2023 21:33:15 +0000
Organization: RetroBBS
Message-ID: <bb70f2e0d9c482a3a2c9cf9a26af67ce@rocksolidbbs.com>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <25d4dc8347cc259922104f637450cacb@rocksolidbbs.com> <0ace26fd6cbf0e05dd62080aa00c07f1@news.novabbs.org> <5235314e450da370801c8028151a99e6@rocksolidbbs.com> <fd73572639632394c9431d7d068934ab@news.novabbs.org> <20dad994a4ae4af71c0d683471481aa0@news.novabbs.org> <0fda50e5e15f18278c00453d4f1ffc27@news.novabbs.org> <6f6d42b6b55982a8b91adce7327958aa@rocksolidbbs.com> <e8053a8c210fc3f09d417e12ab2cdcf8@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com> <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com> <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org> <be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com> <2ca0ff741415e57b2f9cabb1c6556106@news.novabbs.org> <d565038d10e8b7755e253eeb89ce012c@news.novabbs.org> <027a21892e4b7582bdfdfaf19a5f0447@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2173849"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Site: $2y$10$qeORXpUMQyXz4kU6y8Ns6.Z0tf5vsr98cjylO7Ekmq0xKdO12/8xS
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
 by: Retro Guy - Fri, 11 Aug 2023 21:33 UTC

vga256 wrote:

> Addendum to earlier report:

> I also noticed that eventually (looks to be after the second run of cron), outgoing mail is being moved from originatingmachine/spoolnews/bbsmail/in/bbsmail-BBSMAIL noticeetcetc, to the /failed/ folder.

Yes, it tries twice before moving to failed.

> On the receiving machine, the post shows up in tomonet.shared.test as expected, but it does *not* get copied to receivingmachine/spoolnews/bbsmail/in

Ok. That task is handled by spoolnews.php.

--
Retro Guy

Re: Remote peering configuration problems

<0bfe817afb5135f756843b23c8fc1ec4@rocksolidbbs.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=592&group=rocksolid.nodes.help#592

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Fri, 11 Aug 2023 21:31:54 +0000
Organization: RetroBBS
Message-ID: <0bfe817afb5135f756843b23c8fc1ec4@rocksolidbbs.com>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <3e715c591f553c20f6a3ee544c5e9842@rocksolidbbs.com> <735a1a1a786c31f21b017cf0728c427a@news.novabbs.org> <25d4dc8347cc259922104f637450cacb@rocksolidbbs.com> <0ace26fd6cbf0e05dd62080aa00c07f1@news.novabbs.org> <5235314e450da370801c8028151a99e6@rocksolidbbs.com> <fd73572639632394c9431d7d068934ab@news.novabbs.org> <20dad994a4ae4af71c0d683471481aa0@news.novabbs.org> <0fda50e5e15f18278c00453d4f1ffc27@news.novabbs.org> <6f6d42b6b55982a8b91adce7327958aa@rocksolidbbs.com> <e8053a8c210fc3f09d417e12ab2cdcf8@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com> <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com> <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org> <be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com> <2ca0ff741415e57b2f9cabb1c6556106@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2173849"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Rslight-Site: $2y$10$lB6kj8U6wKGkviSQwq3y9O3P4wcLXqTwdkBR2nqc9m27wBLKGj9a2
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
 by: Retro Guy - Fri, 11 Aug 2023 21:31 UTC

vga256 wrote:

> (fwiw, I am running the most recent commits of the RSL-messaging branch)

That's good. It has some more features to make it work closer to properly.

> Spent some more time trying to pin down why mail is showing up in the shared.test group, but is not showing up in user mailboxes...

> It strikes me as odd that Machine 1 would (a) be putting its *outgoing* mail into its own bbsmail/in/ box. Even weirder that it tries decrypting its own mail, then fails. Is this intended behaviour?

Here is how it is supposed to work:

Create a remote Mail message in mail.php.

mail.php checks that it's remote, then writes a copy to your outgoing message dir (default $spooldir/section/outgoing

The message should propagate when you send messages (via cron).

When a server receives the message, and it is in the proper group, it copies it to $spooldir/bbsmail/in

Right now, that also happens on the sending server. I'm not done checking whether an incoming Mail message is from ourself or not.

Then, interBBS_mail.php will see the messages in $spooldir/bbsmail/in and try to act on it.

I would check that the message ends up in $spooldir/bbsmail/in on the target server. If it does, then it's up to interBBS_mail.php to handle it from there.

Do you have any temporarily hardcoded keys or fingerprints? That could explain it failing to import on the originating server.

--
Retro Guy

Re: Remote peering configuration problems

<371a5ebf28ea993137e456b3b0cf4cd8@rocksolidbbs.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=593&group=rocksolid.nodes.help#593

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Fri, 11 Aug 2023 21:35:11 +0000
Organization: RetroBBS
Message-ID: <371a5ebf28ea993137e456b3b0cf4cd8@rocksolidbbs.com>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <25d4dc8347cc259922104f637450cacb@rocksolidbbs.com> <0ace26fd6cbf0e05dd62080aa00c07f1@news.novabbs.org> <5235314e450da370801c8028151a99e6@rocksolidbbs.com> <fd73572639632394c9431d7d068934ab@news.novabbs.org> <20dad994a4ae4af71c0d683471481aa0@news.novabbs.org> <0fda50e5e15f18278c00453d4f1ffc27@news.novabbs.org> <6f6d42b6b55982a8b91adce7327958aa@rocksolidbbs.com> <e8053a8c210fc3f09d417e12ab2cdcf8@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com> <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com> <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org> <be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com> <2ca0ff741415e57b2f9cabb1c6556106@news.novabbs.org> <d565038d10e8b7755e253eeb89ce012c@news.novabbs.org> <027a21892e4b7582bdfdfaf19a5f0447@news.novabbs.org> <bb70f2e0d9c482a3a2c9cf9a26af67ce@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2174335"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Site: $2y$10$q98.Nx1uoRdBeZJGPAySDu4dhj8cgp08zRR8D3PnXDGehk7sjB77i
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
 by: Retro Guy - Fri, 11 Aug 2023 21:35 UTC

Retro Guy wrote:

> vga256 wrote:

>> Addendum to earlier report:

>> I also noticed that eventually (looks to be after the second run of cron), outgoing mail is being moved from originatingmachine/spoolnews/bbsmail/in/bbsmail-BBSMAIL noticeetcetc, to the /failed/ folder.

> Yes, it tries twice before moving to failed.

>> On the receiving machine, the post shows up in tomonet.shared.test as expected, but it does *not* get copied to receivingmachine/spoolnews/bbsmail/in

> Ok. That task is handled by spoolnews.php.

Also, make sure the group name is correct in gpg.conf

--
Retro Guy

Re: Remote peering configuration problems

<14ad26eb8219ba3e4622c51f2e54b25e@news.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=594&group=rocksolid.nodes.help#594

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Sat, 12 Aug 2023 03:24:50 +0000
Organization: Rocksolid Light
Message-ID: <14ad26eb8219ba3e4622c51f2e54b25e@news.novabbs.org>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <3e715c591f553c20f6a3ee544c5e9842@rocksolidbbs.com> <735a1a1a786c31f21b017cf0728c427a@news.novabbs.org> <25d4dc8347cc259922104f637450cacb@rocksolidbbs.com> <0ace26fd6cbf0e05dd62080aa00c07f1@news.novabbs.org> <5235314e450da370801c8028151a99e6@rocksolidbbs.com> <fd73572639632394c9431d7d068934ab@news.novabbs.org> <20dad994a4ae4af71c0d683471481aa0@news.novabbs.org> <0fda50e5e15f18278c00453d4f1ffc27@news.novabbs.org> <6f6d42b6b55982a8b91adce7327958aa@rocksolidbbs.com> <e8053a8c210fc3f09d417e12ab2cdcf8@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com> <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com> <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org> <be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com> <2ca0ff741415e57b2f9cabb1c6556106@news.novabbs.org> <0bfe817afb5135f756843b23c8fc1ec4@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2197986"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Site: $2y$10$NIT3m4HgYpiyFkmMPV21l.ceBpbitnEdXrB3jkIOj7MeyHYXS738G
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
 by: vga256 - Sat, 12 Aug 2023 03:24 UTC

> Do you have any temporarily hardcoded keys or fingerprints? That could explain it failing to import on the originating server.
None. Keys seem to be correct on both machines.

> Here is how it is supposed to work:
> Create a remote Mail message in mail.php.
> mail.php checks that it's remote, then writes a copy to your outgoing message dir (default $spooldir/section/outgoing
> The message should propagate when you send messages (via cron).
> When a server receives the message, and it is in the proper group, it copies it to $spooldir/bbsmail/in

Thanks for the overview of the intended behaviour - that really helped to pin down the problem. I found the issue, or at least a symptom of the issue:

Sending machine:
[6] => Retrieving articles for: tomonet.shared.test...copying /Users/tomo/tomobbs/www/common/../../spoolnews//articles/tomonet/shared/test/29 to /Users/tomo/tomobbs/www/common/../../spoolnews//bbsmail/in/bbsmail-BBSMAIL notice 29584449dedbdfc0
[7] => Retrieved: tomonet.shared.test 29

Receiving machine:
[10] => Retrieving articles for: tomonet.shared.test...
[11] => Duplicate Message-ID for: tomonet.shared.test:29
[12] => Spoolnews Done

The duplicate message-id on the receiving machine seems to be the culprit.

In spoolnews.php: As soon as it detects the incoming message as a duplicate, it continues the while loop, and script execution never makes it to line 365, where the bbsmail_check is done. I believe this is why mail is making it to the shared group, but isn't making it to the bbsmail inbox on the receiving side.

Now, I noticed that at (Spoolnews.php) 208-217, the article is already being inserted into both the overview and the articles DBs. $msgids is set from $overview_msgid at 223, and then is used to dupe-check the message id at 255.

Why is this happening on my machines, but not yours? Perhaps it is possible that because my server is *always* reloading the articles database every time there is a post (it does not wait for cron for a reload), it is detecting the duplicate msgid.
Conversely, it is possible that your servers are masking/ignoring this bug, because they are not reloading the articles/overview databases after article insertion...

Thinking out loud here:

Effectively, the way the script is written right now, I believe it is inserting the article msgid into the database, grabbing all msgid's from the database, and then finding that msgid already has been posted to the database. So of course, 100% of the time, it is detected as a duplicate.

I could be totally off base here. So let me know if I'm making any sense. I *think* the solution is to just move that chunk of database preparation code (207-217) to *after* the generation of the list of message-ids.

--
Posted on Rocksolid Light

Re: Remote peering configuration problems

<9af536b1aa58ef3e7731379037d7add4@news.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=595&group=rocksolid.nodes.help#595

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Sat, 12 Aug 2023 03:33:13 +0000
Organization: Rocksolid Light
Message-ID: <9af536b1aa58ef3e7731379037d7add4@news.novabbs.org>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <25d4dc8347cc259922104f637450cacb@rocksolidbbs.com> <0ace26fd6cbf0e05dd62080aa00c07f1@news.novabbs.org> <5235314e450da370801c8028151a99e6@rocksolidbbs.com> <fd73572639632394c9431d7d068934ab@news.novabbs.org> <20dad994a4ae4af71c0d683471481aa0@news.novabbs.org> <0fda50e5e15f18278c00453d4f1ffc27@news.novabbs.org> <6f6d42b6b55982a8b91adce7327958aa@rocksolidbbs.com> <e8053a8c210fc3f09d417e12ab2cdcf8@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com> <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com> <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org> <be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com> <2ca0ff741415e57b2f9cabb1c6556106@news.novabbs.org> <0bfe817afb5135f756843b23c8fc1ec4@rocksolidbbs.com> <14ad26eb8219ba3e4622c51f2e54b25e@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2198551"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Site: $2y$10$5kh54Hyj7/nyXxiAn3egE.0IBNsf6HMeZ7EmT.i5eA/uReDtv9r6q
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
 by: vga256 - Sat, 12 Aug 2023 03:33 UTC

(update - damn, I was wrong - moving that chunk of code before the message-id list creation chunk, didn't help -- still getting dupe message-id errors)

--
Posted on Rocksolid Light

Re: Remote peering configuration problems

<f72ca4e016a460171891429051557eb6@news.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=596&group=rocksolid.nodes.help#596

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Sat, 12 Aug 2023 03:49:57 +0000
Organization: Rocksolid Light
Message-ID: <f72ca4e016a460171891429051557eb6@news.novabbs.org>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <25d4dc8347cc259922104f637450cacb@rocksolidbbs.com> <0ace26fd6cbf0e05dd62080aa00c07f1@news.novabbs.org> <5235314e450da370801c8028151a99e6@rocksolidbbs.com> <fd73572639632394c9431d7d068934ab@news.novabbs.org> <20dad994a4ae4af71c0d683471481aa0@news.novabbs.org> <0fda50e5e15f18278c00453d4f1ffc27@news.novabbs.org> <6f6d42b6b55982a8b91adce7327958aa@rocksolidbbs.com> <e8053a8c210fc3f09d417e12ab2cdcf8@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com> <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com> <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org> <be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com> <2ca0ff741415e57b2f9cabb1c6556106@news.novabbs.org> <0bfe817afb5135f756843b23c8fc1ec4@rocksolidbbs.com> <14ad26eb8219ba3e4622c51f2e54b25e@news.novabbs.org> <9af536b1aa58ef3e7731379037d7add4@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2199591"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Site: $2y$10$JUosBNeRP9z9.vbixnulzei1QM0HJlM25WS/dX84Ygcwfe276jeoW
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
 by: vga256 - Sat, 12 Aug 2023 03:49 UTC

Ignore the last couple of posts. That theory didn't pan out. I figured out that the number of posts in tomonet.shared.test were out of sync, and I believe that was causing the "duplicate message-id" errors. I wiped .shared.test on both machines, started from an empty db, and no more dupe message id errors. Red herring I guess.

--
Posted on Rocksolid Light

Re: Remote peering configuration problems

<e7f91be84020aef8c00d79c7ee09fb36@news.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=597&group=rocksolid.nodes.help#597

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Sat, 12 Aug 2023 04:45:37 +0000
Organization: Rocksolid Light
Message-ID: <e7f91be84020aef8c00d79c7ee09fb36@news.novabbs.org>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <5235314e450da370801c8028151a99e6@rocksolidbbs.com> <fd73572639632394c9431d7d068934ab@news.novabbs.org> <20dad994a4ae4af71c0d683471481aa0@news.novabbs.org> <0fda50e5e15f18278c00453d4f1ffc27@news.novabbs.org> <6f6d42b6b55982a8b91adce7327958aa@rocksolidbbs.com> <e8053a8c210fc3f09d417e12ab2cdcf8@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com> <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com> <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org> <be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com> <2ca0ff741415e57b2f9cabb1c6556106@news.novabbs.org> <0bfe817afb5135f756843b23c8fc1ec4@rocksolidbbs.com> <14ad26eb8219ba3e4622c51f2e54b25e@news.novabbs.org> <9af536b1aa58ef3e7731379037d7add4@news.novabbs.org> <f72ca4e016a460171891429051557eb6@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2203416"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Site: $2y$10$zdmp0yC.JnsNRKi3szWhROz2JldkYUbj8b99dMPXUqTq2QpzoIRNe
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
 by: vga256 - Sat, 12 Aug 2023 04:45 UTC

OK, shutting it down for the night. One thing is for sure: this while loop in spoolnews->get_articles() is never running:

@mkdir($grouppath,0755,'recursive');
$i=0;
while ($article <= $detail[3]) {

thinking out loud - perhaps because the originating machine's cron job has already done a "Send" articles to the receiving machine, when the receiving machine runs its own cron job, there are no "new" articles to pull from the originating server, so it doesn't run the while loop. since the while loop never runs, bbsmail_check around line 370 is never run.

--
Posted on Rocksolid Light

Re: Remote peering configuration problems

<93aee6a6e3fedf6897bd39861cb6961b@rocksolidbbs.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=598&group=rocksolid.nodes.help#598

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Sat, 12 Aug 2023 13:29:29 +0000
Organization: RetroBBS
Message-ID: <93aee6a6e3fedf6897bd39861cb6961b@rocksolidbbs.com>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <5235314e450da370801c8028151a99e6@rocksolidbbs.com> <fd73572639632394c9431d7d068934ab@news.novabbs.org> <20dad994a4ae4af71c0d683471481aa0@news.novabbs.org> <0fda50e5e15f18278c00453d4f1ffc27@news.novabbs.org> <6f6d42b6b55982a8b91adce7327958aa@rocksolidbbs.com> <e8053a8c210fc3f09d417e12ab2cdcf8@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com> <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com> <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org> <be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com> <2ca0ff741415e57b2f9cabb1c6556106@news.novabbs.org> <0bfe817afb5135f756843b23c8fc1ec4@rocksolidbbs.com> <14ad26eb8219ba3e4622c51f2e54b25e@news.novabbs.org> <9af536b1aa58ef3e7731379037d7add4@news.novabbs.org> <f72ca4e016a460171891429051557eb6@news.novabbs.org> <e7f91be84020aef8c00d79c7ee09fb36@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2245381"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Rslight-Site: $2y$10$HLnvC/tApuMS5VhLTpfFAeQ8tCO1QRmMW9hmaB5k8IPvywaqdtsdq
 by: Retro Guy - Sat, 12 Aug 2023 13:29 UTC

vga256 wrote:

> OK, shutting it down for the night. One thing is for sure: this while loop in spoolnews->get_articles() is never running:

> @mkdir($grouppath,0755,'recursive');
> $i=0;
> while ($article <= $detail[3]) {

That's the main loop to get articles. If it's not running, it should not be receiving any articles.

$article = what spoolnews thinks the next article number to get from the remote server
$detail[3] = what the remote server says is it's highest article number in the group

> thinking out loud - perhaps because the originating machine's cron job has already done a "Send" articles to the receiving machine, when the receiving machine runs its own cron job, there are no "new" articles to pull from the originating server, so it doesn't run the while loop. since the while loop never runs, bbsmail_check around line 370 is never run.

When rslight receives via 'Send' from another rslight, the article is inserted using the NNTP server. It should be the same as if you posted to your server via Thuderbird or some newsreader.

You might try posting by hand from the command line to see if you can narrow anything down.

--
Retro Guy

Re: Remote peering configuration problems

<abcc477ff7f6c8c3b8ebbb5def9defda@news.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=599&group=rocksolid.nodes.help#599

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Sat, 12 Aug 2023 14:22:16 +0000
Organization: Rocksolid Light
Message-ID: <abcc477ff7f6c8c3b8ebbb5def9defda@news.novabbs.org>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <20dad994a4ae4af71c0d683471481aa0@news.novabbs.org> <0fda50e5e15f18278c00453d4f1ffc27@news.novabbs.org> <6f6d42b6b55982a8b91adce7327958aa@rocksolidbbs.com> <e8053a8c210fc3f09d417e12ab2cdcf8@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com> <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com> <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org> <be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com> <2ca0ff741415e57b2f9cabb1c6556106@news.novabbs.org> <0bfe817afb5135f756843b23c8fc1ec4@rocksolidbbs.com> <14ad26eb8219ba3e4622c51f2e54b25e@news.novabbs.org> <9af536b1aa58ef3e7731379037d7add4@news.novabbs.org> <f72ca4e016a460171891429051557eb6@news.novabbs.org> <e7f91be84020aef8c00d79c7ee09fb36@news.novabbs.org> <93aee6a6e3fedf6897bd39861cb6961b@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2249570"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
X-Rslight-Site: $2y$10$LmfS6qwh6yau.h8Jp9R6IuJG9vtbjHTuXQdhQpOQgmj18EwzTTWjW
 by: vga256 - Sat, 12 Aug 2023 14:22 UTC

> When rslight receives via 'Send' from another rslight, the article is inserted using the NNTP server. It should be the same as if you posted to your server via Thuderbird or some newsreader.

That's right. But if the article were already inserted to the NNTP server from the send of the originating server, would the receiving server's spoolnews even process those posts as potential bbsmail? If I'm not misunderstanding the program logic, as far as spoolnews is concerned, those posts have already been inserted, and there's no work to do.

--
Posted on Rocksolid Light

Re: Remote peering configuration problems

<56115d16b0b4dd075fc8ba2ebcf9260c@rocksolidbbs.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=600&group=rocksolid.nodes.help#600

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Sat, 12 Aug 2023 14:33:26 +0000
Organization: RetroBBS
Message-ID: <56115d16b0b4dd075fc8ba2ebcf9260c@rocksolidbbs.com>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <20dad994a4ae4af71c0d683471481aa0@news.novabbs.org> <0fda50e5e15f18278c00453d4f1ffc27@news.novabbs.org> <6f6d42b6b55982a8b91adce7327958aa@rocksolidbbs.com> <e8053a8c210fc3f09d417e12ab2cdcf8@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com> <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com> <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org> <be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com> <2ca0ff741415e57b2f9cabb1c6556106@news.novabbs.org> <0bfe817afb5135f756843b23c8fc1ec4@rocksolidbbs.com> <14ad26eb8219ba3e4622c51f2e54b25e@news.novabbs.org> <9af536b1aa58ef3e7731379037d7add4@news.novabbs.org> <f72ca4e016a460171891429051557eb6@news.novabbs.org> <e7f91be84020aef8c00d79c7ee09fb36@news.novabbs.org> <93aee6a6e3fedf6897bd39861cb6961b@rocksolidbbs.com> <abcc477ff7f6c8c3b8ebbb5def9defda@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2250575"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Rslight-Site: $2y$10$6SzyImB87kOMEi6Yv0NJmOS3rkdPhq5W67r7SjmIOEKg/AozNptLq
 by: Retro Guy - Sat, 12 Aug 2023 14:33 UTC

vga256 wrote:

>> When rslight receives via 'Send' from another rslight, the article is inserted using the NNTP server. It should be the same as if you posted to your server via Thuderbird or some newsreader.

> That's right. But if the article were already inserted to the NNTP server from the send of the originating server, would the receiving server's spoolnews even process those posts as potential bbsmail? If I'm not misunderstanding the program logic, as far as spoolnews is concerned, those posts have already been inserted, and there's no work to do.

I think you are correct! Let me take a look...

--
Retro Guy

Re: Remote peering configuration problems

<3ecd024dba577a56277c1b2d4555d7f2@rocksolidbbs.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=601&group=rocksolid.nodes.help#601

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Sat, 12 Aug 2023 14:57:24 +0000
Organization: RetroBBS
Message-ID: <3ecd024dba577a56277c1b2d4555d7f2@rocksolidbbs.com>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <6f6d42b6b55982a8b91adce7327958aa@rocksolidbbs.com> <e8053a8c210fc3f09d417e12ab2cdcf8@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com> <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com> <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org> <be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com> <2ca0ff741415e57b2f9cabb1c6556106@news.novabbs.org> <0bfe817afb5135f756843b23c8fc1ec4@rocksolidbbs.com> <14ad26eb8219ba3e4622c51f2e54b25e@news.novabbs.org> <9af536b1aa58ef3e7731379037d7add4@news.novabbs.org> <f72ca4e016a460171891429051557eb6@news.novabbs.org> <e7f91be84020aef8c00d79c7ee09fb36@news.novabbs.org> <93aee6a6e3fedf6897bd39861cb6961b@rocksolidbbs.com> <abcc477ff7f6c8c3b8ebbb5def9defda@news.novabbs.org> <56115d16b0b4dd075fc8ba2ebcf9260c@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2252727"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Rslight-Site: $2y$10$IFWZ8Gv48ZetL9kCCzodyOX2atpilAX1nxulMaa7xszVbglefLZkO
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
 by: Retro Guy - Sat, 12 Aug 2023 14:57 UTC

Retro Guy wrote:

> vga256 wrote:

>>> When rslight receives via 'Send' from another rslight, the article is inserted using the NNTP server. It should be the same as if you posted to your server via Thuderbird or some newsreader.

>> That's right. But if the article were already inserted to the NNTP server from the send of the originating server, would the receiving server's spoolnews even process those posts as potential bbsmail? If I'm not misunderstanding the program logic, as far as spoolnews is concerned, those posts have already been inserted, and there's no work to do.

> I think you are correct! Let me take a look...

Here is a draft of changes to the function 'prepare_post()' in rslight-lib.php. It also includes trying to resolve the same issue that would happen to nocem messages.

This is a draft. I have NOT tested it:

function prepare_post($filename) {
global $logdir, $spooldir;
$logfile = $logdir.'/nntp.log';
$message = file($filename, FILE_IGNORE_NEW_LINES);
$lines = 0;
$is_header = 1;
$nocem_check="@@NCM";
$bbsmail_check="@@RSL";

foreach($message as $line) {
if(trim($line) == "" || $lines > 0) {
$is_header=0;
$lines++;
}
if($lines > 0 && $is_header = 0) {
$break;
}
if(stripos($line, "Newsgroups: ") === 0) {
$ngroups=explode(': ', $line);
$newsgroups=$ngroups[1];
$lines++;
continue;
}
if(stripos($line, "Subject: ") === 0) {
$sub=explode(': ', $line);
$subject=$sub[1];
$lines++;
continue;
}
}
$ngroups = preg_split("/( |,)/", trim($newsgroups));
// DEBUG
file_put_contents($logfile, "n".format_log_date(). " DEBUG process_post: ".$newsgroups. " ".$ngroups[0], FILE_APPEND);
$ok = 0;
foreach($ngroups as $group) {
$result = process_post($message, $group);
if (substr($result,0,3) == "240") {
$ok = 1;
}
}
if($ok == 1) {
if((strpos($rslight_gpg['nntp_group'], $group) !== false) && ($rslight_gpg['enable'] == '1')) {
if(strpos($subject, $bbsmail_check) !== false) {
$bbsmail_file = preg_replace('/@@RSL /', '', $subject);
$bbsmail_filename = $spooldir."/bbsmail/in/bbsmail-".$bbsmail_file;
copy($filename, $bbsmail_filename);
}
}
if(strpos($subject, $nocem_check) !== false) {
$nocem_file = tempnam($spooldir."/nocem", "nocem-".$group."-");
copy($filename, $nocem_file);
}
$response="240 Article received OKrn";
} else {
$response="441 Posting failedrn";
}
return $response;
}

--
Retro Guy

Re: Remote peering configuration problems

<e9e4e3200c502a2b688ca06d87520992@news.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=602&group=rocksolid.nodes.help#602

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Sun, 13 Aug 2023 04:38:05 +0000
Organization: Rocksolid Light
Message-ID: <e9e4e3200c502a2b688ca06d87520992@news.novabbs.org>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <6f6d42b6b55982a8b91adce7327958aa@rocksolidbbs.com> <e8053a8c210fc3f09d417e12ab2cdcf8@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com> <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com> <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org> <be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com> <2ca0ff741415e57b2f9cabb1c6556106@news.novabbs.org> <0bfe817afb5135f756843b23c8fc1ec4@rocksolidbbs.com> <14ad26eb8219ba3e4622c51f2e54b25e@news.novabbs.org> <9af536b1aa58ef3e7731379037d7add4@news.novabbs.org> <f72ca4e016a460171891429051557eb6@news.novabbs.org> <e7f91be84020aef8c00d79c7ee09fb36@news.novabbs.org> <93aee6a6e3fedf6897bd39861cb6961b@rocksolidbbs.com> <abcc477ff7f6c8c3b8ebbb5def9defda@news.novabbs.org> <56115d16b0b4dd075fc8ba2ebcf9260c@rocksolidbbs.com> <3ecd024dba577a56277c1b2d4555d7f2@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2312437"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Site: $2y$10$u/fTd7f41HAdKmGGNfYK8ugN0xElPSxpHF.f7wh6zvF.CV89dCO2C
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
 by: vga256 - Sun, 13 Aug 2023 04:38 UTC

woo! thanks for digging deep into this one. i can't wait to try this out tomorrow. :D

(i'm also glad that i'm not crazy - i was beginning to worry i had some bizarre system-specific bug that only my machine was experiencing)

--
Posted on Rocksolid Light

Re: Remote peering configuration problems

<14c5cd72a74102c2e396dc717877f84f@news.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=603&group=rocksolid.nodes.help#603

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Mon, 14 Aug 2023 16:55:52 +0000
Organization: Rocksolid Light
Message-ID: <14c5cd72a74102c2e396dc717877f84f@news.novabbs.org>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com> <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com> <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org> <be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com> <2ca0ff741415e57b2f9cabb1c6556106@news.novabbs.org> <0bfe817afb5135f756843b23c8fc1ec4@rocksolidbbs.com> <14ad26eb8219ba3e4622c51f2e54b25e@news.novabbs.org> <9af536b1aa58ef3e7731379037d7add4@news.novabbs.org> <f72ca4e016a460171891429051557eb6@news.novabbs.org> <e7f91be84020aef8c00d79c7ee09fb36@news.novabbs.org> <93aee6a6e3fedf6897bd39861cb6961b@rocksolidbbs.com> <abcc477ff7f6c8c3b8ebbb5def9defda@news.novabbs.org> <56115d16b0b4dd075fc8ba2ebcf9260c@rocksolidbbs.com> <3ecd024dba577a56277c1b2d4555d7f2@rocksolidbbs.com> <e9e4e3200c502a2b688ca06d87520992@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2490271"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.9.0
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
X-Rslight-Site: $2y$10$NrfghOdaSHiLRTWXDN7e5.oCnNiKzn.3LPyAGgmlLIalfYa8niU2u
 by: vga256 - Mon, 14 Aug 2023 16:55 UTC

The modified script executes, but no change to posting behaviour unfortunately.

I'm going to have to leave this addition alone for a while. Debugging has eaten up about 50 hours of development time so far, and I really need to focus on implementing features. Really appreciate the hard work!

--
Posted on Rocksolid Light

Re: Remote peering configuration problems

<ef6c32974e7f88b8e7ce8db09bb7166c@news.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=604&group=rocksolid.nodes.help#604

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Mon, 14 Aug 2023 17:10:56 +0000
Organization: Rocksolid Light
Message-ID: <ef6c32974e7f88b8e7ce8db09bb7166c@news.novabbs.org>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <091bcd0d7327b365d3a66877c63a5728@rocksolidbbs.com> <6a0cd1c4ae3f81e431bf2de4fe35b7e8@rocksolidbbs.com> <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org> <be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com> <2ca0ff741415e57b2f9cabb1c6556106@news.novabbs.org> <0bfe817afb5135f756843b23c8fc1ec4@rocksolidbbs.com> <14ad26eb8219ba3e4622c51f2e54b25e@news.novabbs.org> <9af536b1aa58ef3e7731379037d7add4@news.novabbs.org> <f72ca4e016a460171891429051557eb6@news.novabbs.org> <e7f91be84020aef8c00d79c7ee09fb36@news.novabbs.org> <93aee6a6e3fedf6897bd39861cb6961b@rocksolidbbs.com> <abcc477ff7f6c8c3b8ebbb5def9defda@news.novabbs.org> <56115d16b0b4dd075fc8ba2ebcf9260c@rocksolidbbs.com> <3ecd024dba577a56277c1b2d4555d7f2@rocksolidbbs.com> <e9e4e3200c502a2b688ca06d87520992@news.novabbs.org> <14c5cd72a74102c2e396dc717877f84f@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2491731"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.9.0
X-Rslight-Site: $2y$10$wfAvveJqraZzfaeTAcyRQeb9EnLdp2YPUt/imHD2DFGZuAlzrrc02
X-Rslight-Posting-User: 91053d4a47d51b416144568e5a1040f05e31ed1b
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
 by: Retro Guy - Mon, 14 Aug 2023 17:10 UTC

vga256 wrote:

> The modified script executes, but no change to posting behaviour unfortunately.

> I'm going to have to leave this addition alone for a while. Debugging has eaten up about 50 hours of development time so far, and I really need to focus on implementing features. Really appreciate the hard work!

Man, I really thought it would work! I'll pursue this further next week and share results. I'll just set up a couple of vms talking to eachother.

--
Retro Guy

Re: Remote peering configuration problems

<c56d652a87cef7f87366278dc5ae2025@news.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=605&group=rocksolid.nodes.help#605

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: Remote peering configuration problems
Date: Mon, 14 Aug 2023 17:43:54 +0000
Organization: Rocksolid Light
Message-ID: <c56d652a87cef7f87366278dc5ae2025@news.novabbs.org>
References: <45eec371041e98685739afba30e0a7a9@news.novabbs.org> <a90f19ee24942c4ab1b5493740acbe09@news.novabbs.org> <be84e0b2bfcae4164c2cdf4711d44795@rocksolidbbs.com> <2ca0ff741415e57b2f9cabb1c6556106@news.novabbs.org> <0bfe817afb5135f756843b23c8fc1ec4@rocksolidbbs.com> <14ad26eb8219ba3e4622c51f2e54b25e@news.novabbs.org> <9af536b1aa58ef3e7731379037d7add4@news.novabbs.org> <f72ca4e016a460171891429051557eb6@news.novabbs.org> <e7f91be84020aef8c00d79c7ee09fb36@news.novabbs.org> <93aee6a6e3fedf6897bd39861cb6961b@rocksolidbbs.com> <abcc477ff7f6c8c3b8ebbb5def9defda@news.novabbs.org> <56115d16b0b4dd075fc8ba2ebcf9260c@rocksolidbbs.com> <3ecd024dba577a56277c1b2d4555d7f2@rocksolidbbs.com> <e9e4e3200c502a2b688ca06d87520992@news.novabbs.org> <14c5cd72a74102c2e396dc717877f84f@news.novabbs.org> <ef6c32974e7f88b8e7ce8db09bb7166c@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2494292"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.9.0
X-Rslight-Site: $2y$10$GBvI8kkClhya838wE8.s2utRNXvucvHPZwtu39CDdf6QvcQ6ySDsi
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Posting-User: 91053d4a47d51b416144568e5a1040f05e31ed1b
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
 by: Retro Guy - Mon, 14 Aug 2023 17:43 UTC

Retro Guy wrote:

> vga256 wrote:

>> The modified script executes, but no change to posting behaviour unfortunately.

>> I'm going to have to leave this addition alone for a while. Debugging has eaten up about 50 hours of development time so far, and I really need to focus on implementing features. Really appreciate the hard work!

> Man, I really thought it would work! I'll pursue this further next week and share results. I'll just set up a couple of vms talking to eachother.

Aha, $rslight_gpg is not set in the function. I can't test it right now but just maybe it's as simple as that?

--
Retro Guy


computers / Rocksolid Nodes Help / Re: Remote peering configuration problems

Pages:123
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor