Commit graph

21 commits

Author SHA1 Message Date
jesopo
f2a13f9015 don't get far in to attempting sasl when we haven't got it configured 2019-11-08 13:34:05 +00:00
jesopo
e26d769b7b refactor sasl a little and fix logic to retry on 908 2019-11-08 13:30:08 +00:00
jesopo
1231067012 'server_mechanimsms' -> 'server_mechanisms' typo 2019-11-08 10:20:23 +00:00
jesopo
4f5dbbb6e0 actually set server._sasl_timeout 2019-10-30 11:41:49 +00:00
jesopo
c0c1f85e83 timeout sasl/AUTHENTICATE handshakes after 15 seconds. closes #195 2019-10-30 11:20:07 +00:00
jesopo
0675285624 never bot.panic() on sasl hard fail - always just reconnect indefinitely 2019-10-30 11:03:55 +00:00
jesopo
877287291a reason arg of panic() shouldn't be optional, detect current exception 2019-10-25 14:31:09 +01:00
jesopo
6a0d41f069 make 'sasl' setting 'sensitive' 2019-10-07 13:12:17 +01:00
jesopo
3466a3c43e Allow utils.Setting_ parse functions to throw detailed errors 2019-10-04 10:25:48 +01:00
jesopo
1d34363db4 default sasl-hard-fail to false but add a bot-wide setting for it 2019-09-30 10:41:57 +01:00
jesopo
203216d94d Switch more settings to FunctionSettings 2019-09-04 14:27:10 +01:00
jesopo
4ba99e57b7 .upper() SASL mechanism name 2019-09-02 10:29:20 +01:00
jesopo
ae9d099a41 Refactor set/channelset/serverset/botset in to 'utils.Setting' objects 2019-06-28 23:16:05 +01:00
jesopo
6e93b1e990 Fix more instances of event["args"] (now event["line"].args) 2019-06-22 22:08:39 +01:00
jesopo
4bcc02f32d WARN log for soft SASL failure 2019-06-17 18:22:12 +01:00
jesopo
ee9a67730a _end_sasl takes a server param 2019-06-17 18:11:02 +01:00
jesopo
47acd4adc3 Add a setting to disable "hard" sasl failure 2019-06-17 14:22:08 +01:00
jesopo
72ce880478 Only panic() when a server connection is part of bot init. closes #69 2019-06-17 14:20:11 +01:00
jesopo
0c02368023 panic() if a sasl dance fails on first connection, disconnect on reconnect sasl
fail
2019-06-17 14:07:44 +01:00
jesopo
d3cb7dc5cd 'hunder2' -> 'hunter2'. meme typos D: 2019-06-04 09:30:33 +01:00
jesopo
9a8b345c53 Prefix names for all IRCv3 modules with "ircv3_" 2019-06-03 12:44:04 +01:00
Renamed from modules/sasl/__init__.py (Browse further)