🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #13438

Re: limiting crosposted articles ?

#13438
From: Andy Burgess
Date: Fri, 20 Dec 1996 00:00
52 lines
2354 bytes
In <yy3raklsdhu.fsf@velo.pp.vix.com> James Brister <brister@vix.com> writes:

<regarding changing article headers in the perl & tcl filters>

Thanks for responding James.

>So, firstly the perl
>and tcl hooks are there to let you help innd decide whether you want to
>accept and article or not. They're not intended for modifying article
>contents

Yes that's true. This would be added functionality.

>-- all such modifications (and they are kept to a minimum) should
>be kept inside innd itself if only because calling into perl or tcl is not
>a lightweight operation.

It seems to me that if you are using the perl filter already any added
functionality is free of overhead. You are already running the perl
script. 

>Secondly, a slightly broken perl/tcl script that was modifying articles
>would have disaterous consequences.

Bugs anywhere can have consequences, in the perl filter or in
innd or ...

>Thirdly, you can already modify
>articles via an entry in newsfeeds,

Yes. You could have two seperate perl scripts.

>so write access to the article from
>perl/tcl isn't necessary.

It seems that for some cases it would be more efficient. It would be
nice to avoid copying the article body but if the perl script could
get a pointer to it then r/w access is pretty much overhead free.

>> But how about some sort of r/o pointer to the complete message-header and
>> -body? Would be a nice thing for logging and auto-replying purposes etc.

>These will be coming later.

Enforcing r/o would be more overhead would it not?

I'm looking forward to yours and others additional input on this
topic.


Technical Details
Message-ID: <59ehf0$ruv$1@loach.cichlid.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!not-for-mail
References: <5941f3$ej5$1@kiyoko.communique.net> <qzrakqf0vz.fsf@structured.net> <59a4f6$65t$1@loach.cichlid.com> <yy3sp52srf4.fsf@velo.pp.vix.com> <59ctv7$vml$1@imperator.oops.sub.de> <yy3raklsdhu.fsf@velo.pp.vix.com>

Show Full Headers
Complete Article Headers
Message-ID: <59ehf0$ruv$1@loach.cichlid.com>
Subject: Re: limiting crosposted articles ?
Date: Fri, 20 Dec 1996 00:00:00 +0000
From: aab@cichlid.com (Andy Burgess)
References: <5941f3$ej5$1@kiyoko.communique.net> <qzrakqf0vz.fsf@structured.net> <59a4f6$65t$1@loach.cichlid.com> <yy3sp52srf4.fsf@velo.pp.vix.com> <59ctv7$vml$1@imperator.oops.sub.de> <yy3raklsdhu.fsf@velo.pp.vix.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!not-for-mail
X-Deja-AN: 205130030
Distribution: inet
Newsgroups: news.software.nntp