Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #202522

Re: gnome-software is using up my internet data

From Reco <recoverym4n@enotuniq.net>
Newsgroups linux.debian.user
Subject Re: gnome-software is using up my internet data
Date 2018-11-16 05:30 +0100
Message-ID <wUDVv-4A1-3@gated-at.bofh.it> (permalink)
References <wUoMN-3jE-7@gated-at.bofh.it> <wUuyR-703-5@gated-at.bofh.it> <wUvEC-7EZ-3@gated-at.bofh.it> <wUCZs-3ZA-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	Hi.

On Thu, Nov 15, 2018 at 10:26:03PM -0500, Celejar wrote:
> > systemd may be controversial, but they got one thing right - per-service
> > resource control. And that includes so-called 'user services' that GNOME
> > programs start left and right and all other. 
> > 
> > So the framework is there. The problem is - they left the implementation
> > of the policy of the user ☺
> 
> Would you mind explaining a bit further, or pointing me to something to
> read about this?

kernel can mark any outgoing packet.
These 'marks' are not actual modification of packet (hence they are
invisible once packet goes into NIC), but rather a way to apply a
pre-determined set of rules to it.
net_cls controller is a way to apply such mark to any and all outgoing
packet generated by a group of processes.

A canonical example to (ab)use this resides in the kernel documentation
(cgroup-v1/net_cls.txt.gz).
Successful use requires understanding of at least iptables, tc, nfacct
and may be nft as you need to jump via some impressive amount of hoops
to make the thing work on inbound packets too.

> 
> > > An application firewall might be useful here, but I have no experience
> > > with such them.
> > 
> > You're thinking of user traffic accounting.
> 
> I don't think I follow you here - isn't "user traffic accounting" per
> user, not per specific application?

See above. 'User' is an ambiguous term here.


> And what's wrong with my reference
> to application firewalls?
> 
> https://en.wikipedia.org/wiki/Application_firewall

You need to block outgoing traffic based on some criteria - that's where
firewall comes into the play, sure.
But in this case the criteria is not only the application name
(executable, or pid, or service or whatever), but also the amount of
traffic that application consumed. Hence the need of traffic accounting.

Reco

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

gnome-software is using up my internet data Anil Duggirala <anilduggirala@fastmail.fm> - 2018-11-15 13:20 +0100
  Re: gnome-software is using up my internet data Roberto C. Sánchez <roberto@debian.org> - 2018-11-15 15:00 +0100
    Piggybacking: Firefdox is using up my Internet bandwidth, autostarts videos even though autoplay is off (was:Re: gnome-software is using up my internet data rhkramer@gmail.com - 2018-11-15 16:20 +0100
      Re: Piggybacking: Firefdox is using up my Internet bandwidth,  autostarts videos even though autoplay is off (was:Re: gnome-software is  using up my internet data Roberto C. Sánchez <roberto@debian.org> - 2018-11-15 16:30 +0100
        Re: Piggybacking: Firefdox is using up my Internet bandwidth, autostarts videos even though autoplay is off (was:Re: gnome-software is using up my internet data rhkramer@gmail.com - 2018-11-15 18:00 +0100
  Re: gnome-software is using up my internet data Richard Owlett <rowlett@cloud85.net> - 2018-11-15 16:20 +0100
    Re: gnome-software is using up my internet data deloptes <deloptes@gmail.com> - 2018-11-15 21:50 +0100
  Re: gnome-software is using up my internet data Celejar <celejar@gmail.com> - 2018-11-15 19:30 +0100
    Re: gnome-software is using up my internet data Reco <recoverym4n@enotuniq.net> - 2018-11-15 20:40 +0100
      Re: gnome-software is using up my internet data Celejar <celejar@gmail.com> - 2018-11-16 04:30 +0100
        Re: gnome-software is using up my internet data Reco <recoverym4n@enotuniq.net> - 2018-11-16 05:30 +0100
          Re: gnome-software is using up my internet data Celejar <celejar@gmail.com> - 2018-11-18 04:30 +0100

csiph-web