summaryrefslogtreecommitdiff
path: root/src/plugins/relay
AgeCommit message (Collapse)Author
2023-01-01core: update copyright datesSébastien Helleu
2022-12-18api: return newly allocated string in functions string_tolower and ↵Sébastien Helleu
string_toupper
2022-08-07core: add option `-save` in command `/upgrade` (closes #1630)Sébastien Helleu
2022-08-07relay: fix refresh of relay buffer after /upgradeSébastien Helleu
2022-08-07relay: use enum type for websocket status in clientSébastien Helleu
2022-07-24relay: exit function relay_irc_recv if params can not be allocatedSébastien Helleu
2022-07-21relay: fix parsing of IRC messages received from clients (closes #1796)Sébastien Helleu
The IRC parser improved in version 3.4 is now used to parse command parameters (variables "num_params" and "paramN" in output of parser function).
2022-06-18core: add trailing slashes in URLsSébastien Helleu
2022-03-30relay: fix save of channels when JOIN/PART are received from an IRC relay ↵Sébastien Helleu
client (closes #1771)
2022-01-17core: update copyright datesSébastien Helleu
2022-01-15relay: fix comparison of server nonce with UTF-8 chars (issue #1739)Sébastien Helleu
There is no problem in practice because this server nonce is generated by WeeChat itself and encoded to base64, so it never contains any UTF-8 char on more than one byte.
2021-12-25relay: improve help on option relay.network.compressionSébastien Helleu
2021-12-24relay: add zstd compression in weechat protocolSébastien Helleu
Option relay.network.compression_level is renamed to relay.network.compression and is now a percentage between 0 (no compression) to 100 (best compression, slowest). Compression is now disabled by default in weechat protocol and must be enabled via the `handshake` command (option `compression` has been removed from `init` command).
2021-11-13relay: remove dead assignment in websocket decodingSébastien Helleu
2021-09-04relay: fix crash when decoding a malformed websocket frameSébastien Helleu
2021-07-08relay: remove dead assignmentSébastien Helleu
2021-05-25core: replace freenode by libera in command examplesSébastien Helleu
2021-05-25core, buflist, irc, relay: replace freenode by libera in commentsSébastien Helleu
2021-05-11relay: change default value of option relay.network.ssl_cert_key to ↵Sébastien Helleu
"${weechat_config_dir}/ssl/relay.pem" (issue #1285)
2021-05-11relay: remove "%h" from help on UNIX socket path option (issue #1285)Sébastien Helleu
2021-05-11relay: remove "%h" from /help relay (issue #1285)Sébastien Helleu
2021-05-11core: split WeeChat home in 4 directories, use XDG directories by default ↵Sébastien Helleu
(issue #1285) The 4 directories (which can be the same): - config: configuration files, certificates - data: log/upgrade files, local plugins, scripts, xfer files - cache: script repository, scripts downloaded (temporary location) - runtime: FIFO pipe, relay UNIX sockets
2021-05-11relay: evaluate option relay.network.ssl_cert_key (issue #1285)Sébastien Helleu
2021-01-02core: update copyright datesSébastien Helleu
2020-06-26relay: add missing field "notify_level" in message "_buffer_line_added" ↵Sébastien Helleu
(issue #1529)
2020-05-12relay: increase default limits for IRC backlog optionsSébastien Helleu
Default value is changed for the following options: * relay.irc.backlog_max_minutes: from 1440 to 0 (unlimited) * relay.irc.backlog_max_number: from 256 to 1024
2020-05-08core: rename functions hook_completion_{get_string|list_add} to ↵Sébastien Helleu
completion_{get_string|list_add} Old functions are kept for compatibility reasons.
2020-05-02relay: add "compression" in response to handshake command (weechat protocol)Sébastien Helleu
The value can be "zlib" (default in relay) or "off".
2020-05-01relay: fix slow send of data to clients when SSL is enabledSébastien Helleu
2020-04-28relay: add command "completion" in weechat relay protocol (closes #1484)Sébastien Helleu
2020-04-26relay: fix error message for an invalid buffer received in a command ↵Sébastien Helleu
(weechat protocol)
2020-04-20tests: add tests on functions relay_auth_password_hash_algo_search and ↵Sébastien Helleu
relay_auth_generate_nonce
2020-04-18core: make GnuTLS a required dependencySébastien Helleu
2020-04-18relay: move variable nonce in relay client structureSébastien Helleu
2020-04-18relay: allow only one handshake in weechat protocolSébastien Helleu
2020-04-18relay: immediately close connection if the handshake failed (weechat protocol)Sébastien Helleu
2020-04-17relay: rename configuration options and keywords in handshake command ↵Sébastien Helleu
(weechat protocol) Configuration options renamed: * relay.network.auth_password -> relay.network.password_hash_algo * relay.network.hash_iterations -> relay.network.password_hash_iterations Handshake command options renamed: * password -> password_hash_algo Handshake reply keys renamed: * auth_password -> password_hash_algo * hash_iterations -> password_hash_iterations
2020-04-17doc: replace "safest" by "most secure" (relay protocol)Sébastien Helleu
2020-04-16relay: fix "id" sent in response to handshake command (weechat protocol)Sébastien Helleu
2020-04-15relay: add missing gcrypt lib in CMake and autotools filesSébastien Helleu
This fixes build on Cygwin.
2020-04-14relay: add command "handshake" in weechat relay protocol and nonce to ↵Sébastien Helleu
prevent replay attacks (closes #1474) This introduces a new command called "handshake" in the weechat relay protocol. It should be sent by the client before the "init" command, to negotiate the way to authenticate with a password. 3 new options are added: * relay.network.auth_password * relay.network.hash_iterations * relay.network.nonce_size
2020-04-12relay: update message displayed when the client is connected/authenticatedSébastien Helleu
2020-04-12relay: add option relay.network.auth_timeoutSébastien Helleu
2020-04-12relay: add a function to send outqueue to the clientSébastien Helleu
2020-04-12relay: update default colors for client statusSébastien Helleu
Colors changed: * relay.color.status_active: lightblue -> green * relay.color.status_auth_failed: lightred -> lightmagenta * relay.color.status_connecting: yellow -> white * relay.color.status_waiting_auth: brown -> yellow The color relay.color.status_disconnected remains lightred by default.
2020-04-12relay: actually use the client status "waiting_auth" in irc and weechat ↵Sébastien Helleu
protocols (closes #1358) Now the status "waiting_auth" is used and displayed in the relay buffer. When a client connects, there are now 2 messages (except for irc protocol if there's no password required): relay: new client on port 9000: 1/weechat/1.2.3.4 (waiting auth) relay: client 1/weechat/1.2.3.4 authenticated If the authentication fails, the messages are: relay: new client on port 9000: 1/weechat/1.2.3.4 (waiting auth) =!= relay: authentication failed with client 1/weechat/1.2.3.4
2020-04-12relay: add comments in truct t_relay_weechat_dataSébastien Helleu
2020-03-02relay: accept hash of password in init command with option "password_hash"Sébastien Helleu
Allowed algorithms are: * PBKDF2 (SHA256 or SHA512, salt, iterations) * SHA256 * SHA512
2020-03-01relay: rename variable length_hash to hash_sizeSébastien Helleu
2020-03-01core: move crypto functions to wee-crypto.c, rename API function string_hash ↵Sébastien Helleu
to crypto_hash