Bug 6166 - ThinLinc kills processes to free up TCP ports
Summary: ThinLinc kills processes to free up TCP ports
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Agent (show other bugs)
Version: 1.3.1
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Pierre Ossman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-08 15:16 CET by Pierre Ossman
Modified: 2017-02-14 10:21 CET (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2017-02-08 15:16:07 CET
Right now we forcefully terminate any process that has a port open that we'd like to grab for local device tunnelling. For older systems this is the old method to free up a port, but newer kernel supports just killing the socket. E.g. this command will kill anything listening on port 6023:

    $ sudo ss -K -a sport = :6023

This method could severely reduce the impact of ThinLinc stealing back ports.
Comment 1 Pierre Ossman cendio 2017-02-14 10:21:16 CET
RHEL 7's ss doesn't seem to have this, at least not right now. So it's very new systems that would be required.

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