public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: Next steps of IPFire Location
Date: Fri, 27 Nov 2020 16:48:44 +0000	[thread overview]
Message-ID: <7E8F0907-F67A-41D9-ACFE-A5EAC5681962@ipfire.org> (raw)
In-Reply-To: <b124aedd3cdb62879774a5ff36a2ec5b9fbf2c2f.camel@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 2943 bytes --]

Hello,

I have just pushed the required changes to fix the segmentation fault on 32 bit machines. That was unfortunately caused by an integer underflow.

I am not sure if anyone is running a 32 bit system in production, but I would like to hear how well this is performing on those.

Best,
-Michael

> On 27 Nov 2020, at 08:03, Stefan Schantl <stefan.schantl(a)ipfire.org> wrote:
> 
> Hello Michael,
> 
> I've installed the latest experimental update on my productive IPFire
> system (IPFire Mini Appliance) and performed the export test again.
> 
> Here are the results:
> 
> [root(a)gate ~]# cat /etc/system-release
> IPFire 2.25 (x86_64) - core153 Development Build: next/7adacda0
> 
> [root(a)gate ~]# time location export --directory=/tmp --format=xt_geoip
> 
> real	1m38.759s
> user	1m37.743s
> sys	0m0.390s
> 
> Best regards,
> 
> -Stefan
>> Ladies and gentlemen,
>> 
>> After days and days of looking into this, and neglecting all the more
>> important things I should be doing, I have updated libloc in the
>> testing tree.
>> 
>> The good news is that I think that I have fixed the issue. I would
>> like you all to check this for me if you could :)
>> 
>> The bad news is that the reason the output was incorrect was that the
>> more complicated code path was not being used when it was required.
>> This has been fixed now and it is actually fast enough I think. That
>> again has to be tested.
>> 
>> If you all would repeat the last test with the updated version as
>> soon as it finishes its build.
>> 
>> It will run for many many minutes, if not an hour. I want to know
>> that figure. We will bring it down.
>> 
>> Best,
>> -Michael
>> 
>>> On 23 Nov 2020, at 11:16, Michael Tremer <michael.tremer(a)ipfire.org
>>>> wrote:
>>> 
>>> Hi,
>>> 
>>> Yes, I can confirm this. The subnets returned are not unique.
>>> 
>>> -Michael
>>> 
>>>> On 22 Nov 2020, at 11:59, Peter Müller <peter.mueller(a)ipfire.org>
>>>> wrote:
>>>> 
>>>> Hello *,
>>>> 
>>>> I just stumbled across a strange issue on my testing machine
>>>> strongly reminding me of a problem with the xt_geoip module if we
>>>> printed the location database contents non-planar:
>>>> 
>>>> For debugging and monitoring reasons, a NRPE job pinging
>>>> ping.ipfire.org (which resolves to 81.3.27.38) is executed
>>>> periodically. Since a few hours, this job fails due to ICMP
>>>> packets to this IP address being dropped by the outgoing firewall
>>>> engine.
>>>> 
>>>> Its policy is set to "drop", with a rule allowing ICMP traffic to
>>>> DE. While "location lookup 81.3.27.38" correctly returns DE for
>>>> the prefix 31.8.0.0/18, it seems as the xt_geoip module did not
>>>> get that and misclassifies this IP address.
>>>> 
>>>> Is somebody able to verify or falsify this issue on Core
>>>> Development Build 153?
>>>> 
>>>> Thanks, and best regards,
>>>> Peter Müller
> 


  reply	other threads:[~2020-11-27 16:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-18 19:26 Michael Tremer
2020-11-19 13:10 ` Michael Tremer
2020-11-19 17:48   ` Adolf Belka
2020-11-22 20:06     ` Adolf Belka
2020-11-23 11:15       ` Michael Tremer
2020-11-19 18:49   ` Stefan Schantl
2020-11-20 16:27 ` Peter Müller
2020-11-22 11:59   ` Peter Müller
2020-11-23 11:16     ` Michael Tremer
2020-11-25 20:24       ` Michael Tremer
2020-11-26  7:51         ` Arne Fitzenreiter
2020-11-26 16:21           ` Michael Tremer
2020-11-27  8:03         ` Stefan Schantl
2020-11-27 16:48           ` Michael Tremer [this message]
2020-11-28 14:47         ` libloc output for xt_geoip is fine on Core Update 153 Development Build: next/e8ecc81a (was: Re: Next steps of IPFire Location) Peter Müller
2020-12-06 12:35           ` libloc output for xt_geoip is fine on Core Update 153 Development Build: next/e8ecc81a Arne Fitzenreiter
2020-12-06 20:01             ` Michael Tremer
2020-12-07 10:41               ` Adolf Belka
2020-12-07 12:16               ` Arne Fitzenreiter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7E8F0907-F67A-41D9-ACFE-A5EAC5681962@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox