Replies: 3 comments 2 replies
-
The current architecture requires a user to provide credentials and be authenticated and authorized (normally by PAM) before we start user channel processing. If it's data not related to any user, it could be possible, but it would need changes on our side. Can you be more specific about the data and what it's for? |
Beta Was this translation helpful? Give feedback.
-
At the moment this is looking challenging. The current order of things when a session is started is:-
Channel processing isn't started until step 3). If we're using a static channel (as opposed to a dynamic channel), we can possibly add a pre-session channel handler that could come up before the user is authenticated. There are potentially other uses for this, like adding pasting for passwords to the login screen which is still a missing feature. How does the authentication module work? is it tied into the PAM stack? |
Beta Was this translation helpful? Give feedback.
-
It'll require changes to the xrdp core functionality, as at the moment channel processing isn't available during initialisation. A significant implementation issue is that the PAM conversation happens in the sesexec process, and the channel will (probably) be handled in the xrdp process. These two processes will need to communicate in a way which isn't currently implemented. One way to do this is to modify the SCP protocol between xrdp and sesexec to handle custom messages. That's quite a bit of work, and you'll most likely end up with a custom build you'd need to maintain out-of-tree. Another way might be to use a private socket between these two processes, but then you've got an additional problem of connecting the two ends of the socket securely before any authentication has occurred. At the moment I can't see a simple way to do that. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Is there a way to transfer data through a custom virtual channel before user authentication? I'm working with FreeRDP as the client and xrdp as the server.
I'm open to unconventional or workaround solutions if necessary.
Thank you for any advice or suggestions.
Beta Was this translation helpful? Give feedback.
All reactions