🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Prys Fri, 15 Jul 2005 09:29
INND: nnrpd switch
#72043
Author: Prys
Date: Fri, 15 Jul 2005 09:29
13 lines
1296 bytes
How do I specify which switches are used when innd invokes nnrpd? I want to
implement the nnrpd -n switch which stops nnrpd doing reverse dns lookups. 
Do I specify in any of the inn configuration files?

Running - RedHat FC4, with inn-2.4.2-3

Many thanks iao your help

Prys



Re: INND: nnrpd switch
#72045
Author: Jeffrey M. Vinocur
Date: Fri, 15 Jul 2005 10:47
17 lines
1664 bytes
In article <42d77fd5$1@news.yourcomms.net>, Prys <pw@f2s.com> wrote:
>How do I specify which switches are used when innd invokes nnrpd? I want to
>implement the nnrpd -n switch which stops nnrpd doing reverse dns lookups. 
>Do I specify in any of the inn configuration files?

Believe it or not, there's no way to pass arbitrary switches to
nnrpd when spawned directly from INN.  (If you run nnrpd as a
standalone daemon with -D, or out of inetd/xinetd, you can of
course use any switches you like.)

I'm amazed nobody's asked for this before.  It would be an easy
patch -- I could whip it up if you wanted.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INND: nnrpd switch
#72048
Author: Prys
Date: Fri, 15 Jul 2005 13:13
30 lines
2021 bytes
My query stems from work on a non-production, non-critical piece of tin, so 
please don't sweat on my behalf! If you decide to go ahead anyway, then I'll 
certainly be interested.

Regards

Prys

"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message 
news:db848i$nl7$1@puck.litech.org...
> In article <42d77fd5$1@news.yourcomms.net>, Prys <pw@f2s.com> wrote:
>>How do I specify which switches are used when innd invokes nnrpd? I want 
>>to
>>implement the nnrpd -n switch which stops nnrpd doing reverse dns lookups.
>>Do I specify in any of the inn configuration files?
>
> Believe it or not, there's no way to pass arbitrary switches to
> nnrpd when spawned directly from INN.  (If you run nnrpd as a
> standalone daemon with -D, or out of inetd/xinetd, you can of
> course use any switches you like.)
>
> I'm amazed nobody's asked for this before.  It would be an easy
> patch -- I could whip it up if you wanted.
>
>
> -- 
> Jeffrey M. Vinocur
> jeff@litech.org 

Re: INND: nnrpd switch
#72053
Author: Jeffrey M. Vinocur
Date: Sat, 16 Jul 2005 21:59
31 lines
2105 bytes
In article <42d7b444$1@news.yourcomms.net>, Prys <pw@f2s.com> wrote:
>
>"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message 
>news:db848i$nl7$1@puck.litech.org...
>
>> Believe it or not, there's no way to pass arbitrary switches to
>> nnrpd when spawned directly from INN.  (If you run nnrpd as a
>> standalone daemon with -D, or out of inetd/xinetd, you can of
>> course use any switches you like.)
>>
>> I'm amazed nobody's asked for this before.  It would be an easy
>> patch -- I could whip it up if you wanted.
>
>My query stems from work on a non-production, non-critical piece of tin, so 
>please don't sweat on my behalf! If you decide to go ahead anyway, then I'll 
>certainly be interested.

Okay, here's a patch:

   http://www.litech.org/~jeff/inn-diffs/nnrpdflags

It's based on pre-INN 2.5 code, but I imagine it'll apply to
earlier versions pretty easily.  I did some brief testing and it
seemed to work well.

Let me know if you experience any issues.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INND: nnrpd switch
#72054
Author: Jeffrey M. Vinocur
Date: Sat, 16 Jul 2005 22:16
15 lines
1490 bytes
In article <dbbvv6$td7$1@puck.litech.org>,
Jeffrey M. Vinocur <jeff@litech.org> wrote:
>
>   http://www.litech.org/~jeff/inn-diffs/nnrpdflags
>
>Let me know if you experience any issues.

FYI, if anybody downloaded that in the first few minutes it was
up, it contained a memory leak.  New version, with free() added,
up at the same location.


-- 
Jeffrey M. Vinocur
jeff@litech.org
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