This is a joke, I didn’t really lock myself out

  • @mavu@discuss.tchncs.de
    link
    fedilink
    228 days ago

    even worse. I regularly have to get up out of my chair and go down 2 stairs.

    Also this took a while to find, but : https://sourceforge.net/p/shorewall/svn/HEAD/tree/branches/4.2/Samples/one-interface/shorewall.conf

    ADMINISABSENTMINDED=Yes

    Is an actual setting in the config for the (now apparently unmaintained) Shorewall Firewall software/tool for linux.

    If I remember correctly, it always checks on firewall rule changes if there is an active connection on port 22, and adds a special rule at the end to maintain that connection.

    They don’t build them like they used to anymore.

  • VeryFrugal
    link
    fedilink
    English
    128 days ago

    Happened to me once. Had a little Pi at my parent’s house and that was a nice excuse to visit them.

      • @balsoft@lemmy.ml
        link
        fedilink
        028 days ago

        It’s easy to write, easy to build, produces lightweight and fast executables, and the type system is great. Why not rust?

          • qazOP
            link
            fedilink
            English
            1
            edit-2
            28 days ago

            A standard Docker container with a NodeJS/PHP/Python app is usually around 200-300 MB (yes really), the OpenJDK JVM is around a hundred MB, but a fully statically compiled rust binary that doesn’t even depend on libc is just a couple MB and can be deployed as a tiny distroless Docker container.

            It’s a lot heavier than your 8kb C++ executable but it’s nothing compared to what is required to deploy anything else.

          • @grue@lemmy.world
            link
            fedilink
            028 days ago

            Oh, so it’s inconvenient for GPL-circumventers, too? That just sounds better and better.

            • To me, it is mostly a real blocker for using it in some embedded Linux devices due to size constraints, otherwise I personally would be using it extensively.

              • @grue@lemmy.world
                link
                fedilink
                1
                edit-2
                28 days ago

                I’m having a hard time imagining this Goldilocks embedded device that is simultaneously big enough to run Linux (so not an actual microcontroller), yet too small for a few megabytes worth of statically-linked libraries. Got an example?

    • qazOP
      link
      fedilink
      English
      028 days ago

      They had a hardware failure but close enough

  • null
    link
    fedilink
    English
    028 days ago

    Doing this is a right of passage.

    • qazOP
      link
      fedilink
      English
      0
      edit-2
      28 days ago

      I’d rather plug in a screen with VGA than deal with HPE iLO 4

      • NeilBrü
        link
        fedilink
        English
        0
        edit-2
        22 days ago

        Networking noob here; what, pray tell, is HPE iLO4… or do I want to even know?

        Edit: Never mind. Found it. HP… shudders

        • @buttnugget@lemmy.world
          link
          fedilink
          128 days ago

          “In December 2021 Iranian researchers at Amnpardaz security firm have discovered rootkits in HPE’s iLO (Integrated Lights-Out) management modules.”

          Because of course lol

  • piefood
    link
    fedilink
    English
    028 days ago

    Before you make a change, do this in a screen-session:

    sleep 300 && iptables-restore old_fw_rules.bak

      • piefood
        link
        fedilink
        English
        1
        edit-2
        28 days ago

        Fun fact: When you do iptables-save, you have to redirect the output if you want to save it to a file. But when you use iptables-restore, you don’t need to pipe it back in, you can just use the filename!

  • @A_norny_mousse@feddit.org
    link
    fedilink
    0
    edit-2
    28 days ago

    Don’t practically all commercial hosting providers provide remote console access?

    This seems a combo of an extremely newb mistake in an extremely unusual scenario - worthy of Gru I guess.