indexing - Indexed ranged search algorithm for IP Addresses -


Looking at the ACL list with 10 billion IPv4 category in CIDR notation or between two IPs:

  

What is an effective search / indexing algorithm for testing that a given IP address meets the criteria of one or more ACL categories? ?

Suppose that most ACL class definitions have a large number of C blocks.

The indexing point through the hash table is easy, but try to figure out which points I did not find in the proper way were covered by a large list of "lines".

Significance like some signals about some characteristics - Pre-computing at the class C level which covered that point but the table is very large .. or some kind of KD tree is dynamically expanded Set as level.

In addition to this, it was also thought that there might be conflict detection algorithms which can be at this address.

Any sign or signal in the right direction?

"post-text" itemprop = "text">

You can look for all the intervals that overlap with any interval or point.

For non-overlapping IP-categories, you can use B-tree or compact-transences for indexing and searching (initially as IP and end-IP in the form of value). You can.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -