X-Trace? & Post limiting?

Marco d'Itri md at Linux.IT
Thu Aug 22 18:23:52 UTC 2002

On Aug 22, _zip <_zip at cox.net> wrote:

 >	I just recently setup INN on a computer that's behind a local router.
 >Now when someone makes a post, X-Trace is showing the local IP address
 >of the router and not the IP of the original sender. I'm wondering how I
 >can fix this. I've read the faqs and most of the man pages already.

sub filter_post {
        $hdr{'NNTP-Posting-Host'} = '';
        $hdr{'X-Trace'} = '';
        $modify_headers = 1;
        return '';

 >	Also how could I limit the number of posts per day that are allowed per
 >IP address? I'm new to this so bare with me here. In the inn.conf man
You need to manage some kind of database from filter_post().
Do not forget proper locking.


More information about the inn-workers mailing list