Bug 5859 - serial port redirection requires LD_PRELOAD on server
Summary: serial port redirection requires LD_PRELOAD on server
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Serial port redirection (show other bugs)
Version: pre-1.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Peter Åstrand
Depends on:
Reported: 2016-04-26 17:35 CEST by Pierre Ossman
Modified: 2016-05-03 10:25 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Description Pierre Ossman cendio 2016-04-26 17:35:23 CEST
We currently use cyclades serial client for serial port redirection, which is based on LD_PRELOAD. This can be a limitation in that it requires a preserved environment, some binaries don't support LD_PRELOAD, and injecting libraries is in itself somewhat dangerous.

An alternative could be the CUSE system (based on FUSE) that allows us to create fake character devices. It is available in Linux 2.6.31 (RHEL 6-ish) and later. ioctl's are a bit peculiar there and could pose problems. However they aren't working right now either (bug 536).

Note You need to log in before you can comment on or make changes to this bug.