Thread View: news.software.nntp
8 messages
8 total messages
Started by The Doctor
Wed, 31 Mar 2021 12:57
Blocking using cleanfeed
Author: The Doctor
Date: Wed, 31 Mar 2021 12:57
Date: Wed, 31 Mar 2021 12:57
19 lines
1476 bytes
1476 bytes
IS there any way using s cleanfeed.local file to block news.neodome.net abuse in Newsgroups: alt.fan.rush-limbaugh,alt.politics,alt.politics.trump,alt.tv.pol- + incorrect,rec.arts.tv,talk.politics.guns,talk.politics.misc,soc. + retirement,uk.politics.misc,alt.global-warming,alt.atheism,alt. + conspiracy,alt.politics.democrats.d,or.politics,can.politics -- Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising! Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b We cannot change human failings by ridding ourselves of machines. -unknown
Re: Blocking using cleanfeed
Author: Grant Taylor
Date: Thu, 01 Apr 2021 05:26
Date: Thu, 01 Apr 2021 05:26
19 lines
1360 bytes
1360 bytes
On 3/31/21 6:57 AM, The Doctor wrote: > IS there any way using s > > cleanfeed.local file > > to block > > news.neodome.net abuse I think there is. Take a look at the various options in cleanfeed.pl and cleanfeed.local. There should be at least one thing that jumps out at you. -- Grant. . . . unix || die
Re: Blocking using cleanfeed
Author: The Doctor
Date: Thu, 01 Apr 2021 12:41
Date: Thu, 01 Apr 2021 12:41
31 lines
1707 bytes
1707 bytes
In article <s43lj4$2ih$1@tncsrv09.home.tnetconsulting.net>, Grant Taylor <gtaylor@tnetconsulting.net> wrote: >On 3/31/21 6:57 AM, The Doctor wrote: >> IS there any way using s >> >> cleanfeed.local file >> >> to block >> >> news.neodome.net abuse > >I think there is. > >Take a look at the various options in cleanfeed.pl and cleanfeed.local. >There should be at least one thing that jumps out at you. > > > >-- >Grant. . . . >unix || die I prefer to touch the local. I runn the daily Inn currents. -- Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising! Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b If they can dehumanize the most innocent, they can dehumanize anyone. -unknown
Re: Blocking using cleanfeed
Author: bje
Date: Thu, 01 Apr 2021 16:16
Date: Thu, 01 Apr 2021 16:16
33 lines
1434 bytes
1434 bytes
The Doctor <doctor@doctor.nl2k.ab.ca> wrote: > IS there any way using s > > cleanfeed.local file > > to block > > news.neodome.net abuse If you are running INN, why waste the perl/python cpus on filtering? Just change the ME line in newsfeeds from... ME:*:: to ME/news.neodome.net:*:: then reload the newsfeeds file via ctlinnd. and it'll drop the articles from them on injection. To check, grep the news file in the log directory for neodome... <jWl9I.24441$Qjyf.6924@fx14.ams4> 439 Unwanted site news.neodome.net in path There is nothing coming out of that server to keep or pass along to your peers. -bruce bje@ripco.com
Re: Blocking using cleanfeed
Author: The Doctor
Date: Thu, 01 Apr 2021 22:16
Date: Thu, 01 Apr 2021 22:16
43 lines
1992 bytes
1992 bytes
In article <s44rk6$3c$1@remote5bge0.ripco.com>, <bje@ripco.com> wrote: >The Doctor <doctor@doctor.nl2k.ab.ca> wrote: > >> IS there any way using s >> >> cleanfeed.local file >> >> to block >> >> news.neodome.net abuse > >If you are running INN, why waste the perl/python cpus on filtering? > >Just change the ME line in newsfeeds from... > >ME:*:: > >to > >ME/news.neodome.net:*:: > >then reload the newsfeeds file via ctlinnd. > >and it'll drop the articles from them on injection. > >To check, grep the news file in the log directory for neodome... > ><jWl9I.24441$Qjyf.6924@fx14.ams4> 439 Unwanted site news.neodome.net in path > >There is nothing coming out of that server to keep or pass along to your >peers. > >-bruce >bje@ripco.com Just did. Also would you like to peer with me? -- Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising! Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b If they can dehumanize the most innocent, they can dehumanize anyone. -unknown
Re: Blocking using cleanfeed
Author: Grant Taylor
Date: Thu, 01 Apr 2021 22:45
Date: Thu, 01 Apr 2021 22:45
13 lines
1393 bytes
1393 bytes
On 4/1/21 4:16 PM, The Doctor wrote: > Also would you like to peer with me? Send me an email and we can set something up. I just looked -- I can't remember all of my peers -- and we're not peered. (At least I don't see your name or nl2k in comments.) -- Grant. . . . unix || die
Re: Blocking using cleanfeed
Author: Julien ÉLIE
Date: Mon, 21 Jun 2021 13:39
Date: Mon, 21 Jun 2021 13:39
59 lines
2995 bytes
2995 bytes
Hi Grant and The Doctor,
>> IS there any way using
>>
>> cleanfeed.local file
>>
>> to block
>>
>> news.neodome.net abuse
>
> I think there is.
>
> Take a look at the various options in cleanfeed.pl and cleanfeed.local.
> There should be at least one thing that jumps out at you.
I see that Cleanfeed contains:
# Try and ascertain the source news service.
if ($hdr{'Injection-Info'} =~ /^$hws*($Hostname)[ \t;]/) {
$state{injection_host} = "$1"
} elsif ($hdr{'X-Trace'} =~ /^$hws*($Hostname)$hws/) {
$state{injection_host} = "$1"
} else {
$state{injection_host} = first_path_host($hdr{Path});
};
# Extract the right-most FQDN from a Path header
sub first_path_host{
local $_ = shift;
s/(![^\.]+)+$//; # Strip RH non-FQDNs
s/!\.POSTED.*//; # Strip diagnostic host entry
s/.*!//; # Strip all but RH path entry
return $_;
};
So I bet adding that to cleanfeed.local would do the trick:
return reject('Banned injecting news server')
if ($state{injection_host} =~ /news.server.to.ban/i);
or if %state is not recognized there (defined in filter_art), just
re-use first_path_host code like this:
local $injection_host = $hdr{'Path'};
$injection_host =~ s/(![^\.]+)+$//; # Strip RH non-FQDNs
$injection_host =~ s/!\.POSTED.*//; # Strip diagnostic host entry
$injection_host =~ s/.*!//; # Strip all but RH path entry
return reject('Banned injecting news server')
if ($injection_host =~ /news.server.to.ban/i);
Not tested, but would be happy to know if that works.
And maybe to then add to cleanfeed.local as an example!
--
Julien ÉLIE
« La science consiste à passer d'un étonnement à l'autre. » (Aristote)
Re: Blocking using cleanfeed
Author: doug eastick
Date: Tue, 02 Nov 2021 01:26
Date: Tue, 02 Nov 2021 01:26
17 lines
1241 bytes
1241 bytes
On 2021-04-01 12:16 p.m., bje@ripco.com wrote: > Just change the ME line in newsfeeds from... > > ME:*:: > > to > > ME/news.neodome.net:*:: > > then reload the newsfeeds file via ctlinnd. > > and it'll drop the articles from them on injection. elegant and simple. thanks.
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