The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Deny from on FreeBSD host
Author: jd 
Date:   05-01-05 18:24

Hi

I'm trying to deny access from a range of ip addresses, for example:

60.13.128.0/60.15.255.255

I've tried:

Deny from 60.13.128.0/60.15.255.255

and

Deny from 60.[13-15].[128-255].

but neither seems to work

Deny from 60.13.128.0 for example works fine.

What do I need to enter?

Reply To This Message
 
 Re: Deny from on FreeBSD host
Author: Dan Annereau 
Date:   14-01-05 03:24

The deny range may need to be in the same subnet...
I think...
Your second non working example does not include the last octet either.
There may be a different notation for expressing ranges through the second and third octets.
I'm not an expert... just guessing.
-Dan

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org