Skip to content

fix(linux): relay bind, config perms, GUI update security #211

Description

@1rhino2

Summary

Three Linux security fixes:

  1. Relay bind: TCP/UDP relay ports 34010 and 34011 used INADDR_ANY. Now 127.0.0.1 only, same idea as the other platforms.

  2. Config perms: proxy creds in /etc/proxybridge/config.ini were default world readable. Dir 0700, file 0600, chmod on load for old installs.

  3. GUI update: used to curl deploy.sh from raw github and run bash as root. Now just hits the releases API and opens the release page in the browser.

Test plan

  • build linux gui + core on ubuntu/debian
  • ss -lntp shows 127.0.0.1:34010 and :34011 only
  • save settings, stat -c %a /etc/proxybridge/config.ini is 600
  • About -> Check for Updates opens github, no deploy.sh exec

Happy to open a tracking issue first if you want that before merge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions