Re: whitelist syntax
jdd <[email protected]>
| Newsgroups | aioe.news.helpdesk |
|---|---|
| Organization | Aioe.org NNTP Server |
| Message-ID | <[email protected]> |
Le 13/12/2022 à 09:52, Aioe a écrit : > Il 13/12/22 08:44, jdd ha scritto: >> but there is no "NNTP-Posting-Host" header on messages source, > > NNTP-Posting-Host was an old header (removed by INN 2.6) that showed the > sender's IP address of each post. > > Nowadays another header (Injection-Info) is used. OK, thanks > > Whitelist allows two parameters: an *HEADER* and a REGULAR EXPRESSION so > you are able to whitelist almost everything > > In example > > "Injection-info", "posting\-host\=\"127\.0\.0\.1" this I don't understand :-(, this one on the same line? on your very article source I read Injection-Info: gioia.aioe..... and posting-host="mUQk.... that looks as two headers, not one or do "Injection-info" mean all the regular headers? > > on the "Path" header, IP is written in reverse order > > are you sure? of course not, but there it's not the user IP but your server's one. On my server, using what I think is the default INN behavior (but I'm not really sure of anything :-() I get, for example !.POSTED.167.XX.YY.77.rev.sfr.net and as I know my users IP I'm sure it's reversed anyway I suppose postfilter uses anything it can read in the headers :-) thanks jdd -- mon serveur usenet: dodin.fr.nf c'est quoi, usenet? http://www.dodin.org/wiki/pmwiki.php?n=Usenet.Usenet