Article View: news.software.nntp
Article #87415Re: Block postings from Tor to INN server
From: Paolo Amoroso
Date: Mon, 14 Nov 2016 13:47
Date: Mon, 14 Nov 2016 13:47
16 lines
1567 bytes
1567 bytes
Il 14/11/2016 04:43, Neodome Admin ha scritto:
> I created a cron job to download
> https://check.torproject.org/exit-addresses and extract IPs. In file
> filter_nnrpd.pl I read them to hash and try to find key
> $attributes{'ipaddress'} in that hash. Is that correct way to go?
no, see https://www.torproject.org/projects/tordnsel.html.en
postfilter, an (old) script to filter local posts (see
https://github.com/Aioe/postfilter) does this, look at
https://github.com/Aioe/postfilter/blob/da59ed7c29d484ca4e49dc207eb33a5d8d1f0468/src/modules/rbl.pm
for a code example)
(if you need a tgz of postfilter ask me)
Technical Details
Message-ID:
<o0cf97$k50$1@gioia.aioe.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mailReferences:
<o0bbtf$clu$1@neodome.net>Show Full Headers
Complete Article Headers
Message-ID: <o0cf97$k50$1@gioia.aioe.org> Subject: Re: Block postings from Tor to INN server Date: Mon, 14 Nov 2016 14:47:19 +0100 From: Paolo Amoroso <estasi@aioe.org> References: <o0bbtf$clu$1@neodome.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp,alt.free.newsservers,alt.privacy.anon-server Organization: Aioe.org NNTP Server Lines: 14 NNTP-Posting-Host: 7tS6FeaLdDzSSkgK7Yz46g.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 X-Notice: Filtered by postfilter v. 0.8.2 X-Received-Bytes: 1525 X-Received-Body-CRC: 565555970