Skip to content
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

irc: add option irc.network.sasl_fail_unavailable (closes #600) #697

Merged
merged 1 commit into from Feb 24, 2016

Conversation

sim642
Copy link
Member

@sim642 sim642 commented Feb 23, 2016

Previously SASL did not fail when it was set up for the server but wasn't supported by it. This makes no difference when the server's sasl_fail is set to "continue" but might make a difference if set to "disconnect" or "reconnect".
To make sure server connection is not made under such circumstances, this patch adds an extra configurable ("on" by default) check to trigger SASL failure when it is set up but not supported by the server. Although not directly a SASL failure, this makes SASL not-authenticated scenarios all handled consistently, while providing extra security by not silently ignoring not being authenticated as requested.

Previously SASL did not fail when it was set up for the server but wasn't
supported by it. This makes no difference when the server's sasl_fail is
set to "continue" but might make a difference if set to "disconnect" or
"reconnect".
To make sure server connection is not made under such circumstances, this
patch adds an extra configurable ("on" by default) check to trigger SASL
failure when it is set up but not supported by the server. Although not
directly a SASL failure, this makes SASL not-authenticated scenarios all
handled consistently, while providing extra security by not silently
ignoring not being authenticated as requested.
@sim642 sim642 changed the title irc: add option irc.config.network.sasl_fail_unavailable (closes #600) irc: add option irc.network.sasl_fail_unavailable (closes #600) Feb 23, 2016
@flashcode flashcode added the feature New feature request label Feb 24, 2016
@flashcode flashcode merged commit 30b64b8 into weechat:master Feb 24, 2016
@flashcode flashcode added this to the 1.5 milestone Feb 24, 2016
@flashcode flashcode self-assigned this Feb 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants