🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin.peering
Article #2874

Re: inn2 peering configs questions - hispagatos wrong?

#2874
From: Billy G. (go-while)
Date: Tue, 28 May 2024 07:28
37 lines
2049 bytes
On 25.05.24 12:02, Julien ÉLIE wrote:
> Hi Billy,
> 
>>      :*,!control*,!junk,!local.*,\
> 
> In addition to what has already been rightly said in this thread, I 
> would recommend "!control,!control.*" instead of "!control*" because it 
> otherwise excludes possible hierarchies like a controllers.* one.
> 


great!

another question i have is the order.

why do * first and then denials afterwards?

why not put entries with ! or @ first and put the single * to the end?

...
...

while i'm asking myself i jumped into the source and found this:

https://github.com/InterNetNews/inn/blob/0ff2d3ae0912cf2098d20aaecc900bb5b9e472b2/innd/newsfeeds.c#L363

/*
**  Modify "subbed" according to the patterns in "patlist."
*/
static void
SITEsetlist(char **patlist, char *subbed, char *poison, bool *poisonEntry)


looks like cfg gets read at once and sets some bits somewhere else.
so i believe the order should not matter?

Thank you
Technical Details
Message-ID: <665579b2$1$31828$882e4bbb@reader.netnews.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
References: <664dabda$3$24761$882e4bbb@reader.netnews.com> <v2scut$13d6h$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <665579b2$1$31828$882e4bbb@reader.netnews.com>
Subject: Re: inn2 peering configs questions - hispagatos wrong?
Date: Tue, 28 May 2024 09:28:42 +0200
From: "Billy G. (go-while)" <no-reply@no.spam>
References: <664dabda$3$24761$882e4bbb@reader.netnews.com> <v2scut$13d6h$1@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
X-Trace: DXC=n12BCl82E]WShVMDdmZ2O_HWonT5<]0T]5?[GCKc98XSA_kl7KOVc\WWo5li^7P;]UPUGl6L`Sl:\[=lRPQo^nQ]Zk<Nj;]6=IS_nl1X68Fd5S
X-Trace: 1716877746 reader.netnews.com 31828 127.0.0.1:57439
X-Complaints-To: support@blocknews.net
Mime-Version: 1.0
User-Agent: Mozilla Thunderbird
Newsgroups: news.admin.peering
Content-Language: en-US
Organization: github.com/go-while
In-Reply-To: <v2scut$13d6h$1@news.trigofacile.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 38
Nntp-Posting-Host: 127.0.0.1