• Blocking using cleanfeed

    From The Doctor@21:1/5 to All on Wed Mar 31 12:57:56 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to The Doctor on Wed Mar 31 23:26:31 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Doctor@21:1/5 to gtaylor@tnetconsulting.net on Thu Apr 1 12:41:54 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From bje@ripco.com@21:1/5 to The Doctor on Thu Apr 1 16:16:06 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Doctor@21:1/5 to bje@ripco.com on Thu Apr 1 22:16:30 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to The Doctor on Thu Apr 1 16:45:48 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Mon Jun 21 15:39:06 2021
    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)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From doug eastick@21:1/5 to bje@ripco.com on Mon Nov 1 21:26:29 2021
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)