🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.free.newsservers
18 messages
18 total messages Started by Danny D Tue, 18 Jun 2013 15:19
How can I debug a triplicate post (free newserver or free newsreader)?
#150824
Author: Danny D
Date: Tue, 18 Jun 2013 15:19
37 lines
2206 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)?
#150827
Author: Martijn Lievaart
Date: Tue, 18 Jun 2013 18:26
13 lines
1801 bytes
On Tue, 18 Jun 2013 15:19:09 +0000, Danny D 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 ?
> 

Use 'tcpdump -s1500 -w <somefile.pcap> port nntp'. Restart it once in a 
while to stop the file from growing to large. Once you hit a triple post, 
use wireshark to analyze what went wrong.

M4
How can I debug a triplicate post (aioe:119) on Linux with Pan 0.135?
#150828
Author: Danny D.
Date: Tue, 18 Jun 2013 19:21
31 lines
2667 bytes
On Tue, 18 Jun 2013 15:19:09 +0000, Danny D wrote:

> Every once in a while, a single nntp post ends up posted in triplicate:

Yikes! It happened on this very post!
 From: Danny D <DannyD@example.com>
 Subject: How can I debug a triplicate post (free newserver or free
 newsreader)?
 Date: Tue, 18 Jun 2013 15:18:07 +0000 (UTC)
 Message-ID: <kpptnf$lci$1@speranza.aioe.org>

 From: Danny D <DannyD@example.com>
 Subject: How can I debug a triplicate post (free newserver or free
 newsreader)?
 Date: Tue, 18 Jun 2013 15:18:38 +0000 (UTC)
 Message-ID: <kpptoe$leq$1@speranza.aioe.org>

 From: Danny D <DannyD@example.com>
 Subject: How can I debug a triplicate post (free newserver or free
 newsreader)?
 Date: Tue, 18 Jun 2013 15:19:09 +0000 (UTC)
 Message-ID: <kpptpd$lh2$1@speranza.aioe.org>

I've disabled aioe, and, using a different free newsserver for this post, 
I don't think it will post in triplicate (like aioe does sometimes).

So, I *think* it's something wrong on the Aioe side; but I've contacted 
Paolo Amoroso in the past and he says he can't find the problem.

Any idea how to debug this on Linux (CentOS)?
Re: How can I debug a triplicate post (aioe:119) on Linux with Pan 0.135?
#150830
Author: Mike Easter
Date: Tue, 18 Jun 2013 19:50
21 lines
1982 bytes
Danny D. wrote:
Newsgroups: alt.free.newsservers, alt.comp.software.newsreaders, 
alt.os.linux

I don't think this message needs to/ should/ be crossposted to 3 groups 
especially a group which doesn't appear on my primary news server and 
I'm deleting alt.comp.software.newsreaders and making f/ups to afn

I don't know if Pan has the ability to make logs of the transaction, but 
that seems like a good place to start.

If Pan can't do it, I'm sure you can do it with something else.

If you come up with a solution to prevent hiccups, that would be nice.

The 3 messages you illustrate not only have unique M-IDs, but they were 
transacted at significantly different times in seconds.


-- 
Mike Easter
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150834
Author: Danny D.
Date: Tue, 18 Jun 2013 22:28
20 lines
2130 bytes
On Tue, 18 Jun 2013 20:26:18 +0200, Martijn Lievaart wrote:

> Use 'tcpdump -s1500 -w <somefile.pcap> port nntp'. Restart it once in a 
> while to stop the file from growing to large. Once you hit a triple post, 
> use wireshark to analyze what went wrong.

$ tcpdump -s1500 -w /tmp/pan.pcap port nntp
==> tcpdump: no suitable device found

$ locate .pcap
==> nothing found

$ man tcpdump
==> dump traffic on a network

$ tcpdump -s1500 -w /tmp/pan.pcap port nntp
==> tcpdump: no suitable device found 

Hmmmmmmmmm..... I need to RTFM a bit to see what's wrong with tcpdump.
Re: How can I debug a triplicate post (aioe:119) on Linux with Pan 0.135?
#150835
Author: Danny D.
Date: Tue, 18 Jun 2013 22:33
24 lines
2378 bytes
On Tue, 18 Jun 2013 12:50:56 -0700, Mike Easter wrote:

> The 3 messages you illustrate not only have unique M-IDs, but they were 
> transacted at significantly different times in seconds.

Hi Mike,
I agree. What happened in Pan is that it was saying it was "posting"
but that was taking minutes. I finally killed Pan. 

Checking, I see that sequence generated 3 messages, which are exact
duplicates in every way other than the message id & time point.

The funny thing is that this periodically happens, but only with 
aioe. I use Pan all the time; and I use multiple newsservers. 

It only happens with Aioe. So, that's why I suspect Aioe, but, Paolo
already told me in the past he doesn't see a problem on his server.

So far people told me to suspect Pan - but I haven't figured out yet
how to get tcpdump to work: 

$ tcpdump -s1500 -w /tmp/pan.pcap port nntp
==> tcpdump: no suitable device found
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#150881
Author: Martijn Lievaart
Date: Thu, 20 Jun 2013 12:42
21 lines
2281 bytes
On Tue, 18 Jun 2013 22:28:44 +0000, Danny D. wrote:

> On Tue, 18 Jun 2013 20:26:18 +0200, Martijn Lievaart wrote:
> 
>> Use 'tcpdump -s1500 -w <somefile.pcap> port nntp'. Restart it once in a
>> while to stop the file from growing to large. Once you hit a triple
>> post,
>> use wireshark to analyze what went wrong.
> 
> $ tcpdump -s1500 -w /tmp/pan.pcap port nntp ==> tcpdump: no suitable
> device found

Run it as root.

> 
> $ locate .pcap ==> nothing found

Locate is useless in this case without an updatedb first.

HTH,
M4
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#151039
Author: Danny D
Date: Thu, 04 Jul 2013 18:10
13 lines
1590 bytes
On Tue, 18 Jun 2013 15:19:09 +0000, Danny D wrote:

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

Finally, after a few weeks of "connection refused" (probably due to the
duplicate posts), aioe.org let me back in, so, we can now finally 
test whether allowing PAN to create the message ID will work to prevent
the triplicate posts that Pan was sending out prior.

This is being sent by aioe.org:119
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#151055
Author: Mike Easter
Date: Sat, 06 Jul 2013 15:03
26 lines
1994 bytes
Danny D wrote:

> we can now finally
> test whether allowing PAN to create the message ID will work to prevent
> the triplicate posts that Pan was sending out prior.
>
> This is being sent by aioe.org:119

I still don't understand why a better strategy wouldn't be to

  - choose a more robust news server than aioe
  - let the news server create the MID

OR

  - if you /are/ going to let Pan make the MID, do a better job of 
selecting a better, more individual, right hand side of the MID with a 
more individual/optimal FQDN.

The 'purpose' of the illustration-type example.com, which is actually 
not a 'proper' FQDN (it only has correct syntax) is not 'intended' for 
the purpose of creating MIDs.


-- 
Mike Easter
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#151056
Author: Richard Kettlewell
Date: Sat, 06 Jul 2013 15:48
30 lines
2981 bytes
Mike Easter <MikeE@ster.invalid> writes:
> Danny D wrote:

>> we can now finally test whether allowing PAN to create the message ID
>> will work to prevent the triplicate posts that Pan was sending out
>> prior.
>>
>> This is being sent by aioe.org:119
>
> I still don't understand why a better strategy wouldn't be to
>
>  - choose a more robust news server than aioe
>  - let the news server create the MID

Letting the news server create the message ID is just what it was doing.
It was part of the problem.

What you’re presumably asking for is for the news server to create the
message ID, send it to the client, and have the client use it and
remember it for any retries.

That would work, and INN does happen to do the first part of this and
IIRC has done since the late 1990s.  However it’s not a standard part of
NNTP, and as far as I know is not widely supported by clients.

If you want to change the latter then you need to persuade the authors
of the client software, not their users.

-- 
http://www.greenend.org.uk/rjk/
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#151059
Author: Mike Easter
Date: Sat, 06 Jul 2013 20:28
33 lines
2418 bytes
Richard Kettlewell wrote:
> Mike Easter
>> Danny D wrote:
>
>>> we can now finally test whether allowing PAN to create the message ID
>>> will work to prevent the triplicate posts that Pan was sending out
>>> prior.
>>>
>>> This is being sent by aioe.org:119
>>
>> I still don't understand why a better strategy wouldn't be to
>>
>>   - choose a more robust news server than aioe
>>   - let the news server create the MID
>
> Letting the news server create the message ID is just what it was doing.
> It was part of the problem.

The problem was (thought to be):

Because the news server was aioe which has slow transaction problems 
because it has miscellaneous anti-abuse duties to do which a news server 
with registration doesn't normally have to do AND the news agent was Pan 
AND Pan was configured to create the MID.

It was considered that one of those needed to be changed, so the OP 
decided that the one he wanted to change was the last one; whereas the 
one I would have changed would have been the first one and not the last one.



-- 
Mike Easter
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#151060
Author: Mike Easter
Date: Sat, 06 Jul 2013 20:37
34 lines
2727 bytes
Oops.  NOT omission.

Mike Easter wrote:

> The problem was (thought to be):
>
> Because the news server was aioe which has slow transaction problems
> because it has miscellaneous anti-abuse duties to do which a news server
> with registration doesn't normally have to do AND the news agent was Pan
> AND Pan was configured to create the MID.

I meant to say:  Pan was NOT configured to create the MID

> It was considered that one of those needed to be changed, so the OP
> decided that the one he wanted to change was the last one; whereas the
> one I would have changed would have been the first one and not the last
> one.

I would have left the MID to the news server's configuration and/but 
chosen a news server that doesn't have to 'mess around' trying to figure 
out whether or not the IP address connecting is associated with past 
abuse and can therefore routinely transact in a more efficient way.

OR

If I were going to have my agent create the MID, I would not choose 
example.com for the RHS righthandside, but instead I would choose a FQDN 
which was assigned to/ acquired by/ me in some way; from a news server's 
assignment or that was registrar registered to me or provided to me by a 
service or somesuch.


-- 
Mike Easter
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#151072
Author: Richard Kettlewell
Date: Sun, 07 Jul 2013 08:08
29 lines
2915 bytes
Mike Easter <MikeE@ster.invalid> writes:
> Oops.  NOT omission.
> Mike Easter wrote:
>
>> The problem was (thought to be):
>>
>> Because the news server was aioe which has slow transaction problems
>> because it has miscellaneous anti-abuse duties to do which a news server
>> with registration doesn't normally have to do AND the news agent was Pan
>> AND Pan was configured to create the MID.
>
> I meant to say:  Pan was NOT configured to create the MID
>
>> It was considered that one of those needed to be changed, so the OP
>> decided that the one he wanted to change was the last one; whereas the
>> one I would have changed would have been the first one and not the last
>> one.
>
> I would have left the MID to the news server's configuration and/but
> chosen a news server that doesn't have to 'mess around' trying to
> figure out whether or not the IP address connecting is associated with
> past abuse and can therefore routinely transact in a more efficient
> way.

That just reduces the probability of duplication, it doesn’t eliminate
it.

-- 
http://www.greenend.org.uk/rjk/
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#151076
Author: bad sector
Date: Sun, 07 Jul 2013 12:25
36 lines
3220 bytes
On 07/06/2013 11:48 AM, Richard Kettlewell wrote:
> Mike Easter <MikeE@ster.invalid> writes:
>> Danny D wrote:
>
>>> we can now finally test whether allowing PAN to create the message ID
>>> will work to prevent the triplicate posts that Pan was sending out
>>> prior.
>>>
>>> This is being sent by aioe.org:119
>>
>> I still don't understand why a better strategy wouldn't be to
>>
>>   - choose a more robust news server than aioe
>>   - let the news server create the MID
>
> Letting the news server create the message ID is just what it was doing.
> It was part of the problem.
>
> What you’re presumably asking for is for the news server to create the
> message ID, send it to the client, and have the client use it and
> remember it for any retries.
>
> That would work, and INN does happen to do the first part of this and
> IIRC has done since the late 1990s.  However it’s not a standard part of
> NNTP, and as far as I know is not widely supported by clients.
>
> If you want to change the latter then you need to persuade the authors
> of the client software, not their users.

Why not have the server receiving the article from the client append or 
prepend its name to the exact millisecond time kept by that server and 
according to the order it was processed if several arrive concurently 
to make a unique MID?  This (I think) could even work with a Tor usenet 
bundle if ever one would arise.

Re: How can I debug a triplicate post (free newserver or free newsreader)?
#151078
Author: Richard Kettlewell
Date: Sun, 07 Jul 2013 13:18
40 lines
3324 bytes
bad sector <forgetski@postit_INVALID_.gov> writes:
> On 07/06/2013 11:48 AM, Richard Kettlewell wrote:
>> Mike Easter <MikeE@ster.invalid> writes:
>>> Danny D wrote:
>>
>>>> we can now finally test whether allowing PAN to create the message ID
>>>> will work to prevent the triplicate posts that Pan was sending out
>>>> prior.
>>>>
>>>> This is being sent by aioe.org:119
>>>
>>> I still don't understand why a better strategy wouldn't be to
>>>
>>>   - choose a more robust news server than aioe
>>>   - let the news server create the MID
>>
>> Letting the news server create the message ID is just what it was doing.
>> It was part of the problem.
>>
>> What you’re presumably asking for is for the news server to create the
>> message ID, send it to the client, and have the client use it and
>> remember it for any retries.
>>
>> That would work, and INN does happen to do the first part of this and
>> IIRC has done since the late 1990s.  However it’s not a standard part of
>> NNTP, and as far as I know is not widely supported by clients.
>>
>> If you want to change the latter then you need to persuade the authors
>> of the client software, not their users.
>
> Why not have the server receiving the article from the client append
> or prepend its name to the exact millisecond time kept by that server
> and according to the order it was processed if several arrive
> concurently to make a unique MID?

You cannot fix this problem by tinkering with the way news servers
generate message IDs.

-- 
http://www.greenend.org.uk/rjk/
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#151093
Author: bad sector
Date: Mon, 08 Jul 2013 13:04
50 lines
3981 bytes
On 07/07/2013 09:18 AM, Richard Kettlewell wrote:
> bad sector <forgetski@postit_INVALID_.gov> writes:
>> On 07/06/2013 11:48 AM, Richard Kettlewell wrote:
>>> Mike Easter <MikeE@ster.invalid> writes:
>>>> Danny D wrote:
>>>
>>>>> we can now finally test whether allowing PAN to create the message ID
>>>>> will work to prevent the triplicate posts that Pan was sending out
>>>>> prior.
>>>>>
>>>>> This is being sent by aioe.org:119
>>>>
>>>> I still don't understand why a better strategy wouldn't be to
>>>>
>>>>    - choose a more robust news server than aioe
>>>>    - let the news server create the MID
>>>
>>> Letting the news server create the message ID is just what it was doing.
>>> It was part of the problem.
>>>
>>> What you’re presumably asking for is for the news server to create the
>>> message ID, send it to the client, and have the client use it and
>>> remember it for any retries.
>>>
>>> That would work, and INN does happen to do the first part of this and
>>> IIRC has done since the late 1990s.  However it’s not a standard part of
>>> NNTP, and as far as I know is not widely supported by clients.
>>>
>>> If you want to change the latter then you need to persuade the authors
>>> of the client software, not their users.
>>
>> Why not have the server receiving the article from the client append
>> or prepend its name to the exact millisecond time kept by that server
>> and according to the order it was processed if several arrive
>> concurently to make a unique MID?
>
> You cannot fix this problem by tinkering with the way news servers
> generate message IDs.

far be it from me to presume any specific expertise, it seems that the 
problem is with the MID's uniqueness, isn't this correct?








Re: How can I debug a triplicate post (free newserver or free newsreader)?
#151096
Author: Richard Kettlewell
Date: Mon, 08 Jul 2013 14:15
35 lines
3280 bytes
bad sector <forgetski@postit_INVALID_.gov> writes:
> On 07/07/2013 09:18 AM, Richard Kettlewell wrote:
>> bad sector <forgetski@postit_INVALID_.gov> writes:

>>>> Letting the news server create the message ID is just what it was doing.
>>>> It was part of the problem.
>>>>
>>>> What you’re presumably asking for is for the news server to create the
>>>> message ID, send it to the client, and have the client use it and
>>>> remember it for any retries.
>>>>
>>>> That would work, and INN does happen to do the first part of this and
>>>> IIRC has done since the late 1990s.  However it’s not a standard part of
>>>> NNTP, and as far as I know is not widely supported by clients.
>>>>
>>>> If you want to change the latter then you need to persuade the authors
>>>> of the client software, not their users.
>>>
>>> Why not have the server receiving the article from the client append
>>> or prepend its name to the exact millisecond time kept by that server
>>> and according to the order it was processed if several arrive
>>> concurently to make a unique MID?
>>
>> You cannot fix this problem by tinkering with the way news servers
>> generate message IDs.
>
> far be it from me to presume any specific expertise, it seems that the
> problem is with the MID's uniqueness, isn't this correct?

No.  The problem occurs when the client’s retry algorithm doesn’t use
the same message ID each time, in this case because it’s deferring
choice of message ID to the server.

-- 
http://www.greenend.org.uk/rjk/
Re: How can I debug a triplicate post (free newserver or free newsreader)?
#151097
Author: bad sector
Date: Mon, 08 Jul 2013 18:02
40 lines
3652 bytes
On 07/08/2013 10:15 AM, Richard Kettlewell wrote:
> bad sector <forgetski@postit_INVALID_.gov> writes:
>> On 07/07/2013 09:18 AM, Richard Kettlewell wrote:
>>> bad sector <forgetski@postit_INVALID_.gov> writes:
>
>>>>> Letting the news server create the message ID is just what it was doing.
>>>>> It was part of the problem.
>>>>>
>>>>> What you’re presumably asking for is for the news server to create the
>>>>> message ID, send it to the client, and have the client use it and
>>>>> remember it for any retries.
>>>>>
>>>>> That would work, and INN does happen to do the first part of this and
>>>>> IIRC has done since the late 1990s.  However it’s not a standard part of
>>>>> NNTP, and as far as I know is not widely supported by clients.
>>>>>
>>>>> If you want to change the latter then you need to persuade the authors
>>>>> of the client software, not their users.
>>>>
>>>> Why not have the server receiving the article from the client append
>>>> or prepend its name to the exact millisecond time kept by that server
>>>> and according to the order it was processed if several arrive
>>>> concurently to make a unique MID?
>>>
>>> You cannot fix this problem by tinkering with the way news servers
>>> generate message IDs.
>>
>> far be it from me to presume any specific expertise, it seems that the
>> problem is with the MID's uniqueness, isn't this correct?
>
> No.  The problem occurs when the client’s retry algorithm doesn’t use
> the same message ID each time, in this case because it’s deferring
> choice of message ID to the server.

I stand corrected, misread the thread. My comment was for originating 
MID generation.



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