🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62888

Re: [attn client authors] Multiple AUTHINFOs per session

#62888
From: Heiko Studt
Date: Tue, 07 Jan 2003 06:14
46 lines
2647 bytes
Jeffrey M. Vinocur made me laugh on 07.01.2003 02:46:43:

> There is currently discussion on the ietf-nntp mailing list on
> whether we should permit clients to perform multiple
> authentications steps per session.  That is, after a successful
> AUTHINFO, should the client be permitted to issue AUTHINFO again.

> you've written a server and see clients doing this, we want to
> hear about it now rather than later.  Thus, please respond
> either here or on ietf-nntp (or via email to me if you prefer).

Hamster 2.0 (Server-Part) can Handle multiple AUTHINFO-Phases. It sets the
Logged-In-User auf 'NIL' if he gets an "AUTHINFO USER". If he gets a wrong
"AUTHINFO PASS" he disconnects the client.

---cServerNNTP.pas
        if UpperCase(copy(Par,1,4))='USER' then begin
           CurrentUserName := TrimWhSpace( copy( Par,6,Length(Par)-5) );
           CurrentUserID   := ACTID_INVALID;
           SendResult( '381 More authentication information required' );
           exit;
        end;
        if UpperCase(copy(Par,1,4))='PASS' then begin
           s := LoginUser( TrimWhSpace( copy( Par,6,Length(Par)-5 ) ) );
           SendResult( s );
           if (copy(s,1,3)<>'281') then Cmd_Quit('');  //JW 27.12.00 NNTP->Auto Logout
           exit;
        end;
---

Hamster 2.0 (Client-Part) don't use multiple AUTHINFO-Phases.

Download Hamster Classic (2.0):
http://www.tglsoft.com

Information about Hamster:
http://home.t-online.de/home/micha-wr/hamster/



MFG, HTH

-- 
Heiko Studt

Technical Details
Message-ID: <avduo3.16s.1@Heiko.Studt.dialin.t-online.de>
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!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
References: <avdbi3$mhk$2@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <avduo3.16s.1@Heiko.Studt.dialin.t-online.de>
Subject: Re: [attn client authors] Multiple AUTHINFOs per session
Date: Tue, 07 Jan 2003 07:14:10 +0100
From: Heiko Studt <UsenetBecky@goldpool.org>
References: <avdbi3$mhk$2@puck.litech.org>
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!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.nntp
Organization: HSR
Lines: 45
Reply-To: Heiko.Studt@gmx.de
Mime-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 1041936614 06 6921 AH-UEJsSbtYg25 030107 10:50:14
X-Complaints-To: abuse@t-online.com
X-Sender: 0597171868-0001@t-dialin.net
X-Mailer: Becky! ver. 2.05.06 with BkNews Plug-In ver. 2.0
User-Agent: Hamster-Pg/1.8