Commit Graph

55 Commits

Author SHA1 Message Date
Falk Rund 6402d241ac Welcome to 2022
The same procedure as last year, Miss Sophie?
Same procedure as every year, James.
2022-01-01 14:05:32 +01:00
Alexey Sokolov 6f28db4a5e Don't crash when receiving SASL lines from server without having negotiated SASL via CAP
Reported by Noisytoot on Pissnet, thanks
2021-11-28 16:27:44 +00:00
MAGIC 99687b0f24 Welcome to 2021 2021-01-01 19:37:07 +01:00
Kyle Fuller f9fc9b4044 sasl: don't forward 908 numeric to clienT 2020-09-11 18:44:10 +01:00
Alexey Sokolov 5a047d4b58 Merge commit 'refs/pull/1635/head' of github.com:znc/znc 2020-03-29 11:17:55 +01:00
MAGIC 9081aa971d Welcome to 2020 2020-01-02 00:36:05 +01:00
girst fe8d447a60 listify two-column tables
excluded are the Q and partyline modules, as they are deprecated. There
are some tables that have more than two columns, but could likely be
easily modified, but this will be attempted at a later time.
2019-05-29 18:49:18 +02:00
Uli Schlachter 75475972d7 sasl: Fix sending of long authentication information
The specification requires AUTHENTICATE information to be split into
chunks of size 400. This commit implements the necessary chunking.

Fixes: https://github.com/znc/znc/issues/942
Signed-off-by: Uli Schlachter <psychon@znc.in>
2019-01-24 13:11:50 +01:00
dgw 8d5427cf9b Welcome to 2019
What are we going to do today, Brain?

The same thing we do every year, Pinky: Update all the copyright
headers!

[Skip CI]
2019-01-01 17:05:05 -06:00
Falk Seidel d647eaabc0 Welcome to 2018
The same procedure as last year, Miss Sophie?
The same procedure as every year, James.

[skip ci]
2018-01-19 19:38:58 +00:00
Alexey Sokolov a80074712a More translateable strings, #1354 2017-10-30 22:56:36 +00:00
Phansa 3189ce7f8a Welcome to 2017
Welcome to 2017

temp

temp2
2017-03-12 20:34:26 -04:00
Jos Ahrens 188b091514 SASL: More informative help command for Set.
With #1338, the parameter username was made optional, but the help
was not changed to reflect this.

ref. https://github.com/znc/znc/pull/1338#issuecomment-270563035
2017-01-12 22:12:01 +00:00
Jos Ahrens 881fa94add sasl: Make the first requirement for SET actually mandatory, return information about settings if no input for SET 2016-11-12 14:38:35 +00:00
Uli Schlachter 9864b2716a [sasl] Do not try to convert entire "verbose" command to bool
Fixes #1291
2016-07-08 02:19:41 -05:00
Alexey Sokolov ae803769c2 Merge branch '1.6.x' 2016-01-17 12:09:16 +00:00
Alexey Sokolov 66daadfee8 sasl: add option to show which mechanisms failed and succeeded
Fix #770
2016-01-17 12:04:53 +00:00
Falk Seidel 8f73840e74 Welcome to 2016
🎆  Happy 2016 🎆
2016-01-01 20:11:21 +01:00
Daniel Barnes d4c299049e modules/sasl, modules/route_replies: interpret messages as intended even if they have prefix tags 2015-12-22 08:30:26 -07:00
Alexey Sokolov d185d6f22d clang-format: switch tabs to spaces
I like tabs, but I have to admit that spaces make source code more
consistent, because every editor/viewer tends to render tabs differently :(
2015-12-07 00:53:30 +00:00
Alexey Sokolov 33b0627d75 Add clang-format configuration.
For now, it uses tabs like before, to make the diff easier to read/check.
One of following commits will switch it to spaces.
2015-12-07 00:53:01 +00:00
Alexey Sokolov 0d8bb7e597 Merge branch '1.6.x'
Conflicts:
	modules/cyrusauth.cpp
	modules/keepnick.cpp
	modules/notes.cpp
2015-10-30 14:56:28 +00:00
Alexey Sokolov 096dc5b320 Fix some unitialized fields in modules.
They are not used before OnLoad anyway, but Coverity will be happier.
2015-10-30 14:52:51 +00:00
J-P Nurmi c920282fd1 sasl: C++11 range-based for loops 2015-08-13 15:21:12 +02:00
Mikaela Suomalainen 02ba375966 sasl: enable all mechanisms by default 2015-04-29 07:59:17 +03:00
Alexey Sokolov cc0574b084 Add drag-and-drop to SASL webpage 2015-04-04 10:28:38 +02:00
J-P Nurmi 72223febcf SASL: add webadmin interface (closes #910) 2015-04-04 10:28:38 +02:00
J-P Nurmi 75b210e841 Search'n'replace remaining NULL occurrences (#816) 2015-02-26 20:58:01 +01:00
J-P Nurmi 6002bd5c2b Remove unnecessary virtual keyword occurrences
This makes it convenient to 'grep virtual' and 'grep override' :)
2015-02-25 18:33:09 +01:00
J-P Nurmi d7598a76dc Merge pull request #878 from Mkaysi/sasl16
modules/sasl.cpp: update help for "set"
2015-02-19 09:29:36 +01:00
Mikaela Suomalainen 2082362b0b modules/sasl.cpp: update help for "set"
This is the same as #793, but for correct branch.

Closes #793
2015-02-19 10:08:45 +02:00
Mikaela Suomalainen 848085db68 sasl: fix help text for requireauth
Closes #875
2015-02-19 08:30:41 +02:00
Falk Seidel 2e29d49a53 Welcome to 2015 2014-12-31 11:28:38 +01:00
Edoardo Spadolini beee1f74bc Mention username as well as password in the sasl module help 2014-12-26 10:30:35 +01:00
Edoardo Spadolini eac2469275 Remove DH-BLOWFISH and DH-AES from the sasl module 2014-12-26 10:19:42 +01:00
Mikaela Suomalainen fac07b2e5a sasl.cpp: don't advertise DH-* as secure
They were removed from Atheme, because people thought them to be more
secure than PLAIN + SSL, so ZNC shouldn't advertise them as secure.

I think that DH-AES and DH-BLOWFISH should say something about not being
widely supported, but I am not sure what. Newer Atheme doesn't support
it and with Anope they are optional unlike PLAIN and EXTERNAL that are
in their SASL core.
2014-12-21 21:28:13 +02:00
J-P Nurmi f9318d02cf modules: use override keyword
Resolves #736
2014-11-05 08:00:02 +01:00
J-P Nurmi 1bacec1dd3 Modules: use public API
Avoid accessing protected member variables directly, so
there's a chance of cleaning up the module API later.
2014-10-06 21:51:36 +02:00
Mikaela Suomalainen acf2aa4700 modules/sasl: disable DH-BLOWFISH & AES by default
Atheme has dropped them in their git version.
https://github.com/atheme/atheme/commit/15f6d84

I would also like EXTERNAL to be trid by default, but \*Cert and \*CertFP
aren't so used and that wouldn't probably be accepted.
2014-09-16 13:57:08 +03:00
Ingmar Runge b3021f913e squash some compiler warnings 2014-02-06 17:52:42 +01:00
Falk Seidel f19b4caa43 Welcome to 2014 - year 10 with ZNC 2013-12-31 10:10:55 +01:00
KindOne 47799abb0b modules/sasl.cpp: correct typo. 2013-08-29 08:58:19 +04:00
Alexey Sokolov b2dcad5fd4 Change ZNC license to Apache 2.0
The following people agreed with the change, in alphabetical order:
(people who approved in several ways are listed only once)
By email:
- Adam (from Anope)
- Austin Morton
- Brian Campbell
- Christian Walde
- Daniel Holbert
- Daniel Wallace
- Falk Seidel
- Heiko Hund
- Ingmar Runge
- Jim Hull
- Kyle Fuller
- Lee Aylward
- Martin Martimeo
- Matt Harper
- Michael J Edgar
- Michael Ziegler
- Nick Bebout
- Paul Driver
- Perry Nguyen
- Philippe (cycomate)
- Reuben Morais
- Roland Hieber
- Sebastian Ramacher
- Stefan Rado
- Stéphan Kochen
- Thomas Ward
- Toon Schoenmakers
- Veit Wahlich
- Wulf C. Krueger

By IRC:
- CNU
- Jonas Gorski
- Joshua M. Clulow
- Prozac/SHiZNO
- SilverLeo
- Uli Schlachter

At https://github.com/znc/znc/issues/311 :
- Alexey Sokolov
- Elizabeth Myers
- flakes
- Jens-Andre Koch
- Jyzee
- KindOne/ineedalifetoday
- Lee Williams
- Mantas Mikulėnas
- md-5
- Reed Loden

At the last few pull requests' comments:
- Allan Odgaard
- Jacob Baines
- Lluís Batlle i Rossell
- ravomavain
- protomouse

The following commits' authors didn't respond:
Trivial changes:
- f70f1086fd
- 4ca8b50e45

The changes which are not presented in master anymore:
- 5512ed2ea0
- 960a4498f7
- 0f739de2c0
- 7f53cc810b

Fix #311
Fix #218
2013-06-14 00:43:34 +04:00
Lluís Batlle i Rossell 87cdee0438 Fixing unaligned accesses in sasl module
Visible for example in armv5tel, without kernel fixup for unaligned accesses.
2013-06-12 20:45:29 +00:00
Uli Schlachter 1dbdc4f37d sasl: Add missing length check
This could otherwise lead to an integer underflow on specially crafted input.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2013-04-20 21:31:35 +02:00
Elizabeth Myers f161ac6182 Fix memory leak. Oops :(.
Found by KindOne on IRC. Thanks!
2013-04-16 17:19:52 -05:00
Elizabeth Myers f578bf9424 Implement DH-AES encrypted password scheme.
This is superior to DH-BLOWFISH as Blowfish may suffer from certain
classes of weak keys, which is difficult to mitigate against without
regenerating DH parameters repeatedly. AES also has faced far more
scrutiny and is believed to be more secure.

Reference implementation (services-side):
https://github.com/atheme/atheme/blob/master/modules/saslserv/dh-aes.c
2013-04-16 05:39:10 -05:00
KindOne 2db7307ac3 Remove unneeded headers. 2013-03-08 01:47:57 +07:00
TheLordOfTime 29d2ff001a modules/sasl.cpp: Description line for DH-BLOWFISH
Added a description to the output for DH-BLOWFISH SASL mechanism.
2013-01-11 21:39:51 -05:00
Un1matr1x 3a34593359 The same procedure as last year, Miss sophie?
Same procedure as every year, James.
2012-12-31 12:44:31 +01:00