summaryrefslogtreecommitdiff
path: root/src/ejabberd_listener.erl (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-01-02Update copyright date automatically (#1442)Badlop1-1/+1
2016-12-28Add xmpp_stream_out behaviour and rewrite s2s/SM codeEvgeniy Khramtsov1-3/+3
2016-01-13Update copyright to 2016 (#901)Badlop1-1/+1
2015-12-16Add accept_interval option in ejabberd_listenerAlexey Shchepin1-2/+61
2015-10-30Fix ipv6 configuration processing (#803)Evgeniy Khramtsov1-9/+12
2015-10-18ejabberd_listener: Fix ETS update on port reuseHolger Weiss1-2/+2
2015-06-17New hide_sensitive_log_data option to hide client IP in log (#452 #471)Badlop1-1/+1
2015-06-01Add config validation at startupEvgeniy Khramtsov1-12/+10
2015-04-14Don't forget gen_tcp:listen/2 optionsHolger Weiss1-1/+2
Fixes #530.
2015-04-07ejabberd_listener: Remove Erlang/OTP version checkHolger Weiss1-10/+2
We don't support Erlang/OTP versions older than R16 anyway.
2015-04-07fix otp version check in listen_tcp/5liudan1-3/+5
2015-03-24Fix "IP address not available" error messageHolger Weiss1-1/+1
2015-01-08Update copyright dates to 2015 (EJAB-1733)Badlop1-1/+1
2014-10-04Process XML-RPC requests via p1_xml and ejabberd_httpEvgeniy Khramtsov1-5/+1
2014-06-04Don't "forget" listener optionsHolger Weiss1-1/+1
If a listener is started or stopped via ejabberd_listener:add_listener/3 or ejabberd_listener:delete_listener/3, the configuration for all listener modules is updated using the Module:transform_listen_option/2 function for each listener module that exports such a function. However, for listener modules that don't provide that function (such as ejabberd_stun), all but one option was dropped. This is now fixed. The issue could be triggered e.g. by enabling mod_proxy65 in the modules section.
2014-05-08TURN support (EJAB-1017)Evgeniy Khramtsov1-12/+0
2014-05-03Assume udp_recv/5 now returns new optionsEvgeniy Khramtsov1-5/+5
2014-05-03Assume tcp_init/2 and udp_init/2 now return new optionsEvgeniy Khramtsov1-17/+16
2014-04-30SIP supportEvgeniy Khramtsov1-0/+36
Conflicts: configure configure.ac doc/guide.tex
2014-04-11Pretty print accepted transport addressEvgeniy Khramtsov1-3/+4
2014-03-13Update copyright dates to 2014 (EJAB-1679)Badlop1-1/+1
2014-02-22Update FSF addressJamie Nguyen1-4/+3
2013-11-02Do not try to start STUN application during config checksEvgeniy Khramtsov1-1/+7
2013-08-21Change configuration file format to YAMLEvgeniy Khramtsov1-22/+77
2013-06-17Fix the error report of an incorrect certfileEvgeniy Khramtsov1-2/+3
2013-06-13Switch to rebar build toolEvgeniy Khramtsov1-1/+11
Use dynamic Rebar configuration Make iconv dependency optional Disable transient_supervisors compile option Add hipe compilation support Only compile ibrowse and lhttpc when needed Make it possible to generate an OTP application release Add --enable-debug compile option Add --enable-all compiler option Add --enable-tools configure option Add --with-erlang configure option. Add --enable-erlang-version-check configure option. Add lager support Improve the test suite
2013-05-14Tweak ejabberd_listener to allow ejabberd_xmlrpc work properlyBadlop1-1/+5
2013-03-14Accumulated patch to binarize and indent codeBadlop1-15/+65
2013-01-24Update copyright datesAlexey Shchepin1-1/+1
2012-03-19Change log level from informational to errorEvgeniy Khramtsov1-2/+2
2012-02-23Update copyright datesAlexey Shchepin1-1/+1
2011-02-14update copyright up to 2011Christophe Romain1-1/+1
2010-11-10Before binding tcp ports, checks the socket type and listener optionsAndreas Köhler1-8/+19
If the callback module has a socket type of independent and needs to create the listener itself, do not pre-bind the port. The same holds if there are errors in the listener configuration.
2010-11-10Bind listener ports early and start accepting connections laterAndreas Köhler1-31/+69
It may happen that auth or rdbms client tcp connections bind a local socket to a port number required by a configered listener. The ejabberd applications fails to start up and needs to be restarted. In plain C you would bind(2) the listener port and listen(2) later on. gen_tcp:listen/2 does not allow to separate these two steps though, so another way is not to accept connections while start up. OTOH, the kernel will syn/ack incoming connections and receive data, leaving them in a buffer for the ejabberd to read from. If this is unwanted, a load balancer would need to receive data from the ejabberd server before adding the node to its pool. This patch binds tcp ports while initializing the ejabberd_listener process, storing ListenSockets in an ets table. start_listeners/0 will reuse these ports later on.
2010-01-16Fix OTP version detection to work with old supported R10 and R11Badlop1-4/+6
SVN Revision: 2906
2010-01-12Update year of ProcessOne copyright from 2009 to 2010 (EJAB-1159)Badlop1-1/+1
SVN Revision: 2891
2010-01-03Command to stop ejabberd informing users, with grace period, and kindly ↵Badlop1-0/+9
(EJAB-1112) SVN Revision: 2853
2009-11-06Fix bug that forgot listener options when using R12 or older.Badlop1-1/+1
SVN Revision: 2734
2009-10-19Provide send_timeout_close option in TCP only in R13B or higher (EJAB-926)Badlop1-2/+5
SVN Revision: 2680
2009-10-19Support ejabberd_listener option 'backlog' to increase TCP backlog (thanks ↵Badlop1-0/+1
to Janusz Dziemidowicz)(EJAB-1063) SVN Revision: 2678
2009-10-19Support gen_tcp send timeout: Close the connection if the other end has ↵Mickaël Rémond1-0/+1
disconnected ungracefully or cannot keep up with the rate at which we are sending data (EJAB-926) SVN Revision: 2671
2009-08-11it is now possible to start TCP/UDP on the same portEvgeniy Khramtsov1-27/+60
SVN Revision: 2452
2009-08-09RFC5389 (STUN) support: stand-alone server, binding usage onlyEvgeniy Khramtsov1-13/+67
SVN Revision: 2450
2009-02-24* src/ejabberd_listener.erl: Fix report message of 'undef' errorBadlop1-2/+2
SVN Revision: 1916
2009-02-21Fix a minor compilation warning and add EDoc commentBadlop1-3/+10
SVN Revision: 1907
2009-02-20* src/ejabberd_listener.erl: When stopping a listener, don't stopBadlop1-4/+1
the listener supervisor (EJAB-874) SVN Revision: 1891
2009-02-17* src/ejabberd_listener.erl: More error detectionsBadlop1-13/+7
SVN Revision: 1884
2009-02-17* src/ejabberd_listener.erl: More error detectionsBadlop1-0/+7
SVN Revision: 1883
2009-02-16* src/ejabberd_config.erl: Check certfiles are readable on serverBadlop1-21/+53
start and listener start (EJAB-753) * src/ejabberd_listener.erl: Likewise SVN Revision: 1882
2009-02-13* src/ejabberd_listener.erl: Report error at startup if a listenerBadlop1-2/+21
module isn't available or is not an ejabberd listener (EJAB-868) SVN Revision: 1875