🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by Aioe Tue, 29 Sep 2009 14:51
Postfilter 0.8.0
#81945
Author: Aioe
Date: Tue, 29 Sep 2009 14:51
92 lines
4400 bytes
Download at http://postfilter.googlecode.com/files/postfilter-0.8.0.tar.gz

New Features:

1. Now postfilter has got an installer - ./postfilter-install.pl - that is 
able to copy all needed files in the right places

2. UUEncoded and YENC encoded binaries are separately handled.  Now 
$config{'allow_yenc'} permits to allow yenc encoded binaries 
$config{'allow_uuencode'} uuencoded messages. 

3. Postfilter is now shipped with a set of manpages:
   postfilter.conf.5 
   banlist.conf.5    
	 
4. More documentation in doc/ :
   how_to_delete_headers.txt explains the right way to delete headers inside 
    an nnrpd filter script
  
5. X-No-Archive can be deleted $config{'delete_header_x-no-archive'} sets 
whether to keep or delete it

6. A new set of postfilter.conf statements allows to determine which checks 
have to be made:

   $config{?check_users?} 
   $config{?check_tor?}   
   $config{?check_custom?}                    
   $config{?check_banlist?}                   
   $config{?check_rbl?}                       
   $config{?check_uribl?}
   $config{'check_distribution'}
   $config{'check_groups_existence'}
   $config{'check_white-list'}

7. Legal logs - the ones saved inside legal.log - can be handled in a much 
better way through a new utility, /sbin/postlegal The old postfilter-legal.pl 
was removed.

Enhancements:
	
1. Now Postfilter is able to detect whether INN 2.4 or 2.5 is running 
$config{'version'} shows which is the current INN version.

2. Postfilter can be configured in order to skip URIBL.com or SURBL URIBL 
check. Now $config{?check_surbl?} enables or disables SURBL check, 
$config{?check_uriblcom?} controls URIBL.com check

3. Now postfilter is able to accept, reject or mark all articles that come 
from TOR.  Old $config{'block_tor'} was removed. A new $config{'tor_network'} 
allows to accept articles that come from TOR nodes ("accept"), to reject 
them ("reject"), to mark ("mark") each post from TOR inserting a custom 
header 'X-TOR-Router: TOR_IP' and adding 'tor-network' inside the Path.

4. 'Domain' based users' access rights check must be explicitly enabled 
through $config{?enable_domain_check?}

Bugfixes:

1. A much better MySQL code that correctly handles the errors
	
2. access.pm works much better and it's better factorialized

3. All modules (modules/*.pm) are fully commented

4. Postfilter now uses INN::Syslog instead of Sys::Syslog

5. Now messages that come from stdin (if nnrpd is invoked through command 
line) are correctly handled

6. Postfilter skips TOR checks if an article comes from stdin or localhost, 
URIBL checks are skipped if no URI are found inside the body

7. if custom rules return a code that hasn't got a corresponding error 
string, a message is printed in the logs and that article is rejected with a 
generic rejection string ($quickref[63]).

8. if postfilter is linked to the wrong nnrpd perl filter file (nnrpd_*.pl 
inside pathfilter), now an error is printed in the logs (news.crit) and an 
human readable error message is sent to the remote client.

9. Removed 'hidden' User-Agent because now user agent related headers can be 
deleted.  Added a new subroutines that works both with inn 2.4 and 2.5

10. Now all regular expressions are case insensitive

11. Only *accepted* articles are counted as multipost

12. If an article is rejected because it's sent to an unexistent group, the 
error string shows which is the missing group.

Re: Postfilter 0.8.0
#81946
Author: Sn!pe
Date: Tue, 29 Sep 2009 15:29
20 lines
2698 bytes
Aioe <estasi@aioe.org> wrote:

[...]

> 3. Now postfilter is able to accept, reject or mark all articles that come
> from TOR.  Old $config{'block_tor'} was removed. A new $config{'tor_network'}
> allows to accept articles that come from TOR nodes ("accept"), to reject
> them ("reject"), to mark ("mark") each post from TOR inserting a custom
> header 'X-TOR-Router: TOR_IP' and adding 'tor-network' inside the Path.

[...]

I post to Usenet using port 119 direct; from time to time I also run a
TOR exit node. Would my Usenet posts be treated as having been made 
via TOR even though I have posted them directly?

-- 
^Ï^.         Sn!pe          <http://snipeco.ath.cx> (my test page)

My pet rock Gordon is hanging on to boost his pension.
Re: Postfilter 0.8.0
#81947
Author: Aioe
Date: Wed, 30 Sep 2009 13:48
10 lines
1304 bytes
Sn!pe wrote:

> I post to Usenet using port 119 direct; from time to time I also run a
> TOR exit node. Would my Usenet posts be treated as having been made
> via TOR even though I have posted them directly?

yes, of course

btw, it's not a great idea a tor router in your desktop.
Re: Postfilter 0.8.0
#81948
Author: Aioe
Date: Wed, 30 Sep 2009 13:57
12 lines
1313 bytes
Aioe wrote:

>> I post to Usenet using port 119 direct; from time to time I also run a
>> TOR exit node. Would my Usenet posts be treated as having been made
>> via TOR even though I have posted them directly?
> 
> yes, of course


... if and only if your tor router can act as *exit* *node* for NNTP 
connections 
Re: Postfilter 0.8.0 and TOR
#81949
Author: Sn!pe
Date: Wed, 30 Sep 2009 15:34
37 lines
3492 bytes
[subject amended]

Aioe <estasi@aioe.org> wrote:

> Aioe wrote:
> 
> >> I post to Usenet using port 119 direct; from time to time I also run a
> >> TOR exit node. Would my Usenet posts be treated as having been made
> >> via TOR even though I have posted them directly?
> > 
> > yes, of course
> 
> ... if and only if your tor router can act as *exit* *node* for NNTP 
> connections 

My TOR exit node is now set to do web, ssl and retrieve mail only; 
I take it that posting to Postfiltered port 119 direct using these
settings should be OK? My reason for asking is that the other day 
I did have a post to Solani rejected as coming from a TOR exit node; 
I had been playing with my TOR settings though. Anyway, I could post
again after rebooting my router and getting a new IP address, but it 
did make me shut down my TOR relay for the time being.

> btw, it's not a great idea a tor router in your desktop.

I'd be interested to hear your reasons. Incidentally, you did give me
permission to post to aioe via TOR some time ago, although I haven't
tried it recently; is that facility still available? I don't have a TOR
capable newsreader configured at present. 

All the above is not that I need TOR, it's mostly just out of curiousity
and too much time on my hands...  :)

-- 
^Ï^.         Sn!pe          <http://snipeco.ath.cx> (my test page)

My pet rock Gordon is hanging on to boost his pension.
Re: Postfilter 0.8.0 and TOR
#81950
Author: Aioe
Date: Thu, 01 Oct 2009 13:39
8 lines
1304 bytes
Sn!pe wrote:

> My TOR exit node is now set to do web, ssl and retrieve mail only;
> I take it that posting to Postfiltered port 119 direct using these
> settings should be OK?

yes (0.8)
Re: Postfilter 0.8.0 and TOR
#81951
Author: Aioe
Date: Thu, 01 Oct 2009 13:40
9 lines
1317 bytes
Sn!pe wrote:

> I'd be interested to hear your reasons. Incidentally, you did give me
> permission to post to aioe via TOR some time ago, although I haven't
> tried it recently; is that facility still available?

no
it was used for *large* abuses
Re: Postfilter 0.8.0
#82417
Author: Julien ÉLIE
Date: Sat, 26 Dec 2009 12:14
40 lines
2730 bytes
Hi Paolo,

> 5. X-No-Archive can be deleted $config{'delete_header_x-no-archive'} sets
> whether to keep or delete it

Note that RFC 5536 defines the Archive: header.
(We also have the Archived-At: header in RFC 5064.)

I also want to point out that INN 2.5.2 will add Injection-Date: and
Injection-Info: headers.
So postfilter (amongst other programs -- I also see that Cleanfeed is
impacted) might want to deal with these two headers.  They will contain
information given in now obsolete NNTP-Posting-Date:, NNTP-Posting-Host:,
X-Complaints-To: and X-Trace: headers.

See for instance the headers of this article I am sending (with INN 2.6.0).
INN 2.5.2 will send both (that is to say it goes on sending obsolete headers,
and adds Injection-Date: and Injection-Info:).


> 6. A new set of postfilter.conf statements allows to determine which checks
> have to be made:
>
>   $config{?check_users?}

In your changelog, you wrote $config{’check_users’} with special quotes.
It should be the usual quote (').


> 4. Postfilter now uses INN::Syslog instead of Sys::Syslog

Without "use INN::Syslog", as we saw in another thread.
I now understand why there was "use" for it!  (because of the previous
"use SYS::Syslog")

-- 
Julien ÉLIE

« Ibi etsi uis te non esse sed es ibi. » 
Re: Postfilter 0.8.0
#82420
Author: Steve Crook
Date: Sat, 26 Dec 2009 12:52
16 lines
1526 bytes
On Sat, 26 Dec 2009 13:14:56 +0100, Julien ÉLIE wrote in
Message-Id: <hh4uo2$9pp$1@news.trigofacile.com>:

> I also want to point out that INN 2.5.2 will add Injection-Date: and
> Injection-Info: headers.
> So postfilter (amongst other programs -- I also see that Cleanfeed is
> impacted) might want to deal with these two headers.

Hi Julien,

I've just upgraded to current INN but I'm not seeing Injection-Info or
Injection-Date headers on locally posted messages.  In my inn.conf:-
addinjectiondate:           true
addinjectionpostinghost:    true

Steve
Re: Postfilter 0.8.0
#82421
Author: Ray Banana
Date: Sat, 26 Dec 2009 12:59
17 lines
2142 bytes
Thus spake Steve Crook <steve@mixmin.net>
 
> I've just upgraded to current INN but I'm not seeing Injection-Info or
> Injection-Date headers on locally posted messages.  In my inn.conf:-
> addinjectiondate:           true
> addinjectionpostinghost:    true

Take a look at my headers. This is with INN 2.6.0 snapshot 20091226 with

addinjectiondate:           true
addinjectionpostinghost:    false

Maybe your filter_nnrpd removes the new headers?

-- 
Time flies like an arrow, fruit flies like a Banana.
http://www.eternal-september.org
Re: Postfilter 0.8.0
#82422
Author: Steve Crook
Date: Sat, 26 Dec 2009 13:01
8 lines
1284 bytes
On Sat, 26 Dec 2009 12:52:50 +0000 (UTC), Steve Crook wrote in
Message-Id: <slrnhjc1p2.mt9.steve@news.mixmin.net>:

>
> I've just upgraded to current INN but I'm not seeing Injection-Info or
> Injection-Date headers on locally posted messages.
Apologies, it's resolved now.  I forgot I need to manually kill and
restart the nnrpd daemon because it listens on 563 from boot time.
Re: Postfilter 0.8.0
#82423
Author: Aioe
Date: Sat, 26 Dec 2009 13:15
11 lines
1396 bytes
Julien ÉLIE wrote:

> So postfilter (amongst other programs -- I also see that Cleanfeed is
> impacted) might want to deal with these two headers.  They will contain
> information given in now obsolete NNTP-Posting-Date:, NNTP-Posting-Host:,
> X-Complaints-To: and X-Trace: headers.

thank you for all :-)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads