๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by franconews Tue, 03 Jul 2001 21:43
[INN] NNtP posting host
#53124
Author: franconews
Date: Tue, 03 Jul 2001 21:43
5 lines
1201 bytes
By default, the nntp-posting-host field has the name of the machine
that posted when addnntppostingthost is set to true in inn.conf.
I would like to have the Ip address instead, without reverse lookup.
Is there a simple parameter to do this ?
Re: [INN] NNtP posting host
#53116
Author: Russ Allbery
Date: Tue, 03 Jul 2001 22:55
15 lines
1492 bytes
franconews <news@franconews.org> writes:

> By default, the nntp-posting-host field has the name of the machine that
> posted when addnntppostingthost is set to true in inn.conf.  I would
> like to have the Ip address instead, without reverse lookup.  Is there a
> simple parameter to do this ?

Unfortunately, there is no simple parameter that lets you do that.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [INN] NNtP posting host
#53117
Author: Franz Georg Kรถhler
Date: Tue, 03 Jul 2001 23:45
15 lines
1608 bytes
begin  quoting [Russ Allbery <rra@stanford.edu>]
> franconews <news@franconews.org> writes:
> 
>> By default, the nntp-posting-host field has the name of the machine that
>> posted when addnntppostingthost is set to true in inn.conf.  I would
>> like to have the Ip address instead, without reverse lookup.  Is there a
>> simple parameter to do this ?
> 
> Unfortunately, there is no simple parameter that lets you do that.

The IP is included in the X-Trace anyway...



Re: [INN] NNtP posting host
#53118
Author: those who know me have no need o...
Date: Wed, 04 Jul 2001 06:51
14 lines
1400 bytes
<9hte9h$8cq$1@yucatan.franconews.org> divulged:

>By default, the nntp-posting-host field has the name of the machine
>that posted when addnntppostingthost is set to true in inn.conf.
>I would like to have the Ip address instead, without reverse lookup.
>Is there a simple parameter to do this ?

as already mentioned, there isn't but it's in the x-trace.  if you really
want posting host to be ip only you can change nnrpd/post.c line 499 from
`HDR(_nntpposthost) = ClientHost;' to `HDR(_nntpposthost) = ClientIp;'.

-- 
okay, have a sig then
Re: [INN] NNtP posting host
#53140
Author: franconews
Date: Fri, 06 Jul 2001 13:23
10 lines
1372 bytes
those who know me have no need of my name <not-a-real-address@usa.net> 
wrote in news:9huedo01f12@enews4.newsguy.com:

> as already mentioned, there isn't but it's in the x-trace.  if you really
> want posting host to be ip only you can change nnrpd/post.c line 499 from
> `HDR(_nntpposthost) = ClientHost;' to `HDR(_nntpposthost) = ClientIp;'.
> 

Ok, I have patched post.c, make update. All ok in 5 minutes.
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