Article View: news.admin.peering
Article #1627Re: Newbie question
From: Eli
Date: Tue, 11 Apr 2023 17:23
Date: Tue, 11 Apr 2023 17:23
60 lines
2896 bytes
2896 bytes
On 11 Apr 2023 at 12:12:12 CEST, "Julien ΓLIE"
<iulius@nom-de-mon-site.com.invalid> wrote:
> Hi Eli,
>
>> The nnrpd manual states:
>>
>> "As each command is received, nnrpd tries to change its "argv" array so that
>> ps(1) will print out the command being executed."
>>
>> This will then look like this:
>> nnrpd: <xxx.xxx.xxx.xxx> GROUP
>> nnrpd: <xxx.xxx.xxx.xxx> XOVER
>>
>> Is it perhaps also possible to add the authenticated user to this?
>>
>> Something like:
>> nnrpd: <xxx.xxx.xxx.xxx> Eli GROUP
>> nnrpd: <xxx.xxx.xxx.xxx> Eli XOVER
>>
>> This would make it possible to limit the number of connections per user via a
>> perl script.
>
> It is indeed possible to use that "feature".
>
> If you can rebuild INN from sources, just change the following command
> in nnrpd/nnrpd.c:
>
> - setproctitle("%s %s", Client.host, av[0]);
> +
> + setproctitle("%s %s %s", Client.host,
> + PERMuser[0] != '\0' ? PERMuser : "-", av[0]);
That is great news.
Thanks !
> I am unsure if this would be worth having in an official release; there
> may be privacy concerns. Maybe it should be configurable with a
> readers.conf option (like addprocesstitleuser which would enable that
> behaviour when set to true in an access group).
I don't know if many people will use this feature, but it is nice if INN
supports it. Making it configurable is a good idea.
About pullnews:
In pullnews I use the '-w -1000000' option to download the 1 million most
recent articles per newsgroup.
This works fine, but when pullnews is restarted (for example after a server
timeout), pullnews will redownload all already downloaded articles.
It does come with the message that the articles already exist, but when there
are almost a million per newsgroup, it is not very pleasant.
It would be nice if pullnews continued downloading where it left off. For
example, only if the high water mark >0.
Could you improve this on pullnews?
Thanks.
Technical Details
Message-ID:
<4IgZL.4406762$WRz3.2096474@fx03.ams4>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<sXMOL.4024495$MJk2.1098149@fx06.ams4> <tvft64$240m$1@news.trigofacile.com> <jjVXL.4378630$vSy3.384664@fx04.ams4> <u13bps$188ar$4@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <4IgZL.4406762$WRz3.2096474@fx03.ams4> Subject: Re: Newbie question Date: Tue, 11 Apr 2023 17:23:12 GMT From: Eli <eliistheman@gmail.com> References: <sXMOL.4024495$MJk2.1098149@fx06.ams4> <tvft64$240m$1@news.trigofacile.com> <jjVXL.4378630$vSy3.384664@fx04.ams4> <u13bps$188ar$4@news.trigofacile.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.admin.peering Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=fixed Content-Transfer-Encoding: 8bit User-Agent: Usenapp for MacOS X-Usenapp: v1.26.6/l - Full License Lines: 60 X-Complaints-To: abuse@eweka.nl Nntp-Posting-Date: Tue, 11 Apr 2023 17:23:12 UTC Organization: Eweka Internet Services