You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Syncthing calls home in a few rather undocumented cases - update checking, usage reporting, relay server and global directory
what you expected to happen instead, and
Syncthing should comply with existing privacy laws requiring disclosure, especialyl with regard to usage reporting and preferably before such actions.
any steps to reproduce the problem.
Install latest release and run it.
Also fill out the version information below and add log output or
screenshots as appropriate.
There is a very brief few lines of output including:
[XXXX] 19:32:06 INFO: Relay listener (dynamic+https://relays.syncthing.net/endpoint) starting
[XXXX] 19:32:11 INFO: Anonymous usage reporting is always enabled for candidate releases.
[XXXX] 19:32:11 INFO: Automatic upgrade is always enabled for candidate releases.
It's not clear from the interface even what those options are / do. Disabling usage reporting for example does not actually disable it as it's a candidate release.
Thanks. Some of it is but quite a bit is not or is out of date. Starting syncthing for example will cause unencrypted local broadcasts of the relay that client is attached to (possibly a bug? relay address is not local). The stats themselves claim to be anonymous yet include a unique id, build user (why??), etc.
Build system information is useful for determining uptake on different platforms at a finer granularity than Windows/Linux/Mac/Android, as well as determining where a user got Syncthing from.
Actual examples of this from the stats page include:
*@build.syncthing.net (the official build infrastructure, the various user names indicate different builds)
debian@debian (the central Debian build infrastructure)
vagrant@jessie64 (highly likely to be a Debian backports builder)
mockbuild@fedora-koji (the central Fedora build infrastructure)
brew@*.local (various Mac builds, with the host names having some indication of the version they were built on)
From looking at this information, it's reasonably obvious that most people are still getting Syncthing via the official upstream builds instead of through any official packaging provided by their operating system, and indicates that of those who are going through their distribution's packaging, most are using Debian.
I don't know where those come from (static or determined at runtime), but I don't disagree the stats are useful to someone. I'm saying they are identifiable and transfered unencrypted. It is possible syncthing's running in a vm too which would skew your assertions.
The documentation issue is clear. If you guys want to argue the specific merits of the various metrics, I'd like to invite you to do so on the forum. If there are specific things which you think are bugs but not this documentation issue, please open those separately.
the stats are [...] identifiable and transfered unencrypted
This, however, is incorrect. The unique ID is generated randomly when usage reporting is enabled or toggled, and used for the purpose of measuring unique reporting instances and users coming/leaving. It cannot be used to identify a specific user or deviceID. The stats are transferred over HTTPS.
You have to explicitly enable that, so you must be well aware that you are exposing something. These are public stats, you choose to expose publically, so why should they be encrypted?
That's the status port on the relay server. The discovery server also has a metrics endpoint for Prometheus metrics. These are not "call home" features.
@AudriusButkevicius - At no point did I enable those. I opened the port after saw that host banging on it.
The only documentation I could find after was from the manpage which is itself incorrect or at the very least misleading:
Listen address for status service **(blank to disable)** (default “:22070”).
Status service is used by the relay pool server UI for displaying stats (data transfered, number of clients, etc.)
The option is not specified, does that mean it will be enabled or not? The verbage would lead me to believe it won't, yet it is.
@calmh - Not sure what you consider call home to be then? :) They certainly aren't silent.
At any rate the issue is less on the technical so much as being informed, and ask before doing so. If the nuances of running Syncthing or any component of it, are such that details are burried in some document, I need to know that. Heck the realyserver's console is getting floored with hundreds of messages like
2018/09/04 10:41:11 listener.go:40: Listener failed to accept connection from 85.221.195.58:55951 . Possibly a TCP Ping.
.. per second. Are those bugs, a config issue, documentation ?? (fwiw the process is out not of descriptors). I blocked two hosts that were hitting it alone @~30 times per second.
I'm sure you do, but arguing about all rough edges in user friendliness you find while implying that we're breaking laws is confrontational and not constructive. As I said, hop on the forum and argue all you like. I won't moderate you. This is, however, not the place for that, and I will moderate here if required.
Not sure what you consider call home to be then?
I'm not going to argue semantics with you here, but "call home" to me means to actually make an active connection somewhere. The relay server has a metrics endpoint that can be queried for how much traffic is going through it and a couple of variables like that. If you register with the public relay pool, the relay pool server will try to query that endpoint to gather the stats for https://relays.syncthing.net.
I didn't intend to pursue the technical side of this here, at least beyhond as it relates to documentation. I do think it's important to clarify what I meant by legal. As much as it may be a hinderence to some, things like GDPR are here, and are real. It's not an argument to raise issues about compliance especially on a project where privacy and security are front and center. Appolgies if it was taken any other way.
Maybe it's someone saying "me too" but they either a) don't have the
skillset to code or commit changes, or b) do not have the time in the day
to contribute?
Someone from either one of those situations still made the effort to reach
out to the community with an idea to improve your software. Why not thank
them for their time? Nobody is "asking" someone to go out and provide open
source projects with their feedback.
On Wed, Jun 5, 2019, 4:35 PM Audrius Butkevicius ***@***.***> wrote:
People screaming "me too" about simple things they are more than capable
contributing themselves don't encourage contributors either, as everyone is
sitting there screaming "me too" hoping that someone else will do the
legwork and they won't have to move a finger.
Once I see a PR I'll take my words back, until then I'll assume the
default couch stance.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5160?email_source=notifications&email_token=ACINM4YBUNXPGGECZ5GY5CTPZAPRBA5CNFSM4FTAPNPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXA55GY#issuecomment-499244699>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACINM45BIPYWYAY5EQCBCF3PZAPRBANCNFSM4FTAPNPA>
.
Leaving this here becuase I think it's quite relevant::
You should realize that Syncthing is, primarily, optimized to work, out of the box, for mostly normal people. Granted, we currently only work well for the slightly geeky, but that’s not the end goal. If you are paranoid (and I use the term in the most affectionate way) you will need to adjust the defaults, and possibly test them in a walled off sandbox before deploying. You are not the primary target audience and you never will be.
Enough. It is tiring to 1) write something because you need it or want it 2) be expected to support it 3) be asked to document it 4) be cast under suspicion and grilled on every little detail, etc, but the sniping doesn't help and it is part of this open source world we've for some reason chosen to participate in. Hopping into issues with "I also want this" also does nothing to further the issue other than adding another "you should do this for me" voice.
It is understood that we should document the privacy aspects better. That's why there is an issue on it. There are also literally hundreds of other things in this very issue tracker that we are also asked to do, out of our goodness of our hearts. Things take time. You can help out, all the info required to solve this ticket is out there and once a start is made someone will certainly help out to correct the details. (According to the old internet adage of the best way to get a question answered is to provide an incorrect answer, someone will jump to correct it...)
Enough. It is tiring to 1) write something because you need it or want it
Not entirely sure what that has to do with this? I wasn't aware anyone forced you to write nor participate in Syncthing.
be expected to support it
No one is asking you personally to support anything. The project is opensource, in keeping with that it would seem prudent to ask questions to the project, on it's official mediums.
be asked to document it
I would expect that to be as part of standard design methods. Or would you prefer users blindly fumble around?
be cast under suspicion and grilled on every little detail, etc, but the sniping doesn't help and it is part of this open source world we've for some reason chosen to participate in.
There has been extensive "detail" given. There have been no personal attacks against you but you're welcome to follow up with Github support or follow the process outlined in your COC. Defamation will not be tollerated blindly by me.
Hopping into issues with "I also want this" also does nothing to further the issue other than adding another "you should do this for me" voice.
I'm looking into writing a summarized "Privacy Policy," or more of a
'Privacy Portal' if you ask me to easily put together all privacy-related
Syncing subjects my next day off from work.
I love trying to contribute to things like this, but the leg work - as
others have basically said - takes time, and I do not disagree with that
one bit.
I'm sorry for escalating things, but I do believe @h1z1 and I had some
valid points that needed to be brought up as well, non-aggressively of
course.
I understand your concerns, and I wanted to bring up the logic behind our
school of thought because it obviously wasn't being addressed.
I do not "dislike" or "hate" anyone here and I'm not accusing anyone of
doing that.
Let's work on things together, and stop trying to bash eachother with
illogical assumptions about the other.
😊
Awesome! I think the info leakage document contains some of the info required, for the rest feel free to ask when things are unclear. (Preferably on the forum, imho, but not big deal either way. You’ll get less eyes and traction discussing in a PR on the docs repo and here is not great either. )
On Thu, Jun 6, 2019, 10:25 AM Jakob Borg ***@***.***> wrote:
Awesome! I think the info leakage document contains some of the info
required, for the rest feel free to ask when things are unclear.
(Preferably on the forum, imho, but not big deal either way. You’ll get
less eyes and traction discussing in a PR on the docs repo and here is not
great either. )
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5160?email_source=notifications&email_token=ACINM43MD2CBHTJMJRXIDA3PZEM6PA5CNFSM4FTAPNPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXDAKJY#issuecomment-499516711>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACINM45CLZLQRR6BLQLBBPLPZEM6PANCNFSM4FTAPNPA>
.
I also wondered about new open connections to unknown servers on the internet. Have disabled Relaying and Global Discovery as I only need syncing in LAN, to get rid of these connections.
Anonymous usage reporting is always enabled for candidate releases.
How to override to disable it?
Remove the compile time enforcement in the code and build the modified project.
While I'm leaning towards the privacy side, there's an understandable bar for the modification need here as release candidates exist as canaries for issues not seen during developer testing but possibly experienced with the significantly more diverse setup of users willing to test.
The whole point of these candidates is involving users in testing, so there's an implicit understanding that users participating are willing to report issues, and not participating is as easy as just sticking to stable releases which is likely done by the majority of users without even considering release candidates. Whether automatic reporting in such cases is okay will be always a subject of debate, here at least documentation (mostly) covers it.
Activity
calmh commentedon Sep 4, 2018
There's various documentation on these things, but I'll take that as a docs ticket to centralize the privacy relevant documentation somewhere.
[-]Ambigious privacy policy[/-][+]Better document (docs & GUI) privacy aspects of usage report / discovery / relays / etc[/+]h1z1 commentedon Sep 4, 2018
Thanks. Some of it is but quite a bit is not or is out of date. Starting syncthing for example will cause unencrypted local broadcasts of the relay that client is attached to (possibly a bug? relay address is not local). The stats themselves claim to be anonymous yet include a unique id, build user (why??), etc.
Ferroin commentedon Sep 4, 2018
Build system information is useful for determining uptake on different platforms at a finer granularity than Windows/Linux/Mac/Android, as well as determining where a user got Syncthing from.
Actual examples of this from the stats page include:
*@build.syncthing.net(the official build infrastructure, the various user names indicate different builds)debian@debian(the central Debian build infrastructure)vagrant@jessie64(highly likely to be a Debian backports builder)mockbuild@fedora-koji(the central Fedora build infrastructure)brew@*.local(various Mac builds, with the host names having some indication of the version they were built on)From looking at this information, it's reasonably obvious that most people are still getting Syncthing via the official upstream builds instead of through any official packaging provided by their operating system, and indicates that of those who are going through their distribution's packaging, most are using Debian.
h1z1 commentedon Sep 4, 2018
I don't know where those come from (static or determined at runtime), but I don't disagree the stats are useful to someone. I'm saying they are identifiable and transfered unencrypted. It is possible syncthing's running in a vm too which would skew your assertions.
calmh commentedon Sep 4, 2018
The documentation issue is clear. If you guys want to argue the specific merits of the various metrics, I'd like to invite you to do so on the forum. If there are specific things which you think are bugs but not this documentation issue, please open those separately.
This, however, is incorrect. The unique ID is generated randomly when usage reporting is enabled or toggled, and used for the purpose of measuring unique reporting instances and users coming/leaving. It cannot be used to identify a specific user or deviceID. The stats are transferred over HTTPS.
h1z1 commentedon Sep 4, 2018
... which makes it unique, to the device. Think we're refering to different things.
That most certainly goes out in clear text (stats from a relay server).
AudriusButkevicius commentedon Sep 4, 2018
You have to explicitly enable that, so you must be well aware that you are exposing something. These are public stats, you choose to expose publically, so why should they be encrypted?
calmh commentedon Sep 4, 2018
That's the status port on the relay server. The discovery server also has a metrics endpoint for Prometheus metrics. These are not "call home" features.
h1z1 commentedon Sep 4, 2018
@AudriusButkevicius - At no point did I enable those. I opened the port after saw that host banging on it.
The only documentation I could find after was from the manpage which is itself incorrect or at the very least misleading:
The option is not specified, does that mean it will be enabled or not? The verbage would lead me to believe it won't, yet it is.
@calmh - Not sure what you consider call home to be then? :) They certainly aren't silent.
At any rate the issue is less on the technical so much as being informed, and ask before doing so. If the nuances of running Syncthing or any component of it, are such that details are burried in some document, I need to know that. Heck the realyserver's console is getting floored with hundreds of messages like
.. per second. Are those bugs, a config issue, documentation ?? (fwiw the process is out not of descriptors). I blocked two hosts that were hitting it alone @~30 times per second.
I mean well I swear, trying to understand.
calmh commentedon Sep 4, 2018
I'm sure you do, but arguing about all rough edges in user friendliness you find while implying that we're breaking laws is confrontational and not constructive. As I said, hop on the forum and argue all you like. I won't moderate you. This is, however, not the place for that, and I will moderate here if required.
I'm not going to argue semantics with you here, but "call home" to me means to actually make an active connection somewhere. The relay server has a metrics endpoint that can be queried for how much traffic is going through it and a couple of variables like that. If you register with the public relay pool, the relay pool server will try to query that endpoint to gather the stats for https://relays.syncthing.net.
h1z1 commentedon Sep 4, 2018
I didn't intend to pursue the technical side of this here, at least beyhond as it relates to documentation. I do think it's important to clarify what I meant by legal. As much as it may be a hinderence to some, things like GDPR are here, and are real. It's not an argument to raise issues about compliance especially on a project where privacy and security are front and center. Appolgies if it was taken any other way.
jebeld17 commentedon Jun 4, 2019
I agree with @h1z1. There really should be a unified "Privacy" section within the documentation.
AudriusButkevicius commentedon Jun 4, 2019
Documentation is community maintained, so if you feel so strongly about it, knock your self out.
"me too" while sitting with a beer on a couch won't make it happen, nor does it encourage it to happen.
2 remaining items
jebeld17 commentedon Jun 5, 2019
h1z1 commentedon Jun 6, 2019
Leaving this here becuase I think it's quite relevant::
Source
calmh commentedon Jun 6, 2019
Enough. It is tiring to 1) write something because you need it or want it 2) be expected to support it 3) be asked to document it 4) be cast under suspicion and grilled on every little detail, etc, but the sniping doesn't help and it is part of this open source world we've for some reason chosen to participate in. Hopping into issues with "I also want this" also does nothing to further the issue other than adding another "you should do this for me" voice.
It is understood that we should document the privacy aspects better. That's why there is an issue on it. There are also literally hundreds of other things in this very issue tracker that we are also asked to do, out of our goodness of our hearts. Things take time. You can help out, all the info required to solve this ticket is out there and once a start is made someone will certainly help out to correct the details. (According to the old internet adage of the best way to get a question answered is to provide an incorrect answer, someone will jump to correct it...)
h1z1 commentedon Jun 6, 2019
Not entirely sure what that has to do with this? I wasn't aware anyone forced you to write nor participate in Syncthing.
No one is asking you personally to support anything. The project is opensource, in keeping with that it would seem prudent to ask questions to the project, on it's official mediums.
I would expect that to be as part of standard design methods. Or would you prefer users blindly fumble around?
There has been extensive "detail" given. There have been no personal attacks against you but you're welcome to follow up with Github support or follow the process outlined in your COC. Defamation will not be tollerated blindly by me.
Where was that ever asked?
calmh commentedon Jun 6, 2019
@h1z1 I wasn't talking to you.
jebeld17 commentedon Jun 6, 2019
jebeld17 commentedon Jun 6, 2019
calmh commentedon Jun 6, 2019
Awesome! I think the info leakage document contains some of the info required, for the rest feel free to ask when things are unclear. (Preferably on the forum, imho, but not big deal either way. You’ll get less eyes and traction discussing in a PR on the docs repo and here is not great either. )
jebeld17 commentedon Jun 11, 2019
herrernst commentedon Aug 29, 2023
I also wondered about new open connections to unknown servers on the internet. Have disabled Relaying and Global Discovery as I only need syncing in LAN, to get rid of these connections.
Now there's a good document about privacy etc. here: https://docs.syncthing.net/users/security.html
So probably this issue could be closed ;-)
Unknown78 commentedon Nov 2, 2023
Anonymous usage reporting is always enabled for candidate releases.How to override to disable it?
voidpointertonull commentedon Nov 2, 2023
Remove the compile time enforcement in the code and build the modified project.
While I'm leaning towards the privacy side, there's an understandable bar for the modification need here as release candidates exist as canaries for issues not seen during developer testing but possibly experienced with the significantly more diverse setup of users willing to test.
The whole point of these candidates is involving users in testing, so there's an implicit understanding that users participating are willing to report issues, and not participating is as easy as just sticking to stable releases which is likely done by the majority of users without even considering release candidates. Whether automatic reporting in such cases is okay will be always a subject of debate, here at least documentation (mostly) covers it.
https://docs.syncthing.net/users/security.html#usage-reporting / https://github.com/syncthing/syncthing/blob/main/man/syncthing-security.7 seems not to cover it which is a missed opportunity as likely that's the only documentation checked out by many looking for security (and privacy) considerations, but aside from that I think we have a reasonable balance here.
Unknown78 commentedon Nov 3, 2023
@voidpointertonull Which part to enforce? How to enforce and rebuild it? Is there someone before who'd forked and rebuild it?
er-pa commentedon Nov 3, 2023
One can just find the responsible code (I think
lib/syncthing/syncthing.go L296) remove it and build it as per available documentation.Otherwise, it's ofc easier to not use release candidates but only stable versions - then you can easily adjust the usage-reporting in the gui.