critbit

Critbit trees in C (by agl)

Critbit Alternatives

Similar projects and alternatives to critbit

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better critbit alternative or higher similarity.

critbit reviews and mentions

Posts with mentions or reviews of critbit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-21.
  • Ask HN: What are some 'cool' but obscure data structures you know about?
    54 projects | news.ycombinator.com | 21 Jul 2022
    > Good use-case: routing. Say you have a list of 1 million IPs that are [deny listed].

    Apparently, bloom filters make for lousy IP membership checks, read: https://blog.cloudflare.com/when-bloom-filters-dont-bloom/

    CritBit Trie [0] and possibly Allotment Routing Table (ART) are better suited for IPs.

    [0] https://github.com/agl/critbit

    [1] https://web.archive.org/web/20210720162224/https://www.harig...

  • Rethink-app: DNS over HTTPS, firewall, and connection tracker for Android
    8 projects | news.ycombinator.com | 29 May 2022
    developer here

    I'd imagine the app should work over IPv6-only networks thanks to 464xlat. I may be wrong, because I've never tested it on a IPv6-only network.

    The reason for IPv6 is two fold:

    1. Firewall today simply stores classless IP address rules as strings in a sqlite table fronted by a lfu cache backed by a typical hash-map. With IPv6, I'd imagine, this won't scale. So, we need a more economical in-memory data-structure (like a crit-bit trie [0] or art tree).

    2. Apparently LwIP has problems with HappyEyeballs (I personally never saw it, but got a couple of reports from users about it that it was an unrecoverable error once the connectivity was lost, and the firewall had to be restarted). We're in the process of replacing LwIP with gvisor/netstack now [2], just to get IPv6 support back on track.

    [0] https://github.com/agl/critbit

    [1] http://www.hariguchi.org/art/art.pdf

    [2] https://github.com/celzero/firestack/issues/3

  • Critbit Trees in C(WEB)
    1 project | news.ycombinator.com | 30 Jan 2022
  • A note from our sponsor - WorkOS
    workos.com | 24 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic critbit repo stats
3
330
0.0
over 2 years ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com