On Fri, 16 Jun 2000, Soo Hom wrote:
> I can't get my ip restrictions to work properly. Using
> ## #Reject connections from hosts not on subnet 132.239.24
> ## # or non UCSD hosts
> REJECT SERVICE=X NOT REMOTEIP=132.239.24.0/255
> REJECT SERVICE=X NOT REMOTEHOST=*.ucsd.edu
>
> When I run lpc commands from 132.239.24.22 I keep getting no "connect
> permissions". Is the 0/255 notation not correct for identifying a subnet?
I believe you should use 132.239.24.0/24 if you want to restrict access to
that subnet. The number after the / defines how many bits of the IP
address to mask off. So the number can range from 1-32. /32 would
restrict it to that exact IP address. /24 would restrict it to a class C
subnet. /16 would restrict it to a class B subnet. And /8 would restrict
it to a class A subnet. You can use the numbers in between if your
subnetting does not fall on those classic boundaries.
Andy
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------