DomainAuthHelper: add IP range support

Bug #173580 reported by Tres Seaver
2
Affects Status Importance Assigned to Milestone
Zope PAS
Fix Released
Undecided
Tres Seaver

Bug Description

It would be useful to allow defining DAH mappings using "standard" IP numbers, e.g.:

  - '192.168.1.0/24'

  - '192.168.2.0-192.168.2.255'

The IPy module (available on the cheeseshop) has the right semantics to allow such
filtering. See the attached patch which refactors the filter-checking, and adds the
IP-based filter IFF the IPy module can be imported.

Revision history for this message
Tres Seaver (tseaver) wrote :
Changed in zope-pas:
assignee: nobody → tseaver
status: New → In Progress
Revision history for this message
Tres Seaver (tseaver) wrote :

Checked in on the trunk (it feels like a new feature, and therefore doesn't belong on the 1.5 branch).

Changed in zope-pas:
status: In Progress → Fix Committed
Revision history for this message
Tres Seaver (tseaver) wrote :

Included in 1.6.

Changed in zope-pas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.