• 1 Post
  • 446 Comments
Joined 2 years ago
cake
Cake day: July 29th, 2023

help-circle














  • mlg@lemmy.worldtoSelfhosted@lemmy.worldDocker security
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    1
    ·
    1 month ago

    How I sleep knowing Fedora + podman actually uses safe firewalld zones out of box instead of expecting the user to hack around with the clown show that is ufw.

    I could be wrong here but I feel like the answer is in the docs itself:

    If you are running Docker with the iptables or ip6tables options set to true, and firewalld is enabled on your system, in addition to its usual iptables or nftables rules, Docker creates a firewalld zone called docker, with target ACCEPT.

    All bridge network interfaces created by Docker (for example, docker0) are inserted into the docker zone.

    Docker also creates a forwarding policy called docker-forwarding that allows forwarding from ANY zone to the docker zone.

    Modify the zone to your security needs? Or does Docker reset the zone rules ever startup? If this is the same as podman, the docker zone should actually accept traffic from your public zone which has your physical NIC, which would mean you don’t have to do anything since public default is to DROP.


  • Someone I personally knew almost gave up on Linux because their mint install would have screen tearing issues due to an outdated driver module and kernel, since Mint follows close to Ubuntu’s kernel releases which are slow.

    Cutting edge and bleeding edge kernels is one of Linux’s biggest strengths because 99% of driver modules are in the kernel, so keeping it up to date will significantly reduce the chances of issues with your hardware, especially if its anything new.

    You dont need to know the version, but knowing that your updates are based on cutting edge latest stable is what can save you from driver headaches.