LuLu icon indicating copy to clipboard operation
LuLu copied to clipboard

LuLu causing protocol errors in MacOS Sequoia?

Open jguerin opened this issue 1 year ago β€’ 34 comments
trafficstars

I'm on MacOS 15.0 Beta (24A5320a) with LuLu 2.6.3 and I keep finding that I'm getting SSL protocol errors if LuLu is running, but none if I disable. Is this a known issue?

jguerin avatar Aug 23 '24 02:08 jguerin

The same issue appeared on 15.0 Beta(24A5327a)

xiaoxchou avatar Aug 27 '24 08:08 xiaoxchou

It's common that 3rd-party software has issues in the new OS betas, as generally the OS betas themselves have myriad of issues. As such I usually hold off testing until the betas reach the RC stage (especially as LuLu is running fine on the previous version of macOS).

objective-see avatar Aug 27 '24 20:08 objective-see

@objective-see There's an understanding that this build is the final before RC gets released, so I wouldn't expect too many more changes?

jguerin avatar Aug 27 '24 21:08 jguerin

I am now on the RC and am still observing lots of network performance issues and SSL protocol errors when LuLu is enabled, and the symptoms disappear if I disable the extension. Let me know if I can grab more logs or traces to help troubleshoot.

Note that this also appears to be an issue with Defender's network filter - I need to also disable that to address network issues.

jguerin avatar Sep 10 '24 01:09 jguerin

I'm also on RC 15.0 (24A335) right now, and the only networking issues I've found so far are with Slack huddles stability. Disabling lulu solves the issues.

alcortazzo avatar Sep 10 '24 07:09 alcortazzo

I can confirm the same problem, lost connections while using ssh or using rdp.

With ssh i get after a few minutes the following error since macOS 15: Bildschirmfoto 2024-09-10 um 19 07 03

Everything is working as it should if the lulu extension is disabled.

wastez avatar Sep 10 '24 17:09 wastez

Also experiencing issues across most applications with LuLu running on 15RC. The only thing that works reliably is Microsoft Remote Desktop accessing a local network host. Otherwise there are issues with all browsers, VMware Horizon Client, Samba, SSH, Teams, etc with LuLu running.

dcb-l avatar Sep 13 '24 01:09 dcb-l

@objective-see any schedules on releasing an update on those issues once final release of Sequoia is out ?

AkimoA avatar Sep 16 '24 16:09 AkimoA

@objective-see Yes would be good because RC is for 99% the final release, so no beta problem. And little snitch also has no issues.

wastez avatar Sep 16 '24 16:09 wastez

I started facing this issue as soon as I upgraded to the public release of MacOS Sequoia.

nimishck avatar Sep 17 '24 20:09 nimishck

Thanks for feedback and info on this πŸ™πŸ½

If any of you have any relevant log message (either from the system log, or from lulu's log (which can be streamed via: log stream --level debug --predicate="subsystem='com.objective-see.lulu'") and could share those here, that would be super helpful.

Also, are there any other system extensions installed? (View installed extensions via: systemextensionsctl list)

Digging into this more, but as everything seemed to be working fine on macOS 14.*, a bit tough to know where to dig! 😟

objective-see avatar Sep 17 '24 20:09 objective-see

I did not see anything in the log at the time the SSH connection was dropped.

Here's the error I get on the SSH side in iTerm:

Bad packet length 2860171220.
ssh_dispatch_run_fatal: Connection to <IP-Address> port 22: Connection corrupted

It seems like LuLu is interfering with the encrypted packets in some way. When LuLu is disabled, this error does not occur. With LuLu running, the SSH connection does not last for more than 30 seconds or so. The issue seems to be worse with SSH proxy connections using the ssh -J option.

Other than LuLu, I have the iTop VPN extension. But that is disabled.

nimishck avatar Sep 17 '24 20:09 nimishck

The problem seems to be related to the internal firewall of sequoia.

Just disable the internal firewall until apple will fix that.

The problem happens too without lulu. (But it is a lot rarer) A normal user would not get it but related to my work i'm connected to ssh the hole day.

wastez avatar Sep 17 '24 20:09 wastez

Yeah, the issue happens with Defender's network filter too. I'm updating to MacOS 15.1 Beta, so will report back if it still happens, then try disabling the firwall.

jguerin avatar Sep 17 '24 21:09 jguerin

MacOS 15.1 Beta 4. Firewall, LuLu and Defender network filters enabled, have yet to see a network glitch. image image

Must've been an OS bug. Will leave this open for others to confirm.

jguerin avatar Sep 18 '24 00:09 jguerin

The problem seems to be related to the internal firewall of sequoia.

Just disable the internal firewall until apple will fix that.

The problem happens too without lulu. (But it is a lot rarer) A normal user would not get it but related to my work i'm connected to ssh the hole day.

I can confirm that after enabling Lulu and disabling the internal firewall, everything seems to be working fine.

alcortazzo avatar Sep 18 '24 07:09 alcortazzo

I can also confirm that the issues are gone after deactivating the internal firewall.

peterneutron avatar Sep 18 '24 16:09 peterneutron

This has now been confirmed, to yes, be due to an Apple bug in macOS 15, that is widely impacting many 3rd-party security tools, that then in turn causes macOS networking to break.

This has been reported to Apple (and was so before macOS 15 was released), who have now confirmed the issue and are hopefully working on a fix.

More info: "Apple’s new macOS Sequoia update is breaking some cybersecurity tools"

objective-see avatar Sep 19 '24 20:09 objective-see

Yeah, I think that someone from my company tried to report it, but as you highlighted in your Twitter post, Apple isn't super responsive to these kinds of feedback, even when coming from large IT companies.

jguerin avatar Sep 19 '24 20:09 jguerin

Disabled lulu, networking working again.

usmajeed avatar Sep 21 '24 23:09 usmajeed

I'm on the latest 15.1 Beta with firewall and all network filters enabled and am no longer experiencing network issues.

jguerin avatar Sep 24 '24 22:09 jguerin

I'm having issues too.. Mainly with connection & transferring file to my NAS.. So what to do in the meanwhile? should I disable LuLu only? macOS firewall only? both?

yakirlog avatar Oct 01 '24 13:10 yakirlog

@yakirlog you can either disable the macOS firewall (which blocks incoming connections), or LuLu (which blocks unauthorized outgoing connections).

objective-see avatar Oct 01 '24 14:10 objective-see

@objective-see Also if lulu is disabled it can also happen. (much less often but still happening)

wastez avatar Oct 01 '24 14:10 wastez

@yakirlog ah good to know, and makes sense as its yes, a macOS bug. In that case, seems like disabling the internal firewall is the way to go. Good news is, macOS 15.1 should be out shortly with fixes from Apple 🀞🏽

objective-see avatar Oct 01 '24 14:10 objective-see

I have been encountering the same problem since I updated. I tried the beta, but contrary to other posts, it does not seem resolved - though it does seem potentially less frequent.

I watch a lot of Twitch, and it shows up as streaming video interruptions and chat disconnections. Disabling Lulu does seem to clear it up.

(2020 M1 Macbook Pro for what it's worth - first gen apple silicon)

myndzi avatar Oct 02 '24 00:10 myndzi

macOS 15.0.1 out today with a fix that "Improves compatibility with third-party security software".

reedloden avatar Oct 04 '24 00:10 reedloden

macOS 15.0.1 out today with a fix that "Improves compatibility with third-party security software".

I'm still seeing this on macOS 15.0.1 (arm64) with LuLu 2.6.3. :(

It's easy to reproduce: just SSH into a remote machine and run top until the connection gets corrupted:

Bad packet length 2202000445.
ssh_dispatch_run_fatal: Connection to XYZ port 22: Connection corrupted

jpap avatar Oct 04 '24 07:10 jpap

Seems like Apple is on a roll recently, between this and all the updates they pulled that ended up bricking Watches and M4 iPads.

peterneutron avatar Oct 04 '24 07:10 peterneutron

It seemed possibly to be worse when my computer was under load, so I wonder if it's something similar to like, dropping frames in a game when you can't do the work in time. Except the work here is ... ???

Since it seems to affect network filters, I could potentially see it like a timeout waiting for the filter to complete its work. But if it's actually corrupting the network data stream, then I'd be more concerned it's actually a potential security problem, a buffer getting overwritten/mangled or something like that

myndzi avatar Oct 04 '24 08:10 myndzi