Restrict toolbar by netmask/network IP range instead of individual addresses #57

Merged
merged 5 commits into from Mar 12, 2012

Conversation

Projects
None yet
2 participants
@rpatterson
Contributor

rpatterson commented Mar 12, 2012

No description provided.

rpatterson added some commits Mar 12, 2012

Copy ipaddr library to be used for more configurable toolbar restrict…
…ing.

I looked at the ipaddr history:

http://lwn.net/Articles/337684/

Given that ipaddr is not already 2 and 3 compatible while netaddr is
compatible and is available as a dependency, I evaluated netaddr.  I
found it to be a little big, and having some unconventional stuff in
it.

Then I tried copying ipaddr from the URL below and making it
compatible with both 2 and 3 which looks pretty easy so I'll just take
that route:

http://code.google.com/p/ipaddr-py/source/browse/branches/2.1.x/?r=a86bf59c63cf8f1d59282e538cc5f5c3e650dbfa

@mcdonc mcdonc merged commit 587b43d into Pylons:master Mar 12, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment