🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #54690

Re: "Invalid Sender" bugs. GNKSA sec 12 is fundamentally flawed.

#54690
From: Alan Mackenzie
Date: Tue, 30 Nov 1999 00:00
135 lines
7631 bytes
Frank Slootweg <franks@neth.hp.com> wrote:
> Alan Mackenzie (none@all.de.invalid) wrote:
> [deleted]
>> A better way of proceding would surely be to report "Invalid From: header
>> <none@all.de.invalid>" and give the user the options: (q)uit (e)dit
>> in(s)ert header "Sender: <root@acm.acm>".  This way, at least the user
>> knows what tin is unhappy about, while at the same time, tin retains
>> control of the Sender: header, if that is what its developers want.

>   May I suggest to convert your 'crticism' into kind *requests* to the
> maintainers to change or/and 'enhance' the software or/and
> documentation? Your above quoted paragraph comes close, but because of
> your earlier 'tirades', I doubt that the maintainers will read it as
> such.

If I've been too forthright in making such suggestions, then I'm sorry.
Please consider these suggestions as though they were toned down.

>> OK, "it's my software, I'll make it do what I want" is fair enough. But
>> tin is currently a Trojan Horse program. If tin's developers want to
>> prevent tin being used with munged addresses, the ethical way to do so is
>> refuse to post (with a proper error message).

>   I suggest you look up the real meaning of a Trojan Horse. tin is the
> opposite of a Trojan Horse, but you want it to behave like one (i.e.
> accept munging) and call it a Trojan Horse when it doesn't want to be
> one.

"A malicious security-breaking program that is disguised as something
benign...." (The New Hacker's Dictionary, E.S.Raymond, MIT press 1996,
ISBN 0-262-68092-0). OK, I'm sure there's no malice in tin's Sender:
header insertion, but it is hidden, and it is a security-breaking
feature: it can open up somebody's mailbox to UCE or harrassment mail.

[ .... ]

>> So it would seem! Why are the tin developers not up-front about this?
>> This is not some minor detail, but a critical feature for some people. If
>> these restrictions were emphatically stated in the manpage and the
>> installation instructions, people who connect via ISPs or need to use
>> invalid addresses could simply steer clear of programs like tin, and use
>> "better" ones like Outlook Express and Netscape which contain no such
>> restrictions. ;-(

>   Again, may I advise to ask, not 'order'. What is important to you is a
> non-issue to others and vice versa.

Again, I don't see that I'm ordering at all. I've asked a pertinent
question, and stated a point of view to put that question into context.

> This is free software. The developers have no obligation to anybody
> about anything.

I disagree with you here. I believe developers of software (free or not)
have an obligation to ensure, as far as practicable, that their software
won't damage the normal operation of other software (as it could, for
example, by including a virus) and doesn't compromise the security of
sensitive information held on a computer. There are probably countries in
which these obligation are legal ones.

>> The problem is that tin is attempting to perform a validation which lies
>> outside its proper functionality. A newsreader is for reading and
>> composing news articles. A news _SERVER_ is responsible for connecting
>> articles with the outside world, and it is at the server where this
>> validity check should be performed, in conformance with the policies
>> decided by that server's administrators.

> Neither the newsreader nor the News server can perform a 100% fail-safe
> check. Both are trying and both can be fooled.

A newsreader can only be fooled if it attempts to do checks. The tin I am
using at the moment can't be because it doesn't (as far as I know). An
ISP's news server has solid information to work on, a newsreader on a
stand-alone PC doesn't. I believe that news servers at ISPs and other
institutions invariably have administrators who understand what they are
doing. Owners of home PCs frequently don't. (Yes, I include myself in
this, though I'm getting there slowly :-). If such validity checks are
necessary, they should at least be done where they are plausible.

> Anyway, I do not understand why you suggest this because if the News
> server really did this in a fail-safe way, your posts would be
> rejected.

It would depend on the news server's configuration. What that
configuration would accept would (hopefully) be published in the ISP's
terms and conditions. Commercial pressure would likely assure the
existence of an ISP with terms I would accept.

[ .... ]

> As mentioned several times, these things are documented in RFCs, USEFOR
> documents, GNKSA, etc..

The From: header is required. The Sender: header is optional. Is there
any document which specifies circumstances in which the addition of a
Sender: header is required?  RFC1036's description of "Sender:" doesn't
seem to apply terribly well to ISP-connected PCs, and even so, its
prescription for that header is an "only if" one, not an "if and only
if". USEFOR explicitly deprecates the addition of Sender: unless "the
sender is different from the author", and goes on to suggest that this
header is appropriate "for use by automatic article posters", whatever
that means. I don't see that a newsreader is an automatic article poster,
and I am certainly both the author and the sender. 

>> "work a little bit" is somewhat of an understatement. Because the feature
>> isn't documented yet, and the error messages from tin in this regard are
>> most confusing, the effort is great.

> As far as I know, this stuff has always been and still is documented.
> You seem to think that this stuff must be documented in the  *manual
> page*. The tin maintainers do not neccessarily share your opinion.

Specifically, I was talking about "disable-sender-generation" in
tin.defaults. I searched all the entire release of tin-1.4 for a
description of this, yet didn't find any (beyond two comment lines in
tin.defaults itself). If I missed it, sorry.

>   May I suggest to munge in a slightly more user-friendly way? Your
> method may seem easy to decode for you, but is not neccessarily easy for
> others, especially people whose native language is not English. That may
> well be *your* loss.

Thanks for the tip. I'll think hard about it in the next few days.

> Anyway it is rather silly to encode the part after the "@", because
> that is already in your Organization: line.

:-)

-- 
Alan Mackenzie (Munich)
Email: .... (I'm still thinking about it :-)


Technical Details
Message-ID: <3c8028.jc.ln@acm.acm>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <dtm918.ea8.ln@acm.acm> <81cgf1$f5q$1@supernews.com> <ddre18.ue.ln@acm.acm> <greg-2411991010200001@oshar.war-of-the-worlds.org> <bm2n18.j8.ln@acm.acm> <lv5s18.56.ln@tin.org> <81u0c6$kqb$1@news.neth.hp.com>

Show Full Headers
Complete Article Headers
Message-ID: <3c8028.jc.ln@acm.acm>
Subject: Re: "Invalid Sender" bugs. GNKSA sec 12 is fundamentally flawed.
Date: Tue, 30 Nov 1999 00:00:00 +0000
From: Alan Mackenzie<none@all.de.invalid>
References: <dtm918.ea8.ln@acm.acm> <81cgf1$f5q$1@supernews.com> <ddre18.ue.ln@acm.acm> <greg-2411991010200001@oshar.war-of-the-worlds.org> <bm2n18.j8.ln@acm.acm> <lv5s18.56.ln@tin.org> <81u0c6$kqb$1@news.neth.hp.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 555044178
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=ISO-8859-1
X-Complaints-To: news-admin@muc.de
X-Trace: marvin.muc.de 944001110 9330 193.149.49.134 (30 Nov 1999 22:31:50 GMT)
Organization: muc.de e.V. -- private internet access
Mime-Version: 1.0
User-Agent: tin/pre-1.4-980618 (UNIX) (Linux/2.0.35 (i686))
NNTP-Posting-Date: 30 Nov 1999 22:31:50 GMT
Newsgroups: news.software.readers