Fixed unauthorized connection and smack permission error.

Error :
audit: type=1400 audit(1539758675.667:9): lsm=SMACK fn=smack_inode_getattr
action=denied subject="User::App::webapps-hvac-enact" object="System" requested=r
pid=4111 comm="tinyproxy" path="/run/connman/resolv.conf" dev="tmpfs" ino=10458
Fix : Provide root access to tinyproxy. Thios is a temporary change and should
be rivisited once proxy integration stabilized.

Error: Unauthorized connection from "localhost"
Fix: Provided access to'localhost' through authorization controls.
This commit is contained in:
Abhijeet Kandalkar 2018-10-18 00:13:43 +05:30 committed by José Dapena Paz
parent a8c2c83be0
commit 983268e30b

View File

@ -11,9 +11,10 @@
# used for tinyproxy after the initial binding to the port has been done
# as the root user. Either the user or group name or the UID or GID
# number may be used.
# TODO : Revisit this setting once proxy integration is stabilized.
#
User nobody
Group nobody
User root
Group root
#
# Port: Specify the port which tinyproxy will listen on. Please note
@ -222,6 +223,7 @@ MaxRequestsPerChild 0
# tested against the controls based on order.
#
Allow 127.0.0.1
Allow localhost
# BasicAuth: HTTP "Basic Authentication" for accessing the proxy.
# If there are any entries specified, access is only granted for authenticated