🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
15 messages
15 total messages Started by Steve Wed, 19 Mar 2003 16:23
Mail2News Gateway
#64446
Author: Steve
Date: Wed, 19 Mar 2003 16:23
23 lines
1820 bytes
Hello,

I am considering delivering a public Mail2News Gateway, utilising a Sun 
server that has recently become spare.  At the moment this is purely at 
the conceptual phase and I need to do plenty more planning.  There seems 
to be a significant lack of such public gateways, which I suspect is due 
to the lack of bandwidth and news peers that most individuals will have to 
deliver such a service.

My tentative question at this stage of the proceedings is to get a feel 
for how willing various existing News Services will be to accept a feed.  
I think there are administrators from many of the mainstream providers 
reading this group, so it seems like a good place to gauge their 
reactions.  I would imagine my feed will be insignificantly small in the 
overall scheme of things, with my News Server only wishing to deliver 
articles rather than expecting to receive a full feed, or even a part of 
one.

Any feedback or suggestions would be much appreciated.

Best regards
Steve
Re: Mail2News Gateway
#64454
Author: Jeffrey M. Vinocur
Date: Wed, 19 Mar 2003 17:01
12 lines
1204 bytes
In article <b5a5i6$566$1$8300dec7@news.demon.co.uk>,
Steve  <steve@[nospam]goofer.co.uk> wrote:
>
>I am considering delivering a public Mail2News Gateway

Have you examined http://www.gmane.org/ ?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Mail2News Gateway
#64449
Author: Steve
Date: Wed, 19 Mar 2003 18:29
24 lines
1942 bytes
Jeffrey M. Vinocur wrote:

> In article <b5a5i6$566$1$8300dec7@news.demon.co.uk>,
> Steve  <steve@[nospam]goofer.co.uk> wrote:
>>
>>I am considering delivering a public Mail2News Gateway
> 
> Have you examined http://www.gmane.org/ ?
> 
> 

Jeffrey,
Thanks for your reply, no I wasn't aware of it and have just been reading 
up on it now.  Gmane though doesn't appear to be a gateway into Usenet, 
but rather a private news server that hosts mailing lists.  Although it 
presumably uses Mail2News scripts to inject email into a local newsfeed, 
it isn't the same thing as the existing Internet Mail2News services such 
as mail2news@anon.lcs.mit.edu and a couple of others.

The gateway I am considering operating would most likely use postfix as an 
MTA and then by means of a series of scripts, inject received Emails as 
postings into a local INN server.  The part I need to understand is if any  
news providers would accept a feed from that INN server.
Re: Mail2News Gateway
#64450
Author: Andrew - Supernews
Date: Wed, 19 Mar 2003 19:40
23 lines
1925 bytes
In article <b5a5i6$566$1$8300dec7@news.demon.co.uk>, Steve wrote:
> Hello,
> 
> I am considering delivering a public Mail2News Gateway, utilising a Sun 
> server that has recently become spare.  At the moment this is purely at 
> the conceptual phase and I need to do plenty more planning.  There seems 
> to be a significant lack of such public gateways, which I suspect is due 
> to the lack of bandwidth and news peers that most individuals will have to 
> deliver such a service.

it's not due to lack of bandwidth or peerings; it's due to abuse.

We don't yet have mail2news gateways blocked outright, but over the past
several months or so we have been progressively increasing the restrictions
that we apply to posts from many of them, due mainly to flooding incidents.

The number of ways to abuse a mail2news gateway is very large. Do you know
what they are, and what precautions do you plan to take to prevent them?

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: Mail2News Gateway
#64451
Author: Steve
Date: Wed, 19 Mar 2003 20:20
56 lines
3666 bytes
Andrew - Supernews wrote:

> In article <b5a5i6$566$1$8300dec7@news.demon.co.uk>, Steve wrote:
>> Hello,
>> 
>> I am considering delivering a public Mail2News Gateway, utilising a
>> Sun server that has recently become spare.  At the moment this is
>> purely at the conceptual phase and I need to do plenty more
>> planning.  There seems to be a significant lack of such public
>> gateways, which I suspect is due to the lack of bandwidth and news
>> peers that most individuals will have to deliver such a service.
> 
> it's not due to lack of bandwidth or peerings; it's due to abuse.
> 
> We don't yet have mail2news gateways blocked outright, but over the
> past several months or so we have been progressively increasing the
> restrictions that we apply to posts from many of them, due mainly to
> flooding incidents. 
> 
> The number of ways to abuse a mail2news gateway is very large. Do you
> know what they are, and what precautions do you plan to take to
> prevent them? 
> 

Andy, thanks for the reply.  Well for starters, I have emailed the hosts 
of other M2N's and asked them for feedback on how they handle abuse and 
what form it generally takes.  In their instances, there seems to 
generally be a link between M2N services and Anonymous Remailer 
services.  This limits their ability to filter a flood for political 
reasons as they don't want to be seen as "actively" managing an 
anonymous service.  I guess this is due to the nature of these anonymous 
services and the inevitable governmental interest they are likely to 
attract.

If I decide to proceed with my project, then it will have no such 
constraints placed upon it as I will have no affiliation with any 
anonymous services.  I would most likely use Cleanfeed on a local INN 
server to control abuse of the service, along with the associated EMP 
filtering it provides.  I am also considering the possibility of using 
PGP verification, although this would reduce the user-friendliness of 
the service quite significantly.  There are also the filtering 
capabilities on the Postfix MTA side of the equation that would 
hopefully stop much of the abuse from even reaching the News Server.  
Obviously both the Postfix and INN filters would evolve over time as all 
filters must to keep up with the tide.

At this stage of the game, those are my thoughts on the subject of abuse 
and I appreciate that they will require further refinement.  One thing I 
am positive about is that I will not host a service for the benefits of 
abusers.  If I was to discover that the service is more abused than 
used, then I would remove it from active service until such time as the 
holes could be patched.

Regards
Steve
Re: Mail2News Gateway
#64452
Author: David Magda
Date: Wed, 19 Mar 2003 21:30
20 lines
1835 bytes
Steve <steve@[nospam]goofer.co.uk> writes:

> Thanks for your reply, no I wasn't aware of it and have just been
> reading up on it now.  Gmane though doesn't appear to be a gateway
> into Usenet, but rather a private news server that hosts mailing
[...]

The software they're using is available for download at:

        http://gmane.org/dist.php

They're using INN and exim. It may be possible to retrofit it to fit
your needs.

-- 
David Magda <dmagda at ee.ryerson.ca>
Because the innovator has for enemies all those who have done well under
the old conditions, and lukewarm defenders in those who may do well 
under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI
Re: Mail2News Gateway
#64453
Author: Andrew - Supernews
Date: Wed, 19 Mar 2003 21:46
42 lines
3045 bytes
In article <b5ajed$nrm$1$8300dec7@news.demon.co.uk>, Steve wrote:
> If I decide to proceed with my project, then it will have no such 
> constraints placed upon it as I will have no affiliation with any 
> anonymous services.  I would most likely use Cleanfeed on a local INN 
> server to control abuse of the service, along with the associated EMP 
> filtering it provides.  I am also considering the possibility of using 
> PGP verification, although this would reduce the user-friendliness of 
> the service quite significantly.  There are also the filtering 
> capabilities on the Postfix MTA side of the equation that would 
> hopefully stop much of the abuse from even reaching the News Server.  
> Obviously both the Postfix and INN filters would evolve over time as all 
> filters must to keep up with the tide.

here are some suggestions that might make good starting points:

1) don't try and support group.name@mail2news type addressing; use a
single email address for the gateway and require a Newsgroups: header.
(Besides the obvious issue of email spam, there are just too many ways to
abuse the gateway otherwise)

2) drop anything with "Approved:", "Control:", "Also-Control:" or
"Supersedes:" headers

3) block access from insecure proxies - this is probably best done at the
MTA level using as many of the available proxy blacklists as possible - e.g.
proxies.relays.monkeys.com, opm.blitzed.org, and perhaps list.dsbl.org

4) keep a trace header. Some moderators are using an X-Mail-Path: header
that is largely an imitation of what the old Demon mail2news gateway did;
I think the code for it is in Russ' News::Gateway module.

5) be careful with NNTP-Posting-Host. Either leave it absent or, possibly,
put the IP address of the connecting MTA there; don't allow it to be set in
any way that the poster has control over. (and don't use a random value,
either.)

6) drop anything where the Subject: starts "cmsg "

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: Mail2News Gateway
#64455
Author: Russ Allbery
Date: Wed, 19 Mar 2003 21:55
17 lines
1899 bytes
Andrew - Supernews <andrew+nonews@supernews.com> writes:

> 4) keep a trace header. Some moderators are using an X-Mail-Path: header
> that is largely an imitation of what the old Demon mail2news gateway
> did; I think the code for it is in Russ' News::Gateway module.

One thing that you may want to seriously consider is using a server that
allows you to retain all of the References headers and still post the
message with those headers intact.  The X-Mail-Path algorithm can be
fooled; leaving all the Received headers in is the safest.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Mail2News Gateway
#64462
Author: Juergen Helbing
Date: Thu, 20 Mar 2003 06:26
56 lines
2513 bytes
Steve <steve@[nospam]goofer.co.uk> wrote:

>There seems 
>to be a significant lack of such public gateways, which I suspect is due 
>to the lack of bandwidth and news peers that most individuals will have to 
>deliver such a service.

The need for public m2n-gateways might be very low because there
are enough free news-servers for posting directly to Usenet.

People who can use a news-reader are having already 
access to a news-server.

People who cannot use a news-reader are using web-frontend
news-servers.

There is one segment for m2n--gateways:  Anonymity.
But running an anonymous m2n-gateway seems to be a difficult
job. People who are posting anonymously are always causing
trouble. That's why they are posting through anonymizers.


There is one good question remaining:
Why do you want to spent the time and effort to setup such a service ?


>My tentative question at this stage of the proceedings is to get a feel 
>for how willing various existing News Services will be to accept a feed.  

I believe they would take such a feed (from your own news-server)
as well as any other feed. As long as the amount of abuse is reasonable.
Commercial NSPs are seldomly rejecting customers :-)


>I think there are administrators from many of the mainstream providers 
>reading this group, so it seems like a good place to gauge their 
>reactions.  

The mainstream NSPs are reading alt.binaries.news-server-comparison.


>I would imagine my feed will be insignificantly small in the 
>overall scheme of things, with my News Server only wishing to deliver 
>articles rather than expecting to receive a full feed, or even a part of 
>one.
>Any feedback or suggestions would be much appreciated.

Just some very subjective thoughts.


HTH
-- 
Juergen


Re: Mail2News Gateway
#64483
Author: Steve
Date: Fri, 21 Mar 2003 13:33
71 lines
4340 bytes
Andrew, my apologies for not replying to your posting sooner, sometimes 
it�s hard to make my girlfriend understand my desire to be in dark dingy 
computer rooms on bright sunny days. :)

Andrew - Supernews wrote:
> here are some suggestions that might make good starting points:
> 
> 1) don't try and support group.name@mail2news type addressing; use a
> single email address for the gateway and require a Newsgroups:
> header. (Besides the obvious issue of email spam, there are just too
> many ways to abuse the gateway otherwise)

No problem with that one, I had already reached the same conclusion with 
regard to the header format.  Having a single Email address for the M2N 
also makes it much easier to apply effective restrictions at the postfix 
level.
> 
> 2) drop anything with "Approved:", "Control:", "Also-Control:" or
> "Supersedes:" headers

I think I will turn around this solution.  Rather than blocking a select 
set of headers, I will strip all but the minimum required for a posting 
to succeed.  This will reduce the maintenance overhead and also the 
opportunities for abuse.

> 
> 3) block access from insecure proxies - this is probably best done at
> the MTA level using as many of the available proxy blacklists as
> possible - e.g. proxies.relays.monkeys.com, opm.blitzed.org, and
> perhaps list.dsbl.org 

Absolutely!  Currently I�m working on postfix v1.x which has good rbl 
filtering capabilities.  However, they are a much improved in postfix 
v2.x and so I will almost certainly upgrade to that in the near future.  
v2.x is still a little new and a new release is appearing quite 
regularly, but I hope this will stabilise before I get close to going 
live.  As well as rbl checks, this also provides good controls for 
checking emails from the freemail services like Hotmail which are 
probably the greatest source for abuse.

> 
> 4) keep a trace header. Some moderators are using an X-Mail-Path:
> header that is largely an imitation of what the old Demon mail2news
> gateway did; I think the code for it is in Russ' News::Gateway
> module. 

This is something new to me so I�ll look into it further.  I intend to 
keep logs of all traffic passing through the gateway as this isn�t 
intended to be any kind of anonymising service.

> 
> 5) be careful with NNTP-Posting-Host. Either leave it absent or,
> possibly, put the IP address of the connecting MTA there; don't allow
> it to be set in any way that the poster has control over. (and don't
> use a random value, either.)

Certainly I will not allow a poster to control this header.  I am 
undecided (having not thought about it until now) whether the best 
option is to include it with the IP of the connecting MTA or to drop it.  
Most likely I think is to drop it.  It aids in abuse control, but I 
would prefer to use other means such as logs to trace abuse.

> 
> 6) drop anything where the Subject: starts "cmsg "

No problem here, I suspect that I will tighten this still further.  For 
example, I might decide to drop any posts starting with Re: that have no 
References.  Another option is to drop posts that change the subject 
within a thread.  These last two are both things that irritate me rather 
than serious abuse solutions I guess. :)
Re: Mail2News Gateway
#64482
Author: Steve
Date: Fri, 21 Mar 2003 13:35
21 lines
1657 bytes
David Magda wrote:

> Steve <steve@[nospam]goofer.co.uk> writes:
> 
>> Thanks for your reply, no I wasn't aware of it and have just been
>> reading up on it now.  Gmane though doesn't appear to be a gateway
>> into Usenet, but rather a private news server that hosts mailing
> [...]
> 
> The software they're using is available for download at:
> 
>         http://gmane.org/dist.php
> 
> They're using INN and exim. It may be possible to retrofit it to fit
> your needs.
> 

Thanks David, I'll check this out.  I'm hoping to get a copy of the 
scripts being used by other such services.  Anything to exploit others 
experiences rather than reinventing the wheel!
Re: Mail2News Gateway
#64484
Author: Steve
Date: Fri, 21 Mar 2003 13:53
56 lines
3280 bytes
Juergen Helbing wrote:

> Steve <steve@[nospam]goofer.co.uk> wrote:
> 
>>There seems 
>>to be a significant lack of such public gateways, which I suspect is
>>due to the lack of bandwidth and news peers that most individuals
>>will have to deliver such a service.
> 
> The need for public m2n-gateways might be very low because there
> are enough free news-servers for posting directly to Usenet.
> 
> People who can use a news-reader are having already 
> access to a news-server.
> 
> People who cannot use a news-reader are using web-frontend
> news-servers.
> 
> There is one segment for m2n--gateways:  Anonymity.
> But running an anonymous m2n-gateway seems to be a difficult
> job. People who are posting anonymously are always causing
> trouble. That's why they are posting through anonymizers.

I agree that the Anonymity community are the source of much abuse.  
However, I do support the services they attempt to deliver although I 
really feel they need to move towards a solution that requires people to 
use a pseudo-identity of some kind.  Currently these anonymous services 
seem to be a victim of their own success in that the operators have no 
more means to trap abuse than anyone else does.

> 
> 
> There is one good question remaining:
> Why do you want to spent the time and effort to setup such a service
> ? 

I have to say, that's a very good question.  I guess the simple answer 
is that it's a service that interests me.  Many of the services on the 
Internet rely on idiots like me who enjoy giving something for nothing.  
I guess it's the challenge of delivering a service to the public and 
dealing with inevitable problems that arise from doing so.

> 
> 
>>My tentative question at this stage of the proceedings is to get a
>>feel for how willing various existing News Services will be to accept
>>a feed.  
> 
> I believe they would take such a feed (from your own news-server)
> as well as any other feed. As long as the amount of abuse is
> reasonable. Commercial NSPs are seldomly rejecting customers :-)

I wasn�t sure about this one having never tried to do so before.  I�m 
not sure if there is a formal process for requesting NSP�s to peer or if 
its something that�s done by polite enquiry to the operators.
Re: Mail2News Gateway
#64487
Author: Jeffrey M. Vinocur
Date: Fri, 21 Mar 2003 17:45
48 lines
2928 bytes
In article <b5f4bq$3e2$1$830fa17d@news.demon.co.uk>,
Steve  <steve@[nospam]goofer.co.uk> wrote:
>
>I think I will turn around this solution.  Rather than blocking a select 
>set of headers, I will strip all but the minimum required for a posting 
>to succeed.  This will reduce the maintenance overhead and also the 
>opportunities for abuse.

Well, you will also want to include certain other headers, as you
will mangle MIME posts if you remove the relevant headers.

Unless you plan on blocking MIME posts entirely.


>Certainly I will not allow a poster to control this header.  I am 
>undecided (having not thought about it until now) whether the best 
>option is to include it with the IP of the connecting MTA or to drop it.  
>Most likely I think is to drop it.  It aids in abuse control, but I 
>would prefer to use other means such as logs to trace abuse.

Note that it may be "nicer" for the rest of the world if you
include the IP, since then spam-filtering can be done on it
(automatically, by the scripts we already have in place).


>I might decide to drop any posts starting with Re: that have no 
>References.

That's iffy, but possible.


>Another option is to drop posts that change the subject 
>within a thread.  These last two are both things that irritate me rather 
>than serious abuse solutions I guess. :)

Umm, you should absolutely definitely not drop this latter kind
of post.  It's correct netiquette, when a thread has drifted onto
a new topic, to update the Subject line.

(There are occasional people who don't understand how to start a
new thread, and just post a followup with all new text.  But
there's no way to distinguish those programatically, really, and
I've never found there are enough of them to matter.)

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Mail2News Gateway
#64494
Author: Andrew - Supernews
Date: Sat, 22 Mar 2003 03:59
15 lines
1531 bytes
In article <b5f4bq$3e2$1$830fa17d@news.demon.co.uk>, Steve wrote:
>> 2) drop anything with "Approved:", "Control:", "Also-Control:" or
>> "Supersedes:" headers
> 
> I think I will turn around this solution.  Rather than blocking a select 
> set of headers, I will strip all but the minimum required for a posting 
> to succeed.  This will reduce the maintenance overhead and also the 
> opportunities for abuse.

no, don't do that.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: Mail2News Gateway
#64495
Author: Andrew Starr
Date: Sat, 22 Mar 2003 04:41
32 lines
2036 bytes
In article <b5f4f2$3e2$2$830fa17d@news.demon.co.uk>,
 Steve <steve@[nospam]goofer.co.uk> wrote:

> David Magda wrote:
> 
> > Steve <steve@[nospam]goofer.co.uk> writes:
> > 
> >> Thanks for your reply, no I wasn't aware of it and have just been
> >> reading up on it now.  Gmane though doesn't appear to be a gateway
> >> into Usenet, but rather a private news server that hosts mailing
> > [...]
> > 
> > The software they're using is available for download at:
> > 
> >         http://gmane.org/dist.php
> > 
> > They're using INN and exim. It may be possible to retrofit it to fit
> > your needs.
> > 
> 
> Thanks David, I'll check this out.  I'm hoping to get a copy of the 
> scripts being used by other such services.  Anything to exploit others 
> experiences rather than reinventing the wheel!

let me know if you find any publicly available not listed at 
http://www.newsreaders.com/mailnews/software.html

-- 
Andrew Starr
eMailman(r): http://www.emailman.com
NewsReaders: http://www.newsreaders.com
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