🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.free.newsservers
52 messages
52 total messages Page 1 of 2 Started by Danny D Tue, 18 Jun 2013 15:18
Page 1 of 2 • 52 total messages
How can I debug a triplicate post (free newserver or free newsreader)?
#150825
Author: Danny D
Date: Tue, 18 Jun 2013 15:18
37 lines
2328 bytes
Every once in a while, a single nntp post ends up posted in triplicate:

Q: How can I debug, on Linux, if the problem is caused by 
(a) my freeware newsreader ? or 
(b) my public newserver ?

a. Newsreader = Pan 0.135
b. Newserver = aioe.org:119
c. OS = CentOS 6

From: Danny D <DannyD@example.com>
Newsgroups: alt.home.repair
Subject: Re: Have you ever used this funky style 2" PVC sliding pipe
 connection
Date: Tue, 18 Jun 2013 14:40:26 +0000 (UTC)
Organization: Aioe.org NNTP Server
Lines: 26
Message-ID: <kpprgq$f1c$1@speranza.aioe.org>

From: Danny D <DannyD@example.com>
Newsgroups: alt.home.repair
Subject: Re: Have you ever used this funky style 2" PVC sliding pipe
 connection
Date: Tue, 18 Jun 2013 14:40:57 +0000 (UTC)
Organization: Aioe.org NNTP Server
Lines: 26
Message-ID: <kpprhp$f2t$1@speranza.aioe.org>

From: Danny D <DannyD@example.com>
Newsgroups: alt.home.repair
Subject: Re: Have you ever used this funky style 2" PVC sliding pipe
 connection
Date: Tue, 18 Jun 2013 14:42:31 +0000 (UTC)
Organization: Aioe.org NNTP Server
Lines: 26
Message-ID: <kpprkn$fcl$1@speranza.aioe.org>
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150832
Author: Whiskers
Date: Tue, 18 Jun 2013 21:56
81 lines
4336 bytes
["Followup-To:" header set to alt.free.newsservers.]
On 2013-06-18, Danny D <DannyD@example.com> wrote:
> Every once in a while, a single nntp post ends up posted in triplicate:
>
> Q: How can I debug, on Linux, if the problem is caused by 
> (a) my freeware newsreader ? or 
> (b) my public newserver ?

You could try a packet sniffer (eg Wireshark) to analyse the traffic
between your system and the news-server.  But first, look at all the
headers you've given us:

[...]

> Date: Tue, 18 Jun 2013 14:40:26 +0000 (UTC)
> Message-ID: <kpprgq$f1c$1@speranza.aioe.org>

[...]

> Date: Tue, 18 Jun 2013 14:40:57 +0000 (UTC)
> Message-ID: <kpprhp$f2t$1@speranza.aioe.org>

[...]

> Date: Tue, 18 Jun 2013 14:42:31 +0000 (UTC)
> Message-ID: <kpprkn$fcl$1@speranza.aioe.org>

[...]

Also from the triplicated post here:

Date: Tue, 18 Jun 2013 15:18:07 +0000 (UTC)
Message-ID: <kpptnf$lci$1@speranza.aioe.org>

Date: Tue, 18 Jun 2013 15:19:09 +0000 (UTC)
Message-ID: <kpptpd$lh2$1@speranza.aioe.org>

Date: Tue, 18 Jun 2013 15:18:38 +0000 (UTC)
Message-ID: <kpptoe$leq$1@speranza.aioe.org>

and from your post via Albasani:

Date: Tue, 18 Jun 2013 19:21:23 +0000 (UTC)
Message-ID: <kpqbvi$j1i$3@news.albasani.net>

>From these, notice that:

- within each trio, there are three different Message IDs.

- comparing the MIDs in the posts via AIOE and Albasani, it looks as though
  your own newsreader is allocating the part of the MID to the left of the
  @ sign.  The part to the right may also be allocated by your newsreader,
  derived from the name or address of the news-server used.

- the timing of the articles in a trio differs by a few seconds, or in one
  case by more than a minute.

As both the Date and Message-ID headers are probably created by your own
newsreader, and should be generated when you "send" the message (ie click
on the 'Send' button or whatever), it looks as though that "send" command
is being repeated.  The obvious way for that to happen is for the user (ie
you) to do it, perhaps by not waiting long enough for your newsreader and
news-server to finish talking to each other, and clicking again, or by
inadvertently holding the mouse button down long enough for three clicks to
be registered by the software before it has finished handling the first
click.

If there is a keyboard command for sending an article, instead of a GUI
point and click, try using that instead for posts you send via AIOE; there
is less chance of inadvertently duplicating (or triplicating) such
commands.

AIOE is a "special case" among news-servers.  Its resources are probably
very limited, and it has a custom-made filter system on the 'posting' side
instead of a conventional access control, so it may well respond much less
quickly than other servers.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150836
Author: Danny D.
Date: Tue, 18 Jun 2013 22:43
24 lines
2413 bytes
On Tue, 18 Jun 2013 22:56:02 +0100, Whiskers wrote:

> it looks as though that "send" command is being repeated. 

Interesting observation of the facts. 
That would explain why Paolo sees no problem.
It's Pan which is sending the message (up to) three times (but never more
than three times).

> The obvious way for that to happen is for the user (ie you) to do it, 
> perhaps by ... clicking again ... 

I don't think it's me holding the button down but I do agree with your
assessment that Pan is sending thrice. I should have mentioned that, at 
the same time, there were aioe connection errors, as evidenced by the Pan
log file.

So, it seems, somehow, when aioe has a connection problem, Pan sends the 
message three times (with three separate message ids).

The keyboard command in Pan is "control return", so I'll turn aioe back
on and try a test to alt.test with the keyboard command versus the mouse
click.
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150839
Author: Richard Kettlewell
Date: Wed, 19 Jun 2013 10:33
20 lines
2605 bytes
Whiskers <catwheezel@operamail.com> writes:
> - comparing the MIDs in the posts via AIOE and Albasani, it looks as though
>   your own newsreader is allocating the part of the MID to the left of the
>   @ sign.  The part to the right may also be allocated by your newsreader,
>   derived from the name or address of the news-server used.

That model isn’t consistent with the way the protocol works.  Either the
client chooses the whole message ID or the server does (if the client
doesn’t).  The construction in this case is consistent with the latter.

It looks like Pan can generate message IDs if configured to do so but
they start “pan$” (see GNKSA::generate_message_id()), so evidently that
option isn’t set in this case.

Setting it might solve the OP’s problem, depending on exactly when it
operates (i.e. whether it picks one ID and sticks with it or stupidly
generates a new one for each retry).

-- 
http://www.greenend.org.uk/rjk/
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150841
Author: Jasen Betts
Date: Wed, 19 Jun 2013 11:43
29 lines
2874 bytes
On 2013-06-18, Whiskers <catwheezel@operamail.com> wrote:
>
>> Date: Tue, 18 Jun 2013 14:40:26 +0000 (UTC)
>> Message-ID: <kpprgq$f1c$1@speranza.aioe.org>

> - comparing the MIDs in the posts via AIOE and Albasani, it looks as though
>   your own newsreader is allocating the part of the MID to the left of the
>   @ sign.  The part to the right may also be allocated by your newsreader,
>   derived from the name or address of the news-server used.

part of the NNTP protocol is that the news server offers a candidate
message-id to the client when the client requests to post a message.
_some_ services (IIRC "aioe") require that the client use the offered
message-id, but that is not part of the NNTP protocol. 

> As both the Date and Message-ID headers are probably created by your own
> newsreader, and should be generated when you "send" the message (ie click
> on the 'Send' button or whatever), it looks as though that "send" command
> is being repeated. 

both headers are optional, and could be generated by either the client
or the server. looking at the timezone of the date header may give a
clue as to its provenance.


-- 
⚂⚃ 100% natural

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150842
Author: Richard Kettlewell
Date: Wed, 19 Jun 2013 12:14
11 lines
2003 bytes
Jasen Betts <jasen@xnet.co.nz> writes:
> part of the NNTP protocol is that the news server offers a candidate
> message-id to the client when the client requests to post a message.

That’s an INN extension dating back to 1998, not AFAIK an obligatory
part of the protocol.

It doesn’t seem to be in 3977, at any rate.

-- 
http://www.greenend.org.uk/rjk/
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150844
Author: Danny D.
Date: Wed, 19 Jun 2013 13:15
10 lines
2060 bytes
On Wed, 19 Jun 2013 11:33:33 +0100, Richard Kettlewell wrote:

> It looks like Pan can generate message IDs if configured to do so but
> they start “pan$” (see GNKSA::generate_message_id()), so evidently that
> option isn’t set in this case.

I don't have message IDs set in Pan, so, I always thought the newsserver
was setting the message ID:
 http://www5.picturepush.com/photo/a/13357288/img/13357288.png
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150845
Author: Danny D.
Date: Wed, 19 Jun 2013 13:17
16 lines
2274 bytes
On Wed, 19 Jun 2013 11:43:00 +0000, Jasen Betts wrote:
 
>> As both the Date and Message-ID headers are probably created by your own
>> newsreader, and should be generated when you "send" the message (ie click
>> on the 'Send' button or whatever), it looks as though that "send" command
>> is being repeated. 
> 
> both headers are optional, and could be generated by either the client
> or the server. looking at the timezone of the date header may give a
> clue as to its provenance.

Just to clarify the situation ... 

I don't see any setting in Pan (at least not in the GUI) that allows
me to set the date header - and I have not touched the message-id setting.
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150847
Author: Richard Kettlewell
Date: Wed, 19 Jun 2013 13:21
16 lines
2469 bytes
"Danny D." <DannyD@is.invalid> writes:
> On Wed, 19 Jun 2013 11:33:33 +0100, Richard Kettlewell wrote:

>> It looks like Pan can generate message IDs if configured to do so but
>> they start “pan$” (see GNKSA::generate_message_id()), so evidently that
>> option isn’t set in this case.
>
> I don't have message IDs set in Pan, so, I always thought the newsserver
> was setting the message ID:
>  http://www5.picturepush.com/photo/a/13357288/img/13357288.png

It’s called add-message-id-header-when-posting in the source code, I
don’t know how that’s exposed in the UI.

-- 
http://www.greenend.org.uk/rjk/
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150852
Author: Danny D.
Date: Wed, 19 Jun 2013 14:47
12 lines
2250 bytes
On Wed, 19 Jun 2013 14:21:27 +0100, Richard Kettlewell wrote:

>> I don't have message IDs set in Pan, so, I always thought the newsserver
>> was setting the message ID:
>>  http://www5.picturepush.com/photo/a/13357288/img/13357288.png
> 
> It’s called add-message-id-header-when-posting in the source code, I
> don’t know how that’s exposed in the UI.

In ~/.pan2/preferences.xml is this line:
 <flag name='add-message-id-header-when-posting' value='false'/>
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150853
Author: Danny D.
Date: Wed, 19 Jun 2013 14:49
15 lines
2083 bytes
On Wed, 19 Jun 2013 13:17:54 +0000, Danny D. wrote:

> I don't see any setting in Pan (at least not in the GUI) that allows
> me to set the date header - and I have not touched the message-id setting.

Just to clarify, this is in the ~/.pan2/preferences.xml file:

<flag name='add-message-id-header-when-posting' value='false'/>

And, a grep of "date" only shows these unrelated lines:

$ grep date preferences.xml
<int name='header-pane-date-column-width' value='383'/>
<string name='header-pane-columns' value='state,action,subject,score,author,lines,date'/>
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150854
Author: Richard Kettlewell
Date: Wed, 19 Jun 2013 14:52
21 lines
2625 bytes
"Danny D." <DannyD@is.invalid> writes:
> Richard Kettlewell wrote:
>>> I don't have message IDs set in Pan, so, I always thought the
>>> newsserver was setting the message ID:
>>>  http://www5.picturepush.com/photo/a/13357288/img/13357288.png
>> 
>> It’s called add-message-id-header-when-posting in the source code, I
>> don’t know how that’s exposed in the UI.
>
> In ~/.pan2/preferences.xml is this line:
>  <flag name='add-message-id-header-when-posting' value='false'/>

Looks promising - I would try stopping Pan, editing the ‘false’ to
‘true’ and then restarting Pan.  Take a backup copy first so you can
restore it easily if it doesn’t work.

NB I’ve never used Pan - I’m just going on a superficial look at the
code here.

-- 
http://www.greenend.org.uk/rjk/
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150855
Author: Danny D.
Date: Wed, 19 Jun 2013 15:28
16 lines
2462 bytes
On Wed, 19 Jun 2013 15:52:09 +0100, Richard Kettlewell wrote:

> Looks promising - I would try stopping Pan, editing the ‘false’ to
> ‘true’ and then restarting Pan.  Take a backup copy first so you can
> restore it easily if it doesn’t work.

OK. I will try that. At the moment, I'm getting aioe server connectivity 
problems. 

This happens periodically (only with aioe and news4all.se and not any of
the other dozen or so free news servers); so I will have to wait for the 
aioe connectivity issues to abate.

Note: I think Paolo disconnects an IP address that has too many errors, 
as he had mentioned that to me prior in an email a while ago.
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150856
Author: Richard Kettlewell
Date: Wed, 19 Jun 2013 15:45
25 lines
3020 bytes
"Danny D." <DannyD@is.invalid> writes:
> Richard Kettlewell wrote:

>> Looks promising - I would try stopping Pan, editing the ‘false’ to
>> ‘true’ and then restarting Pan.  Take a backup copy first so you can
>> restore it easily if it doesn’t work.
>
> OK. I will try that. At the moment, I'm getting aioe server connectivity 
> problems. 

That’s not entirely surprising; my guess at what’s going on is that the
TCP connection is broken after the article has been sent to the news
server, but before a positive response has been transmitted back to Pan.
(Certain kinds of connectivity problem could readily lead to this
happening.)  The outcome of this would be that Pan mistakenly believes
the message hasn’t been posted and retries (or so it seems), leading to
duplicates.

The point of choosing the message ID on the client instead of the server
is that the server won’t accept two messages with the same message ID,
repeat attempts to post with the same ID won’t lead to actual
duplication.

-- 
http://www.greenend.org.uk/rjk/
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150858
Author: Danny D.
Date: Wed, 19 Jun 2013 16:25
23 lines
2613 bytes
On Wed, 19 Jun 2013 16:45:23 +0100, Richard Kettlewell wrote:

> The outcome of this would be that Pan mistakenly believes
> the message hasn’t been posted and retries (or so it seems), 
> leading to duplicates.

This is very interesting, and sounds likely.

The fact there are never more than 3, may indicate that Pan 
tries at least 3 times and then gives up (just a guess).

Here's a screenshot of the log file during an attempt:
 http://www2.picturepush.com/photo/a/13358275/640/13358275.png

I've pretty much ruled out the fact that I might have "bounced" 
the send button because, well, for one, there is no "send" button;
but, more importantly, the "File->Send Article" menu that I use
to send makes the whole send gui go away as soon as you click it.

Also, Control+return doesn't seem to make any difference; but it's 
hard to test because I'm using another server to send this as 
aioe doesn't like me since this morning. :(
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150861
Author: Whiskers
Date: Wed, 19 Jun 2013 19:34
36 lines
3403 bytes
On 2013-06-19, Richard Kettlewell <rjk@greenend.org.uk> wrote:
> Whiskers <catwheezel@operamail.com> writes:
>> - comparing the MIDs in the posts via AIOE and Albasani, it looks as though
>>   your own newsreader is allocating the part of the MID to the left of the
>>   @ sign.  The part to the right may also be allocated by your newsreader,
>>   derived from the name or address of the news-server used.
>
> That model isn’t consistent with the way the protocol works.  Either the
> client chooses the whole message ID or the server does (if the client
> doesn’t).  The construction in this case is consistent with the latter.

It's also consistent with the former; the newsreader has to know the
address of the news-server (or the IP number) as well as the arbitrary
"name" for it chosen by the user.

The 'unique' parts of each of the OP's MIDs seem to have been created in
the same way, which suggests the same software is involved, regardless of
whether the articles are posted to Albasani or AIOE.  So it seems
reasonable to suppose that the user's own system is creating them - whether
Pan or some other tool is doing it.

> It looks like Pan can generate message IDs if configured to do so but
> they start “pan$” (see GNKSA::generate_message_id()), so evidently that
> option isn’t set in this case.
>
> Setting it might solve the OP’s problem, depending on exactly when it
> operates (i.e. whether it picks one ID and sticks with it or stupidly
> generates a new one for each retry).

If there's a setting the user can change, then changing it might well
reveal more clues.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150862
Author: Richard Kettlewell
Date: Wed, 19 Jun 2013 19:50
31 lines
3272 bytes
Whiskers <catwheezel@operamail.com> writes:
> Richard Kettlewell <rjk@greenend.org.uk> wrote:
>> Whiskers <catwheezel@operamail.com> writes:
>>> - comparing the MIDs in the posts via AIOE and Albasani, it looks as though
>>>   your own newsreader is allocating the part of the MID to the left of the
>>>   @ sign.  The part to the right may also be allocated by your newsreader,
>>>   derived from the name or address of the news-server used.
>>
>> That model isn’t consistent with the way the protocol works.  Either the
>> client chooses the whole message ID or the server does (if the client
>> doesn’t).  The construction in this case is consistent with the latter.
>
> It's also consistent with the former; the newsreader has to know the
> address of the news-server (or the IP number) as well as the arbitrary
> "name" for it chosen by the user.

Sorry, it looks like I misread your remarks.
However:

> The 'unique' parts of each of the OP's MIDs seem to have been created
> in the same way, which suggests the same software is involved,
> regardless of whether the articles are posted to Albasani or AIOE.  So
> it seems reasonable to suppose that the user's own system is creating
> them - whether Pan or some other tool is doing it.

Albasani and AIOE both run INN, and strings in question match the syntax
INN uses for message IDs.  They don’t match the syntax Pan uses.  There
is no mystery about where those IDs were created.

-- 
http://www.greenend.org.uk/rjk/
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150863
Author: Danny D.
Date: Wed, 19 Jun 2013 20:13
12 lines
2095 bytes
On Wed, 19 Jun 2013 20:34:49 +0100, Whiskers wrote:

> If there's a setting the user can change, then changing it might well
> reveal more clues.

Here is one MID setting that I changed for this email:
 http://www2.picturepush.com/photo/a/13360135/img/13360135.png

I made the pan-included Domain name XXX as shown in the screenshot above.

In the next email, I will change the pan preferences.xml MID setting.
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150864
Author: Danny D.
Date: Wed, 19 Jun 2013 20:17
19 lines
2464 bytes
On Wed, 19 Jun 2013 20:50:07 +0100, Richard Kettlewell wrote:

> Albasani and AIOE both run INN, and strings in question match the syntax
> INN uses for message IDs.  They don’t match the syntax Pan uses.  There
> is no mystery about where those IDs were created.

OK. I see the XXX didn't take (probably because Pan wasn't generating 
the Message ID?). 

Anyway, I just changed the ~/.pan2/preferences.xml from:
<flag name='add-message-id-header-when-posting' value='false'/>
to:
<flag name='add-message-id-header-when-posting' value='true'/>

I realized I needed to kill and restart pan so this is what I did:
a) I killed pan
b) I modified the preferences.xml
c) I restarted pan and will send this message
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150866
Author: Danny D.
Date: Wed, 19 Jun 2013 21:18
10 lines
2000 bytes
On Wed, 19 Jun 2013 20:17:23 +0000, Danny D. wrote:

> Message-ID: <pan.2013.06.19.20.13.44@is.invalid>

It looks like Pan generated this message ID based on the 
time and date.

I've added a domain of "fakedomain.com" to see what the 
message ID is for this message.
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150867
Author: Danny D.
Date: Wed, 19 Jun 2013 21:19
9 lines
2069 bytes
On Wed, 19 Jun 2013 21:18:07 +0000, Danny D. wrote:

> Message-ID: <pan.2013.06.19.21.14.28@fakedomain.com>

Now the message ID seems wholly controlled by pan.

When Aioe lets me back in (usually that takes a day after a series
of errors), I'll test it out using aioe.org:119.
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150876
Author: Jasen Betts
Date: Thu, 20 Jun 2013 07:11
21 lines
2480 bytes
On 2013-06-19, Danny D. <DannyD@is.invalid> wrote:
> On Wed, 19 Jun 2013 20:17:23 +0000, Danny D. wrote:
>
>> Message-ID: <pan.2013.06.19.20.13.44@is.invalid>
>
> It looks like Pan generated this message ID based on the 
> time and date.

Message-ID: <pan.2013.06.19.21.14.28@fakedomain.com>

> I've added a domain of "fakedomain.com" to see what the 
> message ID is for this message.

fakedoamin.com is owned by information.com

you can get a real domain name from free from dyndsns.com or no-ip.biz etc.

-- 
⚂⚃ 100% natural

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150877
Author: Richard Kettlewell
Date: Thu, 20 Jun 2013 09:08
24 lines
2696 bytes
Jasen Betts <jasen@xnet.co.nz> writes:
> On 2013-06-19, Danny D. <DannyD@is.invalid> wrote:
>> On Wed, 19 Jun 2013 20:17:23 +0000, Danny D. wrote:

>>> Message-ID: <pan.2013.06.19.20.13.44@is.invalid>
>>
>> It looks like Pan generated this message ID based on the 
>> time and date.
>
> Message-ID: <pan.2013.06.19.21.14.28@fakedomain.com>
>
>> I've added a domain of "fakedomain.com" to see what the 
>> message ID is for this message.
>
> fakedoamin.com is owned by information.com
>
> you can get a real domain name from free from dyndsns.com or no-ip.biz
> etc.

Registering a domain name just for message IDs seems a bit excessive.
You could use a random string plus .invalid, e.g. 8q82vMuiSABms7xP.invalid.

-- 
http://www.greenend.org.uk/rjk/
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150884
Author: Whiskers
Date: Thu, 20 Jun 2013 13:33
22 lines
2548 bytes
On 2013-06-19, Danny D. <DannyD@is.invalid> wrote:
> On Wed, 19 Jun 2013 21:18:07 +0000, Danny D. wrote:
>
>> Message-ID: <pan.2013.06.19.21.14.28@fakedomain.com>
>
> Now the message ID seems wholly controlled by pan.
>
> When Aioe lets me back in (usually that takes a day after a series
> of errors), I'll test it out using aioe.org:119.

Now that you control your MIDs, you can include a personal "Fully Qualified
Domain Name" (FQDN) to the right of the @ sign.  Albasani can provide you
with one at no charge; see the FAQ at their web site.

Once your MIDs are 'unique to you', you can use them with your newsreaders
'filter' or 'score' system to make replies to your own posts easier to
find.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150885
Author: Whiskers
Date: Thu, 20 Jun 2013 13:36
20 lines
2286 bytes
On 2013-06-19, Danny D. <DannyD@is.invalid> wrote:
> On Wed, 19 Jun 2013 20:34:49 +0100, Whiskers wrote:
>
>> If there's a setting the user can change, then changing it might well
>> reveal more clues.
>
> Here is one MID setting that I changed for this email:
>  http://www2.picturepush.com/photo/a/13360135/img/13360135.png
>
> I made the pan-included Domain name XXX as shown in the screenshot above.
>
> In the next email, I will change the pan preferences.xml MID setting.

<cough> <cough>  this is usenet; your messages are "articles" or "posts",
but not "emails"  ;))

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150888
Author: Danny D.
Date: Thu, 20 Jun 2013 15:48
6 lines
1949 bytes
On Thu, 20 Jun 2013 07:11:15 +0000, Jasen Betts wrote:

> fakedoamin.com is owned by information.com

Ooops. I didn't check prior. Thanks. I'll change it.
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150889
Author: Danny D.
Date: Thu, 20 Jun 2013 15:49
7 lines
2063 bytes
On Thu, 20 Jun 2013 10:08:46 +0100, Richard Kettlewell wrote:

> You could use a random string plus .invalid, e.g. 8q82vMuiSABms7xP.invalid.

How does this look for proper nntp etiquette?
 Message-ID: <pan.2013.06.20.15.44.22@domain.is.invalid>
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150892
Author: Mike Easter
Date: Thu, 20 Jun 2013 17:58
24 lines
2692 bytes
Danny D. wrote:
> On Thu, 20 Jun 2013 10:08:46 +0100, Richard Kettlewell wrote:
>
>> You could use a random string plus .invalid, e.g. 8q82vMuiSABms7xP.invalid.
>
> How does this look for proper nntp etiquette?
>   Message-ID: <pan.2013.06.20.15.44.22@domain.is.invalid>

It is actually better to use a legitimate FQDN which you are 'entitled' 
to use.  There are quite a number of different ways to obtain such a 
FQDN.  Two (or more) of my customary news servers offer access to a FQDN 
based on their name, news.individual.net and eternal-september.

You are currently posting via albasani, which pages also offer a FQDN, 
but the meister of albasani has died, so I don't know if the current 
supporters are providing everything that Alexander Bartolich would have.


http://www.albasani.net/wiki/FAQ_%28English%29#Can_I_have_a_FQDN_from_you.3F 
  Can I have a FQDN from you? - Sure. Send us a mail. A Fully Qualified 
Domain Name is required to build your own message IDs.

-- 
Mike Easter
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150896
Author: Martijn Lievaart
Date: Thu, 20 Jun 2013 20:56
17 lines
2295 bytes
On Thu, 20 Jun 2013 10:58:59 -0700, Mike Easter wrote:

> Danny D. wrote:
>> On Thu, 20 Jun 2013 10:08:46 +0100, Richard Kettlewell wrote:
>>
>>> You could use a random string plus .invalid, e.g.
>>> 8q82vMuiSABms7xP.invalid.
>>
>> How does this look for proper nntp etiquette?
>>   Message-ID: <pan.2013.06.20.15.44.22@domain.is.invalid>
> 
> It is actually better to use a legitimate FQDN which you are 'entitled'
> to use.

domain.is.invaild *IS* a legitimate FQDN which he is entitled to use.

M4
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150897
Author: John Hasler
Date: Thu, 20 Jun 2013 22:08
10 lines
2000 bytes
Martijn Lievaart writes:
> domain.is.invaild *IS* a legitimate FQDN which he is entitled to use.

To clarify, the top-level domain "invalid" is reserved for exactly this
sort of use.
-- 
John Hasler 
jhasler@newsguy.com
Dancing Horse Hill
Elmwood, WI USA
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150898
Author: Mike Easter
Date: Thu, 20 Jun 2013 22:38
38 lines
3345 bytes
John Hasler wrote:
> Martijn Lievaart writes:
>> domain.is.invaild *IS* a legitimate FQDN which he is entitled to use.
>
> To clarify, the top-level domain "invalid" is reserved for exactly this
> sort of use.

Just because .invalid is reserved as a TLD doesn't mean the example 
domain.is.invalid (correcting for misspelling of invalid above) is a 
legitimate FQDN that the discussant is entitled to use.

One definition of a FQDN is "a domain name that specifies its exact 
location in the tree hierarchy of the Domain Name System (DNS). It 
specifies all domain levels, including the top-level domain and the root 
zone."

There is no such specific so identified thing as domain.is.invalid and 
there is no root zone for invalid, which is one of the reasons it is a 
good choice for the TLD of a bogus invalid email address.

Somewhere along the way my original statement got lost.

I said earlier in a context:
> It is actually better to use a legitimate FQDN which you are
> 'entitled' to use.

By that, I mean that it is 'better' to use a legitimate FQDN as 
described above, as opposed to a 'made-up' name which appears 
syntactically correct, because the purpose of using a FQDN which you are 
legitimately entitled to use is that it adds to the 'uniquity' of the 
M-ID.  If you own a FQDN or if you are assigned a FQDN structured in the 
3rd level by the owner of the top and 2nd level name, then presumably no 
one outside of the 'administration' of the legitimate ownership/usage 
privileges will be using that same FQDN.


-- 
Mike Easter
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150899
Author: Whiskers
Date: Thu, 20 Jun 2013 23:45
33 lines
3301 bytes
On 2013-06-20, Mike Easter <MikeE@ster.invalid> wrote:
> Danny D. wrote:
>> On Thu, 20 Jun 2013 10:08:46 +0100, Richard Kettlewell wrote:
>>
>>> You could use a random string plus .invalid, e.g. 8q82vMuiSABms7xP.invalid.
>>
>> How does this look for proper nntp etiquette?
>>   Message-ID: <pan.2013.06.20.15.44.22@domain.is.invalid>
>
> It is actually better to use a legitimate FQDN which you are 'entitled' 
> to use.  There are quite a number of different ways to obtain such a 
> FQDN.  Two (or more) of my customary news servers offer access to a FQDN 
> based on their name, news.individual.net and eternal-september.
>
> You are currently posting via albasani, which pages also offer a FQDN, 
> but the meister of albasani has died, so I don't know if the current 
> supporters are providing everything that Alexander Bartolich would have.
>
>
> http://www.albasani.net/wiki/FAQ_%28English%29#Can_I_have_a_FQDN_from_you.3F 
>   Can I have a FQDN from you? - Sure. Send us a mail. A Fully Qualified 
> Domain Name is required to build your own message IDs.

I haven't tried it, but the 'free FQDN for usenet posts' service from
<http://th-h.de/fqdn/> still seems to be available.  That has the advantage
of not being tied to any particular News Service Provider.  (The Bing
translator, descendent of Babelfish of fond memory, does a remarkable job
of turning German into English).

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150901
Author: John Hasler
Date: Fri, 21 Jun 2013 00:42
10 lines
2010 bytes
Danny D writes:
> How does this look for proper nntp etiquette?
> Message-ID: <pan.2013.06.20.15.44.22@domain.is.invalid>

Look at <http://www.jwz.org/doc/mid.html>
-- 
John Hasler 
jhasler@newsguy.com
Dancing Horse Hill
Elmwood, WI USA
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150904
Author: Mike Easter
Date: Fri, 21 Jun 2013 00:55
39 lines
3523 bytes
Whiskers wrote:
> Mike Easter

>> It is actually better to use a legitimate FQDN

>> You are currently posting via albasani, which pages also offer a FQDN,

> I haven't tried it, but the 'free FQDN for usenet posts' service from
> <http://th-h.de/fqdn/> still seems to be available.  That has the advantage
> of not being tied to any particular News Service Provider.  (The Bing
> translator, descendent of Babelfish of fond memory, does a remarkable job
> of turning German into English).

I use Chrome which auto-interprets any webpage not in .en, names the 
language, and puts a bar offering to translate the page into .en which 
it then does, presumably with Google's translation function/engine (but 
you aren't whisked to google's language page function).

One thing I especially like about that Chrome page translation function 
is that if there is a sentence which translation seems 'wrong' or not 
quite right, if one poises the pointer over the sentence, the original 
in this case .de is provided so that one can have the sentence in both 
languages more or less side by side.

When I was learning to read .de literature, proximity of a translation 
even a mediocre one was a helpful tool.  Naturally a heavy duty 
German-English dictionary nearby can do more depth for some purposes.

I used to use Babelfish.  I decided to test an awkward sentence from the 
th-h.de page above and pasted it into Babelfish's field, but its result 
was slightly more awkward than google's.  Babelfish also offered to 
provide a human translation of the sentence for $1.90 :-)

"Did you know machine translation is only 70% accurate? Get this 
translated by a certified human translator for only $1.90"


-- 
Mike Easter
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150906
Author: Danny D.
Date: Fri, 21 Jun 2013 06:46
16 lines
2509 bytes
On Thu, 20 Jun 2013 14:33:05 +0100, Whiskers wrote:

> Now that you control your MIDs, you can include a personal "Fully Qualified
> Domain Name" (FQDN) to the right of the @ sign.  Albasani can provide you
> with one at no charge; see the FAQ at their web site.
> 
> Once your MIDs are 'unique to you', you can use them with your newsreaders
> 'filter' or 'score' system to make replies to your own posts easier to
> find.

Interesting concept. Up until now, I had thought Message IDs were, somehow, 
unique. But they seem not to be, based on what you wrote. So, they're just
useful for tracking within a given time period, I guess. 

Very interesting.
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150907
Author: Danny D.
Date: Fri, 21 Jun 2013 06:57
17 lines
2578 bytes
On Thu, 20 Jun 2013 19:42:53 -0500, John Hasler wrote:

>> How does this look for proper nntp etiquette?
>> Message-ID: <pan.2013.06.20.15.44.22@domain.is.invalid>
> 
> Look at <http://www.jwz.org/doc/mid.html>

I read the discussions above about the FQDN not being unique to my
system; but generating a "real" FQDN seems like a lot of effort
for a Message ID that I don't personally even use - when - the 
pan-generated message suffices for my purpose.

I guess the pitfall is that others can use the same message ID, 
so, I'm not sure how or what happens when a collision occurs.

Is the message ID all that important (with respect to a collision)?
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150908
Author: Danny D.
Date: Fri, 21 Jun 2013 06:59
10 lines
2007 bytes
On Thu, 20 Jun 2013 14:36:27 +0100, Whiskers wrote:

> <cough> <cough>  this is usenet; your messages are "articles" or "posts",
> but not "emails"  )

Oops. Mea culpa. I appreciate the clarification. 

(I often post to alt.usage.english for similar purposes - so I much appreciate
the admonishment.)
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150910
Author: Richard Kettlewell
Date: Fri, 21 Jun 2013 08:16
37 lines
3673 bytes
"Danny D." <DannyD@is.invalid> writes:
> Whiskers wrote:

>> Now that you control your MIDs, you can include a personal "Fully
>> Qualified Domain Name" (FQDN) to the right of the @ sign.  Albasani
>> can provide you with one at no charge; see the FAQ at their web site.
>> 
>> Once your MIDs are 'unique to you', you can use them with your
>> newsreaders 'filter' or 'score' system to make replies to your own
>> posts easier to find.
>
> Interesting concept. Up until now, I had thought Message IDs were, somehow, 
> unique. But they seem not to be, based on what you wrote. So, they're just
> useful for tracking within a given time period, I guess. 

The requirement is that message IDs are globally unique.  Any given news
server will only accept one message with a given message ID.

That doesn’t require that the domain half be unique as such - it’s
possible to make clashes vanishingly unlikely just by picking the LHS
uniformly at random from a sufficiently large set.

A unique domain name does help with uniqueness, however, if the left
hand side isn’t very random.  In Pan’s case it isn’t “very random” -
it’s the date down to the nearest second.  Hence my suggestion in an
early post.

It also doesn’t require that you “own” the domain in any meaningful
sense; and even if you did “own” it, you couldn’t stop someone else
using it for message IDs anyway.

Finally it doesn’t (technically speaking) require that nobody else owns
the domain, if they’re not actually using it for Usenet message-IDs.
But it does seem rude to use someone else’s domain without asking.

-- 
http://www.greenend.org.uk/rjk/
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150912
Author: Danny D.
Date: Fri, 21 Jun 2013 12:51
12 lines
2381 bytes
On Fri, 21 Jun 2013 09:16:20 +0100, Richard Kettlewell wrote:

> The requirement is that message IDs are globally unique.  Any given news
> server will only accept one message with a given message ID.

I think everyone is suggesting this be the solution, and I don't disagree.

One question: What if I end up using a MessageID that was used, say, 
a year or two ago? 

Would the news server still reject that message?
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150913
Author: Danny D.
Date: Fri, 21 Jun 2013 12:52
10 lines
2251 bytes
On Fri, 21 Jun 2013 09:16:20 +0100, Richard Kettlewell wrote:

> A unique domain name does help with uniqueness, however, if the left
> hand side isn’t very random.  In Pan’s case it isn’t “very random” -
> it’s the date down to the nearest second.  Hence my suggestion in an
> early post.

This is decidedly the case that pan's isn't at all very unique.
So I _do_ understand why the concentration on a better right side.
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150914
Author: Danny D.
Date: Fri, 21 Jun 2013 12:53
7 lines
2171 bytes
On Fri, 21 Jun 2013 09:16:20 +0100, Richard Kettlewell wrote:

> But it does seem rude to use someone else’s domain without asking.

This seems to be the key point, as you said, even owning the domain
wouldn't stop others from using it in and of itself.
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150915
Author: Richard Kettlewell
Date: Fri, 21 Jun 2013 13:28
20 lines
2787 bytes
"Danny D." <DannyD@is.invalid> writes:
> Richard Kettlewell wrote:

>> The requirement is that message IDs are globally unique.  Any given news
>> server will only accept one message with a given message ID.
>
> I think everyone is suggesting this be the solution, and I don't disagree.
>
> One question: What if I end up using a MessageID that was used, say, 
> a year or two ago? 
>
> Would the news server still reject that message?

It depends.  A common configuration is to forget both articles and
message IDs after (say) a few weeks.  But there are news swervers which
retain messages for years (and compete for business based on retention,
among other factors) or indefinitely (e.g. Google).

-- 
http://www.greenend.org.uk/rjk/
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150916
Author: Mike Easter
Date: Fri, 21 Jun 2013 15:09
13 lines
2010 bytes
Danny D. wrote:

> One question: What if I end up using a MessageID that was used, say,
> a year or two ago?
>
> Would the news server still reject that message?

My primary news server has a retention of just under a year, 342 days; 
giga's server retains text 10 years, 3651 days.


-- 
Mike Easter
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150919
Author: John Hasler
Date: Fri, 21 Jun 2013 20:25
23 lines
2712 bytes
Danny D writes:
> I read the discussions above about the FQDN not being unique to my
> system; but generating a "real" FQDN seems like a lot of effort for a
> Message ID that I don't personally even use - when - the pan-generated
> message suffices for my purpose.

Then what's the problem?  Nobody is saying that you must have a
"real" FQDN.  <anything_you_want>.invalid is fine.

> I guess the pitfall is that others can use the same message ID, so,
> I'm not sure how or what happens when a collision occurs.

Newsservers will not accept duplicate message IDs.

> Is the message ID all that important (with respect to a collision)?

It's no more important than the content of the message.  The idea is to
generate a string that is almost certainly unique.  That isn't hard.
-- 
John Hasler 
jhasler@newsguy.com
Dancing Horse Hill
Elmwood, WI USA
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150922
Author: Jasen Betts
Date: Sat, 22 Jun 2013 03:18
11 lines
2387 bytes
On 2013-06-21, Mike Easter <MikeE@ster.invalid> wrote:

> My primary news server has a retention of just under a year, 342 days; 
> giga's server retains text 10 years, 3651 days.

10 years is 3653 days.

-- 
⚂⚃ 100% natural

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150923
Author: Mike Easter
Date: Sat, 22 Jun 2013 04:22
18 lines
2495 bytes
Jasen Betts wrote:
> Mike Easter wrote:
>
>> My primary news server has a retention of just under a year, 342 days;
>> giga's server retains text 10 years, 3651 days.
>
> 10 years is 3653 days.

You are correct, some 10 year periods with 3 leap years are 3653 days 
while some 10 year periods with 2 leap years are 3652 days, but giga 
'only' claims 3651 days of retention, so I said 10 years without 
qualifying the statement with 'nearly' in the same par that I called 342 
days 'just under a year', when 342 days was actually much more under a 
year than 3651 days is barely less than 10 years.


-- 
Mike Easter
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150924
Author: Danny D.
Date: Sat, 22 Jun 2013 04:48
18 lines
2684 bytes
On Fri, 21 Jun 2013 14:28:04 +0100, Richard Kettlewell wrote:

>  A common configuration is to forget both articles and
> message IDs after (say) a few weeks.  But there are news swervers which
> retain messages for years

OK. I guess the answer is that it "could" drop your message if the 
MessageID is the same as one from as many as a decade prior. 

Wow.

I had never thought about message IDs before - and now I'm having
to consider having a machine create unique ones that have to be 
unique for all messages within the past decade.

That must be why you guys were so attentive to the proper domain
status half.
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150925
Author: Mike Easter
Date: Sat, 22 Jun 2013 12:00
32 lines
3114 bytes
Danny D. wrote:

> I had never thought about message IDs before - and now I'm having
> to consider having a machine create unique ones that have to be
> unique for all messages within the past decade.
>
> That must be why you guys were so attentive to the proper domain
> status half.

Most of 'us' (tinu) don't even worry about 'getting' or having a FQDN 
for the RHS nor do we tinw worry about what kind of algorithm to 
generate a string for the LHS of the M-ID, because we can accept the 
creation of our M-ID by the news server accepting the message.

The news server has its FQDN it uses for creating M-ID, and it has an 
intelligent algo for generating a unique string for the LHS of every 
message it accepts and provides an M-ID.

You have only gotten into the business of FQDN and M-ID string 
generation algo because you wanted to change the default configuration 
of your news agent and that because you ran into a problem because of 
your using a troubled news server aioe and getting hiccups.

My first thought instead would have been to use a better/stronger news 
server with better/healthier admin policies.


Hopefully there is no trouble with shorthand LHS, RHS, tinu/tinw; 
lefthandside, righthandside, thereisnous/we.

-- 
Mike Easter
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150926
Author: Danny D.
Date: Sat, 22 Jun 2013 16:25
9 lines
2240 bytes
On Sat, 22 Jun 2013 05:00:36 -0700, Mike Easter wrote:

> My first thought instead would have been to use a better/stronger news 
> server with better/healthier admin policies.

I don't disagree. 
This albasani news server, for example, worked fine with or
without the home-made message ID. :)
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#151128
Author: Danny D
Date: Wed, 10 Jul 2013 06:49
140 lines
8029 bytes
On Wed, 19 Jun 2013 13:14:59 +0100, Richard Kettlewell wrote:

UPDATE from the pan users group (not by me - but by someone who actually
understands how Pan works):

I understand enough about NNTP to have a pretty good idea of what's happening.

If you like, you can have a look at RFC 3977, Network News Transfer 
Protocol (NNTP) (dated October 2006 and obsoleting early RFC 977 while 
updating RFC 2980, with a further update as RFC 6048, Nov 2010, altho 
that updates the NNTP LIST command only and thus isn't of interest to us):

http://tools.ietf.org/html/rfc3977

Of interest to us is section 6.3, Article Posting, and in particular, 
6.3.1, the POST command.  Direct link to that:

http://tools.ietf.org/html/rfc3977#section-6.3.1


Basically, when a post is sent, the server MUST return a response code 
indicating success (response code 240) or failure (probably 441).  (Such 
codes often have a plain English description appended as well, for use by 
humans doing a manual telnet connection and/or for troubleshooting, but 
the numeric code is what a news client will be looking for.)  A 340 code 
is the "OK to send article" response after the initial POST command, 
before the actual article content is posted.

As covered in section 3.2, response codes...

http://tools.ietf.org/html/rfc3977#section-3.2

For the first digit, 2xx series responses indicate command completed OK, 
4xx series indicate syntax correct but failed for some reason, and 3xx 
indicates OK so far, send the rest.  The second digit indicates the 
function response, with x4x being the posting function.  There's posting 
examples at the end of section 6.3.1. =:^)


Back to section 6.3.1, the POST command, now quoting from the RFC:

>>>>

Following the presentation of the termination sequence by the client,
the server MUST return a response indicating success or failure of the 
article transfer. [...]

A response of 240 SHOULD indicate that, barring unforeseen server errors, 
the posted article will be made available on the server and/or 
transferred to other servers, as appropriate, possibly following further 
processing.  In other words, articles not wanted by the server SHOULD be 
rejected with a 441 response, rather than being accepted and then 
discarded silently.  However, the client SHOULD NOT assume that the 
article has been successfully transferred unless it receives an 
affirmative response from the server and SHOULD NOT assume that it is 
being made available to other clients without explicitly checking (for 
example, using the STAT command).

If the session is interrupted before the response is received, it is
possible that an affirmative response was sent but has been lost. 
Therefore, in any subsequent session, the client SHOULD either check 
whether the article was successfully posted before resending or ensure 
that the server will allocate the same message-id to the new attempt (see 
Appendix A.2).  The latter approach is preferred since the article might 
not have been made available for reading yet (for example, it may have to 
go through a moderation process).

<<<<

So basically, what pan's doing is waiting for that 240/441 response and 
acting accordingly.

It's worth noting here that NNTP is a TCP based protocol, and TCP is 
connection-based, so if a packet is lost, there will be several 
retransmit requests, before finally giving up on that connection as it 
eventually times out at one end or the other, or is RESET.

Thus the hangs are pan waiting for that response.  If the connection is 
bad and it doesn't get it, there will be retransmission attempts, but if 
the connection is bad enough that they fail to reach pan as well... that 
last paragraph kicks in.

Of course if pan's not setting the message-ids but instead letting the 
server do it, both it and the server have far less to go on when they try 
to pick up the pieces from the lost connection.  As you can see in the 
quote, ensuring the same message-id is the recommended recovery option, 
and of course pan can't do that if it didn't set the message-id and thus 
doesn't know it.

Thus as I said, this very issue very likely has something to do with why 
current pan always sets a message-id, but does allow the user to choose 
the domain name that appears as part of that message-id, if desired.


So...

I'd /bet/ that both pan and the server are observing at least the letter 
of the RFCs (the MUSTs), but not necessarily the spirit (as seen in the 
SHOULDs).  The primary culprit here is the bad network conditions, but 
either side could do better.  The server could do better by applying 
common-sense checks to messages posted within seconds of each other, 
particularly if they do not include the message-id, since in that case 
obviously the client isn't observing the recommended SHOULD, and is thus 
suspect.  The client, pan, could do better by following the 
recommendation to ensure the same message-id, basically by assigning the 
message-id on its own, as is apparently still an option in the outdated 
version you're using, but is simply done without giving the user the 
choice, in current pan.

So for your older pan version, you've "solved" the issue the RFC-
recommended way, by ensuring that the same message-id gets used, by 
having pan set it. =:^)

> Do you know how to debug why Pan is sending messages in triplicate?

As I mentioned up top, the ngrep (network grep) tool is very useful for 
troubleshooting actual network traffic issues such as this, letting you 
grep the specific connection via IP and port, as well as regex-matching 
specific packets if you have a better idea what you're looking for than 
simply "everything from that connection."

Here, for example, you could ngrep the connection (by IP and port) for 
POST, and for result codes of 240, 340 and 441.


But I think the RFC and the behavior you see are clear enough that you 
shouldn't actually need to do that for this problem, tho of course 
following the wire-line logs of an actual session is likely to be quite 
educational and is thus something I'd recommend in its own right. =:^)

FWIW, I used ngrep here, when configuring pan for the new header 
compression as well as the secure connections features, to verify that it 
was working as intended.   (Obviously, ngrep won't yield much of use from 
the content of the secure connection except for verifying that it's no 
longer clear-text, so I set that up last, but the TCP packet headers will 
still be in the clear, or the packets couldn't be routed.)  Your pan is 
of course too old to have those features but it's still worth doing an 
ngrep on the traffic at least once, just to see how the protocol actually 
works. =:^)
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#151131
Author: Richard Kettlewell
Date: Wed, 10 Jul 2013 09:45
21 lines
2605 bytes
Danny D <DannyD@example.com> writes:
> UPDATE from the pan users group (not by me - but by someone who actually
> understands how Pan works):

There wasn’t really any doubt aboute how the duplicates arose.

[...]
> I'd /bet/ that both pan and the server are observing at least the letter 
> of the RFCs (the MUSTs), but not necessarily the spirit (as seen in the 
> SHOULDs).  The primary culprit here is the bad network conditions, but 
> either side could do better.  The server could do better by applying 
> common-sense checks to messages posted within seconds of each other, 
> particularly if they do not include the message-id, since in that case 
> obviously the client isn't observing the recommended SHOULD, and is thus 
> suspect.

“Client chooses message ID” is simple, reliable, and widely deployed.
There is no need to invent complicated new server features.

-- 
http://www.greenend.org.uk/rjk/
Page 1 of 2 • 52 total messages
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