Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

But maybe we don't really need that... -- Larry Wall in <199709011851.LAA07101@wall.org>


computers / comp.os.vms / looking for someone to make a minor change to NEWSRDR

SubjectAuthor
* looking for someone to make a minor change to NEWSRDRPhillip Helbig (undress to reply
`- Re: looking for someone to make a minor change to NEWSRDRArne Vajhøj

1
looking for someone to make a minor change to NEWSRDR

<tt0drh$r4p0$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26850&group=comp.os.vms#26850

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: hel...@asclothestro.multivax.de (Phillip Helbig (undress to reply)
Newsgroups: comp.os.vms
Subject: looking for someone to make a minor change to NEWSRDR
Date: Mon, 20 Feb 2023 18:24:54 -0000 (UTC)
Organization: Multivax C&R
Lines: 66
Message-ID: <tt0drh$r4p0$2@dont-email.me>
Injection-Date: Mon, 20 Feb 2023 18:24:54 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="45985d3d207c924026f92edf348f40dc";
logging-data="889632"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2TBkzytLF4r1hvBOn7oY3RaIoVk1dX5Q="
Cancel-Lock: sha1:c9R0WzmFExiBcHc8qfIG0fbT4rU=
 by: Phillip Helbig (undr - Mon, 20 Feb 2023 18:24 UTC

Please respond via email, removing the obvious spam-block!

My news server aioe.org has died. Many people have recommended
eternal-september as a news server, so I signed up. Works fine via
telnet/port=119 (which is how I'm posting this). I want to stick with
NEWSRDR. I discovered that it has had username/password authentication
since 1993:

** 21-SEP-1993 V1.3 Madison Add authentication support.
[...]
***************
** Authentication stuff
*/
if (reply_code == NNTP__AUTHREQD) {

***************
put_output("Authentication required for posting.");

strcpy(tmp, "AUTHINFO USER ");
get_cmd(tmp+14, sizeof(tmp)-14, "Username: ");
server_send(tmp);
server_get_reply(SRV__NOECHO, &reply_code, 0, 0, 0);

if (reply_code == NNTP__PASSWREQD) {
strcpy(tmp, "AUTHINFO PASS ");
get_cmd_noecho(tmp+14, sizeof(tmp)-14, "Password: ");
server_send(tmp);
server_get_reply(SRV__NOECHO, &reply_code, 0, 0, 0);
}

if (reply_code != NNTP__AUTHACCEPTED) {
lib$signal(NEWS__NOPOSTING, 0);
return NEWS__NOPOSTING;
}

server_send("POST");
server_get_reply(SRV__NOECHO, &reply_code, 0, 0, 0);

}

if (reply_code != NNTP__SENDPARTICLE) {
lib$signal(NEWS__NOPOSTING, 0);
return NEWS__NOPOSTING;
}

There doesn't seem to be any way to authenticate interactively nor to
tell it (via a logical name or whatever) to always authenticate. The
idea is that if the server requests it, then one will be prompted for
username and password. However, the server does allow unauthenticated
access to a small number of newsgroups, so returns

200 reader01.eternal-september.org InterNetNews NNRP server INN 2.8.0
(20220715 snapshot) ready (posting ok)

which doesn't trigger the authentication.

The sources are available. For a C programmer it's probably a matter of
a few minutes to modify the code to always authenticate when connecting.
Probably enough to copy the code above (without the "if" stuff) to
somewhere else so that it is always executed immediately after
connecting.

Any takers?

Re: looking for someone to make a minor change to NEWSRDR

<tt0ebt$qtgv$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26852&group=comp.os.vms#26852

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: looking for someone to make a minor change to NEWSRDR
Date: Mon, 20 Feb 2023 13:32:29 -0500
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <tt0ebt$qtgv$3@dont-email.me>
References: <tt0drh$r4p0$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 20 Feb 2023 18:32:30 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="aec734a1a4ec84c20e327f56713966ee";
logging-data="882207"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/58T2BnVKTP3ZLRJxdz6OelLsF5sUZpX4="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:I1Aos45B7Tu62l8DJz49Sc/rxJQ=
Content-Language: en-US
In-Reply-To: <tt0drh$r4p0$2@dont-email.me>
 by: Arne Vajhøj - Mon, 20 Feb 2023 18:32 UTC

On 2/20/2023 1:24 PM, Phillip Helbig (undress to reply) wrote:
> Please respond via email, removing the obvious spam-block!

I just replied to your previous post (with the test subject line).

Arne

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor