| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | geoip: Add a few more tests. | Nick Mathewson | 2023-06-20 | 1 | -1/+59 | |
| | | | ||||||
| * | | geoip: Explain in more detail what a CountryCode is to us. | Nick Mathewson | 2023-06-20 | 1 | -1/+14 | |
| | | | ||||||
| * | | geoip: require that ccs actually are printable ascii. | Nick Mathewson | 2023-06-20 | 1 | -3/+8 | |
| | | | | | | | | | | | | | (There are plenty of strings that convert into 2 bytes of UTF8 without being two ascii characters, and there are plenty of sequences of two ascii characters that aren't printable.) | |||||
| * | | geoip: Make ?? a little more bullet-proof | Nick Mathewson | 2023-06-20 | 3 | -5/+51 | |
| |/ | | | | We want to make sure that ?? is always None, never a CountryCode. | |||||
| * | tor-geoip: Add new crate with GeoIP database functionality | eta | 2023-06-20 | 6 | -0/+293548 | |
| - This adds a new crate, `tor-geoip`, which can parse and perform lookups in the GeoIP database C-tor already uses (generated by a maintenance utility in the C-tor codebase). - We embed a copy of C-tor's databases with the crate and use `include_str!` to ship them with the binary, bloating its size somewhat. - This does, however, solve the problem of figuring out how to distribute these. - The plan is to gate this functionality behind a feature flag anyway, so the cost should be nil unless explicitly opted into. Part of tpo/core/onionmasq#47. | ||||||
