X-Trace
John F. Morse
inn at xanadu-bbs.net
Tue Oct 4 19:12:29 UTC 2011
I have a user concerned about privacy, specifically his IP being displayed.
After his request several years ago, I changed the "NNTP-Posting-Host" option
in /etc/news/inn.conf to:
addnntppostinghost: false
That took care of one possible concern, but now X-Trace is the issue.
Can the X-Trace header field be silenced in INN 2.5.2? This is a compiled
version with TLS running on Squeeze.
I realize INN 2.6 will change this with the new Injection fields.
I'm not a Perl programmer. Perhaps commenting out lines 588-589 in
/etc/news/filter/filter_innd.pl or changing 589 would work?
8 # $Id: cleanfeed 306 2010-01-04 10:48:45Z cleanfeed $
...
585 # Try and ascertain the source news service.
586 if ($hdr{'Injection-Info'} =~ /^\s*($Hostname)[\s;]/) {
587 $postingservice = "$1"
588 } elsif ($hdr{'X-Trace'} =~ /^\s*($Hostname)\s/) {
--- 589 $postingservice = "$1"
+++ 589 $postingservice = 0;
590 } else {
591 $postingservice = 0;
592 };
Or something in filter_nnrpd.pl et al?
http://www.eyrie.org/~eagle/software/inn/docs/hook-perl.html
--
John
More information about the inn-workers
mailing list