[0.13] core: Internal identd listen all, fix config-from-env #458
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In short
--config-from-environment
first-time setup ignoring other CLI argumentsAll credit to @justjanne including the work backporting - this is just opening the PR and doing a basic test.
Rationale
See the
master
branch pull request #457, "Fixes for identd and config-from-environment".Example
Quassel core: default
Command
Outcome
Quassel core identd is listening on local addresses.
Quassel core: all addresses
Command
Outcome
Quassel core identd is listening on all addresses.
Quassel core: all IPv6, unavailable IPv4
Command
Outcome
Quassel core identd is listening on all IPv6 addresses, no IPv4.
Quassel core: all IPv6, local IPv4
Command
Outcome
Quassel core identd is listening on all IPv6 addresses, only local IPv4.
Quassel core: all IPv6, local IPv4, custom port
Command
Outcome
Quassel core identd is listening on all IPv6 addresses, only local IPv4, on port 55555.
Quassel core Qt 4: default
Command
Outcome
Quassel core identd is listening on local addresses.
Quassel core Qt 4: all addresses
Command
Note: the Qt 4 argument parser requires an
=
to set long options.Outcome
Quassel core identd is listening on all addresses.
Despite not showing up in
netstat
,nmap "localhost" -p 10113
shows the port as open. IPv4v6 dual-listening, perhaps..?Quassel core Qt 4: all IPv6, unavailable IPv4
Command
Outcome
Quassel core identd is listening on all IPv6 addresses, no IPv4.
Quassel core Qt 4: all IPv6, local IPv4
Command
Outcome
Quassel core identd is listening on all IPv6 addresses, and likely all IPv4. This appears to be a Qt 4 limitation. See earlier tests.
Quassel core Qt 4: all IPv6, local IPv4, custom port
Command
Outcome
Quassel core identd is listening on all IPv6 addresses, and likely all IPv4, on port 55555. This appears to be a Qt 4 limitation. See earlier tests.
I haven't tested the
--config-from-environment
changes, but @justjanne is already using them in a Quassel Docker image.