2 Issues after update to 25.1

Started by RayonRa, January 29, 2025, 09:15:39 PM

Previous topic - Next topic
January 29, 2025, 09:15:39 PM Last Edit: January 31, 2025, 01:04:15 AM by RayonRa
Hi,
today i update from 24.7.12 to 25.1.
2 issues:

1. MTU
I have the primary WAN in DHCP (i have a public IP from ISP via DHCP) with 1492 MTU (if i set 1500 i have some trouble, and device behind firewall can't reach some sites).
On 24.7.12 everything works.
On 25.1 seems that this parameter doesn't work.
I have issue reaching some site like i have with 1500 MTU.
I also tried decrease in some steps until i reach 1460, but nothing works.
Restore to 24.7.12 snapshot and everything works again.

Issue opened: https://github.com/opnsense/core/issues/8270

2. CrowdSec
With 25.1 seems that nothing is blocked.
I have't time for more investigation about this issue.
Without MTU working i'm unable to test other features.

Thanks.

CrowdSec had problems with Appsec enabled since 24.7.12
Can workaround by reverting or removing appsec collections. But I didn't find a solution to fix the root cause.

Quote from: Eisai on January 29, 2025, 10:18:41 PMCrowdSec had problems with Appsec enabled since 24.7.12
Can workaround by reverting or removing appsec collections. But I didn't find a solution to fix the root cause.

Hi, in my case, i don't have AppSec collections.

January 29, 2025, 10:51:49 PM #3 Last Edit: January 29, 2025, 10:53:51 PM by julsssark
Crowdsec blocks haven't appeared in my logs since I upgraded to 25.1 from 24.7.12. I also watched the live view for a few minutes and didn't see a block. I am not using Appsec (don't even know what it is).

Quote from: julsssark on January 29, 2025, 10:51:49 PMCrowdsec blocks haven't appeared in my logs since I upgraded to 25.1 from 24.7.12. I also watched the live view for a few minutes and didn't see a block. I am not using Appsec (don't even know what it is).

Yes exactly!

I opened an issue on Github for Crowdsec:

https://github.com/opnsense/plugins/issues/4511

I just saw an alert for a banned IP, so it may be that the blocks are still happening, but the logging is broken. I'm not familiar enough with how CrowdSec works to know.

It would appear that the blocks are not happening by the 'extra auto rule'

Test:
I created my own Crowdsec block rules and it is now showing Incoming Blocks on my New Rule

If I understand that right since it matched my new rule and not the 'extra auto rule' that is still listed above (but does not appear to work), then my rule blocked it, not the 'auto' rule.

I have for some time had an 'outgoing' block on the Crowdsec lists, now I also have incoming manual rules - does anyone know where we should submit/escalate the issue/bug?

See my post directly above yours :)

February 01, 2025, 10:15:01 PM #8 Last Edit: February 01, 2025, 10:16:57 PM by notspam
My issue is gone by patching 83975b5.
The opnsense team should build a 25.1_1 release with this patch for avoiding others have the issue after the upgrade to 25.1.

https://github.com/opnsense/src/issues/235

# opnsense-patch 83975b5
# /usr/local/etc/rc.filter_configure




Quote from: notspam on February 01, 2025, 10:15:01 PMMy issue is gone by patching 83975b5.
The opnsense team should build a 25.1_1 release with this patch for avoiding others have the issue after the upgrade to 25.1.

https://github.com/opnsense/src/issues/235

# opnsense-patch 83975b5
# /usr/local/etc/rc.filter_configure

Thanks @notspam for your feedback,
as i wrote on GitHub (l0rdg3x), i'll test this this patch tomorrow and report back to Franco.
i'm pretty sure that patch will fix the issue also on my firewall.

The patch has worked for me.
Thanks all.

February 02, 2025, 01:27:00 AM #11 Last Edit: February 02, 2025, 01:50:44 AM by RayonRa
Hi,
i just tested the patch.
Initially it doesn't work.
But after a reboot everything start working.

https://github.com/opnsense/src/issues/235#issuecomment-2629176435

Well now must wait for CrowdSec fix for this issue: https://github.com/opnsense/plugins/issues/4511