]>
Commit | Line | Data |
---|---|---|
3d22ff68 MT |
1 | libloc (0.9.17-1) unstable; urgency=medium |
2 | ||
3 | [ Michael Tremer ] | |
4 | * importer: Store geofeed URLs from RIR data | |
5 | * importer: Add command to import geofeeds into the database | |
6 | * importer: Just fetch any exception from the executor | |
7 | * importer: Sync geofeeds | |
8 | * importer: Use geofeeds for country assignment | |
9 | * importer: Use a GIST index for networks from geofeeds | |
10 | * importer: Add a search index match geofeed networks quicker | |
11 | * importer: Fix reading Geofeeds from remarks | |
12 | * importer: Ensure that we only use HTTPS URLs for Geofeeds | |
13 | * importer: Validate country codes from Geofeeds | |
14 | * importer: Fix parsing gzipped content on invalid Content-Type header | |
15 | * po: Update translations | |
16 | * network: Drop an unused function to count all networks | |
17 | * location: Fix correct set name when family is selected | |
18 | * export: Raise an error when trying to export ipset for both families | |
19 | * Merge remote-tracking branch 'origin/geofeed' | |
20 | * importer: Drop method to import routing information from route | |
21 | servers | |
22 | * importer: Silently ignore any empty country codes in Geofeeds | |
23 | * importer: Convert country codes to uppercase from Geofeeds | |
24 | * importer: Skip lines we cannot decode | |
25 | * importer: Silence invalid country code warning | |
26 | * importer: Catch TimeoutError when loading Geofeeds | |
27 | * importer: Log any errors to the database | |
28 | * geofeeds: Delete any data on 404 | |
29 | * geofeeds: Delete any data that did not update within two weeks | |
30 | * geofeeds: Catch any invalid URLs | |
31 | * database: Log query execution time in debug mode | |
32 | * importer: Improve performance of AS name export query | |
33 | * geofeed: Parse and normalize any URLs | |
34 | * importer: AWS: Add country code of NZ for ap-southeast-5 | |
35 | * importer: Don't write AS without names into the database | |
36 | * importer: Decrease the log level if Spamhaus' files are empty | |
37 | * tree: Add flag to delete nodes | |
38 | * writer: Cleanup networks before writing | |
39 | * tree: Actually delete any deleted nodes | |
40 | * Merge networks before writing the database | |
41 | * networks: Delete networks from the tree on merge | |
42 | * tree: More elegantly prevent deleting the root node | |
43 | * network: Decreate log level when deleting networks | |
44 | * data: Update database to 2023-07-31 | |
45 | * configure: Bump version to 0.9.17 | |
46 | ||
47 | [ Temuri Doghonadze ] | |
48 | * po: Add Georgian translation | |
49 | ||
50 | [ Hans-Christoph Steiner ] | |
51 | * Add bash-completion file for the location command. | |
52 | ||
53 | [ Stefan Schantl ] | |
54 | * Install bash-completion files. | |
55 | ||
56 | [ Petr Písař ] | |
57 | * Fix string escaping in location tool | |
58 | ||
59 | -- Michael Tremer <michael.tremer@ipfire.org> Mon, 31 Jul 2023 16:59:38 +0000 | |
60 | ||
a879eb83 VJ |
61 | libloc (0.9.16-1) unstable; urgency=medium |
62 | ||
63 | [ Peter Müller ] | |
64 | * location-importer.in: Conduct sanity checks per DROP list | |
65 | * location-importer.in: Add new Amazon region codes | |
66 | ||
67 | [ Michael Tremer ] | |
68 | * importer: Fix potential SQL command injection | |
69 | * configure: Fix incorrect database path | |
70 | * python: Export __version__ in location module | |
71 | * writer: Add an empty string to the stringpool | |
72 | * export: Fix generating file names for ipset output | |
73 | * database: Ship a recent default database | |
74 | * tests: Drop the test database and use the distributed one | |
75 | * database: Correct error code on verification | |
76 | * writer: Fix typo in signature variable | |
77 | * writer: Assign correct file descriptor for private keys | |
78 | * database: Fix check if a signature is set | |
79 | * configure: Drop superfluous bracket | |
80 | * configure: Bump version to 0.9.16 | |
81 | ||
82 | [ Petr Písař ] | |
83 | * Move location manual from section 8 to section 1 | |
84 | * Remove shebangs from Python modules | |
85 | * Move location manual from section 8 to section 1 in location- | |
86 | update.service | |
87 | * Install Perl files to Perl vendor directory | |
88 | ||
89 | -- Michael Tremer <michael.tremer@ipfire.org> Sat, 29 Oct 2022 13:25:36 +0000 | |
90 | ||
ab8a1787 MT |
91 | libloc (0.9.15-1) unstable; urgency=medium |
92 | ||
93 | [ Peter Müller ] | |
94 | * Non-maintainer upload. | |
95 | * location-importer.in: Fix dangling variable | |
96 | ||
97 | [ Michael Tremer ] | |
98 | * Replace strerror(errno) with %m in format string throughout | |
99 | * Don't abuse errno as return code | |
100 | * country: Refactor storing country code and continent code | |
101 | * *_unref: Always expect a valid pointer | |
102 | * cron: Add a cronjob if systemd is not available | |
103 | * Check return value of fread() when reading header | |
104 | * configure: Replace obsolete AC_PROG_CC_STDC macro | |
105 | * writer: Check if stringpool has been initialized before free | |
106 | * database: Use MAP_PRIVATE with mmap() | |
107 | * database: Do not try to unmap failed mappings | |
108 | * database: Log any errors when mmap() fails | |
109 | * database: Increase page size to 64k | |
110 | * python: Correctly raise any errors when opening the database | |
111 | * database: Improve error reporting when the magic cannot be read | |
112 | * python: Fix errors for Database.lookup() | |
113 | * stringpool: Implement mmap as optional | |
114 | * database: Fall back when mmap() isn't available | |
115 | * tests: Add some simple database tests | |
116 | * stringpool: Drop function to find next offset | |
117 | * database: country: Return better error codes | |
118 | * python: Export DatabaseEnumerator type | |
119 | * tests: database: Expand test coverage | |
120 | * database: Refactor error handling on create | |
121 | * database: Break opening procedure into smaller parts | |
122 | * database: Refactor checking magic | |
123 | * database: Check if this version of libloc supports the database | |
124 | format | |
125 | * database: Map the entire database into memory as a whole | |
126 | * database: Read header from mapped data | |
127 | * hexdump: Don't try to dump any empty memory | |
128 | * database: Read all data from the large mmap() | |
129 | * database: Call madvise() to tell the kernel that we will randomly | |
130 | access the data | |
131 | * database: Encourage the compiler to inline some functions | |
132 | * database: Drop unused offset variable in objects | |
133 | * database: Drop debug line | |
134 | * database: Initialize r on create | |
135 | * tests: Add signing key to verify signatures | |
136 | * configure: Check for madvise | |
137 | * Fix compilation on MacOS X | |
138 | * country: Drop unused CC_LEN | |
139 | * tests: country: Don't crash when a country could not be found | |
140 | * Revert "database: Increase page size to 64k" | |
141 | * writer: Flush everything to disk after writing finishes | |
142 | * configure: Make the default database path configurable | |
143 | * python: Add new open() interface to easily open a database | |
144 | ||
145 | -- Michael Tremer <michael.tremer@ipfire.org> Mon, 26 Sep 2022 15:36:44 +0000 | |
146 | ||
1f15d936 MT |
147 | libloc (0.9.14-1) unstable; urgency=medium |
148 | ||
149 | [ Michael Tremer ] | |
150 | * Revert "configure: Require Python >= 3.9" | |
151 | * Make sources around that we can run tests without location installed | |
152 | * downloader: Fetch __version__ from C module | |
153 | * export: Drop using functools | |
154 | * verify: Show message on success | |
155 | * export: Don't fail when output stream isn't seekable | |
156 | * importer: Actually perform the Spamhaus sanity check | |
157 | * importer: Change download behaviour | |
158 | * importer: Move importing extended sources/ARIN into transaction | |
159 | * python: database: Return None if no description/vendor/license set | |
160 | * importer: Try to make parsing blocks faster | |
161 | * importer: Import each source individually | |
162 | * python: Fix missing bracket | |
163 | * importer: Tolerate that data might exist from other RIRs | |
164 | * importer: Import all sources in alphabetical order | |
165 | ||
166 | [ Peter Müller ] | |
167 | * location-importer: Only delete override data if we are sure to have | |
168 | a valid replacement | |
169 | * location-importer: AS names starting with "DNIC" actually are valid | |
170 | ||
171 | -- Michael Tremer <michael.tremer@ipfire.org> Sun, 14 Aug 2022 12:24:16 +0000 | |
172 | ||
81ec8774 MT |
173 | libloc (0.9.13-1) unstable; urgency=medium |
174 | ||
175 | [ Michael Tremer ] | |
176 | * tests: Add a simple test that lists all networks | |
177 | * database: Allocate subnets list only once | |
178 | * network: Log a more useful message on invalid prefix | |
179 | * network: Add more debugging output when running exclude | |
180 | * network: loc_network_subnets: Use correct prefix | |
181 | * tests: Break after exporting 1000 networks | |
182 | * configure: Require Python >= 3.9 | |
183 | * export: Enable flattening for everything | |
184 | * .gitignore: Ignore *.db files only in main directory | |
185 | * tests: Import test database | |
186 | * configure: Bump version to 0.9.13 | |
187 | ||
188 | -- Michael Tremer <michael.tremer@ipfire.org> Tue, 12 Apr 2022 12:15:34 +0000 | |
189 | ||
12ac5c5b MT |
190 | libloc (0.9.12-1) unstable; urgency=medium |
191 | ||
192 | [ Michael Tremer ] | |
193 | * importer: Parse aggregated networks | |
194 | * database: Return something when no filter criteria is configured | |
195 | * importer: Correctly hande response codes from Bird | |
196 | * importer: Silently ignore any table headers | |
197 | * importer: Skip empty lines | |
198 | * location: Fix output of list-* commands | |
199 | * network: Move a couple of helper functions into headers | |
200 | * network: Add function that counts the bit length of an addres | |
201 | * network: Drop functions moved in an earlier commit | |
202 | * network-list: Rewrite summarize algorithm | |
203 | * network: Allow creating any valid networks | |
204 | * network: Implement bit length function for IPv4 | |
205 | * addresses: Implement subtraction for IPv4 | |
206 | * bogons: Refactor algorithms | |
207 | * network-list: Cap prefix length based on family | |
208 | * address: Correctly subtract IPv4 addresses | |
209 | * bogons: Reset after we have reached the end | |
210 | * bogons: Don't consider a network legitimate without a country code | |
211 | * Move all address convenience functions into their own header | |
212 | * address: Rename in6_addr_cmp into loc_address_cmp | |
213 | * address: Rename in6_addr_get_bit/in6_addr_set_bit to loc_address_* | |
214 | * addresses: Use loc_address_family which is now available | |
215 | * address: Rename increment/decrement functions and modify address in | |
216 | place | |
217 | * network: Pass prefix in native length | |
218 | * strings: Statically allocate all address/network strings | |
219 | * address: Initialize all bits of IP addresses | |
220 | * address: Prevent under/overflow when incrementing/decrementing | |
221 | * network-list: Simplify debugging output on summarize | |
222 | * network-list: summarize: Break when we exhausted the network range | |
223 | * network-list: Remove debugging line | |
224 | * address: Simplify functions | |
225 | * address: Fix decrementing IP addresses | |
226 | * address: Fix buffer overwrite | |
227 | * address: Add some simple tests | |
228 | * bogons: Add gaps that are only one address wide | |
229 | * bogons: Skip any subnets of former networks | |
230 | * as-list: Grow faster to avoid too many re-allocations | |
231 | * writer: Use AS list internally | |
232 | * network-list: Grow just like the AS list | |
233 | * country-list: Grow like AS list | |
234 | * writer: Use country list internally | |
235 | * importer: Improve performance of network export query | |
236 | * writer: I forgot to initalize the country list | |
237 | * Refactor parsing IP addresses | |
238 | * address: Set default prefix if none is given | |
239 | ||
240 | -- Michael Tremer <michael.tremer@ipfire.org> Wed, 23 Mar 2022 20:11:29 +0000 | |
241 | ||
6bf458a4 MT |
242 | libloc (0.9.11-1) unstable; urgency=medium |
243 | ||
244 | [ Stefan Schantl ] | |
245 | * export: Remove prefix when exporting countries. | |
246 | ||
247 | [ Michael Tremer ] | |
248 | * ipset: Optimise hash table size | |
249 | * ipset: Fix hash type for IPv6 | |
250 | * ipset: Set maxelem to a fixed size | |
251 | * export: Conditionally enable flattening | |
252 | * location: Print proper error message for any uncaught exceptions | |
253 | * export: Allow exporting to stdout | |
254 | * ipset: The minimum hashsize is 64 | |
255 | * export: Fix filtering logic | |
256 | * export: Sightly refactor export logic | |
257 | * Bump release to 0.9.11 | |
258 | ||
259 | [ Peter Müller ] | |
260 | * location-importer: Fix parsing LACNIC-flavoured inetnums | |
261 | ||
262 | -- Michael Tremer <michael.tremer@ipfire.org> Thu, 03 Mar 2022 10:44:44 +0000 | |
263 | ||
ace8e510 MT |
264 | libloc (0.9.10-1) unstable; urgency=medium |
265 | ||
266 | [ Peter Müller ] | |
267 | * Non-maintainer upload. | |
268 | * location-importer: Set "is_drop" to "True" even in case of conflicts | |
269 | * Process LACNIC geofeed as well | |
270 | * location-importer: Improve regex for catching historic/orphaned data | |
271 | * location-importer: Replace "UK" with "GB" | |
272 | * location-importer.in: Add country code for AWS's "il-central-1" zone | |
273 | * location-importer.in: Do not make things more complicated than they | |
274 | are | |
275 | ||
276 | [ Michael Tremer ] | |
277 | * man: Add pages for top level functions | |
278 | * man: Add man page for loc_database_new | |
279 | * man: Add man pages for all loc_database_* functions | |
280 | * export: Make ipset files easily reloadable | |
281 | ||
282 | -- Michael Tremer <michael.tremer@ipfire.org> Wed, 16 Feb 2022 08:53:48 +0000 | |
283 | ||
1714f6ee MT |
284 | libloc (0.9.9-2) unstable; urgency=medium |
285 | ||
286 | * Fix broken Debian build | |
287 | ||
288 | -- Michael Tremer <michael.tremer@ipfire.org> Tue, 23 Nov 2021 11:07:22 +0000 | |
289 | ||
c28579ca MT |
290 | libloc (0.9.9-1) unstable; urgency=medium |
291 | ||
292 | [ Michael Tremer ] | |
293 | * database: Make IP address const for lookup | |
294 | * configure: Enable -fno-semantic-interposition by default | |
295 | * network: Drop redundant loc_network_match_flag | |
296 | * network: Drop useless loc_network_match_asn function | |
297 | * stringpool: Make functions properly private | |
298 | * Make loc_network_tree_* functions propertly private | |
299 | * Remove LOC_EXPORT from | |
300 | loc_network_to_database_v1/loc_network_new_from_database_v1 | |
301 | * country: Add function that returns flags for special country | |
302 | * country: Make country codes beginning with X invalid | |
303 | * network: Make loc_network_match_country_code match special countries | |
304 | * network: Rename "match" functions to "matches" | |
305 | ||
306 | [ Peter Müller ] | |
307 | * location.txt: Improve manpage | |
308 | * importer.py: Import JPNIC feed as well | |
309 | * location-importer: Introduce auxiliary function to sanitise ASNs | |
310 | * location-importer.in: Add Spamhaus DROP lists | |
311 | ||
312 | -- Michael Tremer <michael.tremer@ipfire.org> Sat, 20 Nov 2021 15:12:28 +0000 | |
313 | ||
635e2853 | 314 | libloc (0.9.8-1) unstable; urgency=medium |
a138fbfe MT |
315 | |
316 | [ Michael Tremer ] | |
317 | * importer: Do not try to initialise a column that cannot be NULL with | |
318 | NULL | |
319 | * configure: Add option to enable GCC's -fanalyzer | |
320 | * writer: Break when a network cound not be allocated | |
321 | * stringpool: Allow adding empty strings | |
322 | * stringpool: Do not call strlen() on potential NULL pointer | |
323 | * stringpool: Slightly refactor initialization to help the compiler | |
324 | understand | |
325 | * stringpool: Avoid memory leak if mmap() fails | |
326 | * network: Move some helper functions into network.h | |
327 | * python: Permit passing family to database enumerator | |
328 | * location: Implement listing bogons | |
329 | * Move include files to /usr/include/libloc | |
330 | ||
331 | [ Peter Müller ] | |
332 | * location-importer.in: Attempt to provide meaningful AS names if | |
333 | organisation handles are missing | |
334 | * location-importer.in: Braindead me accidentally forgot a "break" | |
335 | statement | |
336 | ||
337 | -- Michael Tremer <michael.tremer@ipfire.org> Tue, 21 Sep 2021 10:29:11 +0000 | |
338 | ||
582a9102 MT |
339 | libloc (0.9.7-1) unstable; urgency=medium |
340 | ||
341 | [ Valters Jansons ] | |
582a9102 MT |
342 | * po: Update translations |
343 | * systemd: Add Documentation= to location-update | |
344 | ||
345 | [ Peter Müller ] | |
346 | * location-importer.in: emit warnings due to unknown country code for | |
347 | valid networks only | |
348 | * location.in: fix search_networks() function call | |
349 | * location-importer.in: keep track of sources for networks, ASNs, and | |
350 | organisations | |
351 | * importer.py: add source information for RIR data feeds | |
352 | * location-importer.in: track original countries as well | |
353 | * location-importer.in: track original countries more pythonic | |
354 | * Implement an additional flag for hostile networks safe to drop | |
355 | * location-importer.in: Import (technical) AS names from ARIN | |
356 | * location-importer.in: add source column for overrides as well | |
357 | * location-importer.in: import additional IP information for Amazon | |
358 | AWS IP networks | |
359 | * location-import.in: optimise regular expression for filtering ASN | |
360 | allocations to other RIRs when parsing ARIN AS names file | |
361 | ||
362 | [ Michael Tremer ] | |
363 | * countries: Fix matching invalid country codes | |
364 | * Bump version to 0.9.7 | |
365 | ||
10d357f8 | 366 | -- Michael Tremer <michael.tremer@ipfire.org> Fri, 09 Jul 2021 17:16:59 +0000 |
582a9102 | 367 | |
17c13870 | 368 | libloc (0.9.6-1) unstable; urgency=medium |
577e5edb | 369 | |
af8ba428 VJ |
370 | [ Michael Tremer ] |
371 | * location: Fix list-networks-by-as | |
17c13870 | 372 | * database: Free mmapped countries section |
af8ba428 VJ |
373 | |
374 | [ Peter Müller ] | |
17c13870 | 375 | * location-importer.in: fix typo |
af8ba428 VJ |
376 | * location-importer.in: delete 6to4 IPv6 space as well |
377 | * location-importer.in: reduce log noise for unusable networks | |
378 | * location-importer.in: process unaligned IP ranges in RIR data files | |
379 | correctly | |
380 | * location-importer.in: skip networks with unknown country codes | |
577e5edb MT |
381 | |
382 | -- Michael Tremer <michael.tremer@ipfire.org> Wed, 31 Mar 2021 14:06:00 +0100 | |
383 | ||
17c13870 | 384 | libloc (0.9.5-1) unstable; urgency=medium |
3da6e70c | 385 | |
17c13870 | 386 | * Initial release. |
3da6e70c SS |
387 | |
388 | -- Stefan Schantl <stefan.schantl@ipfire.org> Sun, 27 Oct 2019 18:55:44 +0100 |