🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
20 messages
20 total messages Started by Steve Richfie1d Wed, 05 Jan 2005 13:09
Automated posting trasher?
#160231
Author: Steve Richfie1d
Date: Wed, 05 Jan 2005 13:09
12 lines
1964 bytes
I am chasing the bugs out of an application that communicates with other 
copies of itself via NNTP. However, sometimes it apparently has a 
posting discarded. These tend to be posted several at a time in rapid 
succession, often with the same or very similar header information.

I was wondering if there is some standard automated criteria for 
discarding postings, e.g. thinking that they are duplicates? Maybe I 
need to randomize the subjects or ???

Thanks in advance for any light that you can shed on this very dark place.

Steve Richfie1d
Re: Automated posting trasher?
#160235
Author: /betty/
Date: Wed, 05 Jan 2005 14:04
19 lines
2047 bytes
On Wed, 05 Jan 2005 06:09:18 -0700, Steve Richfie1d used 12 lines to
assert:

> I am chasing the bugs out of an application that communicates with other 
> copies of itself via NNTP. However, sometimes it apparently has a 
> posting discarded. These tend to be posted several at a time in rapid 
> succession, often with the same or very similar header information.
> 
> I was wondering if there is some standard automated criteria for 
> discarding postings, e.g. thinking that they are duplicates? Maybe I 
> need to randomize the subjects or ???
> 

If I understand you correctly the Message-ID: field string is the best
criteria to use to discern dupes or not, it's required to be generated
unique.

-- 
/betty/ [2005-01-06 01:00:14]
Re: Automated posting trasher?
#160237
Author: Steve Richfie1d
Date: Wed, 05 Jan 2005 14:57
26 lines
2546 bytes
Betty,

>>I was wondering if there is some standard automated criteria for 
>>discarding postings, e.g. thinking that they are duplicates? Maybe I 
>>need to randomize the subjects or ???

> If I understand you correctly the Message-ID: field string is the best
> criteria to use to discern dupes or not, it's required to be generated
> unique.

Again, my problem is how to keep my client postings from being trashed 
as duplicates by a server over which I have no control.

There appears to be some undocumented criteria for recognizing 
duplicates upon receipt.

As the client, I don't get to generate the Message-ID, nor do I even get 
to see it when the server decides to trash my article upon its receipt.

Clearly, the server is making this decision based on SOMETHING that is 
not found in the RCFs.

I ran this test twice, and each time the server discarded the same 
message from among 3 similar messages.

Steve Richfie1d
Re: Automated posting trasher?
#160242
Author: Bert Hyman
Date: Wed, 05 Jan 2005 15:48
39 lines
2557 bytes
Steve@NOSPAM.smart-life.net (Steve Richfie1d) wrote in
news:1104931230.24a4556ffc9986ab2c082c5b0d947b78@teranews: 

> I am chasing the bugs out of an application that communicates with
> other copies of itself via NNTP. However, sometimes it apparently
> has a posting discarded. These tend to be posted several at a time
> in rapid succession, often with the same or very similar header
> information. 
> 
> I was wondering if there is some standard automated criteria for 
> discarding postings, e.g. thinking that they are duplicates? Maybe
> I need to randomize the subjects or ???

You say it communicates "with other copies of itself", yet you seem
to imply that there's a news server in the middle; is this correct? 

If so, then yes, there are a couple of things that could be going on.

If you're generating the Message-ID header yourself, messages with an
ID that's the same as a message already received will be rejected. 

If the server in the middle is running CleanFeed or something like
it, it will have a threshold for duplicate posts, after which it will
begin rejecting new copies. If that's happening, you must be
generating a LOT of duplicates, since I think the default threshold
is 10 copies. 

There are three different CleanFeed duplicate checks which may be
selectively enabled: 

1. FSL - From/Subject/#lines in message
2. PHL - Posting Host/#lines in message
3. MD5 - MD5 hash-code generated from message body

Simply changing the Subject: line won't get you around all the
CleanFeed checks. 

-- 
Bert Hyman | St. Paul, MN | bert@visi.com
Re: Automated posting trasher?
#160248
Author: Steve Richfie1d
Date: Wed, 05 Jan 2005 17:01
75 lines
4513 bytes
Bert,

> You say it communicates "with other copies of itself", yet you seem
> to imply that there's a news server in the middle; is this correct? 

Yes. This is a "knowledgeable browser" application, where the browsers 
communicate human readable machine knowledge between themselves rather 
than human-composed information. This uses Usenet for scalability reasons.

> If so, then yes, there are a couple of things that could be going on.
> 
> If you're generating the Message-ID header yourself, messages with an
> ID that's the same as a message already received will be rejected. 

Nope, I'm not making the Message-ID fields, but rather just acting like 
an NNTP client and letting the server do this.

> If the server in the middle is running CleanFeed or something like
> it,

This should work with substantially all servers, so I need the MOST 
conservative logic possible. They sure don't mention CleanFeed in the 
RFCs. What other nasties are lurking out there to trash my articles?

> it will have a threshold for duplicate posts, after which it will
> begin rejecting new copies.

My BIG question is: What constitutes a "copy"? What must match from 
message to message?

> If that's happening, you must be
> generating a LOT of duplicates, since I think the default threshold
> is 10 copies.

I sent in three articles, but only two of them get posted.

> There are three different CleanFeed duplicate checks which may be
> selectively enabled:

Is this an AND or an OR relationship? Will just one of these cause 
articles to be discarded?

> 1. FSL - From/Subject/#lines in message
The number of lines was different, but this server seems to always 
report "Lines 1". Given that, all three messages were the same. HOWEVER, 
two were on one login, while a third was on another login. One of the 
two messages on the same login was lost.

> 2. PHL - Posting Host/#lines in message
I don't get much control over this.

> 3. MD5 - MD5 hash-code generated from message body
This would of course be different from message to message.

> Simply changing the Subject: line won't get you around all the
> CleanFeed checks. 

However, it sounds like it might get me past the one that is probably 
tripping me up.

It certainly wouldn't hurt anything for me to put a little more 
information into the Subject. It was my goal to facilitate eliminating 
these messages with spam filters, as these messages are really intended 
for machine reading rather than human reading.

Maybe THIS is why I see cryptic codes in the subject lines of a lot of 
spam?! Perhaps this is how they evade the filters?

BTW, if you would like to see what this is all about, just look at 
<news:microsoft.public.nntp.test>. The most recent postings are a test 
of this system.

Thanks much for your help with this.

Steve Richfie1d
Re: Automated posting trasher?
#160253
Author: J.B. Moreno
Date: Wed, 05 Jan 2005 18:10
13 lines
1573 bytes
Steve Richfie1d <Steve@NOSPAM.smart-life.net> wrote:

> As the client, I don't get to generate the Message-ID, nor do I even get
> to see it when the server decides to trash my article upon its receipt.

(a) the client does get to generate the Message-ID with most servers,
and (b) other than duplicate Message-ID's, the only reason a post would
be dropped as a "duplicate" would be if it it's BI (Breidbart Index)
indicated it was spam.

-- 
JBM
"Everything is futile." -- Marvin of Borg
Re: Automated posting trasher?
#160256
Author: Bert Hyman
Date: Wed, 05 Jan 2005 18:14
39 lines
2844 bytes
Steve@NOSPAM.smart-life.net (Steve Richfie1d) wrote in
news:1104946018.7121582c14baa3c069d26705af7b158e@teranews: 

> They sure don't mention CleanFeed in the 
> RFCs. 

The RFCs only address the format of a message. CleanFeed is a
"bolt-on" feature that some news admins run on their systems to
filter out spam and other nastyness. The particular features that are
enabled, and the thresholds at which they kick in are totally up to
the policy of the news provider and/or the whims of the admin. 

Since you mentioned a "microsoft.public.xxxx" newsgroup as an example
of what you're doing, you're also up against Microsoft's own idea of
how to run a news server. Historically, MS hasn't been known to
follow standards or conventions too closely. 

> What other nasties are lurking out there to trash my articles?

There's only one other wide-spread thing I can think of, and it's
called "NoCem" (No See 'em), and from the description of your
application, it's unlikely that you're running into it. 

With NoCem, interested third party observers watch their newsfeeds
and based on their own criteria issue "NoCem" messages to either
"news.lists.filters" or "alt.nocem.misc" containing some descriptive
headers and a list of Message-IDs they deem worthy of deletion. 

People who want to use the feature decide which of the issuers are
trustworthy or are issuing messages for problems they're concerned
with, and then run the selected messages through a process which
removes the messages from their local machine. I've heard of NoCem
clients that individual users can run with their own desktop
newsreaders. 

I use CleanFeed on my own server, but don't use NoCem.

-- 
Bert Hyman | St. Paul, MN | bert@visi.com
The plot thickens...
#160264
Author: Steve Richfie1d
Date: Wed, 05 Jan 2005 20:52
22 lines
2462 bytes
Bert and JB,

I apparently have an unpostable article! I copied the text out of my 
application, dropped it into a Mozilla composition window, and posted it 
with a different subject, but nothing appeared! This was true with both 
text and HTML!

The article is a bit long, maybe around 60K w/o attachments, and 
consists of just a few VERY long logical lines, which of course are 
chopped up for transport with Quoted-Printable or HTML encoding.

Even if my software were screwed up, I doubt that Mozilla would have an 
identical bug. I could email the posting to you if you want to take a 
look at it. Maybe I should try it w/o going directly through Microsoft's 
server, as Individual.net also provides this same group. Hmmm, I wonder 
if email has the same problem?!

Any ideas, thoughts, castigations, etc?

Thanks again for your help.

Steve Richfie1d
Re: The plot thickens...
#160267
Author: Blinky the Shark
Date: Wed, 05 Jan 2005 22:52
14 lines
1451 bytes
Steve Richfie1d wrote:
> Bert and JB,

> I apparently have an unpostable article! I copied the text out of my 
> application, dropped it into a Mozilla composition window, and posted it 
> with a different subject, but nothing appeared! This was true with both 
> text and HTML!

http://www.efn.no/html-bad.html

Upload the information to some webspace.

-- 
Blinky                            Linux Registered User 297263
I found the problem!
#160268
Author: Steve Richfie1d
Date: Wed, 05 Jan 2005 23:30
46 lines
3996 bytes
OK, I printed out the offending posting and carefully read the ~60K of 
machine generated stuff. Buried in there was a table of text 
replacements to facilitate parsing of natural language text input to 
this AI program. Buried in that table were the usual 4-letter words 
along with more socially acceptable synonyms. You see, this is targeted 
at medical diagnosis, and many people, ESPECIALLY people for whom 
English is a second language, describe their problems in 4-letter terms 
where appropriate. Our concept of "bad words" is a phenomenon of English 
that does not occur in most other languages, as they lack our rich 
assortment of synonyms. When I traveled abroad, I was initially shocked 
as barely English speaking people routinely used the 4-letter words when 
speaking with me.

I took the posting and made text substitutions for the offending works, 
and it then posted OK.

So, what do I do now?! I could Rot13 the postings in case there is any 
bad words in there, but this would demolish its readability for people 
who are curious about what is happening, not to mention reading for 
debugging.

I could use Quoted-Printable =## notation for 4-letter words to subvert 
the bad-word checkers, but then the bad words would appear when people 
view these postings, which would then just result in people fixing their 
bad word filters for Quoted-Printable coding of bad words.

I suppose that I could develop some sort of intentionally non-standard 
encoding for suspicious words, e.g. something to trigger Rot13 encoding 
on selected words. So far, this is the only "durable" approach I see, 
but what a pain in the butt (oops, I hope the use of this term doesn't 
trash this posting).

Does anyone have a list of the bad words for me to put into my encoder, 
so that I can indeed send arbitrary text streams?

Obviously, the ignorant fools who came up with this bad idea for 
filtering had no clue of the impairment this imposes on medical 
diagnoses of people for whom English is a second language.

Any thoughts or ideas as to how I should best fix my application to be 
able to exchange information using the English language that ESL 
(English as a Second Language) people use in medical contexts?

Thanks again for all the help that you have given me here.

Steve Richfie1d
Re: I found the problem!
#160270
Author: Steve Richfie1d
Date: Thu, 06 Jan 2005 00:19
21 lines
2475 bytes
Blinky, et al;

Editing my posting to convey my intended meaning:

>>I took the (intended) posting (from within the database where it had
>>been attempted to be posted from) and made text substitutions for the
 >>offending words, and it then posted OK.

> Are you still quoting and attributing to the original posters?

I am the original author. It was never actually posted because the NNTP 
server wouldn't accept a posting with 4-letter words.

> Because if you have edited their material, then quoting it >>netnews
 > style is a lie.

I'm pretty careful to give credit where credit is due.

Steve Richfie1d

Re: I found the problem!
#160272
Author: Blinky the Shark
Date: Thu, 06 Jan 2005 00:33
11 lines
1568 bytes
Steve Richfie1d wrote:

> I took the posting and made text substitutions for the offending
> works, and it then posted OK.

Are you still quoting and attributing to the original posters?  Because
if you have edited their material, then quoting it >>netnews style is a
lie.

-- 
Blinky                            Linux Registered User 297263
Re: I found the problem!
#160279
Author: Blinky the Shark
Date: Thu, 06 Jan 2005 01:33
25 lines
2196 bytes
Steve Richfie1d wrote:
> Blinky, et al;

> Editing my posting to convey my intended meaning:

>>>I took the (intended) posting (from within the database where it had
>>>been attempted to be posted from) and made text substitutions for the
> >>offending words, and it then posted OK.

>> Are you still quoting and attributing to the original posters?

> I am the original author. It was never actually posted because the NNTP 
> server wouldn't accept a posting with 4-letter words.

>> Because if you have edited their material, then quoting it >>netnews
> > style is a lie.

> I'm pretty careful to give credit where credit is due.

Good.  I got the impression that you were compiling some kind of docs 
from various people and rewriting them to your standards.  Thanks for
the clarification.

-- 
Blinky                            Linux Registered User 297263
Re: Automated posting trasher?
#160296
Author: Kathy Morgan
Date: Thu, 06 Jan 2005 07:56
27 lines
2211 bytes
Steve Richfie1d <Steve@NOSPAM.smart-life.net> wrote:

> I am chasing the bugs out of an application that communicates with other
> copies of itself via NNTP. However, sometimes it apparently has a 
> posting discarded. These tend to be posted several at a time in rapid
> succession, often with the same or very similar header information.
> 
> I was wondering if there is some standard automated criteria for 
> discarding postings, e.g. thinking that they are duplicates? Maybe I 
> need to randomize the subjects or ???

As best I could figure out from your posts about your program in
news.groups, you want to post machine-readable material into a system
primarily designed for human readers.  It's likely that your posts are
being filtered for binary content in text-only groups, and/or being
filtered out as suspected spam.

You were given good advice in news.groups--set up a new hierarchy for
your application and convince server administrators to pick up your new
hierarchy.  With your own hierarchy, you get to make the rules about
what the newsgroup names are and what kind of content can be posted.

-- 
Kathy - read reviews of other newsgroups in news:news.groups.reviews
help for new users at <http://www.aptalaska.net/~kmorgan/>
OE-quotefix can fix OE:
<http://home.in.tum.de/~jain/software/oe-quotefix/>  
Re: Automated posting trasher?
#160301
Author: /betty/
Date: Thu, 06 Jan 2005 09:25
27 lines
2433 bytes
On Wed, 5 Jan 2005 22:56:51 -0900, Kathy Morgan used 27 lines to assert:

> Steve Richfie1d <Steve@NOSPAM.smart-life.net> wrote:
> 
>> I am chasing the bugs out of an application that communicates with other
>> copies of itself via NNTP. However, sometimes it apparently has a 
>> posting discarded. These tend to be posted several at a time in rapid
>> succession, often with the same or very similar header information.
>> 
> 
> You were given good advice in news.groups--set up a new hierarchy for
> your application and convince server administrators to pick up your new
> hierarchy.  With your own hierarchy, you get to make the rules about
> what the newsgroup names are and what kind of content can be posted.

Might the OP's content best be handled via Subcriber driven
eMailing-Lists methods considering that it appears to be specific
limited-target audience focused stuff?

That should circumvent any mass-slaughtering global censorship applied
by some NNTP providers, and not obligating the Usenet system to
propagate it to a potential 99.9^% disinterested.

??

-- 
/betty/ [2005-01-06 20:19:04]
Re: Automated posting trasher?
#160313
Author: Bert Hyman
Date: Thu, 06 Jan 2005 13:59
17 lines
1596 bytes
kmorgan@spamcop.net (Kathy Morgan) wrote in
news:1gpxu3x.1bicpg4tyuhuuN%kmorgan@spamcop.net: 

>  With your own hierarchy, you get to make the rules about
> what the newsgroup names are and what kind of content can be
> posted. 
> 

But that won't affect how his articles are handled on servers he
doesn't control (which might not be anything he cares about). 

For example, on my system, HTML posts and any posts with binary
content get dumped regardless of who sent them or what group they're
going to. 

-- 
Bert Hyman | St. Paul, MN | bert@visi.com
Re: Automated posting trasher?
#160343
Author: Blinky the Shark
Date: Thu, 06 Jan 2005 22:30
28 lines
2391 bytes
Kathy Morgan wrote:

> Steve Richfie1d <Steve@NOSPAM.smart-life.net> wrote:

>> I am chasing the bugs out of an application that communicates with other
>> copies of itself via NNTP. However, sometimes it apparently has a 
>> posting discarded. These tend to be posted several at a time in rapid
>> succession, often with the same or very similar header information.

>> I was wondering if there is some standard automated criteria for 
>> discarding postings, e.g. thinking that they are duplicates? Maybe I 
>> need to randomize the subjects or ???

> As best I could figure out from your posts about your program in
> news.groups, you want to post machine-readable material into a system
> primarily designed for human readers.  It's likely that your posts are
> being filtered for binary content in text-only groups, and/or being
> filtered out as suspected spam.

You're two or three steps ahead of me, Kathy -- I was still trying to
figure out WTF he was trying to do.  About all I could come up with 
was "it's probably nothing to do with netnews and probably doesn't
belong here".  But nobody else seemed to be thinking that, so I figured
I was missing something that *would* mean it was appropriate for this
medium.

-- 
Blinky                            Linux Registered User 297263
Re: Automated posting trasher?
#160457
Author: me
Date: Sat, 08 Jan 2005 10:46
35 lines
2876 bytes
In <1gpxu3x.1bicpg4tyuhuuN%kmorgan@spamcop.net> Kathy Morgan wrote: 

>You were given good advice in news.groups--set up a new hierarchy for
>your application and convince server administrators to pick up your new
>hierarchy.  With your own hierarchy, you get to make the rules about
>what the newsgroup names are and what kind of content can be posted.

[For those who think they actually missed something, the thread is called "Who
is minding the MIME standards" in news:news.groups starting 12/17/2004 with
msg-ID <1103305274.e548ba803ba6a0a0382445719dedda26@teranews>]

Since the OP is evidently convinced that exchange of his binaries via NNTP
protocol instead of dedicated but less scalable FTP servers is not going to be
the distribution pipe suitable enough for his AI-app messages and the process
of RFC/MIME Content-Type/encoding is obviously not really encouraging him
along, why does he not throw in the News Network-towel and go for, say, HTTP
index servers (like them trackers) that enable optimally distributed p2p
(peer-to-peer) schemes such as Bram Cohen's open source BitTorrent
<http://bittorrent.com/protocol.html> does? Or any other tried and implemented
scheme of (admittedly less distributed) server-to-client p2p such as Kazaa,
eDonkey or Gnutella and the protocols they utilize? 
 
On a blighter note, Mr. Richfie1d, nobody is going to reveal to you the
necessary Usenet NNTP Cabal secrets to circumvent the current binnie-filters
to let yours pass in non-dedicated newsgroups. Face it: if these codes ever
got RFC'ed, it would be as if opening the flood-gates; no stopping or
controlling the already bleeding mess going hypernova then, would it not? And
please do not believe anyone telling you there is no cabal; that is just
another conspiracy to keep you in the dark. 

-- 
User...

"(...) the wider the circle of knowledge the greater the circumference of
ignorance." The Riddle of the Third Mile - Colin Dexter
Re: Automated posting trasher?
#160497
Author: Sven Guckes
Date: Sat, 08 Jan 2005 20:20
41 lines
2528 bytes
* Steve Richfie1d <Steve@NOSPAM.smart-life.net> [2005-01-05]:
>>> I was wondering if there is some standard automated criteria for
>>> discarding postings, e.g. thinking that they are duplicates?
>>> Maybe I need to randomize the subjects or???
>
>> If I understand you correctly the Message-ID: field
>> string is the best criteria to use to discern dupes
>> or not, it's required to be generated unique.
>
> Again, my problem is how to keep my client postings from being
> trashed as duplicates by a server over which I have no control.

let your client generate an MID.  if you don't know how then
let the server generate the MID.  it's as easy as that.

> There appears to be some undocumented criteria
> for recognizing duplicates upon receipt.

this is a joke, right?  if the server recognizes
that the MID of your article has been used before
then the server will reject the article.
does this have to be documented?

> As the client, I don't get to generate the Message-ID,

not always correct.  it depends on the server.

> nor do I even get to see it when the server
> decides to trash my article upon its receipt.

the server does not only reject the article it
will also send it back to the author by email.
as you gave carefully chosen an invalid address
you get what you deserve:  nothing.

> Clearly, the server is making this decision based
> on SOMETHING that is not found in the RFCs.

man common-sense

Sven
Re: Automated posting trasher?
#160498
Author: Frank Slootweg
Date: Sat, 08 Jan 2005 20:43
15 lines
1859 bytes
Sven Guckes <usenet@guckes.net> wrote:
[deleted]
> the server does not only reject the article it
> will also send it back to the author by email.
> as you gave carefully chosen an invalid address
> you get what you deserve:  nothing.

  Huh? I don't think (O) poster talked about posting to moderated
groups. Since when do News servers *mail* failures to posters? They just
return a NNTP error to the newsreader and the newsreader is supposed to
present the error to the user.

  Perhaps *your* (NSPs) News server offers that feature, but it is not
common. For example the most common News server (software), INN, doesn't
do that.
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