From: Matthias Fischer <matthias.fischer@ipfire.org>
To: development@lists.ipfire.org, "IPFire: Schantl,
Stefan" <stefan.schantl@ipfire.org>
Subject: Re: ids.cgi: Exception list changes display order and something more...
Date: Wed, 11 Mar 2026 22:32:30 +0100 [thread overview]
Message-ID: <67a499ac-27fc-4778-9153-41b580b5d830@ipfire.org> (raw)
In-Reply-To: <16f03db1ffd0d60876e94c180f350d23df144853.camel@ipfire.org>
On 11.03.2026 21:12, Stefan Schantl wrote:
> Hello Matthias,
>
> today I found some time to have the closer look on the ids.cgi file.
>> Hi,
>>
>> I found some strange things on the IPS system...
>>
>> First:
>> I defined five whitelisted hosts (or more, doesn't matter) on the
>> intrusion prevention page.
>>
>> Now every time I reload the page, the display order of these host
>> list
>> changes. IP address and remark stick together but the order changes
>> every time I reload the page. As far as I saw it, the contents of
>> 'ignored' file stay the same.
>
> I was able to reproduce this issue and sent a fix to this mailing list.
Tested. Fixed. Thanks! :-)
> Thanks for finding and reporting.
No problem - you're welcome! ;-)
>> Second:
>> Furthermore, when I try to deactivate the last entry by removing the
>> check mark, the check mark disappears from the third entry (e.g.).
>> When
>> I try to deactivate the third entry, check mark disappears from the
>> last
>> (fifth). When I try to deactivate the second, check mark vanished
>> from
>> the third... That means, most of the time the check mark disappears
>> from
>> a different entry than the one I wanted to deselect. Weird...
>
> Sadly I was not able to reproduce this behaviour, but I also did the
> test with the fixed first issue. May this also fixed the second issue.
Yep. Fixing the sorting statement fixed this, too.
>> Third:
>> Last but not least: I can't deacivate single rules from the 'IPFire
>> DBL
>> domain blocklists'. When I remove the check mark from the rule
>> "IPFire
>> DBL [Malware] Blocked HTTP Request", the mark is back after reloading
>> the ruleset. I can't disable individual rules, only the entire rule
>> set.
>
> This is not directly a CGI related issue. It may come from a double
> usage of the same rule SID. I did some quick analysis, found some SID
> related issues on our rules and reported them to Michael.
Ok, we'll see. Thanks again!
Best
Matthias
>> Can anyone confirm these findings?
>>
>> Best
>> Matthias
>>
> Best regards,
>
> -Stefan
>
prev parent reply other threads:[~2026-03-11 21:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-09 21:30 Matthias Fischer
2026-03-10 4:43 ` Stefan Schantl
2026-03-11 19:39 ` [PATCH] ids.cgi: Fix sorting the ignored hosts by id Stefan Schantl
2026-03-11 20:12 ` ids.cgi: Exception list changes display order and something more Stefan Schantl
2026-03-11 21:32 ` Matthias Fischer [this message]
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=67a499ac-27fc-4778-9153-41b580b5d830@ipfire.org \
--to=matthias.fischer@ipfire.org \
--cc=development@lists.ipfire.org \
--cc=stefan.schantl@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