File tree
11 files changed
+212
-165
lines changed- bin
- doc
- include
- src
- t
11 files changed
+212
-165
lines changedLines changed: 25 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
| 17 | + | |
16 | 18 |
| |
17 | 19 |
| |
18 | 20 |
| |
| |||
90 | 92 |
| |
91 | 93 |
| |
92 | 94 |
| |
93 |
| - | |
94 |
| - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
95 | 98 |
| |
96 |
| - | |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 |
| - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
101 | 105 |
| |
102 |
| - | |
103 |
| - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
104 | 109 |
| |
105 | 110 |
| |
106 | 111 |
| |
| |||
110 | 115 |
| |
111 | 116 |
| |
112 | 117 |
| |
113 |
| - | |
114 |
| - | |
115 |
| - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
116 | 121 |
| |
117 | 122 |
| |
118 |
| - | |
119 |
| - | |
120 |
| - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 |
| |
122 |
| - | |
123 |
| - | |
| 128 | + | |
| 129 | + | |
| 130 | + |
Lines changed: 19 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
1 | 19 |
| |
2 | 20 |
| |
3 | 21 |
| |
| |||
224 | 242 |
| |
225 | 243 |
| |
226 | 244 |
| |
227 |
| - | |
| 245 | + | |
228 | 246 |
| |
229 | 247 |
| |
230 | 248 |
| |
|
Lines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
22 | 24 |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
13 |
| - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 |
| |
15 | 17 |
| |
16 | 18 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
26 | 27 |
| |
| 28 | + | |
27 | 29 |
| |
28 | 30 |
| |
29 | 31 |
| |
| |||
945 | 947 |
| |
946 | 948 |
| |
947 | 949 |
| |
948 |
| - | |
| 950 | + | |
949 | 951 |
| |
950 | 952 |
| |
951 | 953 |
| |
| |||
959 | 961 |
| |
960 | 962 |
| |
961 | 963 |
| |
| 964 | + | |
962 | 965 |
| |
963 | 966 |
| |
964 | 967 |
| |
|
Submodule maxmind-db updated 72 files
- .github/dependabot.yml+11
- .github/workflows/codeql-analysis.yml+52
- .github/workflows/go.yml+38
- .github/workflows/golangci-lint.yml+21
- .gitignore+2
- .golangci.toml+647
- LICENSE-4
- LICENSE-APACHE+202
- LICENSE-MIT+17
- MaxMind-DB-spec.md+48-32
- README.md+8-1
- bad-data/maxminddb-python/bad-unicode-in-map-key.mmdb
- cmd/write-test-data/main.go+68
- go.mod+13
- go.sum+16
- perltidyrc+6
- pkg/writer/decoder.go+178
- pkg/writer/geoip2.go+182
- pkg/writer/ip.go+39
- pkg/writer/maxmind.go+245
- pkg/writer/nestedstructures.go+73
- pkg/writer/writer.go+61
- source-data/GeoIP2-Anonymous-IP-Test.json+17
- source-data/GeoIP2-City-Test.json+1.1k-488
- source-data/GeoIP2-Connection-Type-Test.json+35-10
- source-data/GeoIP2-Country-Test.json+6.1k-1.1k
- source-data/GeoIP2-Domain-Test.json+5
- source-data/GeoIP2-Enterprise-Test.json+468-35
- source-data/GeoIP2-ISP-Test.json+21-1
- source-data/GeoIP2-Precision-Enterprise-Sandbox-Test.json+296
- source-data/GeoIP2-Precision-Enterprise-Test.json+2.6k-528
- source-data/GeoIP2-Static-IP-Score-Test.json+2.1k
- source-data/GeoIP2-User-Count-Test.json+2.9k
- source-data/GeoLite2-ASN-Test.json+4.1k-8
- source-data/GeoLite2-City-Test.json+13.0k
- source-data/GeoLite2-Country-Test.json+11.4k
- source-data/README-13
- test-data/GeoIP2-Anonymous-IP-Test.mmdb
- test-data/GeoIP2-City-Test-Broken-Double-Format.mmdb
- test-data/GeoIP2-City-Test-Invalid-Node-Count.mmdb
- test-data/GeoIP2-City-Test.mmdb
- test-data/GeoIP2-Connection-Type-Test.mmdb
- test-data/GeoIP2-Country-Test.mmdb
- test-data/GeoIP2-DensityIncome-Test.mmdb
- test-data/GeoIP2-Domain-Test.mmdb
- test-data/GeoIP2-Enterprise-Test.mmdb
- test-data/GeoIP2-ISP-Test.mmdb
- test-data/GeoIP2-Precision-Enterprise-Test.mmdb
- test-data/GeoIP2-Static-IP-Score-Test.mmdb
- test-data/GeoIP2-User-Count-Test.mmdb
- test-data/GeoLite2-ASN-Test.mmdb
- test-data/GeoLite2-City-Test.mmdb
- test-data/GeoLite2-Country-Test.mmdb
- test-data/MaxMind-DB-no-ipv4-search-tree.mmdb
- test-data/MaxMind-DB-string-value-entries.mmdb
- test-data/MaxMind-DB-test-broken-pointers-24.mmdb
- test-data/MaxMind-DB-test-broken-search-tree-24.mmdb
- test-data/MaxMind-DB-test-decoder.mmdb
- test-data/MaxMind-DB-test-ipv4-24.mmdb
- test-data/MaxMind-DB-test-ipv4-28.mmdb
- test-data/MaxMind-DB-test-ipv4-32.mmdb
- test-data/MaxMind-DB-test-ipv6-24.mmdb
- test-data/MaxMind-DB-test-ipv6-28.mmdb
- test-data/MaxMind-DB-test-ipv6-32.mmdb
- test-data/MaxMind-DB-test-metadata-pointers.mmdb
- test-data/MaxMind-DB-test-mixed-24.mmdb
- test-data/MaxMind-DB-test-mixed-28.mmdb
- test-data/MaxMind-DB-test-mixed-32.mmdb
- test-data/MaxMind-DB-test-nested.mmdb
- test-data/MaxMind-DB-test-pointer-decoder.mmdb
- test-data/README.md+30-14
- test-data/write-test-data.pl-614
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
7 |
| - | |
| 6 | + | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| |||
197 | 197 |
| |
198 | 198 |
| |
199 | 199 |
| |
200 |
| - | |
| 200 | + | |
201 | 201 |
| |
202 | 202 |
| |
203 | 203 |
| |
|
0 commit comments