[ home / overboard ] [ date ] [ soy / qa / raid / incel ] [ int / pol ] [ a / biz / fit / mtv / r9k / sude / tech / v / x ] [ q / news / chive / rules / pass / bans / status ] [ booru / wiki ]

A banner for soyjak.party

/tech/ - Soyence and Technology

Download more RAM for your Mac here
Catalog
Email
Subject
Comment
File
Password (For file deletion.)

File: images (13).jpeg 📥︎ (17.34 KB, 541x566) ImgOps

 â„–46900[Quote]

The best GNU/Linux distro is Gentoo. You can deblob the kernel via sys-kernel/gentoo-sources, works just fine, Portage is a beast, so in other words, if you're installing a userland app over terminal/foot (if using sway, which I prefer) and it comes with at least one nonfree blob, it'll refuse the whole package. Even linux-libre can't do that by itself. Gentoo also comes with nonfree packages upon setup, but you can use ACCEPT_LICENSE="-* @FSF-APPROVEDFSF-APPROVEDFSF-APPROVEDFSF-APPROVED @FSF-APPROVED-OTHER" and that'll get rid of any BS it comes with for compatibility. You can also select a hardened profile to add security layers + secure the bootchain. And it can be used with openrc + sysvinit unlike Ubuntu/Trisquel which don't allow you to disable systemd.

For a distro that works out the box? Debian/Devuan. It also enables linux-libre and removal of systemd (Devuan comes with openrc/sysvinit/runit by default, and it only takes 5 minutes to libre the kernel + good security features at the OS-level). I prefer Devuan because deblobbing the kernel only takes 5 minutes instead of having to spend more time purging systemd.
The only thing about Gentoo that you really need to know is that hardened profiles and full features only work on the x86-64 instructionset. Then you can use full GNU userland (glibc) instead of having to strip it down and use musl and have to accept compatibility and security tradeoffs. Get a Topton X2E N150 x86-64 SBC w/ Intel ME telemetry disabled via Libreboot, then turn it into a cyberdeck via adding keyboard + mouse from MNT Reform, use a Phison E13T/E19T or a Silicon Motion SM2263XT SSD, an AR9280/AR9285/AR9380/AR5B22 Atheros card via mPCIe slot, add 2.4/5 GHz wifi antennas and U.FL to RP-SMA cables, allowing the antennas to stick out the 3D printed plastic display case (say, transparent purple), or use a Quectel EG25-G Cat 4 4G LTE cell modem w/ multi-band support and SIM card popped into the slot (use T-Mobile or AT&T over Straight Talk because it's cheaper and avoid Verizon), w/ SMA cables and antennas, use a ThinkPenguin CSR8510 USB-A Bluetooth USB dongle, and pair it with a JLab Go Work Wireless On-Ear Headset. Gentoo runs like a charm on this SBC. Then just add brackets/hinges from a MNT Reform mini-laptop, add an IP2368 board and BMS w/ 4S 3.65V LiFePO4 pack and type C charger for the IP2368 (use 100W brick). Then just add a Waveshare 7inch HDMI IPS display and you're done! Will also need buckboost converters on the SBC board too to regulate it. And a 40mm or 50mm low-noise PWM fan. May also need to CNC or 3D print heatsink protections in the case. Will also need a Raspberry Pi Pico running serprog to flash libreboot first before inserting USB flash drive.

Also, for emails, use hardened mutt or neomutt inside of terminal instead of Thunderbird (bloated, non-GNU licensed software) or Roundcube (a browser based webmail client), so you can view all your VPS hosted emails for your domain (use FlokiNet/MyNymBox/incognet and a .st ccTLD if you're doing shady stuff and pay in XMR after buying bitcoin with a bank debit card, Visa/Mastercard only like from AllSouth and non-prepaid over Coinbase, must know your social security number and use a GSM-only phone number for registration, not VoIP like Textnow/Google Voice and not landline, also the name on your account must match the name on the card, then use Haveno/RetoSwap/Bisq over Tor to trade BTC for XMR using a Bitcoin Core wallet interface for BTC with your keys stored on the Trezor Model T hardware USB bitcoin wallet, using monerod + monero-wallet-cli/gui and routing payments over Tor/I2P for XMR) all over terminal/foot instead of exposing your machine to attachment attacks so it all sits in plaintext. For website protection, don't use PHP and use Anti-DDoS Flood Protection and Firewall by Conor McKnight on Github, haproxy-protection + alonz22/haproxy-dashboard or your open source DDoS mitigation tool of choice.

 â„–46901[Quote]

Gentoo is even working on GNU/Hurd support.

https://wiki.gentoo.org/wiki/Project:Hurd

Pretty based. Linux is the kernel, but GNU is the userland. GNU launched in the 1980s as GNU's Not Unix, but they tried developing a kernel for their OS (Hurd) but they didn't have time to fully develop it until Linux arrived, so it became GNU/Linux, but Hurd wasn't abandoned, it's just obscure and unstable. Also, not all Linux is GNU. Android is based on the Linux kernel, but doesn't use glibc or other GNU components.
Gentoo is definitely daily driveable via binpkgs/binhost on Hardened OpenRC while still enforcing portages ACCEPT_LICENSE rules before a single byte is downloaded. You do not have to manually compile everything if you have tar.gz. Sway will let you customize it into a regular desktop w/ precompiled apps. It's not just a terminal, there's programs inside that text. You just need to launch it.
Not even Arch, Crux or Qubes have an equivalent to Portage. FreeBSD comes w/ pkg but Gentoo Portage enforces strict license filtering before downloading or building packages, whereas FreeBSD pkg has no built-in license-based download filter (license acceptance in FreeBSD is handled at build time in the Ports framework, not in the binary pkg client). Although Guix is great for reproducibility and license filtering (it uses the same FSF-approved list). However, its package management is slow, and its ecosystem is smaller. You lose some of the "beast" quality of Portage’s flexibility. That's why it's only second place. Debian’s security team is top-tier. Hardening profiles are easy to apply. You can block non-free packages, but on a binary-first OS, that's impossible to do perfectly like on Gentoo. Also, you can't specify FSF-APPROVED/OTHER only, so who's to say you might still pull in a proprietary dependency through an open source package because some other licenses aren't as strict.
People keep trying to act like Gentoo is scary. I mean maybe Crux or LFS, but Gentoo is well-supported, updated, maintained, compatible with everything, and runs smoothly, assuming your hardware isn't BS, but even if so, Gentoo supports musl and buildroot images (like SkiffOS which'll let you run multiple Docker containers over the Pinephone using different popular distros, including Gentoo). Which is why I only buy hardware that isn't BS (like the Thinkpad T430, the Topton X2E N150 SBC or the Star Labs Starlite Mk V tablet - all x86-64, all allow Coreboot/Libreboot/SeaBIOS/GNU GRUB/mainline GNU/Linux, the first two have mPCIe slots, with zero performance tradeoffs assuming you have the right hardware, and the first two also have SIM slots - the tablet you can plug into a N150 SBC repurposed into a bareboard deblobbed Hardened Gentoo router w/ openrc/sysvinit, only accepting FSF packages, and you only need five core packages on top of the hardened stage3 base:

net-misc/netifrc (Gentoo's native OpenRC network interface manager for WAN/LAN/bridge setup), net-firewall/nftables (clean, stateless/stateful packet filtering and NAT), net-dns/dnsmasq (DHCP server and local DNS caching/forwarding), net-wireless/hostapd (turns your ath9k mPCIe card into a hardware AP without needing NetworkManager or wpa_supplicant) and net-misc/chrony (NTP time sync for the LAN), and if you want OpenWrt-style tamper resistance on the router, you can mount / read-only in /etc/fstab (putting /var/log and /tmp in tmpfs RAM) and only remount / read-write when pushing binpkg security updates from your tablet, and w/ ath9k card popped into mPCIe slot w/ antennas/cable, hooked up to your Spectrum router via cat6 cable and PoE+ injector and splitter, and hooked up to your tablet via cat6 cable to an ASIX AX88179 cat6 ethernet to USB-A adapter that plugs into an IOGEAR 4-port USB-C to USB-A hub w/ power delivery that plugs into your tablet via type c port, and your USB-C tablet charger plugs into the IOGEAR to keep your tablet charged so you don't drain the battery, run Hardened Gentoo on the tablet also, no proprietary wifi radios, and that's basically it).

For making calls/SMS over cellular:

SMS: mmcli -m 0 messaging-create-sms="text='Hello',number='+1234567890'" then mmcli -s 0 send

Call: mmcli -m 0 voice-create-call="number='+1234567890'" then mmcli -o 0 start

 â„–46903[Quote]

>>46901
Also, make sure your modem enables VoLTE and check if IMS/VoLTE is active on your SIM.
Also, as for Openwrt, I prefer not to use it (libreCMC doesn't work on x86 and has limited hardware support - it's trash) because on a standard SquashFS OpenWrt image, the base SquashFS partition is read-only. If you delete a file inside /lib/firmware on a live system, OpenWrt's overlayfs hides it with a "whiteout" entry in the writable overlay rather than reclaiming the underlying SquashFS space. On a sysupgrade, the entire SquashFS root filesystem and kernel image are replaced from the new image, so any cleanup you do on a running router resets unless you bake it into the image build or package selection. And even if you build an image with zero firmware files in /lib/firmware, OpenWrt's package manager (apk or pokg) does not enforce an ACCEPT_LICENSE policy like Portage. Nothing stops a non-free firmware package from being installed later unless you exclude it in your build/update workflow.

As for ReplicantOS, it still allows you to install proprietary software. That's why the devs got rid of FDroid because it allowed proprietary apps, so all you get are curated, preinstalled ones and sideloading APKs from Github. Android is garbage and ReplicantOS can only be used behind a VM anyways.

Also, Burp Suite is proprietary and nonfree. Use OWASP ZAP. Xorg/xlibre is GROSSLY insecure for Linux especially on a 40-year-old meme protocol that people still use for some reason, XFCE is yet another Xorg landmine, KDE/GNOME are bloatware, Phosh/Plasma Mobile are trash that tries to be Android to appeal to smartphone toddlers while breaking everything in the process, etc. Also, What I mean about X is that once you're authenticated into a session, any X11 client can read keystrokes and screen pixels of other windows. It is the NetBIOS of GNU/Linux it is so insecure. And it's bloated legacy garbage.

You could even plug your X2E N150 into a dumb HDTV (like a 2010-13 Vizio), plug in a QMK firmware full-size desktop keyboard that has all keys needed and not just letters, and aren't some weird split design or whatever (like the Keychron Q1 which uses QMK firmware + the ATmega32U4/STM32L432 chipset) along with a Ploopy mouse kit for simplicity sake if you don't want to build your own cyberdeck.

Also, the Keychron Q1 uses USB-A out-the-box. The X2E N150 suppprts USB-A only. Also, the Ploopy mouse needs a USB-C to USB-A adapter to work, but any USB-A mouse should work over linux-libre (no firmware blobs required to work and open drivers via the usbhid kernel driver) like the Logitech B100 or the Dell MS116. Also, if you prefer a fixed or detachable native USB-A cord and hardware DIP switches instead of flashing firmware, classic Japanese/Korean office boards run pure USB HID with zero software. Like the Filco Majestouch 3 Double Shot PBT Mechanical Keyboard Cherry MX or the Filco Majestouch Ninja Mechanical Keyboard.
I know Dillo has dilloc now which is pretty rad. But most fingerprinting is removed by default because dillo has no js engine. Some people (read: noobs) complain about "limited functionality" when in reality, Hardened Firefox w/ NoScript, PrivacyBadger, Cookie Autodelete, Multi-Account Containers, etc has about the same performance. 99% of websites break under properly-configured FF. Because Dillo has no JavaScript engine, you already cut out huge classes of script-driven browser fingerprinting—leaving mostly HTTP headers (User-Agent, Accept-*), connection/IP metadata, and window/display sizing. Ways to tighten that layer include:

dillo -g 1024x768

Also, set the DPI to 96 (over xwayland, sommelier, and changing the font and zoom factor to 1.0 in dillorc).

Then install proxychains-ng and use this script:

proxychains4 dillo http ://example(.)com

If using torsocks:

torsocks dillo http ://example(.)com

Also, enable proxy_dns and set http_proxy in the environment — Dillo reads it natively, and so does wget. Then let the UID-based nftables rule catch anything that ignores it. This prevents other apps (like a background updater) from leaking metadata while Dillo is running. Many CDNs (like Cloudflare or Akamai) immediately block Dillo's default User-Agent or mbedTLS/OpenSSL handshake with a 403 Forbidden or an infinite JS challenge. Running a tool like curl-impersonate via page_action (page_action="Mimic Chrome: url_chrome136 -i –raw $url | dilloc rawload") mimics a mainstream browser's TLS signature and headers, letting you load static content that Dillo would otherwise fail to fetch. You can pipe the fetched HTML through tools like pandoc, rdrview (Mozilla Readability), or custom sed/awk scripts before feeding it to dilloc load. This strips out heavy tags, broken CSS layouts, or cookie-consent overlays that Dillo struggles to render.

 â„–46904[Quote]

>>46903
Also, Dillo doesn't store cookies by default. Since Dillo uses OpenSSL, ensure you are using a recent version of OpenSSL. Older versions have predictable cipher suites. Also, you will need to use proper browser hygiene. NEVER run Dillo (or any browser) as root. And ALWAYS use a VM (kvm/qemu works well) and sandbox (bwrap + wrap xwayland in sommelier or waypipe locally + seccomp-bpf + custom display socket instead of XRDB/Xephyr + run dillo as unprivileged dedicated user + wget + use –tmpfs /tmp + nftables w/ dedicated UID/GID filters + curl).

Also, some terminal browsers (like Lynx, Elinks, Links2, Browsh and Carbonyl) are even heavier than Dillo. Even w3m is no good, honestly. I'd also like to shatter the myth that terminal browsers are inherently "safer" than graphical ones when some of them come w/ js, legacy code support, and other vulnerabilities. Netrik is the only terminal browser worth using, in all honesty. It uses GPLv3, it also supports GNU/Hurd which is based (one of the GNU/Hurd devs were behind this) with the only caveat being no HTTPS/ TLS natively, so you'll have to terminate TLS externally (for example, routing through a local stunnel or privoxy wrapper) or feed pre-fetched HTML over stdin (curl … | netrik -). Unlike Dillo—which still receives active maintenance and has a cleaner security posture—running an abandoned C HTML parser directly on untrusted network input means wrapping it tightly in bwrap and seccomp is mandatory rather than optional. And it's only 6k lines of code which is ridiculously lightweight.

As for no native HTTPS/TLS, this is a feature, not a bug, for privacy purists. By forcing you to terminate TLS externally, you decouple the browser from the cryptographic implementation. You trust stunnel or openssl (which are heavily audited) rather than a small, potentially buggy TLS implementation inside Netrik. Use bwrap (Bubblewrap) which provides namespace isolation. It prevents Netrik from accessing files outside its sandbox. Also use seccomp (Secure Computing Mode), which restricts the system calls Netrik can make. This prevents it from executing arbitrary commands or accessing sensitive resources. Many sites require JavaScript or complex CSS. Netrik will show you a broken page. As always, sandbox it - never access the internet on your actual userland.

 â„–46905[Quote]

>>46900 (OP)
>ACCEPT_LICENSE="-* @FSF-APPROVEDFSF-APPROVEDFSF-APPROVEDFSF-APPROVED @FSF-APPROVED-OTHER
Don't know why it glitched out. It's supposed to be "ACCEPT_LICENSE="-* @FSF-APPROVED @FSF-APPROVED-OTHER".



[Return][Catalog][Go to top][Post a Reply]
Delete Post [ ]
[ home / overboard ] [ date ] [ soy / qa / raid / incel ] [ int / pol ] [ a / biz / fit / mtv / r9k / sude / tech / v / x ] [ q / news / chive / rules / pass / bans / status ] [ booru / wiki ]