Per application routing and statistics

This proposal has been rejected.

*

One Line Summary

Gather network traffic per application and define routing per application as well.

Abstract

In the mobile world many use cases are application centric, e.g. which data it is allowed to access or limit the resource usage. Network traffic and routing is no exception. systemd allows to limit memory usage etc via resource control unit settings but networking settings are missing.

The kernel has various means to do accounting and enforcement but they are separated (NFACCT, cgroup match, quota target).

Android has an out of tree iptables module for this (xt_qtaguid).

Speaker