www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathew Hennessy <henne...@thoughtcrime.com>
Subject mod_access/3257: can't use 8-bit CIDR masks
Date Tue, 20 Oct 1998 23:32:17 GMT

>Number:         3257
>Category:       mod_access
>Synopsis:       can't use 8-bit CIDR masks
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Oct 20 16:40:01 PDT 1998
>Originator:     hennessy@thoughtcrime.com
>Release:        1.3.3
uname -a: SunOS marvin 5.6 Generic_105181-08 sun4m sparc SUNW,SPARCstation-20
gcc -v: gcc version 2.8.1
    I'm trying to set up my access.conf like so (the IPs @c have been
changed to protect the innocent):

<Directory />
Order deny,allow
deny from all
allow from # doesn't allow any of these

It turns out that 8-bit CIDR Masks don't work.  16-bit masks will, and
regular masks ( masks will, but 8-bit CIDR masks won't.
I'd prefer to use the CIDR masks, but can work around this by using the 
original (10.1.1) or full (10.1.10/ masks..

check the CIDR mask code? ;) ;)
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]

View raw message