🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Jeffrey M. Vinocur Mon, 14 Oct 2002 21:58
INN pgpverify setup
#61459
Author: Jeffrey M. Vinocur
Date: Mon, 14 Oct 2002 21:58
36 lines
2320 bytes
[ moving from news.groups ]

In article <yl4rbpu1b1.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>Andrew - Supernews <andrew+nonews@supernews.com> writes:
>
>> FWIW, the checkgroups showed up here, passed our PGP verification, and
>> was processed (no changes resulted).
>
>Cool, I didn't break anything.  I was pretty sure because I double-checked
>it locally, but it's good to have confirmation.

Heh, yup.  It took me a while -- I had added an entry to try to
drop some hipcrime spew control messages and to my surprise

all:*@*:*hipcrime*:drop

appears to catch all control messages.  I just tried to wade
through controlchan to figure out the logic, but after the
wildmat was converted to a Perl regex and then the Perl regex was
converted to something that looks like a shell glob, I gave up.
Anybody who wants to explain it, feel free.

Anyway, after I figured that out, I realized that I'd never
configured the PGP keys on this machine.

But nowhere in all of the INN documentation does it discuss how
to configure PGP.  (Undaunted, I read the source and created
$newsetc/pgp/pubring.gpg, but we probably should have some
instructions...)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN pgpverify setup
#61506
Author: Kai Henningsen
Date: Thu, 17 Oct 2002 07:04
18 lines
1711 bytes
jeff@litech.org (Jeffrey M. Vinocur)  wrote on 14.10.02 in <aofels$1t2$1@puck.litech.org>:

> Heh, yup.  It took me a while -- I had added an entry to try to
> drop some hipcrime spew control messages and to my surprise
>
> all:*@*:*hipcrime*:drop
>
> appears to catch all control messages.  I just tried to wade

One point to remember is that order matters for the entries in  
control.ctl.

Kai
-- 
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)
Re: INN pgpverify setup
#61520
Author: Andrew Gierth
Date: Fri, 18 Oct 2002 04:36
19 lines
1759 bytes
>>>>> "Kai" == Kai Henningsen <kaih> writes:

 >> Heh, yup.  It took me a while -- I had added an entry to try to
 >> drop some hipcrime spew control messages and to my surprise
 >> 
 >> all:*@*:*hipcrime*:drop
 >> 
 >> appears to catch all control messages.  I just tried to wade

 Kai> One point to remember is that order matters for the entries in
 Kai> control.ctl.

another point to remember is that the group pattern part of the entry
applies only to newgroup and rmgroup, _not_ to checkgroups. The above
entry will match any checkgroups from anyone.

-- 
Andrew.
Re: INN pgpverify setup
#61522
Author: Kai Henningsen
Date: Fri, 18 Oct 2002 06:36
29 lines
2167 bytes
andrew@erlenstar.demon.co.uk (Andrew Gierth)  wrote on 18.10.02 in <87d6q8747u.fsf@erlenstar.demon.co.uk>:

> >>>>> "Kai" == Kai Henningsen <kaih> writes:
>
>  >> Heh, yup.  It took me a while -- I had added an entry to try to
>  >> drop some hipcrime spew control messages and to my surprise
>  >>
>  >> all:*@*:*hipcrime*:drop
>  >>
>  >> appears to catch all control messages.  I just tried to wade

Kai>> One point to remember is that order matters for the entries in
Kai>> control.ctl.

> another point to remember is that the group pattern part of the entry
> applies only to newgroup and rmgroup, _not_ to checkgroups.

Right, I remember.

I considered that a serious bug when I first saw it, a few years back.  
I've seen nothing since to change my mind.


Kai
-- 
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)
Re: INN pgpverify setup
#61526
Author: Jeffrey M. Vinocur
Date: Fri, 18 Oct 2002 11:28
37 lines
2074 bytes
In article <8Z45MwNmw-B@khms.westfalen.de>,
Kai Henningsen <kaih=8Z45MwNmw-B@khms.westfalen.de> wrote:
>andrew@erlenstar.demon.co.uk (Andrew Gierth)  wrote on 18.10.02 in
><87d6q8747u.fsf@erlenstar.demon.co.uk>:
>
>> >>>>> "Kai" == Kai Henningsen <kaih> writes:
>>
>>  >> all:*@*:*hipcrime*:drop
>>  >>
>>  >> appears to catch all control messages.
>
>Kai>> One point to remember is that order matters for the entries in
>Kai>> control.ctl.

Well surely -- I had the above at the very bottom, which is where
I thought I wanted it.


>> another point to remember is that the group pattern part of the entry
>> applies only to newgroup and rmgroup, _not_ to checkgroups.

Whoa.

That'd do it -- thanks Andrew.  Missed that entirely, and I just
read the documentation.

>I considered that a serious bug when I first saw it, a few years back.  
>I've seen nothing since to change my mind.

I think I agree.  It certainly needs to be made more of a fuss
of.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN pgpverify setup
#62113
Author: Russ Allbery
Date: Tue, 26 Nov 2002 07:32
41 lines
2761 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:

> Heh, yup.  It took me a while -- I had added an entry to try to drop
> some hipcrime spew control messages and to my surprise

> all:*@*:*hipcrime*:drop

> appears to catch all control messages.

Just all checkgroups messages (but not all newgroup and rmgroup
messages).  I've added the following to the control.ctl man page:

WARNINGS
   The third argument for a line affecting checkgroups does not affect
   whether the line matches.  It is only used after a matching line is
   found, to filter out which newsgroups listed in the checkgroups will be
   processed.  This means that a line like:

       checkgroups:*:*binaries*:drop

   will cause all checkgroups control messages to be dropped unless they
   match a line after this one in control.ctl, not just ignore newsgroups
   containing "binaries" in the name.  The general rule is to never use
   "*" in the second field for a line matching checkgroups messages.
   There is unfortunately no way to do what the author of a line like the
   above probably intended to do (yet).

> But nowhere in all of the INN documentation does it discuss how to
> configure PGP.  (Undaunted, I read the source and created
> $newsetc/pgp/pubring.gpg, but we probably should have some
> instructions...)

I've added another section to INSTALL explaining this (in both STABLE and
CURRENT).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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