iptrie - is very fast but the documentation is a bit weak. https://github.com/postwait/node-iptrie
I'm pretty sure it supports *IPv6* based on the source, even if the docs don't mention it. On Thu, May 24, 2012 at 4:47 AM, Kevin Whitman <[email protected]> wrote: > Not sure where's the best place is to ask. Does anyone know of a function > or module that will check if a IP address is within a IPv4 range, also with > IPv6 support. Say it would get a list like > > var IPV4 = ['204.93.240.0/24', '204.93.177.0/24', etc...]; > var IPv6 = ['2400:cb00::/32', 2606:4700::/32, etc...]; > > Any ideas? > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
