Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | net.websocket.frames: Replace bit fiddling code with util.struct | Kim Alvefur | 2022-03-06 | 1 | -48/+13 |
| | | | | | | Fallback code for not having either the string.pack and string.unpack functions available in Lua 5.4 or the struct lib is no longer needed since the struct lib was imported as util.struct in 3ce3633527af | ||||
* | prosodyctl: check turn: compare correct addresses for relay mismatch ↵ | Matthew Wild | 2022-03-05 | 1 | -2/+5 |
| | | | | detection (thanks Zash) | ||||
* | prosodyctl: check turn: Add check for private IP returned from STUN. | Matthew Wild | 2022-03-05 | 1 | -0/+4 |
| | |||||
* | prosodyctl: check turn: improve warning text to suggest issues | Matthew Wild | 2022-03-05 | 1 | -1/+5 |
| | |||||
* | prosodyctl: check turn: fix traceback when server does not provide realm/nonce | Matthew Wild | 2022-03-05 | 1 | -4/+12 |
| | | | | As coturn when installed out of the box on Debian (because auth isn't enabled?) | ||||
* | prosodyctl: check turn: fix formatting of multiple warnings | Matthew Wild | 2022-03-05 | 1 | -2/+3 |
| | |||||
* | prosodyctl: check turn: always show debug info even if test fails | Matthew Wild | 2022-03-05 | 1 | -11/+15 |
| | |||||
* | prosodyctl: check turn: Clearer error when unable to resolve external ↵ | Matthew Wild | 2022-03-05 | 1 | -1/+1 |
| | | | | service host | ||||
* | CHANGES: Mention STUN/TURN support in 'prosodyctl check' | Matthew Wild | 2022-03-05 | 1 | -0/+1 |
| | |||||
* | prosodyctl: check: include TURN checks by default | Matthew Wild | 2022-03-05 | 1 | -2/+2 |
| | |||||
* | prosodyctl: check: Slightly improved argument handling | Matthew Wild | 2022-03-05 | 1 | -1/+11 |
| | |||||
* | prosodyctl: check turn: show relayed address(es) in verbose mode | Matthew Wild | 2022-03-05 | 1 | -0/+7 |
| | |||||
* | net.stun: Support for xor-relayed-address attribute | Matthew Wild | 2022-03-05 | 1 | -2/+20 |
| | |||||
* | prosodyctl: check turn: Allow specifying port for the ping service | Matthew Wild | 2022-03-05 | 1 | -2/+9 |
| | |||||
* | prosodyctl: check turn: Add support for testing data relay with an external ↵ | Matthew Wild | 2022-03-05 | 1 | -4/+88 |
| | | | | STUN server via --ping | ||||
* | net.stun: Add xor-peer-address helper | Matthew Wild | 2022-03-05 | 1 | -0/+16 |
| | |||||
* | net.stun: Factor out address unpack, an operation common to multiple attributes | Matthew Wild | 2022-03-05 | 1 | -11/+12 |
| | |||||
* | net.stun: Name some more attributes from TURN | Matthew Wild | 2022-03-05 | 1 | -0/+3 |
| | |||||
* | net.stun: Add lookup table generation helper, reduces code duplication | Matthew Wild | 2022-03-05 | 1 | -16/+15 |
| | |||||
* | net.stun: Hyphenate method names for consistency | Matthew Wild | 2022-03-05 | 1 | -2/+2 |
| | |||||
* | util.bitcompat: Add some simple tests | Matthew Wild | 2022-03-04 | 1 | -0/+27 |
| | |||||
* | util.bit53: Support for more than 2 arguments, for compat with bit32 | Matthew Wild | 2022-03-04 | 1 | -3/+27 |
| | |||||
* | make: Fix build of util.struct on *BSD | Kim Alvefur | 2022-03-04 | 1 | -1/+2 |
| | |||||
* | net.stun: tests: Remove stray print() from debugging | Matthew Wild | 2022-03-04 | 1 | -3/+0 |
| | |||||
* | Merge config-updates+check-turn from timber | Matthew Wild | 2022-03-04 | 29 | -113/+1120 |
|\ | |||||
| * | net.stun: Add tests for serialization/deserialization | Matthew Wild | 2022-03-04 | 1 | -0/+100 |
| | | |||||
| * | net.stun: Use util.bitcompat to deal with bit module variances across Lua ↵ | Kim Alvefur | 2022-03-04 | 1 | -0/+1 |
| | | | | | | | | versions | ||||
| * | net.stun: Use util.strbitop | Kim Alvefur | 2022-03-04 | 1 | -11/+1 |
| | | | | | | | | Improves performance since the whole procedure is done in C | ||||
| * | util.bit53: Add left- and right shift operations | Kim Alvefur | 2021-06-28 | 1 | -0/+2 |
| | | | | | | | | | | While not used by anything in Prosody, it is known to be used by some 3rd party modules. | ||||
| * | util.prosodyctl: check turn: New command to verify STUN/TURN service is ↵ | Matthew Wild | 2022-03-04 | 1 | -2/+163 |
| | | | | | | | | operational | ||||
| * | net.stun: New library that implements STUN/TURN parsing/serialization | Matthew Wild | 2022-03-04 | 1 | -0/+292 |
| | | |||||
| * | util.hex: Deprecate to/from in favour of encode/decode, for consistency! | Matthew Wild | 2022-03-04 | 8 | -27/+31 |
| | | |||||
| * | util.struct: Import Roberto 'struct' library v0.3 | Matthew Wild | 2022-03-04 | 4 | -2/+431 |
| | | | | | | | | | | | | | | Downloaded from http://www.inf.puc-rio.br/~roberto/struct/ This is for compatibility with Lua 5.2 (and 5.1). Eventually we can replace this with string.pack/string.unpack which are available in 5.3+. | ||||
| * | COPYING: An overdue update. Also add some clarity about third-party code. | Matthew Wild | 2022-03-04 | 1 | -2/+22 |
| | | |||||
| * | prosody.cfg.lua.dist: Remove comment about mod_*.lua above modules_enabled | Matthew Wild | 2022-03-03 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | This is a very old statement, but people generally don't need to check for the files, and shouldn't be encouraged to put them in Prosody's source dir. The installer will be the way forward for most people, and hg for the rest. Manually moving files into the right place is not something most users should be doing. | ||||
| * | prosody.cfg.lua.dist: Fix plugin_paths description (thanks Zash) | Matthew Wild | 2022-03-03 | 1 | -2/+3 |
| | | |||||
| * | prosody.cfg.lua.dist: Add comments explaining the individual TURN options | Matthew Wild | 2022-03-02 | 1 | -0/+3 |
| | | |||||
| * | prosody.cfg.lua.dist: Improved descriptions for a number of modules | Matthew Wild | 2022-03-02 | 1 | -8/+8 |
| | | |||||
| * | prosody.cfg.lua.dist: Alphabetical ordering of modules within each section | Matthew Wild | 2022-03-02 | 1 | -19/+19 |
| | | |||||
| * | prosody.cfg.lua.dist: Improve mod_mam description to indicate its purpose | Matthew Wild | 2022-03-02 | 1 | -1/+1 |
| | | |||||
| * | prosody.cfg.lua.dist: Remove mod_admin_telnet | Matthew Wild | 2022-03-02 | 1 | -2/+1 |
| | | | | | | | | mod_admin_shell should preferably be used instead | ||||
| * | prosody.cfg.lua.dist: Reword plugin_paths to de-emphasize Prosody's source dir | Matthew Wild | 2022-03-02 | 1 | -3/+2 |
| | | | | | | | | | | The previous wording may contribute to people trying to install custom modules to Prosody's source directory instead of adding to plugin_paths. | ||||
| * | prosody.cfg.lua.dist: Remove network_backend option | Matthew Wild | 2022-03-02 | 1 | -4/+0 |
| | | | | | | | | | | | | The only sensible option for most people these days is "epoll". The option is still supported, but it should only be needed by packagers for specific platforms (e.g. BSD may choose libevent for kqueue) or other special cases. | ||||
| * | prosody.cfg.lua.dist: Remove example certificate, this should just work | Kim Alvefur | 2022-02-13 | 1 | -1/+0 |
| | | |||||
| * | net.server_epoll: Disable verbose mode by default | Kim Alvefur | 2022-02-12 | 1 | -2/+1 |
| | | |||||
| * | prosody.cfg.lua.dist: Remove allow_registration in favor of invites | Kim Alvefur | 2022-02-11 | 1 | -3/+0 |
| | | | | | | | | | | This settings should now only be used by public servers, which have their own documentation | ||||
| * | prosody.cfg.lua.dist: Comment improvements: s2s authentication | Matthew Wild | 2022-02-14 | 1 | -2/+2 |
| | | |||||
| * | prosody.cfg.lua.dist: Comment improvements: authentication | Matthew Wild | 2022-02-14 | 1 | -0/+5 |
| | | |||||
| * | prosody.cfg.lua.dist: Improve section-like layout via headers and spacing | Matthew Wild | 2022-02-14 | 1 | -0/+9 |
| | | |||||
| * | prosody.cfg.lua.dist: Comment improvements | Matthew Wild | 2022-02-14 | 1 | -2/+3 |
| | |