Rules for applications running through programs/libraries #20

Open
zedtux opened this Issue Mar 1, 2014 · 3 comments

Projects

None yet

2 participants

@zedtux
Member
zedtux commented Mar 1, 2014

In the case of an application (ex. douane-configurator) access the internet through another program or library (ex. /usr/bin/python3.3), then there should be some means of disabling the original program and not the program/library it is going through or the combination of the two.

@zedtux zedtux added the enhancement label Mar 1, 2014
@zedtux zedtux referenced this issue Mar 1, 2014
Closed

32-bit edition #16

@zedtux zedtux self-assigned this Mar 14, 2014
@zedtux zedtux added Feature request and removed enhancement labels Mar 30, 2014
@lepasserby

Subscribing to this one, important feature.
Also, interesting question (can't test out right now, I'm on a goddamn tablet for the rest of August) - how would Douanne recognize a Chrooted application launched through a combination of an Expect script and a bash script ?

@zedtux
Member
zedtux commented Aug 3, 2014

This feature still need investigations. As of now, I have now idea how to implement it (if anyone has idea, please feel free to suggest).

The process recognition is done in the kernel space. Probably there's a way to get children of a process (I'm thinking of the python case, where a script is running as a child of the python process.).

@lepasserby

Yep, that seems like a remarkably nontrivial feature (kinky edge cases also include python's virtualenvs and such)
Also, one should keep in mind what happens to children when parent dies (IIRC, on ubuntu, the child will be "adopted" by pid 1, but that behavior is not a given)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment