Better HN
topnewbestaskshowjobs
Log inSign up

LinuxBender

57,650 karma · joined Jun 16, 2015 (11y ago) · 19,241 submissions

I am not for everyone. To ignore me in uBlock Origin, add to "My filters":

   news.ycombinator.com##tr.athing.comtr:has(a.hnuser):has-text(/\bLinuxBender\b/)
For HN usage questions see https://github.com/minimaxir/hacker-news-undocumented for HN tips (not my repo)

    (\_/)
    (='.'=)
    (")_(")
Submissions

comment 4y ago · link · parent

Reasonable Linux distro that balances security, privacy and usability?

I would interpret that as a Linux distribution that is kept up to date, is easy to configure, does not have dial-home cruft and has decent documentation. This is just my own take but opinions will vary wildly for everything I will add here.

- Kept up to date would be all the popular distributions that are not niche focused such as the security/privacy distro's that you mentioned. They have a small user base and do not has as regular of a cadence of updates. So Arch, Alpine, Alma, Debian, CentOS/Redhat, Fedora, QubesOS, Rocky, Void, Ubuntu. Fedora and Ubuntu will have the most recent a.k.a. bleeding edge versions of upstream packages but most of the distributions are not far behind. The oldest and most battle hardened versions of software would be on CentOS/RHEL with back-ported bug and security fixes. I intentionally left out Gentoo and LinuxFromScratch as those are for people that love tinkering and troubleshooting.

- Not dialing home is devolving by the day but Alpine, Alma, Arch, Debian, CentOS, Qubues, Rocky, Void are not chatty. Fedora recently started dialing home quite heavily for desktop users and even mimic some Microsoft behavior in the latest Beta. Hopefully they will turn this off after Beta because blocking it breaks the desktop. Ubuntu had a few mis-steps in this area in the past but I do not know if Canonical curtailed the dialing home, this was some time ago. Something to keep an eye on in this area is systemd-resolvd as this is evolving and has the potential to get leaky but that is a topic in and of itself.

- Arch has incredible documentation. They are an outlier in this area. Behind them I would place Debian, CentOS, Fedora and Ubuntu. The others have hit-or-miss documentation that sometimes requires a search engine to fill the gaps, especially as it pertains to real world examples.

- Easiest to configure would be Ubuntu as it had heavy adoption early on by many developers, followed by Fedora. Both have a myriad of example configurations in their documentation and endless examples on StackExchange, Serverfault, etc...

Again, just my own opinions. I tried to not be biased. I am a pragmatic minimalist and do not like shiny or trendy things. I personally prefer Void and Qubes for desktop and Alpine for VM's, Routers, Firewalls, etc... Qubes should have a decent amount of memory, maybe 32GB+. Both have some minor annoyances that would frustrate people new to Linux. All of the popular distributions can be locked down to be less chatty using outbound firewall rules with the iptables "owner" module with exception to Fedora's Beta.

If you want to go beyond user-based+port-based rules then there is an open source project called OpenSnitch that mimics the behavior of LittleSnitch (mac). [1] Blocking the chatty behavior of Fedora will break it, especially their admin sub-domain. It is equivalent to Microsofts access sub-domain used heavily be the Home edition.

Beyond the basic hardening of an OS if one wanted to really lock things down and assuming they understand Linux networking principals, then QubesOS + a custom Firewall VM clone + Custom Whonix VM clone has the potential to leak the least data but this assumes that one already greatly understands networking, linux, all the internet services. There are no turn-key solutions for this that fill knowledge gaps, despite there being several that claim to do so. If going down this path, I suggest using a spare machine that you would not mind blowing away and re-configuring VM's as a matter of a learning exercise.

Reducing chatty'ness of user-space applications like Firefox would be user.js [2] and controlling what those applications can see or not see would be firejail available in some distro repos. [3]

Additional hardening can be implemented using one of the five security modules in the Linux kernel, with the most common being AppArmor and SELinux but one must really learn how these work to get the most out of them. Most applications in a Linux distro have existing MAC rules. Custom applications would need custom MAC rules to secure them. The default rules in AppArmor and SELinux are designed for a balance of security and usability rather than security+privacy.

All of the distributions can be stripped down to be as lean as you want.

[1] - https://github.com/evilsocket/opensnitch

[2] - https://github.com/arkenfox/user.js

[3] - https://github.com/netblue30/firejail

8672.

In a First, U.N. Climate Summit Will Discuss Climate Reparations(subscriber.politicopro.com ↗)

2 points · by LinuxBender · 4y ago · 2 comments

8673.

Can confidential computing stop the next crypto heist?(theregister.com ↗)

1 points · by LinuxBender · 4y ago · discuss

8674.

Breached health insurer won't pay ransom to protect customers warns more attacks(theregister.com ↗)

2 points · by LinuxBender · 4y ago · discuss

8675.

DOE supercomputing centers get $1.5B boost from Biden administration(theregister.com ↗)

1 points · by LinuxBender · 4y ago · discuss

comment 4y ago · link · parent

You are right the decent high retention + SSL NNTP providers cost at least $6/mo [0]. There are some free ones [1] but I have never tried them. I've heard they are sometimes slow and lack SSL. I liked the speed of Giganews for binaries but had problems canceling my account and had to call someone.

[0] - https://www.techradar.com/best/best-usenet-providers

[1] - https://teddit.zaggy.nl/r/usenet/comments/6l8h82/free_usenet...

8677.

Chinese chip designers slow down processors to dodge US sanctions(ft.com ↗)

2 points · by Bender · 4y ago · 2 comments

8678.

Catching a falling rocket with a helicopter more complex than it sounds(theregister.com ↗)

2 points · by LinuxBender · 4y ago · 2 comments

comment 4y ago · link · parent

I could be wrong but isn't this just for Pro and Enterprise editions and not the Home edition? I ask because most systems preloaded with Windows have the home edition.

comment 4y ago · link · parent

Nice, I had not see that option before. Another method that stops some phoning home and can remove some cruft is O&O's ShutUp10 freeware [1]. There are powershell scripts that do all the same things but this has a happy-clicky GUI that prompts the person to make a restore-point and displays which options are known to work, which may have limited efficacy and which are unlikely to work after updates. It will also show what has changed since the last time it was run. i.e. after OS updates

[1] - https://www.oo-software.com/en/shutup10

comment 4y ago · link · parent

He mentions in that thread buying Youtube. Would Google/Alphabet part out Youtube? He also mentions bringing back dislikes. They never actually went away, but now an addon is required to view them. [1] It looks like that addon shares youtube usage data with another domain.

[Edit] - Seems I am referencing fake tweets, which is a relief.

[1] - https://addons.mozilla.org/en-US/firefox/addon/return-youtub...

comment 4y ago · link · parent

Similar to pwg, I have not borrowed software for upwards of 30 years. There are great open source and free alternatives to most commercial software intended for personal use.

I could envision one day that people may need to borrow movies and/or music if and when the streaming services revert back to the cable-tv models from the days of yore and/or if streaming services start taking away content people have paid for from their purchased catalogue and/or if too many movies or songs get cancelled.

comment 4y ago · link · parent

Not sure how common this is but I recall that Larry Ellison Oracle took it a step further and has emitters on his cars and sensors on his home that tell the help to vanish by the time he shows up.

8684.

Elon Musk's New Interview with Ron Baron [video](youtube.com ↗)

8 points · by LinuxBender · 4y ago · discuss

comment 4y ago · link · parent

Asking to speak to a manager regardless of industry is part of the expected process. A manager should be alerted to problems and determine what if anything needs to be done.

Is it rude

Rudeness has more to do with how the message is conveyed. If being tactful, professional, without emotion and stating only facts and observations, then I would suggest it is not rude.

8686.

Ancient viral DNA in human genome guards against infections(sciencedaily.com ↗)

2 points · by LinuxBender · 4y ago · discuss

8687.

The Mysteries of the Astronaut Biome(undark.org ↗)

1 points · by LinuxBender · 4y ago · discuss

8688.

Linode Network Issue in Dallas(status.linode.com ↗)

2 points · by LinuxBender · 4y ago · discuss

8689.

IceCube neutrino analysis pegs possible galactic source for cosmic rays(arstechnica.com ↗)

4 points · by LinuxBender · 4y ago · 2 comments

8690.

Algorithms quietly run the city of DC–and maybe your hometown(wired.com ↗)

8 points · by LinuxBender · 4y ago · discuss

8691.

Putin signs law to mobilize Russian citizens convicted of serious crimes(lite.cnn.com ↗)

6 points · by Bender · 4y ago · 1 comment

comment 4y ago · link · parent

Well, not 280 character specifically, but I can deploy a myriad of forums and image/text boards in minutes. I suppose in the config file I could limit text posts to 280 characters but I would rather leave it a bit bigger.

Forums can be federated on the backend with database replication or LDAP which is also basically database replication. I suppose tooling could be created to manage LDAP branches so that people could replicate sub-sets of data read-only and some sub-sets read-write. I know I just made some admins heave a bit. Using one of the now-sanctioned Russian forks of OpenLDAP ReOpenLDAP [1] the federation could scale to several million users so at some point that code would have to evolve again to reach Twitter scale. What is their active user count?

Some IRC daemons can also use LDAP for identity. No idea if Matrix can support LDAP.

[1] - https://abf.io/erthink/ReOpenLDAP

comment 4y ago · link · parent

I believe (dang feel free to correct me) some of what you are seeing are bots. They might be OK with only those with showdead seeing the links or to your point might not have bothered to check what sites have blocked them unless they get a status 403.

For example, on my silly hobby sites I provide all bots a status 200 for all GET and POST requests and just send them to a dummy virtual host to let them play in the sandbox for years on end. If they even once looked at the output they would see my silly ASCII art.

Some may be curious about search engines, but since I only allow HTTP/2.0, only bing can even connect with my site and robots.txt tells them to go away.

In NGinx:

    error_page 404 500 501 502 503 504 =200 /ram/e.txt;
e.txt is just ASCII art in a tmpfs ram disk.

comment 4y ago · link · parent

This is a good write-up and I like the diagrams. What appears to still be notably missing from eBPF is an "off switch". AFAIK there are still no kernel boot time commands [0] to disable eBPF entirely. I have to recompile the kernel to disable it and it is known that most people will not do this.

eBPF has the potential for file-less malware to run hidden from detection and I foresee the ability to tickle ring -3 (and -4?) CPU within CPU functions while bypassing local firewalls.

Here is some example code of what people already know how to do today and this list will grow as people discover more capabilities. [1][2][3][4][5][6] These do require some privileges to insert but will remain running and hidden until reboot. Privilege escalation today is easier than ever with the growing misuse and poor configurations of sudo as well as the growing number of suid/setcap binaries. A common argument I get is "Well if someone ... then its game over". They are not entirely wrong, but I do not want yet another file-less anti-forensics vector that risks Linux being forbidden in secure zones nor do I want to play whack-a-mole using commercial tools like sysdig or complex tools people avoid like SELinux to try to fight this stuff.

[0] - https://www.kernel.org/doc/html/latest/admin-guide/kernel-pa...

[1] - https://github.com/citronneur/pamspy

[2] - https://github.com/h3xduck/TripleCross

[3] - https://github.com/krisnova/boopkit

[4] - https://github.com/pathtofile/bad-bpf

[5] - https://doublepulsar.com/bpfdoor-an-active-chinese-global-su...

[6] - https://blog.doyensec.com/2022/10/11/ebpf-bypass-security-mo...

comment 4y ago · link · parent

Try turning airplane mode on/off, and/or disable wifi. You wont be able to load the site by IP either way. Also completely exit/terminate the fastmail app before doing any of this.

comment 4y ago · link · parent

Perhaps your mail client cached the ipv4 and ipv6 when you were at home and your client is preferring ipv6. Try looking up the method to flush DNS cache for your make/model of phone and see if that helps. Perhaps a power-cycle would suffice.

comment 4y ago · link · parent

Not a lawyer but I would not expect that to result in the judge seeing that as anything other than contempt unless a lawyer could prove insanity. Either way you should not claim anything, let the lawyers do the talking.

comment 4y ago · link · parent

Both HTTPS and IMAPS work fine for me. HTTPS is also reachable from Qualys [1] and SecurityHeaders [2].

What IP's do you get when you look up www.fastmail.com? Does it match the DNS propagation checker? [3]

Here is the TLS fingerprint I get from port 25:

    openssl s_client -starttls smtp -crlf -connect in1-smtp.messagingengine.com:25 < /dev/null 2>/dev/null | openssl x509 -fingerprint -noout -in /dev/stdin
    SHA1 Fingerprint=6D:6E:C5:04:28:7D:10:3D:AD:FC:92:1B:84:64:7F:86:D3:05:87:27
[1] - https://www.ssllabs.com/ssltest/analyze.html?d=fastmail.com&...

[2] - https://securityheaders.com/?q=https%3A%2F%2Fwww.fastmail.co...

[3] - https://www.whatsmydns.net/?#A/www.fastmail.com

comment 4y ago · link · parent

I'm not a business expert but in my opinion Twitter would have to offer more compelling services that people would feel inclined to sign up for. A checkmark alone will just get the people that value the checkmark and a 50% reduction in ads. When anyone can get a blue checkmark it will lose some its perceived value.

Perhaps there should be a poll to see how many find the checkmark compelling enough alone to subscribe.

1
289290291
642