• 0 Posts
  • 13 Comments
Joined 2 years ago
cake
Cake day: July 1st, 2023

help-circle
  • Nice, but the bots may not understand the joke.

    And not only that but they will tag the domain with ”there is something here”, and maybe some day someone will take a closer look and see if you are all up-to-date or would there maybe be a way in. So better to just drop everything and maybe also ban the IP if they happen to try poke some commonly scanned things (like /wp-admin, /git, port 22 etc.) GoAccess is a pretty nice tool to show you what they are after.




  • I disagree. Sure, they are able to stick the drive to machine and use some easy tool (would need to be easier than Rufus) to write some data to it.

    But then comes a big hurdle if USB boot is not the default: What is BIOS/UEFI? What key to press to get there? When do I press it? What are these text things? How do I navigate here? What exactly should I change? What is what of these drives listed? How to change the order? How to save? (Have witnessed this struggle a dozen times)

    And IF they get through that step, then depending on distro they have very different kind of installation UI, all sorts of options they know nothing about, and they no longer have their browser and guide page open that they had when they started the operation.

    We should not merely target the ”average person” but also, to a degree, the dumb masses below them. Look how simple the Windows 10 to Windows 11 installation has been made, there really is no way you can mess it up. If I remember correct, even upgrading from 7 to 10 was just: download ISO, double click to mount it, run setup.exe, click next a few times, and let it reboot and do its thing.


  • Not my text but here’s what Gemini laid out, apparently projects like WubiUEFI do something like this but with caveats.

    ” Project: “One-Click Linux” Installer Objective: A simple .exe for non-technical users to install a full Linux distribution from Windows 10/11. The process will be fully automated after a single click.

    Core Technologies & Components

    1. The Windows Application (.exe)
    • GUI Framework: .NET (C#) to build a minimal user interface and leverage deep Windows integration.
    • Disk Partitioner: Script the built-in Windows diskpart.exe utility to automatically shrink the existing Windows partition and create a new one for Linux. Requires Administrator privileges.
    • Installer Preparation: Download a pre-selected Linux distribution (e.g., Linux Mint) and extract its core files.
    1. The Bridge from Windows to Linux
    • Boot Configuration: Use Windows bcdedit.exe to create a temporary, one-time boot entry that points directly to the Linux installer, bypassing the normal Windows boot.
    • Automated Installation: Generate a preseed or kickstart script. This file will provide all the answers to the Linux installer automatically (language, keyboard, and instructions to use the partition created earlier).
    1. The Modern Boot Solution (Post-Installation)
    • Boot Manager: rEFInd. The automated Linux install will install rEFInd. It is chosen for its superior auto-detection of both Windows and Linux, and its user-friendly graphical interface. It will automatically provide a clean, icon-based menu to choose an OS on startup.
    • Boot Method: EFI Stub. The Linux kernel will be launched directly by rEFInd as a bootable EFI application. This is a fast, clean, and modern method that avoids the complexity of older bootloaders. rEFInd will handle discovering the kernel and presenting it as a boot option. ”

  • Great effort and all but until we can get an .exe to run in windows to install the new system, this will not attract anybody but the 0.01%.

    Yes, for us in the know it’s no biggie to get an USB stick, play with Rufus or the kind, fiddle with ”BIOS” but for the average user even the first step is just too much.

    Windows can install new Windows and modify EFI stuff, and macOS can install new macOS so why can’t Linux use the same mechanisms? Especially as in the history there used to be some projects that could do this…

    Best chance in decades to bring Linux to desktop and it looks like we blew it by being too accustomed to difficulty, not being united behind the effort and whatnot :(





  • I have wrestled with the same thing as you and I think nginx reverse proxy and subdomains are reasonably good solution:

    • nothing answers from www.mydomain.com or mydomain.com or ip:port.
    • I have subdomains like service.mydomain.com and letsencrypt gives them certs.
    • some services even use a dir, so only service.mydomain.com/something will get you there but nothing else.
    • keep the services updated and using good passwords & non-default usernames.
    • Planned: instant IP ban to anything that touches port 80/443 without using proper subdomain (whitelisting letsencrypt ofc), same with ssh port and other commonly scanner ones. Using fail2ban reading nginx logs for example.
    • Planned: geofencing some ip ranges, auto-updating from public botnet lists.
    • Planned: wildcard TLS cert (*.mydomain.com) so that the subdomains are not listed anywhere maybe even Cloudflare tunnel with this.

    Only fault I’ve discovered are some public ledgers of TLS certs, where the certs given by letsencrypt spill out those semi-secret subdomains to the world. I seem to get very little to no bots knocking my services though so maybe those are not being scraped that much.