🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Danny D'Amico Sat, 23 Nov 2013 00:42
Re: What's the reason a free newsserver would require a single followup ng?
#85658
Author: Danny D'Amico
Date: Sat, 23 Nov 2013 00:42
34 lines
2753 bytes
On Fri, 22 Nov 2013 12:01:44 -0600, VanguardLH wrote:

> You never did specify HOW you know the cross-posts are getting rejected.
> You never mentioned an error message so presumably you get an OK status
> back when you submit but then you later never see the articles show up.

On Fri, 22 Nov 2013 12:01:44 -0600, VanguardLH wrote:

> You never did specify HOW you know the cross-posts are getting rejected.
> You never mentioned an error message so presumably you get an OK status

The pure fact is that *all* crossposted articles without the followup set to 
a single newsgroup, fail. 

Here's a picture that I had posted showing the failure message (after the fact),
which is to say, far too late (since the message is long lost by the time you
think to look in the log - which is only written *after* the message is lost).
 http://farm4.staticflickr.com/3789/10990148625_952616d976_o.png
 
Here are some parts of that test that were posted prior:
 http://farm4.staticflickr.com/3729/10990155003_715e1eb001_o.png
 http://farm8.staticflickr.com/7297/10990047566_2fdea09e0d_o.png
 http://farm3.staticflickr.com/2833/10990154933_27e26c0c64_o.png

The problem is that you can't possible see the error until *after* you submit
the post (which means it's lost forever) because the error doesn't show up
until after you've submitted.

Yet, Pan doesn't even warn you. It acts as if the message was sent.
But it never shows up. Because Solani ate it.

I would have thought that the handshaking between client and server would
be better than that, in this day and age.
Re: What's the reason a free newsserver would require a single followup ng?
#85663
Author: VanguardLH
Date: Sat, 23 Nov 2013 01:52
117 lines
7923 bytes
Danny D'Amico wrote:

> On Fri, 22 Nov 2013 12:01:44 -0600, VanguardLH wrote:
> 
>> You never did specify HOW you know the cross-posts are getting rejected.
>> You never mentioned an error message so presumably you get an OK status
>> back when you submit but then you later never see the articles show up.
> 
> On Fri, 22 Nov 2013 12:01:44 -0600, VanguardLH wrote:
> 
>> You never did specify HOW you know the cross-posts are getting rejected.
>> You never mentioned an error message so presumably you get an OK status
> 
> The pure fact is that *all* crossposted articles without the followup set to 
> a single newsgroup, fail. 
> 
> Here's a picture that I had posted showing the failure message (after the fact),
> which is to say, far too late (since the message is long lost by the time you
> think to look in the log - which is only written *after* the message is lost).
>  http://farm4.staticflickr.com/3789/10990148625_952616d976_o.png
>  
> Here are some parts of that test that were posted prior:
>  http://farm4.staticflickr.com/3729/10990155003_715e1eb001_o.png
>  http://farm8.staticflickr.com/7297/10990047566_2fdea09e0d_o.png
>  http://farm3.staticflickr.com/2833/10990154933_27e26c0c64_o.png
> 
> The problem is that you can't possible see the error until *after* you submit
> the post (which means it's lost forever) because the error doesn't show up
> until after you've submitted.
> 
> Yet, Pan doesn't even warn you. It acts as if the message was sent.
> But it never shows up. Because Solani ate it.
> 
> I would have thought that the handshaking between client and server would
> be better than that, in this day and age.

The server immediately rejected your article.  It did its job.  Once it
sent the error status of 441 in response to your command, the server
doesn't have anything more to do.  While your client submitted the
article, the server did not accept the article.  Sometimes "submit" is
an confusing overview term meaning both submitting a copy of the article
AND that the server accepted it in the same way that "reject" means both
submitting a copy of the article AND the server then rejecting it.

That Pan hid the error status from you doesn't alter the server's
operation.  It's your client's behavior that is confusing you.  If you
were to use telnet to connect on port 119 to their NNTP server and you
knew the NNTP commands and their sequence to connect and submit posts
then you would've seen the 441 error status immediately issued by the
NNTP server when you attempted to issue the POST or IHAVE command (the
latter, I think, is only for use by NNTP servers to peer articles
between each other) to the server.  Since you (and I and most
Usenetizens) are using GUI software to access newsgroups, it's up to
that GUI software to decide how and when it presents those statuses
returned by the server.

Your client (Pan) sent a POST command to the server.  As stated per RFC
(http://tools.ietf.org/html/rfc3977#page-56), the client sends the
article to the server which then has to interrogate its content.  So you
send a POST followed by a multi-line data transfer and is terminated by
the "." line (just a single period character in position 1 followed by a
newline).  It is then that the server is supposed to tell you if it
accepted the article or not.  

   "Following the presentation of the termination sequence by the 
   client, the server MUST return a response indicating success or 
   failure of the article transfer.  Note that response codes 340 and 
   440 are used in direct response to the POST command while 240 and 441 
   are returned after the article is sent."

So, in a way, the server has not yet accepted your article and it has.
It has received a copy of your article but acceptance or rejection is
immediately returned by the server.  So once your client sent the POST
command, the multi-line content, and the "." termination line, the
server *immediately* sends back a status.  A 441 code means, yes, the
server got a copy of your message but it dropped it right there.  It
never went into the ARTICLES database so it never got accepted.

The server doesn't know what you intend to submit until you send it a
copy of your article which has the headers and body.  So "submit" here
only means showing the server what you want it to accept.  It does not
mean a POST followed by the article and reaching the "." termination
line requires the server to accept that article.  The server has to see
the article before it know whether it will accept (to put into its
ARTICLES database) or reject the proposed article.

You sent a POST followed by the multi-line article and terminator line.
That's does not mandate the server accept the article.  The server still
does get to *look* at the article before it decides to accept or reject.
Even if the NNTP server admin has no rules to filter out submissions,
the NNTP server still has to see the article to know what it is going to
do with it, like into which newsgroups to put pointers.  The server
isn't going to see submissions as opaque black boxes that it cannot look
inside to see what's there.  I has to look inside to know what to do
with what is inside.

So you issue a POST, the article, and terminator.  That is only a
*request* as yet to the server.  The server then sends back a status
immediately after it gets to look inside the box to determine if it will
accept or reject.  That status gets sent back immediately to your
client.  Your client waits for that status from the server.  Once the
server issued the 441 status, it was through.  It was then up to your
client to figure out what to do with the returned status.  Apparently
Pan doesn't alert or cue you to a non-OK status.  That's not the
server's fault.

With my NNTP client (40tude Dialog), the user can write scripts that can
be used to alter events and handlers inside the program.  I panned
Dialog in several trials of newsreaders because it didn't meet my
minimum critical requirements list -- until I decided to see how scripts
could alter its behavior.  Without that low-level of configurability of
the program, I would not be using Dialog.  With Pan being a *NIX
program, you'd think that it could be configured with scripts, add-ons,
or extensions to help modify or enhance its behavior.  Alas, if Pan was
not designed to be extensible than you're outta luck and will have to
wait until Pan might someday incorporate an RFE you submit to their bug
& feedback tracking system.
Re: What's the reason a free newsserver would require a single followup ng?
#85665
Author: Danny D'Amico
Date: Sat, 23 Nov 2013 03:36
23 lines
1867 bytes
On Fri, 22 Nov 2013 19:52:54 -0600, VanguardLH wrote:

> It's your client's behavior that is confusing you.  If you
> were to use telnet to connect on port 119 to their NNTP server and you
> knew the NNTP commands and their sequence to connect and submit posts
> then you would've seen the 441 error status immediately

I tried a few times, but couldn't get the syntax exactly right...

$ telnet news.solani.org 119
AUTHINFO USER dannyd
AUTHINFO PASS foobar
POST 
From: foo@bar.com 
Newsgroups: alt.test
Subject: test
Message-ID: <12345@bar.com> 
<blank line> 
test.  
.  
GROUP alt.test  
quit
Re: What's the reason a free newsserver would require a single followup ng?
#85669
Author: VanguardLH
Date: Sat, 23 Nov 2013 04:27
76 lines
4692 bytes
Danny D'Amico wrote:

> On Fri, 22 Nov 2013 19:52:54 -0600, VanguardLH wrote:
> 
>> It's your client's behavior that is confusing you.  If you
>> were to use telnet to connect on port 119 to their NNTP server and you
>> knew the NNTP commands and their sequence to connect and submit posts
>> then you would've seen the 441 error status immediately
> 
> I tried a few times, but couldn't get the syntax exactly right...
> 
> $ telnet news.solani.org 119
> AUTHINFO USER dannyd
> AUTHINFO PASS foobar
> POST 
> From: foo@bar.com 
> Newsgroups: alt.test
> Subject: test
> Message-ID: <12345@bar.com> 
> <blank line> 
> test.  
> .  
> GROUP alt.test  
> quit

Hopefully that wasn't your true password with that server, else lots of
malicious posters could be using your account hereafter.

Using AIOE (which requires no login credentials since it is a free
UNregistered service) and because I didn't want to use your account for
testing, I ran the following commands (server responses are italicized
between slash characters):

telnet news.aioe.org 119
/200 news.aioe.org InterNetNews NNRP server INN 2.5.2 ready (posting ok)/
post
/340 Ok, recommended message-ID <l6p9rj$qut$2@speranza.aioe.org>/
from: foobar@nowherefound.com
subject: testing telnet commands
newsgroups: alt.test

testing telnet commands
..
/240 Article received <l6p9rj$qut$2@speranza.aioe.org>/

Note that there are no spaces in the terminator line.  It's just a
single period character at position 1 followed immediately by a newline
(it looks like "." sans quotes).  Your example had 2 space characters
after the period character.  I'll assume that you actually entered a
blank line (just a newline) instead of the "<blank line>" string to
delimit the header block from the body block.

Unlike you, I did not specify a MID header.  I let the server use its
own MID header.  If I connect via telnet to news.solani.org on port 119,
as soon as I enter the POST command the server returns "480 posting not
allowed".  That's because I don't have an account there.  The commands
worked at AIOE.  

I connected via telnet to news.eternal-september.org on port 119,
entered my login credentials (username and password), and issued the
same commands to submit an article as shown above.  It also returned a
240 OK status from the server.

The trailing GROUP command isn't needed.  The Newsgroups header within
the multi-line data block tells the server where to put the article.
I'm assuming "can't get the syntax exactly right" meant you got an error
returned from the server at some point but you didn't say where or when.

Try it again but this time the terminator to the data block is just a
single period character and NOTHING after it on that line.  Just hit the
period key and then the Enter key.  Also try WITHOUT specifying a
Message-ID header as I did.  No matter what you specify isn't guaranteed
to be unique.  Clients (users and NNTP client programs) cannot guarantee
they generate unique MIDs.  Only servers can do that.  Collisions can
result and I'm not sure what a server will do with a later submission
trying to use a MID that has already been used.
Re: What's the reason a free newsserver would require a single followup ng?
#85683
Author: Danny D'Amico
Date: Mon, 25 Nov 2013 06:21
35 lines
2745 bytes
On Fri, 22 Nov 2013 22:27:44 -0600, VanguardLH wrote:

> Hopefully that wasn't your true password with that server, else lots of
> malicious posters could be using your account hereafter.

Heh heh ... I've been on USENET for something like 20 years. I'm not
about to put my real login & password out there (except by mistake, 
which sometimes happens).

> Using AIOE (which requires no login credentials since it is a free
> UNregistered service) 

Aioe works for this. Of course, Aioe has it's own problems with Pan in
that it triplicates posts when it gives Pan a 441 which Pan doesn't
recognize so Pan sends two more retries - but that's the whole reason
for switching to Solani which itself, only allows a single followup.

> Note that there are no spaces in the terminator line. 
Yup. I used to debug SMTP and NNTP using the command line; but I'm a 
bit rusty - but - I didn't make *that* mistake.

> Your example had 2 space characters after the period character.
Thanks for noticing. I typed that up because I didn't want to 
cut and paste (which had my *real* login & password).

> I'll assume that you actually entered a blank line (just a newline) 
> instead of the "<blank line>" string 

Yup. Again, I can get it to work with Aioe so there's nothing wrong
with my syntax. It's the authinfo part that I'm having trouble with; 
but, it's really not important because I *believe* you that the 
handshaking is fine. 

It's just that Pan is screwing up.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads