New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event driven qrexec #3912

Open
DemiMarie opened this Issue May 19, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@DemiMarie

Qubes OS version:

R4.0

Affected component(s):

qrexec


Steps to reproduce the behavior:

Run many qrexec connections in parallel.

Expected behavior:

Qrexec connections can be done without creating new processes.

Actual behavior:

Qrexec connections require creating new processes.

General notes:

There is no way to use qrexec to connect to (say) a Unix domain socket or Windows named pipe. Furthermore, qrexecd forks for each connection.

This causes problems when wanting to use qrexec for proxying, where a large number of connections may be required (such as if someone is running a server).


Related issues:

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek May 19, 2018

Member

You're right, but I think it isn't the most limiting factor right now. Much bigger bottleneck is qrexec policy and we do plan to improve it (see #3293 (comment)).
On the other hand, adding different mode for qrexec calls not based on separate processes (either on calling or called side) is not something we plan to work on in foreseeable future. But we'd gladly accept (quality) patches for that. That said, changing qubes-qrexec-agent to only fork(), but connect to a socket instead of exec() shouldn't be much work.

Member

marmarek commented May 19, 2018

You're right, but I think it isn't the most limiting factor right now. Much bigger bottleneck is qrexec policy and we do plan to improve it (see #3293 (comment)).
On the other hand, adding different mode for qrexec calls not based on separate processes (either on calling or called side) is not something we plan to work on in foreseeable future. But we'd gladly accept (quality) patches for that. That said, changing qubes-qrexec-agent to only fork(), but connect to a socket instead of exec() shouldn't be much work.

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