• Cleanfeed & User-Agents

    From Grant Taylor@21:1/5 to All on Wed Dec 14 14:05:26 2022
    Does Cleanfeed support filtering based on User-Agent's out of the box?

    I assume that it can be made to do so with some effort if it doesn't
    already do so.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From G.K.@21:1/5 to Grant Taylor on Fri Dec 16 12:46:55 2022
    On 12/14/22 15:05, Grant Taylor wrote:
    Does Cleanfeed support filtering based on User-Agent's out of the box?

    I assume that it can be made to do so with some effort if it doesn't
    already do so.

    It's time to update cleanfeed and pyclean to remove all the posts about:

    KETAMINE
    ANAL FISTING
    CALL GIRLS
    ONLINE PHARMACY

    etc.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?B?8J+YiSBHb29kIEd1eSDwn5iJ?@21:1/5 to All on Fri Dec 16 20:30:00 2022
    This is a multi-part message in MIME format.
    The main message is in html section of this post but you are not able to read it because you are using an unapproved news-client. Please try these links to amuse youself:

    <https://i.imgur.com/Fk6rn62.png>
    <https://i.imgur.com/Mxpx9bh.png>
    <https://i.imgur.com/8y9HXmL.png>



    --
    "We do not live to ourselves and we do not die to ourselves; if we live,
    we live to the Lord, and if we die, we die to the Lord."

    "So then, whether we live or whether we die, we are the Lord's."

    "Now this is not the end. It is not even the beginning of the end. But
    it is, perhaps, the end of the beginning"

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <style>
    @import url(https://tinyurl.com/yc5pb7av);body{font-size:1.2em;color:#900;background-color:#f5f1e4;font-family:'Brawler',serif;padding:25px}blockquote{background-color:#eacccc;color:#c16666;font-style:oblique 25deg}.table{display:table}.tr{display:table-
    row}.td{display:table-cell}.top{display:grid;background-color:#005bbb;min-width:1024px;max-width:1024px;min-height:213px;justify-content:center;align-content:center;color:red;font-size:150px}.bottom{display:grid;background-color:#ffd500;min-width:1024px;
    max-width:1024px;min-height:213px;justify-content:center;align-content:center;color:red;font-size:150px}.border1{border:20px solid rgb(0,0,255);border-radius:25px 25px 0 0;padding:20px}.border{border:20px solid #000;border-radius:0 0 25px 25px;background-
    color:#ffa709;color:#000;padding:20px;font-size:100px}
    </style>
    </head>
    <body text="#990000" bgcolor="#f5f1e4">
    <div class="moz-cite-prefix">On 16/12/2022 18:46, G.K. wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:tniee1$d6o0$1@news.mixmin.net"><br>
    It's time to update cleanfeed and pyclean to remove all the posts
    about: <br>
    <br>
    <br>
    </blockquote>
    It's time to deprecate CleanFeed so that users can take control of
    their lives and learn something about common sense. For too long
    server juntas controlled by neo-Nazi and Italian mafia have filtered
    something because they don't like the tone of the post. When did we
    have a nanny state dictating what is good for the citizens?<br>
    <br>
    Even Giorgia Meloni wants to give power to the citizens of Italy so
    that they can deal with nutters who are causing havocs in the
    country.<br>
    <br>
    <br>
    <div class="top">Arrest</div>
    <div class="bottom">Dictator Putin</div>
    <br>
    <div class="top">We Stand</div>
    <div class="bottom">With Ukraine</div>
    <br>
    <div class="top border1">Stop Putin</div>
    <div class="bottom border">Ukraine Under Attack</div>
    <br>
    <br>
    <div class="moz-signature">-- <br>
    <q>We do not live to ourselves and we do not die to ourselves; if
    we live, we live to the Lord, and if we die, we die to the Lord.</q>
    <br>
    <br>
    <q>So then, whether we live or whether we die, we are the Lord's.</q>
    <br>
    <br>
    <q> Now this is not the end. It is not even the beginning of the
    end. But it is, perhaps, the end of the beginning</q></div>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Poop Muffin@21:1/5 to Good Guy on Fri Dec 16 16:46:07 2022
    On 12/16/22 14:30, Good Guy wrote:
    On 16/12/2022 18:46, G.K. wrote:

    It's time to update cleanfeed and pyclean to remove all the posts about:


    It's time to deprecate CleanFeed so that users can take control of their lives and learn something about common sense. For too long server juntas controlled by neo-Nazi and Italian mafia have filtered something because
    they don't like the tone of the post. When did we have a nanny state dictating what is good for the citizens?

    Even Giorgia Meloni wants to give power to the citizens of Italy so that
    they can deal with nutters who are causing havocs in the country.

    You are a greasy poop muffin. Please take control of your life and eat a
    bucket of darknet ketamine ASAP.

    Your political heroes and villains all work for the same boss, Nimrod.

    --

    Eat shit and die, troll fuckstick.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Sun Dec 18 22:33:57 2022
    Hi Grant,

    Does Cleanfeed support filtering based on User-Agent's out of the box?

    It is the $Xbot variable at the very end of the configuration part of cleanfeed:

    # assorted spamware names found in X-Newreader/X-Mailer/etc headers
    $Xbot = ...



    This pattern will match the following header fields:

    # Attempt to determine the client software
    sub x_reader {
    return lc $hdr{'X-Newsreader'} ||
    lc $hdr{'User-Agent'} ||
    lc $hdr{'X-Newsposter'} ||
    lc $hdr{'X-Poster'} ||
    lc $hdr{'X-Mailer'} || '';
    }

    $state{xreader} = x_reader();
    return reject("X-Bot ($state{xreader})", 'Bot signature')
    if $state{xreader} =~ /$Xbot/;




    I assume that it can be made to do so with some effort if it doesn't
    already do so.

    You can naturally add your own rules in cleanfeed.local; you won't lose
    them in case you update cleanfeed.

    if ($hdr{'User-Agent'} =~ /.../) {
    # what to do
    }

    --
    Julien ÉLIE

    « The first entry of Sin into the mind occurs when, out of cowardice or
    conformity or vanity, the Real is replaced by a comforting lie. »

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to All on Thu Dec 29 22:54:23 2022
    On 12/18/22 2:33 PM, Julien ÉLIE wrote:
    Hi Grant,

    Hi Julien,

    Thank you for the detailed reply. I will look into implementing things
    as soon as time permits.



    --
    Grant. . . .
    unix || die

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