View Single Post
Old 06-11-2002, 09:45 AM  
fiveyes
Confirmed User
 
Join Date: Aug 2001
Location: New Orleans
Posts: 1,680
Mmm, challenging, that. I love it!

Let's see,

order deny,allow

# Deny from a specific IP number
deny from 123.45.67.89

# Deny from 123.45.6.0 - 123.45.6.255
deny from 123.45.6

# Deny from 123.45.6.34 - 123.45.6.46
deny from 123.45.6.32/28

...

The last one, using netmasks, is the brain cruncher!

See http://httpd.apache.org/docs/mod/mod_access.html#allow
http://www.darklab.net/resources/netmask.html
http://metronet.min.net/Netmasks
http://handsonhowto.com/lan101.html
for what's needed...
__________________
<CENTER><A HREF="http://www.hot-off-bourbon.com/" target="_blank"><IMG SRC="http://www.hot-off-bourbon.com/images/hob-logosmall.jpg" border="0"></A>

<FONT face="Comic Sans MS" SIZE="-1"><I>Mardi Gras, Spring Break, Wet-T, Night Club Action, UpSkirt, Oil Wrestling, Voyeur</I></FONT></CENTER>
fiveyes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote