Article View: news.software.nntp
Article #31961Re: Remove some message headers from INN
From: Fluffy -- The Other White Meat
Date: Sat, 03 Oct 1998 00:00
Date: Sat, 03 Oct 1998 00:00
40 lines
2417 bytes
2417 bytes
On Wed, 30 Sep 1998, Stanislas Renan wrote: > I want to remove some headers of the messages posted to > our server, or hide them when the server feed another with > These headers are "NNTP-Posting-Host" and "X-Trace"; they > seem to be new since version 2.1. Eh, they've been around for quite a bit longer than that... > They contain IP addresses > that should only be on our LAN. How do you mean that? Do you mean that nobody somewhere else on Thee Internet should be able to configure a machine with those addresses and use them? Well, of course, that's how IP numbers are assigned and routing tables set up. No worries there. Or do you mean that you are using numbers in the private address space that can't be reached from anywhere outside your LAN and are therefore meaningless to anywhere else? That's easy enough to handle... Set up an internal nameserver and provide mappings from your internal IP addresses to hostnames that you assign that are unique and belong to your organization. This hostname will replace the IP address which appears in the NNTP-Hosting-Post header, and as you know the mapping from it to the internal IP address, you can use it to trace down problems. For the X-Trace header, that provides more information which you need to trace down problems (note that the date in this header of your post doesn't match the Date header). As you've made the DNS mapping, you don't need that IP information repeated here, where it is provided for cases where the DNS cannot be trusted. So you can go through the source code and change the format of this header to omit this IP data. barry bouwsmaa
Technical Details
Message-ID:
<Pine.LNX.4.00.9810030859170.2094-100000@coredump.int.tele.dk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<361252A0.6E42EFAE@agl.fr>Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.4.00.9810030859170.2094-100000@coredump.int.tele.dk> Subject: Re: Remove some message headers from INN Date: Sat, 03 Oct 1998 00:00:00 +0000 From: Fluffy -- The Other White Meat <fluffy@vszbr.cz> References: <361252A0.6E42EFAE@agl.fr> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 397292555 X-Sender: fluffy@coredump.int.tele.dk Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: The Cold Cloudy Weather Cabal Mime-Version: 1.0 Reply-To: Barry Bouwsma <ag786@yfn.ysu.edu> Newsgroups: news.software.nntp