Mastodon Skip to content
  • Home
  • Aktuell
  • Tags
  • Über dieses Forum
Einklappen
Grafik mit zwei überlappenden Sprechblasen, eine grün und eine lila.
Abspeckgeflüster – Forum für Menschen mit Gewicht(ung)

Kostenlos. Werbefrei. Menschlich. Dein Abnehmforum.

  1. Home
  2. Uncategorized
  3. Rather weird pet project: https://github.com/Manawyrm/Webbrick 🧱🪟💥

Rather weird pet project: https://github.com/Manawyrm/Webbrick 🧱🪟💥

Geplant Angeheftet Gesperrt Verschoben Uncategorized
12 Beiträge 3 Kommentatoren 0 Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • manawyrm@chaos.socialM manawyrm@chaos.social

    Rather weird pet project:
    https://github.com/Manawyrm/Webbrick 🧱🪟💥

    Will take a static HTML website and bundle it up with a tiny, hardened Linux kernel and the Caddy webserver into an immutable OS image, which can be run in the cloud.

    Just kernel, caddy and busybox, nothing else (~30 MByte total size).

    Practical applications are probably few and far between, but it seems to work well...

    Creative use-cases or exploit/weakness ideas anyone?

    cyrevolt@mastodon.socialC This user is from outside of this forum
    cyrevolt@mastodon.socialC This user is from outside of this forum
    cyrevolt@mastodon.social
    schrieb zuletzt editiert von
    #2

    @manawyrm Is that BusyBox really necessary?
    Could you go without it entirely, or possibly use u-root and embed Caddy into it? It should work, since Caddy is written in Go, unless CGo is involved.

    manawyrm@chaos.socialM 1 Antwort Letzte Antwort
    0
    • manawyrm@chaos.socialM manawyrm@chaos.social

      Rather weird pet project:
      https://github.com/Manawyrm/Webbrick 🧱🪟💥

      Will take a static HTML website and bundle it up with a tiny, hardened Linux kernel and the Caddy webserver into an immutable OS image, which can be run in the cloud.

      Just kernel, caddy and busybox, nothing else (~30 MByte total size).

      Practical applications are probably few and far between, but it seems to work well...

      Creative use-cases or exploit/weakness ideas anyone?

      23n27@dgc.social2 This user is from outside of this forum
      23n27@dgc.social2 This user is from outside of this forum
      23n27@dgc.social
      schrieb zuletzt editiert von
      #3

      @manawyrm "We have unikernels at home"

      1 Antwort Letzte Antwort
      0
      • cyrevolt@mastodon.socialC cyrevolt@mastodon.social

        @manawyrm Is that BusyBox really necessary?
        Could you go without it entirely, or possibly use u-root and embed Caddy into it? It should work, since Caddy is written in Go, unless CGo is involved.

        manawyrm@chaos.socialM This user is from outside of this forum
        manawyrm@chaos.socialM This user is from outside of this forum
        manawyrm@chaos.social
        schrieb zuletzt editiert von
        #4

        @CyReVolt

        It's not necessary at all.

        Caddy will run completely stand-alone as is, the system just needs something to:
        - setup mount points
        - configure interfaces & IP addresses/routes
        - configure sysctl's
        - drop privileges
        - run the caddy binary

        That's all definitely easily possible with a simple Go binary.

        zekjur@mas.toZ 1 Antwort Letzte Antwort
        0
        • manawyrm@chaos.socialM manawyrm@chaos.social

          Rather weird pet project:
          https://github.com/Manawyrm/Webbrick 🧱🪟💥

          Will take a static HTML website and bundle it up with a tiny, hardened Linux kernel and the Caddy webserver into an immutable OS image, which can be run in the cloud.

          Just kernel, caddy and busybox, nothing else (~30 MByte total size).

          Practical applications are probably few and far between, but it seems to work well...

          Creative use-cases or exploit/weakness ideas anyone?

          23n27@dgc.social2 This user is from outside of this forum
          23n27@dgc.social2 This user is from outside of this forum
          23n27@dgc.social
          schrieb zuletzt editiert von
          #5

          @manawyrm Reading the readme… Since you mention Hetzner cloud and attestation: I've been looking into "confidential computing" stuff (AMD SEV-SNP and friends) recently and it would be neat if this ever ended up in their offering. I've only found one provider besides the big three offering something like that and they don't have an attestation story at all so it's kinda pointless.

          seism0saurus@infosec.exchangeS 1 Antwort Letzte Antwort
          0
          • manawyrm@chaos.socialM manawyrm@chaos.social

            Rather weird pet project:
            https://github.com/Manawyrm/Webbrick 🧱🪟💥

            Will take a static HTML website and bundle it up with a tiny, hardened Linux kernel and the Caddy webserver into an immutable OS image, which can be run in the cloud.

            Just kernel, caddy and busybox, nothing else (~30 MByte total size).

            Practical applications are probably few and far between, but it seems to work well...

            Creative use-cases or exploit/weakness ideas anyone?

            neil@mastodon.neilzone.co.ukN This user is from outside of this forum
            neil@mastodon.neilzone.co.ukN This user is from outside of this forum
            neil@mastodon.neilzone.co.uk
            schrieb zuletzt editiert von
            #6

            @manawyrm Fun!

            1 Antwort Letzte Antwort
            0
            • manawyrm@chaos.socialM manawyrm@chaos.social

              Rather weird pet project:
              https://github.com/Manawyrm/Webbrick 🧱🪟💥

              Will take a static HTML website and bundle it up with a tiny, hardened Linux kernel and the Caddy webserver into an immutable OS image, which can be run in the cloud.

              Just kernel, caddy and busybox, nothing else (~30 MByte total size).

              Practical applications are probably few and far between, but it seems to work well...

              Creative use-cases or exploit/weakness ideas anyone?

              knapjack@snac.gruntle.ccK This user is from outside of this forum
              knapjack@snac.gruntle.ccK This user is from outside of this forum
              knapjack@snac.gruntle.cc
              schrieb zuletzt editiert von
              #7
              Would be an interesting way to publish public keys. #🤔
              1 Antwort Letzte Antwort
              0
              • manawyrm@chaos.socialM manawyrm@chaos.social

                @CyReVolt

                It's not necessary at all.

                Caddy will run completely stand-alone as is, the system just needs something to:
                - setup mount points
                - configure interfaces & IP addresses/routes
                - configure sysctl's
                - drop privileges
                - run the caddy binary

                That's all definitely easily possible with a simple Go binary.

                zekjur@mas.toZ This user is from outside of this forum
                zekjur@mas.toZ This user is from outside of this forum
                zekjur@mas.to
                schrieb zuletzt editiert von
                #8

                @manawyrm @CyReVolt I was about to say that it’s totally possible in Go, see https://gokrazy.org/ 🙂

                1 Antwort Letzte Antwort
                0
                • manawyrm@chaos.socialM manawyrm@chaos.social

                  Rather weird pet project:
                  https://github.com/Manawyrm/Webbrick 🧱🪟💥

                  Will take a static HTML website and bundle it up with a tiny, hardened Linux kernel and the Caddy webserver into an immutable OS image, which can be run in the cloud.

                  Just kernel, caddy and busybox, nothing else (~30 MByte total size).

                  Practical applications are probably few and far between, but it seems to work well...

                  Creative use-cases or exploit/weakness ideas anyone?

                  seism0saurus@infosec.exchangeS This user is from outside of this forum
                  seism0saurus@infosec.exchangeS This user is from outside of this forum
                  seism0saurus@infosec.exchange
                  schrieb zuletzt editiert von
                  #9

                  @manawyrm

                  Cool.
                  Maybe combined with Jekyll or similar tools to generate static website images in a pipeline.

                  manawyrm@chaos.socialM 1 Antwort Letzte Antwort
                  0
                  • 23n27@dgc.social2 23n27@dgc.social

                    @manawyrm Reading the readme… Since you mention Hetzner cloud and attestation: I've been looking into "confidential computing" stuff (AMD SEV-SNP and friends) recently and it would be neat if this ever ended up in their offering. I've only found one provider besides the big three offering something like that and they don't have an attestation story at all so it's kinda pointless.

                    seism0saurus@infosec.exchangeS This user is from outside of this forum
                    seism0saurus@infosec.exchangeS This user is from outside of this forum
                    seism0saurus@infosec.exchange
                    schrieb zuletzt editiert von
                    #10

                    @23n27 @manawyrm

                    Stackit has a confidential kubernetes. But I haven't tried it yet.

                    manawyrm@chaos.socialM 1 Antwort Letzte Antwort
                    0
                    • seism0saurus@infosec.exchangeS seism0saurus@infosec.exchange

                      @23n27 @manawyrm

                      Stackit has a confidential kubernetes. But I haven't tried it yet.

                      manawyrm@chaos.socialM This user is from outside of this forum
                      manawyrm@chaos.socialM This user is from outside of this forum
                      manawyrm@chaos.social
                      schrieb zuletzt editiert von
                      #11

                      @seism0saurus @23n27 I have… feelings about the confidentiality claims 🙂

                      But as long as we (the industry) all agree to close our eyes and wish really hard that we‘d like it to be secure, I‘m sure that‘ll work 😹

                      1 Antwort Letzte Antwort
                      1
                      0
                      • seism0saurus@infosec.exchangeS seism0saurus@infosec.exchange

                        @manawyrm

                        Cool.
                        Maybe combined with Jekyll or similar tools to generate static website images in a pipeline.

                        manawyrm@chaos.socialM This user is from outside of this forum
                        manawyrm@chaos.socialM This user is from outside of this forum
                        manawyrm@chaos.social
                        schrieb zuletzt editiert von
                        #12

                        @seism0saurus That‘s why the documentation already mentions Hugo 🙂

                        1 Antwort Letzte Antwort
                        0
                        • skorpy@chaos.socialS skorpy@chaos.social shared this topic
                        Antworten
                        • In einem neuen Thema antworten
                        Anmelden zum Antworten
                        • Älteste zuerst
                        • Neuste zuerst
                        • Meiste Stimmen



                        Copyright (c) 2025 abSpecktrum (@abspecklog@fedimonster.de)

                        Erstellt mit Schlaflosigkeit, Kaffee, Brokkoli & ♥

                        Impressum | Datenschutzerklärung | Nutzungsbedingungen

                        • Anmelden

                        • Du hast noch kein Konto? Registrieren

                        • Anmelden oder registrieren, um zu suchen
                        • Erster Beitrag
                          Letzter Beitrag
                        0
                        • Home
                        • Aktuell
                        • Tags
                        • Über dieses Forum