cross-posted from: https://infosec.pub/post/2644831

I like to control the network bandwidth of each process/app on my linux, both ways (download, and upload), as well as my pc overall bandwidth. is that achievable on Linux ? Thanks

  • d3Xt3r@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    There’s TrafficToll. It hasn’t had any updates for a while, but since it’s just a python frontend for tc (which is still maintained), it should work just fine.

    • zoe @infosec.pubOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      1 year ago

      as long as it has the features i am looking for then no worries. i used to use software like TuneUp from 2014 and didnt bother to upgrade iy or look up a new key for it, as long as it got the job done. much appreciated :)

  • ono@lemmy.ca
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    The kernel’s queuing disciplines (qdisc) can do this per interface. The tc command can manage them at a low level, but it’s a bit arcane, so you would probably want a higher-level tool like Wonder Shaper.

      • ono@lemmy.ca
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        1 year ago

        You’re welcome.

        By the way, copying your question to every community you can think of at the same time ends up looking pretty spammy to those of us who are members of more than one. If you must make many cross-posts, you might want to space them out a day or so, at least. You might even find that there’s enough membership overlap that you don’t need to cross-post much.

        • zoe @infosec.pubOP
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          edit-2
          1 year ago

          i know it sucked, maybe i should have acted that way. in fact 1 day ago i posted complaining why there are duplicate communities everywhere, i was downvoted to oblivion, but after self-reflection, this should be a feature of the fediverse. afterall my posts are crossposted with few seconds in intervall, so one could scroll throu them quite quickly, its not like a bot spamming posts but i get ur feel. remark noted 👈

  • Nine@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    So there’s a few things you can do. As other have mentioned tc is a good one. Systemd provides ways of limiting just about everything and even firewalling just by adding the stuff into a unit or scope. Bubblewrap, what flatpaks use, can also provide some sandboxing. There’s also OpenSnitch. The closest to netlimiter overall would portmaster.

    It just really depends on you your needs and what you’re running though.