libloc (0.9.9-1) unstable; urgency=medium [ Michael Tremer ] * database: Make IP address const for lookup * configure: Enable -fno-semantic-interposition by default * network: Drop redundant loc_network_match_flag * network: Drop useless loc_network_match_asn function * stringpool: Make functions properly private * Make loc_network_tree_* functions propertly private * Remove LOC_EXPORT from loc_network_to_database_v1/loc_network_new_from_database_v1 * country: Add function that returns flags for special country * country: Make country codes beginning with X invalid * network: Make loc_network_match_country_code match special countries * network: Rename "match" functions to "matches" [ Peter Müller ] * location.txt: Improve manpage * importer.py: Import JPNIC feed as well * location-importer: Introduce auxiliary function to sanitise ASNs * location-importer.in: Add Spamhaus DROP lists -- Michael Tremer Sat, 20 Nov 2021 15:12:28 +0000 libloc (0.9.8-1) unstable; urgency=medium [ Michael Tremer ] * importer: Do not try to initialise a column that cannot be NULL with NULL * configure: Add option to enable GCC's -fanalyzer * writer: Break when a network cound not be allocated * stringpool: Allow adding empty strings * stringpool: Do not call strlen() on potential NULL pointer * stringpool: Slightly refactor initialization to help the compiler understand * stringpool: Avoid memory leak if mmap() fails * network: Move some helper functions into network.h * python: Permit passing family to database enumerator * location: Implement listing bogons * Move include files to /usr/include/libloc [ Peter Müller ] * location-importer.in: Attempt to provide meaningful AS names if organisation handles are missing * location-importer.in: Braindead me accidentally forgot a "break" statement -- Michael Tremer Tue, 21 Sep 2021 10:29:11 +0000 libloc (0.9.7-1) unstable; urgency=medium [ Valters Jansons ] * po: Update translations * systemd: Add Documentation= to location-update [ Peter Müller ] * location-importer.in: emit warnings due to unknown country code for valid networks only * location.in: fix search_networks() function call * location-importer.in: keep track of sources for networks, ASNs, and organisations * importer.py: add source information for RIR data feeds * location-importer.in: track original countries as well * location-importer.in: track original countries more pythonic * Implement an additional flag for hostile networks safe to drop * location-importer.in: Import (technical) AS names from ARIN * location-importer.in: add source column for overrides as well * location-importer.in: import additional IP information for Amazon AWS IP networks * location-import.in: optimise regular expression for filtering ASN allocations to other RIRs when parsing ARIN AS names file [ Michael Tremer ] * countries: Fix matching invalid country codes * Bump version to 0.9.7 -- Michael Tremer Fri, 09 Jul 2021 17:16:59 +0000 libloc (0.9.6-1) unstable; urgency=medium [ Michael Tremer ] * location: Fix list-networks-by-as * database: Free mmapped countries section [ Peter Müller ] * location-importer.in: fix typo * location-importer.in: delete 6to4 IPv6 space as well * location-importer.in: reduce log noise for unusable networks * location-importer.in: process unaligned IP ranges in RIR data files correctly * location-importer.in: skip networks with unknown country codes -- Michael Tremer Wed, 31 Mar 2021 14:06:00 +0100 libloc (0.9.5-1) unstable; urgency=medium * Initial release. -- Stefan Schantl Sun, 27 Oct 2019 18:55:44 +0100