Thanks a lot for your suggestion. Please keep me updated if you get a chance to find that
plug-in for GENIVI as you mentioned.
On 20.10.2016 18:49, Liang, Jian [TYCO GBS - Cork] wrote:
I am trying to understand how per application routing works with
session APIs. Here are two questions which confused me
- In the 'session-policy-format.txt' file, the provided
example of a xxx.policy file contains a 'uid' field. Does it mean
'per application routing' is only applicable when applications run
through different users?
The current application matching/identification depends on uid. The code allows
also to use different means for the matching, for example via SELinux context. Though
you need to tweak your system accordingly.
Also note that you can create your own session plugin which might fit better into
- In session polices, is it possible to specify different
of services when multiple services are of a same type of technology,
e.g. multiple Ethernet interfaces? If not, how can it be specified
with connman APIs or policies?
The plugins/session_policy_local.c is considered to be a good working example on
how you could write your own plugin. If you write your own plugin you can take over the
control of the main connection algorithm in ConnMan. Obviously, you have then to do it
everything by yourself.
Currently, can session policy co-exist with the main connection algorithm? I mean, can
normal applications still benefit from the ConnMan's management of connections, while
specific application that runs through a session uses network connection differently?
I had once written an example for such a plugin. The repo was hosted on a git
server run by GENIVI. Well, it's gone. I try to find a local copy and host it on
This e-mail contains privileged and confidential information intended for the use of the
addressees named above. If you are not the intended recipient of this e-mail, you are
hereby notified that you must not disseminate, copy or take any action in respect of any
information contained in it. If you have received this e-mail in error, please notify the
sender immediately by e-mail and immediately destroy this e-mail and its attachments.