🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #54602

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

#54602
From: Alan Mackenzie
Date: Fri, 26 Nov 1999 00:00
193 lines
10241 bytes
greg@apple2.com wrote:
> In article <ddre18.ue.ln@acm.acm>,
> Alan Mackenzie <none@all.de.invalid> wrote:
>>jason@radar.tele3.co.uk wrote:
>>>Alan Mackenzie <none@all.de.invalid> wrote:

>> My user/domain on my own PC are utterly without significance here. Only
>> my user/domain on my ISP's server are relevant for Internet purposes.
>> Surely??

> The user/domain on the client machine are supposed to be the most valid
> determination the newsreader can make as to what your real identity is. 

Supposed by whom? Is this in an RFC somewhere? Or is this merely an
interpretation of the (extremely vague) GNKSA section 12? What about
someone posting using tin on an operating system where there is no
concept of a username/domain (people still use MS-DOS, I suppose)?

> Your account isn't on the ISP's news server; it is on the machine running
> the client tin.

By "account" I take it you mean "Internet account". Again, this is an
interpretation, not a fact. I don't see myself as "having an account on
my own machine", and I've not come across any other sort of software
which makes any such assumption.

>> I am very unhappy about this addition of a Sender: header for several
>> reasons:
>>
>> 1/- USEFOR states:
>>
>>| This header [Sender:] SHOULD NOT appear in an article unless the sender
>>| is different from the author. This header is appropriate for use by
>>| automatic article posters.
>>
>> I am both the sender _and_ the author when I post articles with tin,
>> therefore this header should not appear. It seems to me that it is
>> _never_ appropriate for a newsreader to add this header, since it can
>> never know that the sender and poster are different.

> I [tin?] knows this by comparing what address you have in the From and
> what it knows should be your address by your system configuration.
> Make them consistent and it won't generate the header.

How can I make them consistent in this case, without introducing
absurdities or hijacking a domain which isn't mine?

>> 2/- I was not made aware of the addition of this header, and tin is thus
>> hijacking my control over my postings. Why is there no warning that such
>> a header is being added? Why is there no item in the configuration menu
>> by which this addition has to be enabled? Why is there nothing in the
>> manpage? When I created the article, it didn't present this Sender:
>> header to the editor. Even when the article was presented to the editor
>> for a second time, the Sender: header was absent. It would appear that
>> tin is deliberately concealing its vice. WHY? Why should this header be
>> handled differently from the others?

> Because it [the Sender: header] is required ....

Please back this up. The Sender: header is (even in RFC 1036) optional. I
have argued above that it's automatic insertion by a newsreader is
contrary to USEFOR. There is no text in USEFOR (which I downloaded on
November 17th) identifying any circumstances in which the Sender: header
is required. Please correct me if I am wrong here.

> .... and allowing the user to manipulate it removes the accountability
> feature of requiring the sender of a news posting be disclosed in the
> Sender header if the From header is not the sender's address.

What accountablilty feature? USEFOR, when discussing this header, talks
about the "author" and the "sender", i.e. people, not about the "From:"
header and the "Sender:" header. Again, what is the authority for this
"requirement"? This is an earnest question, not a rhetorical one.

I think you'll agree here that "Invalid sender" is thus a doubly poor
error message. As well as being obscure, it complains about the Sender:
header, which the software itself inserted, and then pretends to the user
that there is no such header!

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.

>> 3/- Most seriously, the user of a munged address is in danger of having
>> her real address broadcast on the Internet without her knowledge or
>> consent. This could cause serious pain to the victim, depending on her
>> reasons for munging in the first place. Because of this, I am now asking
>> the tin maintainers to amend tin _urgently_ to ensure respect for the
>> wishes of users of munged addresses.

> There isn't much in the way of support for mungers in the group which
> works on tin.  But then the source is open, so if you don't like it, you
> can patch and recompile it yourself.

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).

>> Note that USEFOR explicitly recognises the legitimacy of munged
>> addresses.

> Of .invalid addresses.  Tin takes a harder line.

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. ;-(

>>>> 4/- The message somehow results from a misguided attempt "to guarantee
>>>> that this address actually belongs to the person using the software,
>>>> and actually accepts e-mail"  (GNKSA section 12)

>>> Yes, tin performs all the GNKSA checking.

>> Why?

> Because compliance to the GNKSA is a Good Thing(TM).

Is this a religious belief? Or is it a judgement subject to change in the
light of evidence and experience?

>> These checks are meaningless for a machine such as mine connected by
>> modem to an ISP. Were I put <root@acm.acm> in my From: header, it would
>> pass the GNKSA checks, since 1/- it is my log on address; 2/- it is
>> syntactically valid; 3/- tin can send email to it. However, when I use a
>> valid From: header (whether my munged address or my real email address),
>> tin's GNKSA checking prevents me posting, since it cannot check that I
>> own the address. Something somewhere hasn't been properly thought out.

> I'd say that would be the naming of your machine that hadn't been properly
> thought out.

This is true - when my Linux installation forced me to choose a name, it
didn't explain why, and I didn't understand why. But there is no sensible
network name I could give my machine.  I could rename it from "acm.acm"
to "acm.org", which would kludge it past tin's validity checks, but might
irritate the Association of Computing Machinery when it starts getting
spam intended for me. Or should I call my machine "acm.invalid"? This
would irritate me horribly, given that I am able-bodied. Or what?

By the way, how much other software is going to break on a sudden name
change?

> You're throwing invalid data at a piece of software and complaining
> when it doesn't work.  Tin rightly balks at garbage in, preferring to
> block output rather than give garbage out.

I didn't "throw" this "invalid data" at tin any more than I threw it at
gcc or emacs. The relevant data I gave tin was "localhost port 119". If
my machine name is so tragically invalid, how come that the programs
which directly interact with the Net (sendmail, leafnode, fetchmail and
netscape) don't complain?

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.

GNKSA section 12 is fundamentally flawed. Requiring 
>If feasible, the software SHOULD try to guarantee that this address actually
>belongs to the person using the software, and actually accepts e-mail.
is, from an engineering viewpoint, as poor as requiring the newsreader to
insert a valid "Message-ID:" header. Both are properly the province of the
server.

The writer of GNKSA sec 12 appears to have been oblivious to the
prevalance of ISPs, because it encourages newsreader developers to assume
that a poster's email address _must_ be the same as her logon address (if
any). This is manifestly not the case.

Now that I understand what "disabling sender generation" means, I am
going to try it on tin-1.4.0. If that isn't going achieve what I need,
further hints would be welcome. I'd dearly like to upgrade, because every
few weeks the version I'm using at the moment goes into spasms of
crashing virtually every time I use it.

Many thanks in advance!

-- 
Alan Mackenzie (Munich, Germany)
Email: ayeseeemm@emmyousee.deeeee; to decode, replace "aye" by 'a', "see"
by 'c', etc.


Technical Details
Message-ID: <bm2n18.j8.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>

Show Full Headers
Complete Article Headers
Message-ID: <bm2n18.j8.ln@acm.acm>
Subject: Re: "Invalid Sender" bugs. GNKSA sec 12 is fundamentally flawed.
Date: Fri, 26 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>
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: 553457350
X-Complaints-To: news-admin@muc.de
X-Trace: marvin.muc.de 943656877 95020 193.149.49.134 (26 Nov 1999 22:54:37 GMT)
Organization: muc.de e.V. -- private internet access
User-Agent: tin/pre-1.4-980618 (UNIX) (Linux/2.0.35 (i686))
NNTP-Posting-Date: 26 Nov 1999 22:54:37 GMT
Newsgroups: news.software.readers