Skip to content

Don't print some network information on startup#1602

Merged
slipher merged 3 commits intoDaemonEngine:masterfrom
slipher:netredact
Mar 18, 2025
Merged

Don't print some network information on startup#1602
slipher merged 3 commits intoDaemonEngine:masterfrom
slipher:netredact

Conversation

@slipher
Copy link
Copy Markdown
Member

@slipher slipher commented Mar 14, 2025

Don't print the hostname and network addresses that may make people worry about posting logs with confidential information. Instead the showip command can be used. Make the command available for all engines.

Fixes Unvanquished/Unvanquished#1573.

slipher added 3 commits March 14, 2025 15:55
On my machine I get 3 of these link-local addresses
for each of IPv4 and IPv6. I think only 1 of each type will even work
for LAN connections. So these logs seem to be of limited benefit to
users since one who has enough knowledge to know which one to use would
have known how to look it up anyway. Furthermore, this information can
make people hesitate to post logs due to concerns that they contain
sensitive information.
It was only provided in the client before. But in fact it is only
relevant for server-side networking.
Also migrate it to new-style command.
This is an easily overlooked bit of potentially personally identifying
information. It may be the "computer's name" on personal machines. So
don't log it by default.
Copy link
Copy Markdown
Member

@illwieckz illwieckz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@slipher slipher merged commit 6465eb2 into DaemonEngine:master Mar 18, 2025
9 checks passed
@slipher slipher deleted the netredact branch March 18, 2025 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

daemon.log contains $HOME and IP addresses

2 participants