Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

/earth is 98% full ... please delete anyone you can.


computers / comp.os.vms / test---ignore

SubjectAuthor
* test---ignorePhillip Helbig (undress to reply
+- Re: test---ignoreArne Vajhøj
`- Re: test---ignoreBrian Schenkenberger

1
test---ignore

<tt0do2$r4p0$1@dont-email.me>

  copy mid

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

  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: test---ignore
Date: Mon, 20 Feb 2023 18:22:54 -0000 (UTC)
Organization: Multivax C&R
Lines: 65
Message-ID: <tt0do2$r4p0$1@dont-email.me>
Injection-Date: Mon, 20 Feb 2023 18:22:54 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="45985d3d207c924026f92edf348f40dc";
logging-data="889632"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19xC+Z79lbZjhNgRQrbwvsmLof5Ggo6VTg="
Cancel-Lock: sha1:cbpQOUZCj7WbJJeV8kyrHwXFBIk=
 by: Phillip Helbig (undr - Mon, 20 Feb 2023 18:22 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: test---ignore

<7254b1f7-04e9-437f-3a78-7318967ea126@vajhoej.dk>

  copy mid

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

  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: test---ignore
Date: Mon, 20 Feb 2023 13:31:04 -0500
Organization: A noiseless patient Spider
Lines: 92
Message-ID: <7254b1f7-04e9-437f-3a78-7318967ea126@vajhoej.dk>
References: <tt0do2$r4p0$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: reader01.eternal-september.org; posting-host="aec734a1a4ec84c20e327f56713966ee";
logging-data="882207"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19liRdycSAIJ3HUtv/mJV3hojhlLWxvxGY="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:ZyScUlwMWoQ0fuX9gG69OSju9pE=
In-Reply-To: <tt0do2$r4p0$1@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Mon, 20 Feb 2023 18:31 UTC

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

This is posted and emailed.

> 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.

Those were the days.

:-)

> 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.

> 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);
>
> }

My take:

strcpy(tmp, "AUTHINFO USER ");
strcpy(tmp+14, getenv("NNTP_USERNAME"));
server_send(tmp);
server_get_reply(SRV__NOECHO, &reply_code, 0, 0, 0);

if (reply_code == NNTP__PASSWREQD) {
strcpy(tmp, "AUTHINFO PASS ");
strcpy(tmp+14, getenv("NNTP_USERNAME")):
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);

Very much untested.

:-)

Arne

Re: test---ignore

<u13qdv$2lbga$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: mai...@SendSpamHere.ORG (Brian Schenkenberger)
Newsgroups: comp.os.vms
Subject: Re: test---ignore
Date: Tue, 11 Apr 2023 10:21:51 -0400
Organization: Tmesis Software
Lines: 76
Message-ID: <u13qdv$2lbga$1@dont-email.me>
References: <tt0do2$r4p0$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="b0ca6eecf9ed4271be02f74725f21bab";
logging-data="2797066"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX195wP8q3lE9holFpT1HxLzE"
User-Agent: Unison/2.2
Cancel-Lock: sha1:JTWQe0fOr3gml9l3uEw1wfFxCbA=
 by: Brian Schenkenberger - Tue, 11 Apr 2023 14:21 UTC

On 2023-02-20 18:22:54 +0000, Phillip Helbig (undress to reply said:

> 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?

I've been absent here since AIOE went down. I just got around to
installing Unison on my MacBook Pro and this is the first message. I
hope it goes well.

I too would prefer to keep using NEWSRDR and I did find the same code
you happened upon. I will have to try to get that working with
endless-september. In the interim, Unison on the MBP.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor