Commit Graph

23 Commits

Author SHA1 Message Date
Rubin 96c92ef8ca Change default flood rates to match RFC1459, prevent excess flood problems
I noticed that the default network flood rates are wrong (for most
networks). It has been very standard since the beginning of IRC to use a
value of 2 seconds per line, with a 10 line head start. Almost all
networks work this way, and if you don't follow, having a lot of
channels or a lot of clients connected to ZNC results in excess flood
disconnections and much frustration for the user.

I think you should make the default value for these 2 and 9 instead of 1
and 4 so that this nasty bug doesn't hit people who will not know how to
debug it. You find these same types of settings built into every IRC
client. 2 and 10 is the standard. 2 and 9 provides a slight buffer so
there is no mistake.

Thanks
-Rubin

Close #1416
2017-06-01 08:22:21 +01:00
Cizzle ab34760613 crypt: Add Get/SetNickPrefix commands (#1382)
Hide the internal keyword from ListKeys
2017-03-15 18:28:00 +00:00
Alexey Sokolov 9e941cb972 Fix test for autoconf build 2017-03-01 23:37:23 +00:00
Christophe Beauval cba58ca862 Add DH1080 keyexchange to the crypt module.
Close #1378
2017-03-01 01:16:06 +00:00
Alexey Sokolov 88d1e27cc6 Fix CMake build:
* VERSION_EXTRA is now supported
* znc-buildmod uses the correct ZNC library instead of one in /usr/share
2017-02-28 23:01:09 +00:00
Uli Schlachter 74bfbea6f2 Speed up FixCVE20149403 test
The test was unnecessarily waiting for ZNC to join some channel, which
took a long time.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-02-28 13:07:15 +01:00
Uli Schlachter 7b2a127841 Fix tests relying on table output
The output style of tables was recently changed. This broke the
ControlpanelModule integration test. Adapt some of the patterns used so
that they work again.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-02-28 12:59:00 +01:00
Uli Schlachter 1543635abf integration tests: Improve message when ZNC is missing
Previously, "more or less unrelated" things would fail. After this
change, also a message is printing that gives a hint on what went wrong.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-02-28 12:57:13 +01:00
lol768 d40d87e268 Fix race condition by using ReadUntil per review 2016-10-05 09:32:02 +01:00
lol768 e066f896ef Add integration test for module CSRF overrides 2016-10-05 09:32:02 +01:00
Alexey Sokolov 222ae86fcc Fix newest additions to keepnick module and write the test for it.
Fix the documentation.

See #1324 and #1325
2016-10-05 09:21:21 +01:00
Alexey Sokolov ac0048cc01 Make ZNC faster in the integration test.
This is not appropriate for normal usage.
2016-10-04 01:19:34 +01:00
Alexey Sokolov 87ca820bda Make integration test to load until module is loaded before testing it. 2016-10-03 23:55:35 +01:00
Alexey Sokolov 6708233479 Add more debug output to test which often hangs on cygwin 2016-07-30 09:19:52 +01:00
Alexey Sokolov e4194de153 Remove another line which I added only for debug... 2016-07-29 23:28:10 +01:00
Alexey Sokolov 8f61d9e182 Remove line which I added for debug... 2016-07-29 23:25:31 +01:00
Alexey Sokolov d95e0c7365 Combine test of buildmod to single file. 2016-07-29 23:21:08 +01:00
Alexey Sokolov 847f2baf24 Fix a null pointer dereference.
It sometimes happened when user attaches to a channel.

No released version is affected.

Thanks to Zoddo for the report!
2016-07-29 23:13:02 +01:00
Alexey Sokolov 17e0d1031e Revert broken test of shell module... 2016-03-14 21:20:40 +00:00
Alexey Sokolov 2fdbe51df5 Fix #1248: segfault in shell module.
It happened when client disconnects.
2016-03-04 08:04:03 +00:00
Alexey Sokolov 9b31a077a5 Update integration test after change in webadmin 2016-02-24 23:01:39 +00:00
Alexey Sokolov 3dd8f4a214 Expand workaround for Qt on cygwin to 32 bit version 2016-01-16 21:41:09 +00:00
Alexey Sokolov 561a18054c Yet another attempt to use CMake 2016-01-15 10:50:33 +00:00