🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Steve Howie Wed, 13 May 1998 00:00
Wildmat IP addresses in nnrp.access
#28152
Author: Steve Howie
Date: Wed, 13 May 1998 00:00
22 lines
1145 bytes
Hi,

I'm having a problem specifying a wildcard range of addresses in the 
address portion of an entry in nnrp.access in INN 1.7.2

What is wrong with this?

   131.104.192.[3-154]:Read Post:::*

A client at  131.104.192.13 gets "no permission" when he tries to 
connect. Is this the correct way to specify wildmat-style ranges of 
addresses?

Scotty
-- 
Steve Howie					root@127.0.0.1
Netnews and Listserv Admin			519 824-4120 x2556
University of Guelph			
"If it's not Scottish it's CRRRRAAAAAAAPPPPPP!"

Re: Wildmat IP addresses in nnrp.access
#28132
Author: Edward S. Marshall
Date: Wed, 13 May 1998 00:00
23 lines
1636 bytes
[Posted and mailed]

In article <6jcvrj$29h$1@testinfo.uoguelph.ca>,
	Steve Howie <showie@uoguelph.ca> writes:
> What is wrong with this?
> 
>    131.104.192.[3-154]:Read Post:::*

That's an invalid wildmat expression. See the wildmat manpage that comes
with INN for a detailed explaination for this, but to summarize, the
ranges in square brackets are for individual characters, not for multi-
digit numbers. For example '[0-9]' would be every number, �[a-z]' would
be every lowercase letter, '[X-Z]' would be the letters "X", "Y", and "Z",
etc.

-- 
.-----------------------------------------------------------------------------.
| Edward S. Marshall <emarshal@xnet.com> | Systems/Network Administrator,     |
| http://www.xnet.com/~emarshal/         | XNet Information Systems, Inc.     |
`-----------------------------------------------------------------------------'

Re: Wildmat IP addresses in nnrp.access
#28146
Author: stare master
Date: Wed, 13 May 1998 00:00
25 lines
1487 bytes
In article <6jcvrj$29h$1@testinfo.uoguelph.ca>,
Steve Howie  <showie@uoguelph.ca> wrote:
>   131.104.192.[3-154]:Read Post:::*
>A client at  131.104.192.13 gets "no permission" when he tries to 
>connect. Is this the correct way to specify wildmat-style ranges of 
>addresses?

Nope.  RTFM wildmat.  This should do what you want:

    131.104.192.[3-9]:Read Post:::*
    131.104.192.[1-9][0-9]:Read Post:::*
    131.104.192.1[0-4][0-9]:Read Post:::*
    131.104.192.15[0-4]:Read Post:::*

Gross, eh?

rone
-- 
fuck, i'm so fucking full of angst i think i'll go read generation x so many
times i have it memorized and it just oozes out of my pores like so much of
the empty pseudophilosphy and religion i willingly embrace and espouse to my
peers and mentors.	- Patrick J. Finerty <zinc@zifi.genetics.utah.edu>

Re: Wildmat IP addresses in nnrp.access
#28158
Author: Bryan C. Andregg
Date: Thu, 14 May 1998 00:00
20 lines
1173 bytes
On 13 May 1998 16:03:56 -0700, <rone+usenet@ennui.org> wrote:
> 
>     131.104.192.[3-9]:Read Post:::*
>     131.104.192.[1-9][0-9]:Read Post:::*
>     131.104.192.1[0-4][0-9]:Read Post:::*
>     131.104.192.15[0-4]:Read Post:::*
> 
> Gross, eh?

Not gross. regexp != range (though I know you know this and I'm really just
trying to put my mind to sleep).

-- 
                Bryan C. Andregg * <bandregg@redhat.com> * Red Hat Software

"Hey, wait a minute, you clowns are on dope!"
	-- Owen Cheese in 'Shakes the Clown'

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