| Summary: | Download of ports source not being identified as coming from FreeBSD OS. | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Joe Barbish <qjail1> |
| Component: | Ports Framework | Assignee: | Port Management Team <portmgr> |
| Status: | Closed Works As Intended | ||
| Severity: | Affects Many People | CC: | fk, portmgr, ports-bugs |
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Joe Barbish
2017-04-28 00:17:12 UTC
As a user of a FreeBSD deviate (ElectroBSD) I consider the fact that the User-Agent currently doesn't leak the uname when fetching distfiles a feature and do not "appreciate the benefits of this change". The more information you add to the User-Agent the easier it gets to track individual users without having to rely on other information. Currently distfiles are fetched with the default User-Agent used by fetch(1) which looks like "fetch libfetch/2.0". If SF cared about it, they could already separate clients that use the fetch(1) default User-Agent from the "unknown" section and you could then conclude that most of these requests were made using vanilla FreeBSD. If the ports system would default to adding the uname etc. to the User-Agent, some FreeBSD deviates would probably simply default to adding "FreeBSD" as well instead of leaking the real uname information without the users consent. Therefore it's unlikely to result in more reliable statistics anyway. Previous stated "Currently distfiles are fetched with the default User-Agent used by fetch(1) which looks like "fetch libfetch/2.0"." I take it that the default User-Agent information is hard codded in the fetch utility source or maybe more correctly in the libfetch source. Changing the hard codded User-Agent information from "fetch libfetch/2.0" to "FreeBSD" would accomplish the same goal as making changes to the ports framework to override fetch's default User-Agent information. I have no preference about how the goal gets accomplished. All I want to see is that all port fetches get marked as coming from a FreeBSD operating system. if a change should happen here, it should not be done in the ports tree but in the fetch command, let's close this ticket as it is regarding port I will let you create a new ticket against the fetch(1) command. |