🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #55584

Re: Is there a hack to support paswords that contain spaces?

#55584
From: Andrew - Supernews
Date: Mon, 10 Dec 2001 00:09
42 lines
2941 bytes
In article <20011209183112.802$Gb@newsreader.com>, Curt Welch wrote:
> Any ISP or organization that is having NNTP support problems because the
> users's password don't work that has the power to change INN is just as
> likely to have the problem to change they web interface or whatever they
> use to allow users to make up the bogus passwords in the first place.

Umm.

While we don't use INN, we do use our own code and we could, if we had
a good enough reason to, change it to support passwords with spaces.

On the other hand, we do outsource accounts that use RADIUS authentication
(where the customer is supplying the RADIUS server and therefore controlling
the username/password data themselves). We've had (as I recall) one case so
far where a problem arose because of whitespace in an existing password.

So we, at least, are in the position of being able to change the NNTP code
but not being able to control how passwords are set.

> But how many different ways are their for hooking the authentication
> code into the database of passwords?  How many of those might crash
> if inn trys to pass a password with spaces to it?

indeed, there are possible issues here - I can think of a couple of
places in our code that would have to be checked out, in addition to the
actual AUTHINFO command itself.

[...]
> And I'm not talking about INN documentaiton, I'm
> talking about protocol documentation that people who write news clients are
> likely to be reading.  i.e., the standards -- which is the root cause of
> this problem in the first place since the AUTHINFO system was not probably
> designed to deal with spaces.

FWIW, there is no standard for AUTHINFO. (The documentation that does
exist, RFC 2980, is a description of deployed implementations rather than
a standard as such.)

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Technical Details
Message-ID: <slrna17v93.jv5.andrew+nonews@trinity.supernews.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <9urfpi$7vi$1@teta.doit.wisc.edu> <20011209040538.266$zf@newsreader.com> <9v04t0$bq6$2@marduk.litech.org> <20011209140125.796$s8@newsreader.com> <9v0lcn$fda$1@marduk.litech.org> <20011209183112.802$Gb@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrna17v93.jv5.andrew+nonews@trinity.supernews.net>
Subject: Re: Is there a hack to support paswords that contain spaces?
Date: Mon, 10 Dec 2001 00:09:07 -0000
From: andrew+nonews@supernews.com (Andrew - Supernews)
References: <9urfpi$7vi$1@teta.doit.wisc.edu> <20011209040538.266$zf@newsreader.com> <9v04t0$bq6$2@marduk.litech.org> <20011209140125.796$s8@newsreader.com> <9v0lcn$fda$1@marduk.litech.org> <20011209183112.802$Gb@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Posted via Supernews, http://www.supernews.com
Reply-To: andrew@supernews.com
User-Agent: slrn/0.9.7.1 (FreeBSD)
X-Complaints-To: newsabuse@supernews.com
Lines: 41