public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: ids.cgi: Exception list changes display order and something more...
Date: Wed, 11 Mar 2026 21:12:38 +0100	[thread overview]
Message-ID: <16f03db1ffd0d60876e94c180f350d23df144853.camel@ipfire.org> (raw)
In-Reply-To: <5c23a258-3e27-4d84-a55d-4b24ff73770c@ipfire.org>

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.

Thanks for finding and reporting.
> 
> 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.
> 
> 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.
> 
> Can anyone confirm these findings?
> 
> Best
> Matthias
> 
Best regards,

-Stefan


  parent reply	other threads:[~2026-03-11 20:15 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 ` Stefan Schantl [this message]
2026-03-11 21:32   ` ids.cgi: Exception list changes display order and something more Matthias Fischer

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=16f03db1ffd0d60876e94c180f350d23df144853.camel@ipfire.org \
    --to=stefan.schantl@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