🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50014

Re: nnrpd config (was Re: rpost question)

#50014
From: Jeffrey M. Vinocur
Date: Sat, 20 Jan 2001 19:08
23 lines
1925 bytes
In article <ylzogqpb17.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>Jeffrey M Vinocur <jeff@litech.org> writes:
>
>> That reminded me to go polish up reader config, and I'm somewhat
>> surprised to see that (with nnrpdauthsender on) any user who authorizes
>> can set Sender: arbitrarily.  What is the rationale here?
>
>Yes, that is a little odd.  I don't really understand that one either.

Well, I patched post.c so that Sender: is only present if user
authenticated and, if present, is set to the authentication info.

And then I added a flag to ident.c to be able to have it truncate
the result at '@', so that instead of returning
"jeff@foo.litech.internal" it returns "jeff" and thus nnrpd can
use default-domain to give a valid address.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <94cnob$equ$1@marduk.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!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
References: <3a62eab0$0$18424@reader4> <yl4ryzesav.fsf@windlord.stanford.edu> <943c8b$q2j$3@marduk.litech.org> <ylzogqpb17.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <94cnob$equ$1@marduk.litech.org>
Subject: Re: nnrpd config (was Re: rpost question)
Date: Sat, 20 Jan 2001 19:08:59 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <3a62eab0$0$18424@reader4> <yl4ryzesav.fsf@windlord.stanford.edu> <943c8b$q2j$3@marduk.litech.org> <ylzogqpb17.fsf@windlord.stanford.edu>
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!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Lithium Technologies
Lines: 22
Sender: jeff@litech.org
NNTP-Posting-Host: marduk.litech.org
X-Trace: marduk.litech.org 980017739 15198 128.84.154.54 (20 Jan 2001 19:08:59 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Sat, 20 Jan 2001 19:08:59 +0000 (UTC)
X-Newsreader: trn 4.0-test74 (May 26, 2000)
Originator: jeff@litech.org (Jeffrey M. Vinocur)