Valters Jansons [Fri, 5 Jun 2026 10:50:29 +0000 (19:50 +0900)]
configure: Update `location.ipfire.org` links
Since original configuration of these links, some changes have been
made to the website. Now the old location.ipfire.org landing page
redirects users to ipfire.org/location/ instead. This commit makes
sure listed links are direct links, instead of pointing at redirects.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Valters Jansons [Fri, 5 Jun 2026 10:50:28 +0000 (19:50 +0900)]
debian: Update `location.ipfire.org` links
Since original configuration of these links, some changes have been
made to the website. Now the old location.ipfire.org landing page
redirects users to ipfire.org/location/ instead. This commit makes
sure listed links are direct links, instead of pointing at redirects.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Valters Jansons [Wed, 3 Jun 2026 12:47:07 +0000 (21:47 +0900)]
debian: Point at GNU website for full GPL text
The FSF mailing address is outdated and should not be referenced in
copyright license text, as no response will be received from it.
Instead, the GNU website can be used for obtaining license text.
Ref: https://lintian.debian.org/tags/old-fsf-address-in-copyright-file.html Signed-off-by: Valters Jansons <valter.jansons@gmail.com> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 2 Jun 2026 15:53:22 +0000 (15:53 +0000)]
jenkins: Remove Debian package builds for armel
This does not build on forky any more and I am not sure anyone would be
using it:
+ apt-get build-dep -y -aarmel .
Note, using directory '.' to get the build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
builddeps:.:armel : Depends: debhelper-compat:armel (= 13)
Depends: dh-sequence-python3:armel
Depends: intltool:armel
Depends: liblua5.4-dev:armel but it is not installable
Depends: libssl-dev:armel but it is not installable
Depends: libsystemd-dev:armel but it is not installable
Depends: pkg-config:armel but it is not installable
Depends: python3-all-dev:armel but it is not installable
Depends: xsltproc:armel
Depends: docbook-xsl:armel
E: Unable to satisfy dependencies. Reached two conflicting assignments:
1. builddeps:.:armel=1 is selected for install
2. builddeps:.:armel Depends liblua5.4-dev:armel
but none of the choices are installable:
[no choices]
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Mon, 2 Mar 2026 15:03:10 +0000 (15:03 +0000)]
importer: Add some more AWS regions
It does not seem to be very plausible that me-west-1 is in Israel, as
there seems to be a separate region called il-central-1 already. This is
just the best information I have right now.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Thu, 20 Nov 2025 16:30:23 +0000 (16:30 +0000)]
importer: Accept ASNs larger than PostgreSQL's integer
We seem to be importing some garbage here which makes the temporary
table overflow. Therefore we are increase the maximum size of the ASN
field to be able to render the database.
Any invalid data is being filtered out regardless.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Fri, 27 Jun 2025 13:40:12 +0000 (13:40 +0000)]
database: Fix backtracking after no match was found at the end of the tree
This is a rare bug which only appears if the tree has not been 100%
optimised which might happen because it would not be worth the effort to
remove all dead ends all of the time.
Therefore, we could be reaching a node which is not an actual leaf but
still not find our network. In that case, we will have to go backwards
slightly to check if there has been a less specific match (but a match
nonetheless).
Fixes: #13861 - libloc-0.9.18 fails to find some ASN info Reported-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Valters Jansons [Mon, 7 Apr 2025 01:29:29 +0000 (04:29 +0300)]
tests: Ensure loc_database_lookup finds a match
Commit 9e72b8a modified the lookup function to return 0 even if no
matches are found. As result, the test case could pass even if the
database lookup did not find any matches.
This commit restores the original intent of the test case, by adding
a failure condition when `network1` is NULL. This is similar to how
the subsequent test case was modified for the inverse condition.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Mon, 10 Mar 2025 15:28:47 +0000 (15:28 +0000)]
jenkins: Okay, drop Alma Linux again
This thing just seems to be too ancient and does not have packages for
Lua. Instead of creating too many if/else blocks to cover this, let's
remove it again. As far as I am aware, we don't have any known users on
this distribution.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Thu, 6 Mar 2025 21:13:49 +0000 (21:13 +0000)]
debian: Don't build man pages
This is not great, but I currently don't have any better option.
Installing asciidoc conflicts with python3-all-dev when cross-compiling.
Since asciidoc is optional and Python isn't this at least generates a
package at the end.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Thu, 26 Sep 2024 19:48:03 +0000 (19:48 +0000)]
libloc: Refactor summarizing IP address ranges
The algorithm seems to have had some bugs where it generated too many
unnecessary subnets which caused the system to run out of memory very
quickly when determining bogons.
This version of the algorithm is now a little bit smarter and should be
significantly faster as well.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>