🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
26 messages
26 total messages Started by David Swanger Mon, 06 Dec 1999 00:00
h.i.p.c.r.i.m.e
#41964
Author: David Swanger
Date: Mon, 06 Dec 1999 00:00
18 lines
1050 bytes
I put the following line in my control.ctl
file (inn 2.2, Solaris 2.5.1)
--
control.ctl:rmgroup:*:*h.i.p.c.r.i.m.e*:drop
--

However, new h.i.p.c.r.i.m.e newsgroups are 
still coming in.  What is the correct syntax
to block the creation of these groups?

--
--
David Swanger
Information Technology
Auburn University, AL
swangdb@mail.auburn.edu

Re: h.i.p.c.r.i.m.e
#41974
Author: bill davidsen
Date: Mon, 06 Dec 1999 00:00
27 lines
1996 bytes
In article <brad-A64542.19321906121999@news.skynet.be>,
Brad Knowles  <brad@shub-internet.org> wrote:

|     Sigh....  Is there every any chance that we can ever standardize all 
| this crap -- moderators uses the first match only, while control.ctl 
| uses the last match.  I assume that there have to be others that use the 
| broadest match, while yet others use the narrowest match.
| 
|     Jeez friggin' Louise.

  Don't forget readers.conf, which allows multiple matches to some
extent.

  Speaking of which, does issuing AUTHINFO rerun through readers.conf? I
would like to have connections checked against a connect table (not
Radius but similar) and use auth only if no match. My first few tries
didn't seem to do what I wanted, which is require auth unless something
else (IP or connect table) matches.

  I haven't read the code, and didn't see an obvious answer in the docs.
-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: h.i.p.c.r.i.m.e
#41983
Author: Jeremy
Date: Mon, 06 Dec 1999 00:00
15 lines
931 bytes
John Lengeling  <johnl@microware.com> wrote:

> What are the hipcrime groups?

Someone's juvenile attempt to wreck Usenet and break your server.

> Are these legit?

No.  If you carry the free.* hierarchy, you probably consider free.hipcrime
a legitimate group, but the others can all hit the bitbucket.

-- 
Jeremy  |  jeremy@exit109.com

Re: h.i.p.c.r.i.m.e
#41987
Author: Etienne Gauthier
Date: Mon, 06 Dec 1999 00:00
34 lines
1613 bytes
David Swanger wrote:
> 
> I put the following line in my control.ctl
> file (inn 2.2, Solaris 2.5.1)
> --
> control.ctl:rmgroup:*:*h.i.p.c.r.i.m.e*:drop
> --
> 
> However, new h.i.p.c.r.i.m.e newsgroups are
> still coming in.  What is the correct syntax
> to block the creation of these groups?
> 
> --
> --
> David Swanger
> Information Technology
> Auburn University, AL
> swangdb@mail.auburn.edu


  I would add to Brad answer that, IIRC, the last line corresponding to
your control message is used. So if you have a line after the line
you've shown here that would allow newgroup to be created ... then this
newsgroup will be created.

e.g. :
control.ctl:newgroup:*:*h.i.p.c.r.i.m.e*:drop
control.ctl:newgroup:*:*:doit

  Then, I think you accept the newsgroup ceation.

Etienne

Re: h.i.p.c.r.i.m.e
#41989
Author: Brad Knowles
Date: Mon, 06 Dec 1999 00:00
32 lines
2068 bytes
In article <384BF68B.2A490705@capgemini.fr>, Etienne Gauthier 
<egauthie@capgemini.fr.nospam> wrote:

>   I would add to Brad answer that, IIRC, the last line corresponding to
> your control message is used. So if you have a line after the line
> you've shown here that would allow newgroup to be created ... then this
> newsgroup will be created.

    Yup, this is right up there at the top of the control.ctl file:

##  rone's unified control.ctl
##  control.ctl - access control for control messages
##  Format:
##      <message>:<from>:<newsgroups>:<action>
##  The last match found is used.
        ^^^^

    Sigh....  Is there every any chance that we can ever standardize all 
this crap -- moderators uses the first match only, while control.ctl 
uses the last match.  I assume that there have to be others that use the 
broadest match, while yet others use the narrowest match.

    Jeez friggin' Louise.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: h.i.p.c.r.i.m.e
#41992
Author: Brad Knowles
Date: Mon, 06 Dec 1999 00:00
22 lines
1611 bytes
In article <82gmrq$omo$1@ultranews.duc.auburn.edu>, 
swangdb@mail.auburn.edu (David Swanger) wrote:

> control.ctl:rmgroup:*:*h.i.p.c.r.i.m.e*:drop
> --
> 
> However, new h.i.p.c.r.i.m.e newsgroups are 
> still coming in.  What is the correct syntax
> to block the creation of these groups?

    Try that same line, but with "newgroup" instead of "rmgroup".  
Myself, I allow anyone to rmgroup a hipcrime newsgroup, and I ignore all 
requests to create a hipcrime newsgroup.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: h.i.p.c.r.i.m.e
#41996
Author: John Lengeling
Date: Mon, 06 Dec 1999 00:00
24 lines
1201 bytes
What are the hipcrime groups?  Are these legit?

johnl

David Swanger wrote:
> 
> I put the following line in my control.ctl
> file (inn 2.2, Solaris 2.5.1)
> --
> control.ctl:rmgroup:*:*h.i.p.c.r.i.m.e*:drop
> --
> 
> However, new h.i.p.c.r.i.m.e newsgroups are
> still coming in.  What is the correct syntax
> to block the creation of these groups?
> 
> --
> --
> David Swanger
> Information Technology
> Auburn University, AL
> swangdb@mail.auburn.edu

Re: h.i.p.c.r.i.m.e
#42001
Author: Jeremy
Date: Tue, 07 Dec 1999 00:00
23 lines
1339 bytes
Richard Tobin <richard@cogsci.ed.ac.uk> wrote:

> Apart from the newgroup/rmgroup mistake, you might find it more
> effective to use something like *.*.*.*.*.*.*.* as the pattern.
> Almost everything with that many components is bogus.  And if for some
> reason you really don't want to lose groups like
> 
>   microsoft.public.windows.inetexplorer.ie5.programming.dhtml.scripting
> 
> you could still use alt.*.*.*.*.*.*.*

But then you'd miss out on such important groups as

  alt.conspiracy.im.taking.over.the.world.starting.with.walter-cronkite
  alt.chinese.plus.viagra.equals.end.of.the.world
  alt.penguins.bondage.latex.springs.bounce.bounce.bounce

Okay, so maybe you don't need those...

-- 
Jeremy  |  jeremy@exit109.com

Re: h.i.p.c.r.i.m.e
#42012
Author: Brad Knowles
Date: Tue, 07 Dec 1999 00:00
16 lines
1386 bytes
In article <384C1EDC.6025F5C8@microware.com>, John Lengeling 
<johnl@microware.com> wrote:

> What are the hipcrime groups?  Are these legit?

    If you have to ask the question, then consider yourself lucky.  
Trust me, you don't want to know.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: h.i.p.c.r.i.m.e
#42016
Author: David Swanger
Date: Tue, 07 Dec 1999 00:00
27 lines
1333 bytes
David Swanger (swangdb@mail.auburn.edu) wrote:
: I put the following line in my control.ctl
: file (inn 2.2, Solaris 2.5.1)
: --
: control.ctl:rmgroup:*:*h.i.p.c.r.i.m.e*:drop
: --

: However, new h.i.p.c.r.i.m.e newsgroups are 
: still coming in.  What is the correct syntax
: to block the creation of these groups?


Thanks for the help!  I forgot the newgroup line.
The following appears to work:

--
newgroup:*:*h.i.p.c.r.i.m.e*:drop
rmgroup:*:*h.i.p.c.r.i.m.e*:drop
--

--
David Swanger
Information Technology
Auburn University, AL
swangdb@mail.auburn.edu

Re: h.i.p.c.r.i.m.e
#42022
Author: Richard Tobin
Date: Tue, 07 Dec 1999 00:00
23 lines
1456 bytes
In article <82gmrq$omo$1@ultranews.duc.auburn.edu>,
David Swanger <swangdb@mail.auburn.edu> wrote:

>control.ctl:rmgroup:*:*h.i.p.c.r.i.m.e*:drop

Apart from the newgroup/rmgroup mistake, you might find it more
effective to use something like *.*.*.*.*.*.*.* as the pattern.
Almost everything with that many components is bogus.  And if for some
reason you really don't want to lose groups like

  microsoft.public.windows.inetexplorer.ie5.programming.dhtml.scripting

you could still use alt.*.*.*.*.*.*.*

-- Richard

-- 
Spam filter: to mail me from a .com/.net site, put my surname in the headers.

"The Internet is really just a series of bottlenecks joined by high
speed networks." - Sam Wilson

Re: h.i.p.c.r.i.m.e
#42029
Author: Brad Knowles
Date: Wed, 08 Dec 1999 00:00
91 lines
4473 bytes
In article <1ru2lt256w.fsf@haey.ifi.uio.no>, Kjetil Torgrim Homme 
<kjetilho@haey.ifi.uio.no> wrote:

> $ grep h.*p.*c.*r.*m ~news/db/active
> alt.tech-support.recovery 0000017771 0000017603 m
> sci.psychology.psychotherapy.moderated 0000003891 0000003873 m
> rec.photo.marketplace.darkroom 0000001027 0000000896 y
> rec.photo.marketplace.large-format 0000001030 0000000893 y
> rec.photo.marketplace.medium-format 0000001491 0000001289 y

    Mine is even worse:

$ grep 'h.*p.*c.*r.*m' active | awk '{ print $1 }' | sort -u
alt.hi-po.big-block-ford-mercury
alt.music.smash-pumpkins.dead-carmance
alt.penthouse.sex.masterbation.pictures.female
alt.penthouse.sex.pictures
alt.tech-support.recovery
elsa.english.graphics.support.victory.erazor.games
elsa.german.graphics.support.victory.erazor.games
fido7.kharkov.spectrum
fido7.ru.echoprocessors
fido7.ru.echoprocessors.nice.tosser
fido7.su.hardw.pc.microwave
fido7.su.hardw.pc.motherboard
fido7.su.hardw.pc.peripheral
fido7.su.hardw.pc.video.card
fido7.su.hardw.pc.video.monitor
fido7.su.hardw.pc.video.riva
fido7.su.hardw.pc.videoblaster
rec.photo.marketplace.darkroom
rec.photo.marketplace.large-format
rec.photo.marketplace.medium-format
sci.psychology.psychotherapy.moderated
unihigh.sports.scores
york.philosophy.course.modr1714
zipnews.gov.us.society.ethnic.special.interest.groups


    I can fix part of this problem by taking the hierarchies that use 
PGP verification and moving them after the large wildcard match for the 
hipc{rim|lon}e stuff, but I think the other hierarchies (free.* and 
alt.* in particular) are just going to have to suffer.

> >   newgroup:*:*h*p*c*l*n*:drop
> 
> alt.happyclown 0000000034 0000000035 x

    Again, this one is even worse for us:

$ grep 'h.*p.*c.*l.*n' active | awk '{ print $1 }' | sort -u
alt.happyclown
bathspa.localinks
clari.sports.hot.olympic.cycling
intel.other_products.lanschool
microsoft.public.win2000.beta.terminal_srv.hpc_client
symantec.support.other.pca_express.general
symantec.support.win95.healthypc.general
symantec.support.win95.healthypccom.general
symantec.support.win95.healthypccom.liveupdate
symantec.support.win95.healthypccom.vitalcheck
zipnews.gov.us.society.ethnic.special.interest.groups

    However, the symantec.* newsgroups are going away (at the request of 
the Symantec Newsmaster), and the only hierarchy in here I could 
potentially actually care about is alt.*, and I've already said that I'm 
willing to write them off if that's what it takes to prevent the 
hipc{rim|lon}e crap.

> I wouldn't keep that rule around very long.  It may be useful as an
> interim step.

    If someone can suggest a better wildmat (and placement within the 
control.ctl file) that would still catch everything they're likely to 
do, while avoiding casting the net too broadly, I'm all ears.  Until I 
hear a better proposal, I plan on sticking to what I've got now 
(although I'll move the PGP verified stuff to the end).

> PS. My Gnus doesn't recognize the magic value "poster" in
>     Mail-Copies-To, it uses the value verbatim in a Cc.

    How entertaining!  Thank you for the smile!

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: h.i.p.c.r.i.m.e
#42032
Author: Paul Raj Khangure
Date: Wed, 08 Dec 1999 00:00
24 lines
1207 bytes
David Swanger (swangdb@mail.auburn.edu) wrote:

: Thanks for the help!  I forgot the newgroup line.
: The following appears to work:

: --
: newgroup:*:*h.i.p.c.r.i.m.e*:drop
: rmgroup:*:*h.i.p.c.r.i.m.e*:drop
: --

But now there's hh.ii.pp.cc.rr.ii.mm.ee

*sigh*

Paul Raj Khangure

-- 

Procurator Odiosus Ex Infernis. Erudito, aut obliteratio.
Wielder of the Clue Rod (tm).       LART hard, LART fast.
Smith and Wesson: the original point and click interface.
I don't suffer from insanity. I enjoy every minute of it.

Re: h.i.p.c.r.i.m.e
#42036
Author: Richard Tobin
Date: Wed, 08 Dec 1999 00:00
27 lines
1585 bytes
In article <82lp45$nhm$1@news.ubcom.net>,
Thilo Wunderlich <thilo@ubcom.net> wrote:

>Does this work in control.ctl:
>
>newgroup:*:h\.*p\.*c\.*r\.*m:drop

The patterns in control.ctl are processed as shell patterns, not
regexps, so you don't need to escape dots.

To match any single character in a regexp, you use "."
In a shell pattern, you use "?"

To match any sequence of characters in a regexp, you use ".*"
In a shell pattern, you use "*"

To match a single dot in a regexp, you use "\."
In a shell pattern, you use "."

-- Richard
-- 
Spam filter: to mail me from a .com/.net site, put my surname in the headers.

"The Internet is really just a series of bottlenecks joined by high
speed networks." - Sam Wilson

Re: h.i.p.c.r.i.m.e
#42037
Author: Brad Knowles
Date: Wed, 08 Dec 1999 00:00
24 lines
1555 bytes
In article <384dcdd7$0$15521@motown.iinet.net.au>, 
prk@rave.iinet.net.au (Paul Raj Khangure) wrote:

> But now there's hh.ii.pp.cc.rr.ii.mm.ee
> 
> *sigh*

    Maybe on your server.  ;-)  I used:

newgroup:*:*h*p*c*r*m*:drop
rmgroup:*:*h*p*c*r*m*:doit
newgroup:*:*h*p*c*l*n*:drop
rmgroup:*:*h*p*c*l*n*:doit

    This seems to have been pretty effective so far.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: h.i.p.c.r.i.m.e
#42041
Author: Kjetil Torgrim Homme
Date: Wed, 08 Dec 1999 00:00
29 lines
1652 bytes
[Brad Knowles]

>       Maybe on your server.  ;-)  I used:
>   
>   newgroup:*:*h*p*c*r*m*:drop

$ grep h.*p.*c.*r.*m ~news/db/active
alt.tech-support.recovery 0000017771 0000017603 m
sci.psychology.psychotherapy.moderated 0000003891 0000003873 m
rec.photo.marketplace.darkroom 0000001027 0000000896 y
rec.photo.marketplace.large-format 0000001030 0000000893 y
rec.photo.marketplace.medium-format 0000001491 0000001289 y

>   newgroup:*:*h*p*c*l*n*:drop

alt.happyclown 0000000034 0000000035 x

>       This seems to have been pretty effective so far.

I wouldn't keep that rule around very long.  It may be useful as an
interim step.


Kjetil T.

PS. My Gnus doesn't recognize the magic value "poster" in
    Mail-Copies-To, it uses the value verbatim in a Cc.

Re: h.i.p.c.r.i.m.e
#42043
Author: Brad Knowles
Date: Wed, 08 Dec 1999 00:00
86 lines
4105 bytes
In article <82lp45$nhm$1@news.ubcom.net>, thilo@ubcom.net (Thilo 
Wunderlich) wrote:

> would it be possible to escape the "." ? 

    Unfortunately, no.  That's not how wildmat works.  See the man page:

WILDMAT(3)                                          WILDMAT(3)

NAME
  wildmat - perform shell-style wildcard matching

SYNOPSIS
  int
  wildmat(text, pattern)
      char                *text;
      char                *pattern;

DESCRIPTION
    Wildmat is part of libinn (3).  Wildmat compares the text
    against the pattern and returns non-zero if the pattern
    matches the text.  The pattern is interpreted according to
    rules similar to shell filename wildcards, and not as a full
    regular expression such as those handled by the grep(1)
    family of programs or the regex(3) or regexp(3) set of
    routines.

  The pattern is interpreted as follows:

  \x   Turns off the special meaning of x and matches it
       directly; this is used mostly before a question mark or
       asterisk, and is not special inside square brackets.

  ?    Matches any single character.

  *    Matches any sequence of zero or more characters.

  [x...y]
       Matches any single character specified by the set x...y.  A
       minus sign may be used to indicate a range of characters. 
       That is, [0-5abc] is a shorthand for [012345abc].  More than
       one range may appear inside a character set; [0-9a-zA-Z._]
       matches almost all of the legal charac- ters for a host name.
       The close bracket, ], may be used if it is the first
       character in the set.  The minus sign, -, may be used if it
       is either the first or last character in the set.

  [^x...y]
        This matches any character not in the set x...y, which is
        interpreted as described above.  For example, [^]-] matches
        any character other than a close bracket or minus sign.

HISTORY
    Written by Rich $alz <rsalz@uunet.uu.net> in 1986, and posted
    to Usenet several times since then, most notably in
    comp.sources.misc in March, 1991.

    Lars Mathiesen <thorinn@diku.dk> enhanced the multi-asterisk
    failure mode in early 1991.

    Rich and Lars increased the efficiency of star patterns and
    reposted it to comp.sources.misc in April, 1991.

    Robert Elz <kre@munnari.oz.au> added minus sign and close
    bracket handling in June, 1991.

    This is revision 1.1.2.1, dated 1999/06/12.

SEE ALSO
  grep(1), regex(3), regexp(3).

> Does this work in control.ctl:
> 
> newgroup:*:h\.*p\.*c\.*r\.*m:drop

    That wouldn't work anyway, because it ignores the "i" (or any other 
character) between "h" and "p", as well as between "r" and "m".

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: h.i.p.c.r.i.m.e
#42048
Author: Thilo Wunderlich
Date: Wed, 08 Dec 1999 00:00
17 lines
1231 bytes
Brad Knowles <brad@shub-internet.org> writes:
>    Mine is even worse:

>$ grep 'h.*p.*c.*r.*m' active | awk '{ print $1 }' | sort -u
>alt.hi-po.big-block-ford-mercury

would it be possible to escape the "." ? 

Does this work in control.ctl:

newgroup:*:h\.*p\.*c\.*r\.*m:drop

Thilo
--
tw@ubcom.net    Thilo Wunderlich     UBCOM AG

Re: h.i.p.c.r.i.m.e
#42052
Author: Alternative Fluffy
Date: Wed, 08 Dec 1999 00:00
20 lines
1931 bytes
Brad Knowles <brad@shub-internet.org> wrote:

> In article <82lp45$nhm$1@news.ubcom.net>, thilo@ubcom.net (Thilo 
> Wunderlich) wrote:

>> would it be possible to escape the "." ? 

>     Unfortunately, no.  That's not how wildmat works.

control.ctl doesn't use wildmat(3).  Parsecontrol use real live shell
patterns (so see your shell's docs for details) and controlchan uses a
disgusting bit of substitution glue to turn shell patterns into
regexps.  So, don't expect the bracketed stuff to work without some
fiddling.

[The reason for sticking with those patterns, btw, is to keep
compatibility with the standardized control.ctl stuff maintained by
folks like rone and Simon Lyall.]

Re: h.i.p.c.r.i.m.e
#42057
Author: Brad Knowles
Date: Thu, 09 Dec 1999 00:00
59 lines
4053 bytes
In article <87ln745i2l.fsf@meowhost.meow.invalid>, Alternative Fluffy 
<gerglery@usa.net> wrote:

> Even though there have been attempts to misuse it that way,
> control.ctl is not an abuse filter, but a simple permissions table.
> It doesn't need advanced expressions to do its intended job.

    I'm not sure I understand just precisely what distinction it is that 
you're making between a "simple permissions table" and something that 
would be appropriate for use as an "abuse filter", but I concede that 
control.ctl definitely doesn't give me all the tools I'd want, and that 
perhaps I am misusing it in this way out of ignorance.

    However, if that is the case, then I would suggest that we bring the 
documentation more up-to-date, and give people (like me) more explicit 
pointers as to what the appropriate way is to deal with problems like 
this, where the files can be found, etc....


    I will observe that control.ctl has been abused in the past to add 
PGP verification of control messages, and the manner in which they're 
processed.

> newgroup[.pl] is where name validity checks belong; in the shell
> version search for 'bork' for the right spot, and in the Perl version
> it goes in the NEWGROUPSANITY block.

    Along these same lines, perhaps what should have been done was to 
leave control.ctl alone but modify the cmsg processing code so as to 
automatically add PGP checks itself, and have the code figure out what 
the appropriate key is for the particular e-mail address, and then let 
control.ctl just tell us in which hierarchies a particular e-mail 
address is allowed to make changes and what kind of changes they're 
allowed to make (regardless of whether the message is PGP signed or not).

    Then the configuration options in inn.conf would be pretty simple:

        pgp-signed-control-messages: {allowed|required|disallowed}
        unsigned-control-messages: {allowed|required|disallowed}

> In the case of control message flooding (as distinguished from names
> your site just doesn't want to carry), even using the newgroup script
> is the Wrong Thing.  It's best in this case to use the spam filter
> which kicks in _before_ control message processing ever happens, so
> you aren't inflicting the same on your peers.

    Well, the cleanfeed regexps that were previously discussed here 
didn't seem to be doing anything at all for me.  In the absence of 
changes in the right place in the right code which actually work, the 
alternatives can be pretty ugly.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: h.i.p.c.r.i.m.e
#42059
Author: Brad Knowles
Date: Thu, 09 Dec 1999 00:00
18 lines
1796 bytes
In article <87emcx6qy3.fsf@meowhost.meow.invalid>, Alternative Fluffy 
<gerglery@usa.net> wrote:

> [The reason for sticking with those patterns, btw, is to keep
> compatibility with the standardized control.ctl stuff maintained by
> folks like rone and Simon Lyall.]

    Jeez friggin Louise.  I think I'm beginning to appreciate Diablo 
more and more each passing day.  ;-)

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: h.i.p.c.r.i.m.e
#42060
Author: Alternative Fluffy
Date: Thu, 09 Dec 1999 00:00
29 lines
2462 bytes
Brad Knowles <brad@shub-internet.org> wrote:

> In article <87emcx6qy3.fsf@meowhost.meow.invalid>, Alternative Fluffy 
> <gerglery@usa.net> wrote:

>> [The reason for sticking with those patterns, btw, is to keep
>> compatibility with the standardized control.ctl stuff maintained by
>> folks like rone and Simon Lyall.]

>     Jeez friggin Louise.  I think I'm beginning to appreciate Diablo 
> more and more each passing day.  ;-)

*sigh*

Even though there have been attempts to misuse it that way,
control.ctl is not an abuse filter, but a simple permissions table.
It doesn't need advanced expressions to do its intended job.

newgroup[.pl] is where name validity checks belong; in the shell
version search for 'bork' for the right spot, and in the Perl version
it goes in the NEWGROUPSANITY block.

In the case of control message flooding (as distinguished from names
your site just doesn't want to carry), even using the newgroup script
is the Wrong Thing.  It's best in this case to use the spam filter
which kicks in _before_ control message processing ever happens, so
you aren't inflicting the same on your peers.

Re: h.i.p.c.r.i.m.e
#42072
Author: John Line
Date: Fri, 10 Dec 1999 00:00
47 lines
3150 bytes
In article <brad-D32916.15561709121999@news.skynet.be>,
Brad Knowles  <brad@shub-internet.org> wrote:
>    Along these same lines, perhaps what should have been done was to 
>leave control.ctl alone but modify the cmsg processing code so as to 
>automatically add PGP checks itself, and have the code figure out what 
>the appropriate key is for the particular e-mail address, and then let 
>control.ctl just tell us in which hierarchies a particular e-mail 
>address is allowed to make changes and what kind of changes they're 
>allowed to make (regardless of whether the message is PGP signed or not).
>
>    Then the configuration options in inn.conf would be pretty simple:
>
>        pgp-signed-control-messages: {allowed|required|disallowed}
>        unsigned-control-messages: {allowed|required|disallowed}

I don't think that's sufficient - your description suggests that anyone who 
was authorised to create/delete groups in at least one hierarchy could (by 
accident or maliciously, whatever) do it to all hierarchies. And that if one 
such person's PGP key was compromised, any/all groups could be wrecked using 
it.

>    Well, the cleanfeed regexps that were previously discussed here 
>didn't seem to be doing anything at all for me.  In the absence of 
>changes in the right place in the right code which actually work, the 
>alternatives can be pretty ugly.

Mmm... one thing that's been puzzling me in this thread is that I haven't 
seen any of these latest newgroup's, even though I haven't done anything 
explicitly in control.ctl to try and avoid them. Unless they're getting 
filtered out before they reach here, it must be the CleanFeed spam filter 
rejecting them (unsurprising if a flood arrives from one source). I tweaked 
it to deal with the recent fake checkgroups messages, but haven't had to 
change the newgroup part! 

Are any of the people who are seeing the newgroup messages using recent 
versions of CleanFeed, or is it only people not using CleanFeed who are 
suffering from the newgroups?

I certainly prefer blocking in the spam filter to dropping control message 
floods at a later stage; not yet using controlchan, so the floods of scripts 
running to decide to bin them (esp. if they have faked PGP signatures, as 
on various past occasions, slowing things down a lot more) is not very 
good for the news server's performance.

                                John Line

Re: h.i.p.c.r.i.m.e
#42073
Author: Brad Knowles
Date: Fri, 10 Dec 1999 00:00
48 lines
3169 bytes
In article <82r3b6$5bl$1@pegasus.csx.cam.ac.uk>, news@news.cam.ac.uk 
(John Line) wrote:

> I don't think that's sufficient - your description suggests that anyone 
> who was authorised to create/delete groups in at least one hierarchy
> could (by accident or maliciously, whatever) do it to all hierarchies.

    Not true.  This would simply tell you on a system-wide basis if PGP 
is allowed, required, or not allowed, etc....  You would still use the 
methods within control.ctl to tell you which e-mail address is allowed 
to make changes to what hierarchies, and of course if you were using PGP 
the signature would have to match what's on your keyring, etc....

> Are any of the people who are seeing the newgroup messages using recent 
> versions of CleanFeed, or is it only people not using CleanFeed who are 
> suffering from the newgroups?

    I was (am) using version 0.95.8-beta1, and I was still seeing them 
until very recently.  I keep trying to convince Jeremy to release 0.96, 
or at least give me a copy of it, but I haven't had any luck in that 
respect.


    Version 0.95.8 introduced the feature whereby Cleanfeed would suck 
in an entire article in one operation, then work on it in memory.  This 
*significantly* reduced the amount of time that Cleanfeed took to run on 
our system -- with the previous news peering server, this made the 
difference between being able to run Cleanfeed and not.

    If you're not using a version that is at least this recent, I'd 
suggest bugging Jeremy to see if you can get something later.  Of 
course, you may not have any more luck than I have, so that may not do 
you any good.

> I certainly prefer blocking in the spam filter to dropping control 
> message floods at a later stage;

    I agree, but the posted changes simply were not working for me, so I 
had to try to find alternatives that did.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: h.i.p.c.r.i.m.e
#42118
Author: bill davidsen
Date: Mon, 13 Dec 1999 00:00
26 lines
1873 bytes
In article <brad-CB239E.10204809121999@news.skynet.be>,
Brad Knowles  <brad@shub-internet.org> wrote:
| In article <87emcx6qy3.fsf@meowhost.meow.invalid>, Alternative Fluffy 
| <gerglery@usa.net> wrote:
| 
| > [The reason for sticking with those patterns, btw, is to keep
| > compatibility with the standardized control.ctl stuff maintained by
| > folks like rone and Simon Lyall.]
| 
|     Jeez friggin Louise.  I think I'm beginning to appreciate Diablo 
| more and more each passing day.  ;-)

  I once had a hammer with screwdrivers in the handle, and it worked
better to use those for driving screws.

  In other words, control.ctl is not the right tool;-) You can install
cleanfeed to drop that stuff before you get it, or the newgroup.pl
script to block it there.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: h.i.p.c.r.i.m.e
#42136
Author: Franz Georg Köhler
Date: Mon, 13 Dec 1999 00:00
43 lines
2132 bytes
Paul Raj Khangure <prk@rave.iinet.net.au> wrote:
>
> : The following appears to work:
> 
> : --
> : newgroup:*:*h.i.p.c.r.i.m.e*:drop
> : rmgroup:*:*h.i.p.c.r.i.m.e*:drop
> : --
> 
> But now there's hh.ii.pp.cc.rr.ii.mm.ee
> 
> *sigh*

all:*:*:drop
checkgroups:*:*:drop
ihave:*:*:drop
sendme:*:*:drop
sendsys:*:*:log=sendsys
senduuname:*:*:log=senduuname
newgroup:*:*:log=newgroup
rmgroup:*:*:log=rmgroup

checkgroups:moderator@dana.de:de.*:verify-de.admin.news.announce=dana
newgroup:moderator@dana.de:de.*:verify-de.admin.news.announce=dana
newgroup:*@*:de.alt.*:doit=newgroup
rmgroup:*@*:de.alt.*:doit=rmgroup
rmgroup:moderator@dana.de:de.*:verify-de.admin.news.announce=dana

...


No Problems with hipcrime.


-fgk

-- 
TCP/IP und Spiele ==> http://privat.schlund.de/fgk    |	   0x8B5C4161
Alle unsere Unixkisten wurden hingestellt und laufen. Bei Windows läuft
vor allem der Mensch, der versuchen darf, das Zeug in Gang zu halten.
                                       Jens Dittmar in de.comp.advocacy

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