You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expand the functionality by not just matching on the lookup field:
"1.1.1.1"
but have the ability to define the lookup dictionary as "subnets" and interprete them likewise.
Then do subnets lookups instead of simple matches:
"1.0.0.0/24":"D"
ie source field of "1.1.1.1", "1.1.1.2" etc will all match the lookup entry and return "D".
As usual in networking, the highest specific match should be returned:
"1.0.0.0/8":"A"
"1.1.1.0/24":"B"
1.1.1.1 should return B
Matches can be done lighning fast by binary AND masking of ip and mask and compare that to subnet.
The text was updated successfully, but these errors were encountered:
Expand the functionality by not just matching on the lookup field:
"1.1.1.1"
but have the ability to define the lookup dictionary as "subnets" and interprete them likewise.
Then do subnets lookups instead of simple matches:
"1.0.0.0/24":"D"
ie source field of "1.1.1.1", "1.1.1.2" etc will all match the lookup entry and return "D".
As usual in networking, the highest specific match should be returned:
"1.0.0.0/8":"A"
"1.1.1.0/24":"B"
1.1.1.1 should return B
Matches can be done lighning fast by binary AND masking of ip and mask and compare that to subnet.
The text was updated successfully, but these errors were encountered: