Deny from "192.168.1.2*"?

Deny from "192.168.1.2*"?

Post by steve.. » Tue, 13 Jun 2000 04:00:00



Ok. I have a question here. If I need to deny some users that happen to
be from 192.168.1.20 - 192.168.1.29. Instead of typing:

Deny from 192.168.1.20 192.168.1.21 192.168.1.22 192.168.1.23 . . .

is there a way to type

Deny from 192.168.1.2*

in httpd.conf?

- Steve

--------------------------------------
If you want to send me an email, send it to:
steve{at_sign}tripperjones{dot_com}

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Deny from "192.168.1.2*"?

Post by Rasput » Tue, 13 Jun 2000 04:00:00



>Ok. I have a question here. If I need to deny some users that happen to
>be from 192.168.1.20 - 192.168.1.29. Instead of typing:

>Deny from 192.168.1.20 192.168.1.21 192.168.1.22 192.168.1.23 . . .

>is there a way to type

>Deny from 192.168.1.2*

>in httpd.conf?

That's a bit artificial.
IP addresses are traditionally grouped by network or subnet address.

So

Deny from 192.168.1.16/29

would block everything from 192.168.1.16 -> 192.168.1.23

--

Rasputin.
Jack of All Trades - Master of Nuns.

 
 
 

Deny from "192.168.1.2*"?

Post by Andrei Ivan » Tue, 13 Jun 2000 04:00:00



> Ok. I have a question here. If I need to deny some users that happen to
> be from 192.168.1.20 - 192.168.1.29. Instead of typing:

> Deny from 192.168.1.20 192.168.1.21 192.168.1.22 192.168.1.23 . . .

> is there a way to type

> Deny from 192.168.1.2*

Though not in one shot, but with three lines instead of ten:

  deny from 192.168.1.20/30
  deny from 192.168.1.24/30
  deny from 192.168.1.28/31

--
andrei

 
 
 

Deny from "192.168.1.2*"?

Post by Neil » Thu, 15 Jun 2000 04:00:00



>Deny from 192.168.1.2*

>in httpd.conf?

add a subnetmask:

192.168.0.0/255.255.0.0 ?

Or something like that

 
 
 

1. From:192.168.0.101 TO:192.168.0.xxx VIA:192.168.2.1 ?

Hi,

My home network is configured as follows:  an iMac G3 gets the
Internet connection from dial-up (!) and shares it through its en0
interface on 192.168.2.1 (a static, pre-defined setting on MacOS X
10.4 for sharing an Internet connection).  en0 also has an IP of:
192.168.0.101 as shown below:

en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::20a:27ff:feab:3692%en0 prefixlen 64 scopeid 0x4
        inet 192.168.0.101 netmask 0xffffff00 broadcast 192.168.0.255
        inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
        ether 00:0a:27:ab:36:92
        media: autoselect (100baseTX <full-duplex>) status: active
        supported media: 10baseT/UTP 10baseT/UTP <full-duplex>
100baseTX 100baseTX <full-duplex> autoselect autosel

From en0, a crossover cable goes into a DLink DI-624 router on its WAN
connector.  DI-624 (192.168.0.1) then gives dynamic IPs from
192.168.0.2- 192.168.0.255.  Computers are all able to share their
resources and to go on the Internet.

The problem is that the iMac G3 cannot communicate with the other
machines on 192.168.0.x and I'd like to know if there is a way around
it?

Thanks.

2. error from "make fetch"

3. Using 192.168.0 versus 192.168.1

4. ** HELP ME ! **

5. 192.168.0.0 vs. 192.168.1.0

6. virtual host??? help needed please

7. Browsing 192.168.0.23 returns 192.168.0.11, why?

8. [1/8] fix hugetlbfs security.h problem

9. Joining 192.168.1.* to 192.168.1.* with filtering for only MS SQL Server?

10. NAT Interface 192.168.1.x External 192.168.1.x Possible?

11. Routing Linux 192.168.10.x network to Dlink router on 192.168.1.x network

12. 192.168.0.* vs 192.168.1.*

13. Connection attempt to TCP 192.168.0.13:3128 from 192.168.0.12:2050