[Bug 252043] net/syncthing - anonymize longVersion reported by syncthing

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 22 05:51:59 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252043

            Bug ID: 252043
           Summary: net/syncthing - anonymize longVersion reported by
                    syncthing
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: swills at FreeBSD.org
          Reporter: peterj at FreeBSD.org
             Flags: maintainer-feedback?(swills at FreeBSD.org)
          Assignee: swills at FreeBSD.org

Created attachment 220808
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=220808&action=edit
Anonymize syncthing builder.

syncthing reports a long version string that, by default, includes details of
the user that built the package and the hostname it was built on.  (This can be
seen by previewing the "Anonymous Usage Reporting" under General Settings). 
Since (eg) "peter at server.rulingia.com" is not very anonymous, it would nice if
the port changed this to a suitably general identifier.  Luckily, the code
allows the default value to be overridden via environment variables (see
buildUser() and buildHost() in syncthing/build.go).

Looking through the "Version 3" usage reporting data, there doesn't appear to
be any other data of concern reported.

Looking at the "Builder" strings reported via https://data.syncthing.net/,
changing the defaults seems fairly common.

The attached patch changes the identification string to "ports at freebsd".

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list