Project

General

Profile

Actions

Bug #5620

open

satip server on port 554 unnecessarily limited to root only

Added by Andreas Tockhorn over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Category:
SAT>IP
Target version:
-
Start date:
2019-05-03
Due date:
% Done:

0%

Estimated time:
Found in version:
latest
Affected Versions:

Description

At the moment it is only possible to start the satip server on port 554 being root. For security reasons, I do not want to give the whole tvheadend root privileges. But unfortunately I have to use port 554 instead of 9983 as for example my Panasonic TV as a satip client only works when tvheadend as satip server listens on port 554.
Instead, I would like to use mechanisms like authbind or setcap to use port 554 without being root. But this does only work when the function satips_rtsp_port in server.c does not check against getuid()!=0 and changes the port to 9983. I suggest printing only an information or warning there. If tvheadend has not the appropriate permissions (not being root or using any other mechanism) an error message will be printed later when trying to bind to port 554 anyway.

Actions

Also available in: Atom PDF