aboutsummaryrefslogtreecommitdiff
path: root/src/mod_proxy65_stream.erl (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-02-11Update copyright year to 2022Badlop1-1/+1
2021-01-27Update newest copyright year to 2021 (#3464)Badlop1-1/+1
2020-01-28Update copyright to 2020 (#3149)Badlop1-1/+1
2019-09-23Correctly handle unicode in log messagesEvgeny Khramtsov1-2/+2
2019-06-14Use new configuration validatorEvgeny Khramtsov1-53/+22
2019-04-01Rename listening callback from start/2 to start/3Evgeny Khramtsov1-5/+4
This will prevent conflicts in callback names in mod_mqtt Old callback function is still supported.
2019-01-08Update copyright to 2019 (#2756)Badlop1-1/+1
2018-09-17Refactor ejabberd listener APIEvgeny Khramtsov1-11/+20
2018-07-17Move cancel_timer/1 function into 'misc' moduleHolger Weiss1-2/+2
2018-07-05Move shaper to p1_utils repoEvgeniy Khramtsov1-4/+4
2018-07-03Don't ignore send() resultEvgeniy Khramtsov1-8/+13
2018-07-03Increase default buffer size for mod_proxy65Evgeniy Khramtsov1-2/+2
2018-06-14Get rid of ejabberd.hrl headerEvgeniy Khramtsov1-1/+0
The header consisted of too many unrelated stuff and macros misuse. Some stuff is moved into scram.hrl and type_compat.hrl. All macros have been replaced with the corresponding function calls. TODO: probably type_compat.hrl is not even needed anymore since we support only Erlang >= OTP 17.5
2018-04-30Add validator for 'accept_interval' listening optionEvgeniy Khramtsov1-1/+4
2018-01-23Introduce new gen_mod callback: mod_options/1Evgeniy Khramtsov1-8/+13
The callback is supposed to provide known options and their default values, as long as the documentation. Passing default values into get_mod functions is now deprecated: all defaults should be provided by the Mod:mod_options/1 callback.
2018-01-05Update copyright datesEvgeniy Khramtsov1-1/+1
2017-08-05Replace gen_fsm with p1_fsm to avoid warnings in OTP20+Evgeniy Khramtsov1-5/+5
2017-04-30Don't validate an option in gen_mod:get*opt() functionsEvgeniy Khramtsov1-17/+23
The changes are very similar to those from previous commit: * Now there is no need to pass validating function in gen_mod:get_opt() and gen_mod:get_module_opt() functions, because the modules' configuration keeps already validated values. * New functions gen_mod:get_opt/2 and gen_mod:get_module_opt/3 are introduced. * Functions gen_mod:get_opt/4 and get_module_opt/5 are deprecated. If the functions are still called, the "function" argument is simply ignored. * Validating callback Mod:listen_opt_type/1 is introduced to validate listening options at startup.
2017-02-26Get rid of jid:to_string/1 and jid:from_string/1Evgeniy Khramtsov1-2/+2
2017-01-17Better log bytestream terminationEvgeniy Khramtsov1-1/+1
2017-01-16Implement database backend interface for mod_proxy65Evgeniy Khramtsov1-3/+5
2017-01-02Update copyright date automatically (#1442)Badlop1-1/+1
2016-06-21Use {access,shaper}_rules_validator in other places where access rules are usedPaweł Chmielowski1-1/+1
2016-01-13Update copyright to 2016 (#901)Badlop1-1/+1
2015-11-24Move JID related functions to jid.erl (#847)Evgeniy Khramtsov1-2/+2
2015-06-03Remove unused validation codeEvgeniy Khramtsov1-13/+1
2015-06-01Add config validation at startupEvgeniy Khramtsov1-2/+13
2015-05-06Use SASL PLAIN authzid as client identity if auth module permits itBen Langfeld1-1/+1
This allows the authentication modules to perform SASL proxy authentication. It puts the onus on them to authorize the authcid to masquerade as the authzid. Doesn't currently implement such functionality in existing auth modules, since they cannot currently codify a relationship between the two identities. Does not permit the authzid to use a domain differently from the one of the connection. Note: digest might not work, but I have no interest in it, being deprecated.
2015-01-08Update copyright dates to 2015 (EJAB-1733)Badlop1-1/+1
2014-03-13Update copyright dates to 2014 (EJAB-1679)Badlop1-1/+1
2014-02-22Update FSF addressJamie Nguyen1-4/+3
2013-08-21Change configuration file format to YAMLEvgeniy Khramtsov1-4/+8
2013-06-13Switch to rebar build toolEvgeniy Khramtsov1-0/+1
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-03-14Accumulated patch to binarize and indent codeBadlop1-145/+142
2013-01-24Update copyright datesAlexey Shchepin1-1/+1
2012-02-23Update copyright datesAlexey Shchepin1-1/+1
2011-02-14update copyright up to 2011Christophe Romain1-1/+1
2010-01-12Update year of ProcessOne copyright from 2009 to 2010 (EJAB-1159)Badlop1-1/+1
SVN Revision: 2891
2009-05-25Decrease proxy65 buffer sizes to 8192 bytes.Badlop1-2/+2
The original size of 65535 confused clients with tight shapers (thanks to Evgeniy Khramtsov) SVN Revision: 2096
2009-01-12* src/ejabberd_listener.erl: New way to configure IP address andBadlop1-1/+2
IP version of listener. Support for definition of IP address in string format, and implicit definition of IP version (EJAB-388). Support for defining several listeners: all with same port number but different IP addresses (EJAB-389)(thanks to Fabrice Colliot and Sergei Golovan). Better report in WebAdmin of problem when starting a listener. The old configuration method of ip tuple and inet6 is fully supported for backwards compatibility, but is not documented in the Guide anymore. * src/ejabberd_config.erl: Likewise * src/mod_proxy65/mod_proxy65_stream.erl: Likewise * src/mod_proxy65/mod_proxy65_service.erl: Likewise * src/web/ejabberd_web_admin.erl: Likewise * doc/guide.tex: Document the new way to configure IP address and IP version of listener, undocument options ip and inet6 * doc/guide.html: Likewise SVN Revision: 1812
2009-01-12* doc/guide.tex: Update copyright date 2008 to 2009 (EJAB-842)Badlop1-2/+2
* doc/guide.html: Likewise * src/*/*.erl: Likewise * src/*/*.erl: Remove unneeded blankspaces in license text SVN Revision: 1804
2008-07-31* doc/guide.tex: Update Process-one name to ProcessOne (EJAB-708)Badlop1-1/+1
* doc/guide.html: Likewise * doc/api/overview.edoc: Likewise * src/*/*.erl: Likewise * src/*/*.hrl: Likewise * src/*/*.c: Likewise * src/odbc/*.sql: Likewise SVN Revision: 1499
2008-07-24* src/mod_proxy65/mod_proxy65_lib.erl: Send protocol compliantBadlop1-1/+1
SOCKS5 reply; this breaks support of uncompliant Psi<0.10 (thanks to Felix Geyer)(EJAB-632) * src/mod_proxy65/mod_proxy65_stream.erl: Likewise SVN Revision: 1488
2008-07-13* src/configure.ac: Update installation permissions (EJAB-402)Badlop1-1/+1
* src/configure: Likewise * src/Makefile.in: The mnesia, ebin and priv dirs are now installed in different locations. Install header files and documentation (EJAB-696) * doc/guide.tex: Likewise * doc/guide.html: Likewise * include/*.hrl: Place for all ejabberd header files (EJAB-696) * src/*/*.erl: Update references to header files * src/*/Makefile.in: Include the include/ dir SVN Revision: 1441
2008-01-15* doc/guide.tex: Updated copyright dates to 2008Badlop1-1/+1
* src/*: Likewise SVN Revision: 1153
2007-12-24* Applied copyright patch 3.Mickaël Rémond1-1/+18
SVN Revision: 1113
2007-06-27Cancel revision 798Jérôme Sautret1-1/+1
SVN Revision: 799
2007-06-27Unsafe working version of http file transferJérôme Sautret1-1/+1
SVN Revision: 798
2007-02-22* src/mod_proxy65/mod_proxy65_sm.erl: Cluster support (thanks toAlexey Shchepin1-5/+4
Evgeniy Khramtsov) * src/mod_proxy65/mod_proxy65_stream.erl: Code cleanup (thanks to Evgeniy Khramtsov) * src/mod_proxy65/mod_proxy65.hrl: Fixed typo (thanks to Evgeniy Khramtsov) SVN Revision: 736
2006-10-28* src/mod_proxy65/: XEP-0065 proxy (thanks to Evgeniy Khramtsov)Alexey Shchepin1-0/+273
* src/Makefile.win32: Likewise * src/Makefile.in: Likewise * src/configure.ac: Likewise * src/jlib.hrl: Likewise * src/ejabberd.hrl: Added the ejabberd URL SVN Revision: 666