Bug #854

lighttpd and mod_access

Added by Anonymous 806 days ago. Updated 806 days ago.

Status:Fixed Start:
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:mod_access
Target version:-
Pending:

Resolution:

fixed


Description

Hi,

with the following configuration, lighttpd crashes


$HTTP["remoteip"] != "10.1.0.0/16|10.2.0.0/16|10.3.0.0/16|10.4.0.0/16|10.5.0.0/16|10.6.0.0/16|10.7.0.0/16|10.8.0.0/16|10.9.0.0/16|10.10.0.0/16|10.11.0.0/16|10.12.0.0/16|10.13.0.0/16" {
        url.access-deny = ("")
}

Basically if a lot of ip ranges are put in parallel, this happens. Things work fine if it's just one ip range. It doesn't work for multiple ip ranges. Please look into it.

thanks
Saurabh

Associated revisions

Revision 1321
Added by jan 806 days ago

fixed crash with invalid hostmask is used (fixes #854)

History

09/20/2006 07:05 PM - jan

  • Status changed from New to Fixed
  • Resolution set to fixed

Thanks for the report, fixed in r1321.

The ...|... notation is not supported. You have to use several remoteip conditionals.

09/20/2006 07:51 PM - Anonymous

thanks. So all the conditions will simultaneously exist right?? As in, keeping it separate would still work as this "|" ??

thanks again :)

Also available in: Atom PDF