-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make ident address configurable #435
Conversation
lib/irc/ident.js
Outdated
@@ -20,7 +20,8 @@ var net = require('net'); | |||
var log = require("../logging").get("irc-ident"); | |||
|
|||
var config = { | |||
port: 113 | |||
port: 113, | |||
adddress: "0.0.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adddress
@@ -321,6 +321,9 @@ ircService: | |||
# on instead of 113 here. | |||
# Default: 113. | |||
port: 1113 | |||
# The address to listen on for incoming ident requests. | |||
# Default: 0.0.0.0 | |||
address: "::" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you run this on a machine which does not support IPv6, does this work? I suspect it will fall over, so I would prefer if this value were set to "0.0.0.0"
instead. The docs aren't super clear either way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
::
binds for both IPv6 and IPv4 on most operating systems (including Linux and macOS). In which case this works on a machine that doesn't have an IPv6 address.
Also see the conversation for matrix-org/synapse#2232.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM
LGTM, thanks! |
This adds a configuration option for the listen address for incoming ident requests.