Article View: news.software.nntp
Article #80931Re: filter_nnrpd.pl (maybe a bug)
From: Julien ÉLIE
Date: Thu, 07 May 2009 22:02
Date: Thu, 07 May 2009 22:02
39 lines
2893 bytes
2893 bytes
Hi Paolo,
> About postfilter you could use:
>
> Postfilter is an NNRPD perl filter (filter_nnrpd.pl) which scans all
> messages sent by local users in order to block abuses. Postfilter can limit
> the number of messages per user, IP or domain, provides a set of powerful
> banlists, supports RBLs and URIBls, can handle connections that come from
> TOR and is able to deeply modify the headers. It's designed for large sites.
OK, thanks.
> $hdr{'X-Newsreader'} = undef;
>
> 200 localhost InterNetNews server INN 2.4.5 ready
> 441 437 Body of header is all blanks in "X-Newsreader" header
>
> This makes impossible to hide the user agent (which could reveal local
> vulnerabilities)
Oh, that will be difficult to handle in Postfilter...
INN 2.4.x does not accept empty headers and only "delete" will work
(but *not* on all headers!). "undef" does not delete the header but
empties it for INN 2.4.x...
With INN 2.5.0, "undef" works pretty fine...
Sorry, I do not know how you will manage to do it (you could try to
get INN's version with innshellvars/INN::Config).
Annoying to have that INN 2.4.x bug with "undef" :-/
--
Julien ÉLIE
« The best preparation for tomorrow is to do
today's work superbly well. » (William Osler)
Technical Details
Message-ID:
<gtvlut$h8q$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mailReferences:
<gtm4q0$qtg$1@aioe.org> <gtm52j$r2k$1@aioe.org> <gtm6i9$eiq$1@tioat.net> <gtmvc6$k9a$1@aioe.org> <gtneib$eh4$1@news.trigofacile.com> <gtnioo$8ju$2@aioe.org> <gtq0p9$a7j$1@news.trigofacile.com> <gtq7ib$qm1$2@aioe.org> <gtq927$7fa$1@news.trigofacile.com> <gts4n5$e9q$1@aioe.org> <gtsj0i$e0o$1@news.trigofacile.com> <gtst92$85h$1@aioe.org> <gtsv12$trf$1@news.trigofacile.com> <gtvjpa$ptt$1@aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <gtvlut$h8q$1@news.trigofacile.com> Subject: Re: filter_nnrpd.pl (maybe a bug) Date: Fri, 8 May 2009 00:02:42 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <gtm4q0$qtg$1@aioe.org> <gtm52j$r2k$1@aioe.org> <gtm6i9$eiq$1@tioat.net> <gtmvc6$k9a$1@aioe.org> <gtneib$eh4$1@news.trigofacile.com> <gtnioo$8ju$2@aioe.org> <gtq0p9$a7j$1@news.trigofacile.com> <gtq7ib$qm1$2@aioe.org> <gtq927$7fa$1@news.trigofacile.com> <gts4n5$e9q$1@aioe.org> <gtsj0i$e0o$1@news.trigofacile.com> <gtst92$85h$1@aioe.org> <gtsv12$trf$1@news.trigofacile.com> <gtvjpa$ptt$1@aioe.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 39 NNTP-Posting-Host: amontpellier-159-1-13-165.w90-57.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-15"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1241733918 17690 90.57.84.165 (7 May 2009 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Thu, 7 May 2009 22:05:18 +0000 (UTC) In-Reply-To: <gtvjpa$ptt$1@aioe.org> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049