Badlop
f675ae1e8c
Add callback function print_state/1 for behavior p1_fsm
2011-12-08 12:58:52 +01:00
Badlop
b03828d2f7
Fix a recent commit
2011-12-08 12:55:50 +01:00
Pablo Polvorin
df2e050780
Prevent overload of incomming s2s connections
...
Three changes were introduced:
1) ejabberd_s2s_in now uses p1_fsm instead of gen_fsm. And uses
the {max_queue, N} option to kill the process if its input
queue grows too much.
2) If a ejabberd_s2s_in process is overload and killed, the server
that originated that connection is not allowed to connect back
to us for X seconds (set to 60seconds on the source)
3) The list of blocked (both statically and dynamically by the above
method) host is now also checked for hosts authenticating by
starttls+sasl. Previusly it was only used during dialback.
2011-12-02 15:36:51 -03:00
Pablo Polvorin
089331caf0
Fix bug on s2s shaper when TLS is used
...
The shaper was not enabled if the remote server authenticates
using a certificate instead of dialback.
2011-12-01 13:22:36 -03:00
Christophe Romain
db834ca421
add hooks for node creation/deletion (EJAB-1470)
2011-11-29 15:48:49 +01:00
Badlop
5594e1470f
Use httpc instead of the deprecated http
2011-11-26 17:20:13 +01:00
Badlop
f7076f49b6
Avoid a possible race condition
2011-11-26 17:04:18 +01:00
Janusz Dziemidowicz
5c40d38b69
Remove some leftovers of XEP-0018.
...
Support for XEP-0018 was dropped long ago, but there are some
leftovers. Remove them.
2011-11-17 18:07:57 +01:00
Badlop
e2763b7d11
Comment section 6.3.1 because it has no content at all
2011-11-15 16:49:50 +01:00
Evgeniy Khramtsov
80188d3a52
Fix presence problem after first unavailable (thanks to Christopher Faulet) (EJAB-1466)
2011-11-09 15:11:50 +10:00
Badlop
6575f899b6
Support to update modules in R14B04 and higher
2011-11-03 19:56:38 +01:00
Badlop
3cd9cd0e36
Only verify if passwd table is SCRAMmed when starting module. Some format fixes.
2011-10-28 16:43:07 +02:00
Badlop
576dda5c87
Fix previous commit about language name
2011-10-20 17:33:33 +02:00
Badlop
35a71fc493
Fix extraction of language name from PO files
2011-10-20 15:46:17 +02:00
Badlop
1a3abf15c0
Use the 'host' option also for static_modules, instead of 'prefix'
2011-10-20 11:13:36 +02:00
Badlop
c7c59766b2
When a vhost is removed, remove also its accounts and rooms (EJAB-1371)
2011-10-20 11:13:23 +02:00
Badlop
e681f4d4cf
Remove workaround, as now the correct #roster format is received
2011-10-10 17:15:16 +02:00
Badlop
b2a6eccded
Revert "Update ejabberd version number to 3.0.0-alpha-4"
...
This reverts commit a6e5fb269c
.
2011-10-04 11:19:04 +02:00
Badlop
a6e5fb269c
Update ejabberd version number to 3.0.0-alpha-4
2011-09-26 18:07:01 +02:00
Badlop
96c99b6427
Added relevant changes of 'master' branch.
2011-09-26 18:03:30 +02:00
Janusz Dziemidowicz
3fd5513549
Decrease CPU usage caused by tls:send with large data.
...
Sending one large chunk of data with tls:send eats lots of
CPU power and blocks whole Erlang emulator. This is caused by the
fact that encrypted output is read from memory BIO in 1k chunks.
Memory BIO, after reading data, shifts the remaining part.
If large chunks of data (few MB) is sent and then read in 1k
chunks, then a _lot_ of shifting is performed eating CPU.
The solution is to simply allocate binary of the needed size
(amount of data in memory BIO can be retrieved with
BIO_ctrl_pending) and then issue only one read that reads the
whole data.
2011-09-25 00:56:15 +02:00
Badlop
804549415d
Fix mod_muc_log crash when first log entry is room being destroyed (EJAB-1499)
2011-09-23 17:02:00 +02:00
Christophe Romain
fa08db7091
fix broken PEP after EJAB-1498 (thanks to Karim Gemayel)
2011-09-22 20:49:56 +02:00
Badlop
df0754ade9
ejabberdctl doesn't support parameters with blankspaces (EJAB-1458)
...
Revert "Escape output from ctlexec() to erl script (thanks to Dan Scott)(EJAB-1399)"
This reverts commit 6dea2d2307
.
2011-09-22 16:18:44 +02:00
Christophe Romain
d3c4eab46f
Fix Denial of Service when user sends malformed publish stanza (thanks to Oleg Smirnov) (EJAB-1498)
2011-09-21 14:40:47 +02:00
Badlop
1c62edc53c
added svg mimetype to default content types (thanks to Markus Kohlhase)
2011-09-20 16:50:32 +02:00
Badlop
17099eaaca
Add support for @online@ to add_user_to_group
2011-09-20 16:45:08 +02:00
Evgeniy Khramtsov
f3f80ea0ea
New option support: ldap_deref_aliases (EJAB-639)
...
Conflicts:
src/ejabberd_auth_ldap.erl
2011-09-19 17:03:36 +10:00
Badlop
8b45ee5208
Use NS_XBOSH instead of NS_BOSH (thanks to Janusz Dziemidowicz)
...
There are two, exactly the same defines for urn:xmpp:xbosh
namespace: NS_BOSH and NS_XBOSH. Both are used in http_bind
module. Stick with NS_XBOSH everywhere.
2011-09-16 01:17:26 +02:00
Janusz Dziemidowicz
1dc1795f2a
Update http_bind module to latest XEP-0124 and XEP-0206
...
Only cosmetic changes, version bumped to 1.10 and added
'restartlogic' attribute.
2011-09-16 01:17:23 +02:00
Badlop
a435c4b123
No need to explicitly skip old useless tables, simply fix keep_tables
2011-09-14 16:19:23 +02:00
Badlop
151994c8d5
Avoid crash when performing admin action (thanks to Evgeniy Khramtsov)
2011-09-09 11:29:46 +02:00
Badlop
1aa36cb05c
Fixed support for multi-resource occupants (EJAB-305)
2011-09-08 16:18:22 +02:00
Badlop
e6e146c0f7
Improve room config change logging, due to allow_private_messages_from_visitors
2011-09-08 12:35:59 +02:00
Badlop
adc37a8cc6
Support to import XML files without password-format attribute
2011-09-08 11:43:21 +02:00
Badlop
b017702a15
Clarification about system user of ejabberd.init
2011-09-06 13:40:04 +02:00
Badlop
d6d58d13f7
Fix SCRAM to support attributes which value has only one character
2011-09-05 23:37:57 +02:00
Badlop
8bcde56409
Fix typo in the Guide about user_regexp
2011-09-05 19:36:32 +02:00
Badlop
e1e75b2852
Fix support to negotiate zlib compression after starttls
2011-09-05 16:53:04 +02:00
Badlop
d6d3190b47
Fix SASL auth error conditions
2011-09-05 16:29:30 +02:00
Badlop
fed00a0c17
Fix SCRAM auth of uppercase passwords (EJAB-1196)
2011-09-05 13:04:26 +02:00
Badlop
4fcff0b6b9
Replace calls of OTP's Binary, since they would require R14
2011-09-04 15:19:10 +02:00
Badlop
d1f1958dd4
Replace the full ejabberd_zlib into a simple exmpp_compress interface (EJAB-991)
2011-09-03 01:04:33 +02:00
Badlop
adc4a7f67c
Fix zlib compression connection (EJAB-1448)
2011-09-03 00:06:53 +02:00
Badlop
ad6218cdf2
Use the syntax PRIMARY KEY (field(int)) only for MySQL (EJAB-1337)
2011-09-02 13:50:03 +02:00
Badlop
edda5e1747
Updated mysql schema with current dump (EJAB-1474)
2011-09-02 13:15:03 +02:00
Christophe Romain
2f5dc0d35d
enable pubsub#deliver_notification checking (thanks to Karim Gemayel)(EJAB-1453)
2011-08-31 16:42:44 +02:00
Badlop
dbe71153dc
Explicitly skip useless ejabberd 2.0* mnesia tables when restoring backup
...
Reference:
http://www.ejabberd.im/node/4867
2011-08-29 12:38:42 +02:00
Badlop
8ddbf1c1c5
Allow multiple entry with same nick to MUC rooms (thanks to Magnus Henoch)(EJAB-305)
2011-08-23 21:52:08 +02:00
Badlop
7d3633e91c
Fix more Dialyzer warnings
2011-08-22 22:26:54 +02:00