[leafnode-list] Re: Adding a custom header to posted messages?

Lloyd Zusman ljz at asfast.com
Fri Sep 16 15:10:37 CEST 2005


Lloyd Zusman Wrote:

> [ ... ]
>
> Because all of the posters go through my leafnode server, I'd like
> to cause a custom header to appear in each message, containing
> the IP address and the domain name of each poster's host ... in
> other words, the host from which the nntp connection is being made.
> 
> [ ... ]

Well, I discovered the info about the X-Leafnode-NNTP-Posting-Host
header, which at least displays the IP address.  This is quite useful,
but I'm wondering how hard it would be to also cause it to optionally
do a DNS lookup and also display the domain name, if it's found.  Given
that this can be a somewhat expensive operation, I would want it to
be controlled by a configuration variable.

I'm willing to create a patch which adds this feature, but before I get
to work, I'd like to know what the rest of you think about this idea.

Thanks.

-- 
 Lloyd Zusman
 ljz at asfast.com
 God bless you.





More information about the leafnode-list mailing list