Readit News logoReadit News
frankjr · 6 years ago
This is good news. Moving to the Network Extension framework means that Little Snitch's filtering will run entirely in user space, which is not only great for security but it will also allow the code to be written in a higher level language such as Swift.
emmelaich · 6 years ago
> great for security

That depends doesn't it? You'll be safe from Little Snitch but Little Snitch will have less power to protect you.

keehun · 6 years ago
That's not necessarily true. The article mentions this. While ObDev still doesn't have all the APIs necessary to implement all the features of Little Snitch using NetworkExtensions, they are working on it with Apple and feature-parity is not expected to be an issue for the 10.16 release.
CameronNemo · 6 years ago
What if that has an impact on performance? Kernel-user space communication usually means copying data into different portions of memory, plus a context switch.
GeekyBear · 6 years ago
Windows moved basic graphics driver functionality to user space many, many years ago. (Windows Vista)

>Badly written device drivers can cause severe damage to a system (e.g., BSoD and data corruption) since all standard drivers have high privileges when accessing the kernel directly. The User-Mode Driver Framework insulates the kernel from the problems of direct driver access, instead providing a new class of driver with a dedicated application programming interface at the user level of interrupts and memory management.

If an error occurs, the new framework allows for an immediate driver restart without impacting the system.

https://en.m.wikipedia.org/wiki/User-Mode_Driver_Framework

Has Windows suffered from this change or has the added stability of having a graphics stack capable of restarting itself on error instead of blue screening the entire machine been a good thing?

ancarda · 6 years ago
We shouldn't ever trade security for performance. Doing that is how Microsoft ended up putting shit like font rendering into the kernel. Made Windows very fast, but made it so much worse when a bug was found.
gok · 6 years ago
The whole point of this application is that the information is bounced to user space.
m463 · 6 years ago
no.

Apple will just slowly write itself into the equation so that little snitch can no longer mess with whatever muddled idea apple seems to think is important.

Already with Catalina you have to connect to apple and ask permission before you can even install little snitch. That means little snitch can't protect you from apple, even if you've told apple "my machine doesn't connect to the internet".

And your machine contacts apple every bit as often as microsoft machines even though their philosophy is supposed to be different.

bottom line: you should not have to ask apple permission to do anything with your machine.

firstbabylonian · 6 years ago
Apple has no reason to care about UNIX philosophy at this point at this point though, do they?
brianpgordon · 6 years ago
It may be a technically superior API but even so I'm not thrilled that if I want to stay current with MacOS updates past the phase-out period then I have to pay for a Little Snitch 5 license. v4 works fine for me and without this API deprecation issue I almost certainly wouldn't be interested in upgrading.
beckler · 6 years ago
Little Snitch 4 is a rather impressive piece of software. The map is my favorite part. It's not always accurate, but it's absolutely wild to see the places apps want to ship data off to.

Also if you interface directly to your WAN, you can see all the bots/worms/etc that try to connect to your IP. I got a surprising amount of netbios queries from Iran (I'm assuming from EternalBlue based malware trying to connect), but I highly recommend NOT doing this. It's the wild west outside your firewall.

qwerty456127 · 6 years ago
> It's the wild west outside your firewall.

You mean outside my $5 NAT WiFi router last updated 6 years ago (because the manufacturer won't maintain it any more and the ISP never gave me the admin password anyway)?

philjohn · 6 years ago
This right here is the very reason OpenWRT exists.

I never trust ISP provided equipment to do my routing, if I can't use it in modem mode (or provide my own modem) then a DMZ and port forwarding have to do ... but I'd sooner just choose another provider.

booi · 6 years ago
better than nothing... arguably...
0xff00ffee · 6 years ago
I use both Little Snitch and Micro Snitch.

The LS proxy completely overwhelmed me. I thought I could be savvy and limit traffic. Yeaaaaah no. Once I started observing what was actually flying around it's... it's just insanity how many requests are made in just a few seconds. What else can I do but throw up my hands and hope for the best? But I guess it won't matter soon.

malandrew · 6 years ago
Little Snitch definitely needs a social feature where you can crowdsource good rules from other people and see what rules are common within the communities for certain apps.
e40 · 6 years ago
This is precisely why I've never installed it, because I figure it would overwhelm me.

How does combo help you not be overwhelmed?

zomg · 6 years ago
I've been using Little Snitch since 2.0 and I agree, it's very impressive software. I had the same reaction to seeing the map features -- eye opening to say the least and a very, very interesting feature!
tomc1985 · 6 years ago
It's kind of peaceful watching attacks crash against your webserver/firewall, like waves at shore.
odysseus · 6 years ago
I'd like to see a similar map built into pihole. Seems like a natural fit. This way you could get a map for connections made by various apps on your phone too.
microtonal · 6 years ago
Background: Apple is abolishing (third-party) kernel extension to increase security:

https://developer.apple.com/system-extensions/

0xff00ffee · 6 years ago
I always felt a little queasy installing a .kext from some random foreign-language websites (be it FTDI, or Alfa drivers, or even RealTek updates). I can feel the bias in me, "Oh no, this must be bad because it's foreign," which is absurd, but I still shouldn't be asked to sudo something when I buy offbrand hardware.
mambodog · 6 years ago
You're right, Scottish English does seem like a foreign language sometimes...

https://en.wikipedia.org/wiki/FTDI

hs86 · 6 years ago
If they keep all third parties out of their kernel, could this ease a possible x86-to-ARM transition?
flqn · 6 years ago
Potentially, though there are other solutions that could be used. There was a product they used a while back during the transition to x86 architecture that did code translation, for example. https://en.m.wikipedia.org/wiki/QuickTransit
internalthief · 6 years ago
Yes, absolutely.
riazrizvi · 6 years ago
And Apple takes another step closer toward a proprietary OS away from UNIX. Perhaps 10.16 will lose certification [1].

[1] https://www.opengroup.org/openbrand/register/

EDIT: I can't find anything that references kernel extensions in the conformance [2] section of the spec, so maybe 10.16 will adhere to the UNIX03 standard after all.

[2] https://pubs.opengroup.org/onlinepubs/009695399/

TazeTSchnitzel · 6 years ago
POSIX does not standardise kernel extensions. You can't use Linux kernel extensions on other OSes for example.
pjmlp · 6 years ago
QNX is also a certified UNIX for embedded deployment, yet it is a micro-kernel OS.

https://blackberry.qnx.com/en/resource-center/qnx-certificat...

UNIX certification doesn't say anything about how a kernel should be implemented, or what kind of driver architecture is used.

loeg · 6 years ago
Anyone can buy UNIX certification. It just means you set fire to an appropriately sized bundle of cash. In return you get a nice sticker from the trademark holder. It is not especially meaningful.
gumby · 6 years ago
There are so many people using it at Apple that I can't imagine LS5 not working on 10.16 when it ships to the general public.
mroche · 6 years ago
From the very end of the article:

> When will Little Snitch be updated to the new APIs?

> The replacements APIs that are currently available (NetworkExtension framework on macOS 10.15.4) are not yet completely sufficient to implement the full functionality of Little Snitch. But we are working closely with Apple to fill the remaining gaps and we expect that a beta version of macOS 10.16 (most likely available at the next WWDC) or even an upcoming version of 10.15 will provide what is missing. As soon as the APIs allow us, we will complete the transition of Little Snitch to the new NetworkExtension API. It’s our goal to provide a public beta in June 2020 and a stable version in October.

If they can (and Apple) can keep to that timeline, I expect they will.

jayrhynas · 6 years ago
"we are working closely with Apple to fill the remaining gaps" - definitely sounds like it. I think Apple has made the right call tightening security around kernel extensions but I'm glad they're working with 3rd party developers (even if it's only big ones) to ensure the functionality is still there. They also mentioned the existing version will still work, it will just need to be explicitly enabled.
perplex · 6 years ago
> Yes. We are going to release an update of Little Snitch that will be compatible with macOS 10.16.

At least a future version of LS will work with 10.16.

bredren · 6 years ago
I hope this goes over better than the Sign in with Apple deadline that was attempted. That seemed like a pretty big flop.
saagarjha · 6 years ago
Sign in with Apple can't be a flop; it's required to pass app review.
greendave · 6 years ago
Apple has really done a 180 degree turn from back in the early OS X days, when they actually did quite a bit of work to keep existing applications functional. Forget binary compatibility, now even existing APIs are disappearing left and right.
bognition · 6 years ago
That makes sense right though. 15 years ago the number of people using OSX was a fraction of what it is today. They had to be very protective of that customer base.

Now the install base is huge and the threats are different.

outworlder · 6 years ago
> Now the install base is huge and the threats are different.

Counterpoint: Microsoft's install base is enormous and has been for decades. They very very rarely intentionally break backwards compatibility.

pjmlp · 6 years ago
During the early OS X days Apple was battling for survival, the were pretty much like this during the Mac OS days.

Plus it isn't like they aren't providing an upgrade path.

jfkebwjsbx · 6 years ago
Well, for many things they aren't providing anything: 32-bit (already yanked) and OpenGL (soon).
tambourine_man · 6 years ago
What worries me about this move from Apple is that it may stifle creativity on the platform.

Apple is working closely with Little Snitch to provide them with APIs with the features they need. Fine.

But would Little Snitch exist if there were no Kernel Extensions?

m463 · 6 years ago
They've been taking that direction for years.

"Here's to the crazy ones..." Oh wait, there are none left.

hyperbovine · 6 years ago
Yes? Clearly the market is there. And writing kernel extensions is a major PITA. One benefit of working in user space is that you can (usually) do so in the language of your choosing. Little Snitch 0.0.1alpha would have been a lot easier to prototype in Swift than in C.
bspammer · 6 years ago
I believe GP is saying that if the transition to kernel extensions had happened before Little Snitch was written, then LS could never be written after that point because they wouldn't have the required leverage to get Apple to expose the API they need.

What if we'll be missing out on other groundbreaking future apps that need kernel space information to function?

leokennis · 6 years ago
Little Snitch also nicely shows how Google will make increasingly desperate attempts to invisibly update its software in the background.

It starts with a request to Google.com from Google Software Updater. But if you block that and the follow ups enough times, in the end it will even try curl’ing directly to IP’s...

Spivak · 6 years ago
Or it just assumes that name resolution is broken for some benign reason.
Zenbit_UX · 6 years ago
Exactly, that's just good programming.
hyperbovine · 6 years ago
People write exploits that target Google software. What would you like them to do?
djsumdog · 6 years ago
I guess it will be even more difficult to run Hackintoshes with 10.6
sudosysgen · 6 years ago
If you have hackintosh level access, you would be able to inject kexts anyways.
Wowfunhappy · 6 years ago
Exactly.

In the event that the entire concept of kernel extensions is removed (which seems unlikely), Hackintosh developers could just recompile the kernel. Or have the bootloader patch the kernel binary. (Fun fact: Clover already allows any user to do Find ==> Replace on aribitrary strings or hex sequences in the kernel.)

You can do this stuff on a real Mac too btw, as long as SIP is off.

Now, if Apple actually put a concerted effort into screwing Hackintosh users, they could probably kill the scene relatively easily. But, they don't seem interested in doing that. Their attitude since the initial Intel release of Tiger has seemingly been indifference.

arm · 6 years ago
(Small typo correction: 10.16, 10.6 is Snow Leopard).
Synaesthesia · 6 years ago
I think we will be able to go forward with custom kernels or some hack failing that.