You are not logged in.

#1 2022-02-07 08:58:12

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Firewall packets freezing computer

I have been experiencing freezes lately and investigating my journals a few times, I've observed that the freezes happens around the time my firewall UFW blocks an incoming packet from my router:

Jan 19 09:01:33 taichi-z270 kernel: [UFW BLOCK] IN=bond0 OUT= MAC=01:00:5e:00:00:01:e4:75:dc:37:fd:52:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=0 PROTO=2 
Jan 19 09:01:33 taichi-z270 kernel: [UFW BLOCK] IN=bond0 OUT= MAC=01:00:5e:00:00:01:e4:75:dc:37:fd:52:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=0 PROTO=2 

(The date is outdated but it's the same message I get from my journal in subsequent freezes.)
Is it possible to investigate what is being blocked? I
I just don't want to create an Allow rule without knowing what is being blocked.
Also can these blocked firewall packets freeze a running system?

Offline

#2 2022-02-22 00:13:22

iavalos
Member
Registered: 2022-02-22
Posts: 4

Re: Firewall packets freezing computer

First of all, describe the issue in a detailed way:
1. Does the system freeze entirely? Are you still able to switch to another TTY?
2. Does the system unfreeze after some minutes and then freezes again?

In my case:
1. Yes. No.
2.  Yes.

Try the following things:
1. Disable UFW temporarily. See if the issue persists.
2. Switch to an older kernel. See if the issue persists.
3. If you're on Wayland, switch to X11. See if the issue persists.
4. Identify the app or apps that are triggering the issue.

In my case:
1. The issue persisted.
2. The issue persisted.
3. The issue disappeared.
4. webkit2gtk-based browsers and Claws Mail.

Last edited by iavalos (2022-02-22 00:21:46)

Offline

#3 2022-02-22 23:36:44

iavalos
Member
Registered: 2022-02-22
Posts: 4

Re: Firewall packets freezing computer

The issue is Wayland, apparently. If I play music using mpd and Cantata, it continues playing during the freeze and I can control it remotely with my phone using KDE Connect. That would also explain why the freeze doesn't happen when using X11. The weird thing is that I can't switch to another TTY and the keyboard doesn't work, unless Wayland intercepts input devices while running.

Last edited by iavalos (2022-02-22 23:39:28)

Offline

#4 2022-02-25 03:45:07

iavalos
Member
Registered: 2022-02-22
Posts: 4

Re: Firewall packets freezing computer

I tried a different Wayland compositor, namely Weston, to see if I could still replicate the issue. Turns out everything works normally, no freezes. Which brings me to the conclusion that KDE Plasma is the one to blame.

Offline

#5 2022-02-28 03:24:22

iavalos
Member
Registered: 2022-02-22
Posts: 4

Re: Firewall packets freezing computer

Here's the bug report on the KDE bug tracker: https://bugs.kde.org/show_bug.cgi?id=450940

Offline

Board footer

Powered by FluxBB