🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Stanislas Renan Wed, 30 Sep 1998 00:00
Remove some message headers from INN
#31866
Author: Stanislas Renan
Date: Wed, 30 Sep 1998 00:00
20 lines
1366 bytes
Hi,

I'm running INN 2.1 under solaris.
I want to remove some headers of the messages posted to
our server, or hide them when the server feed another with
our messages.

These headers are "NNTP-Posting-Host" and "X-Trace"; they
seem to be new since version 2.1. They contain IP addresses
that should only be on our LAN.

Any clue welcomed,
Stan.

__________________________________________________________
Stanislas Renan                              Celt in Paris
stanislas.renan@agl.fr          http://www.agl.fr/ [@work]
http://www.lookup.com/Homepages/85035/             [@home]

Re: Remove some message headers from INN
#31961
Author: Fluffy -- The Other White Meat
Date: Sat, 03 Oct 1998 00:00
40 lines
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


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