summaryrefslogtreecommitdiff
path: root/src/plugins/relay
AgeCommit message (Collapse)Author
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
2020-03-01core: merge functions string_hash_binary and string_hash into a single ↵Sébastien Helleu
function string_hash
2020-03-01relay: call function string_hash_binary in relay_websocket_build_handshake ↵Sébastien Helleu
to compute SHA1 hash This removes dependency on libgcrypt in relay plugin.
2020-01-12relay: update buffers synchronization when buffers are renamed (closes #1428)Sébastien Helleu
2020-01-04core: update copyright datesSébastien Helleu
2019-12-21relay: reject client with weechat protocol if password or totp is received ↵Sébastien Helleu
in init command but not set in WeeChat (closes #1435)
2019-10-23plugins: sort options added in configuration sectionsSébastien Helleu
2019-10-01core: fix style in CMake filesSébastien Helleu
2019-06-24core: auto disable upgrade process (command line option "--upgrade") if the ↵Sébastien Helleu
file weechat.upgrade is not found
2019-06-15api: add argument "strip_items" in function string_splitSébastien Helleu
2019-06-04relay: set socket option SO_KEEPALIVE only for TCP sockets when creating the ↵Sébastien Helleu
socket (issue #733)
2019-06-04relay: set socket option SO_REUSEADDR only for TCP sockets when creating the ↵Sébastien Helleu
socket (issue #733)
2019-06-04relay: set socket option SO_REUSEADDR only for TCP sockets (issue #733)Sébastien Helleu
2019-06-04relay: add UNIX domain socket completion for command /relay add (issue #733)Sébastien Helleu
2019-06-04relay: fix crash when deleting a relay (issue #733)Sébastien Helleu
2019-06-04relay: fix truncated path when the unix socket path is longer than the ↵Sébastien Helleu
authorized one (issue #733)
2019-05-13relay: remove useless conditionSébastien Helleu
This fixes a compilation warning on FreeBSD.
2019-05-13relay: set address to "local" if not knownSébastien Helleu
2019-05-13core: update translationsSébastien Helleu
2019-05-13relay: rename variables in function relay_config_check_path_lengthSébastien Helleu
2019-05-12relay: fix commentSébastien Helleu
2019-05-12relay: set mode 700 on the unix socket file (only the owner can use it)Sébastien Helleu
2019-05-12relay: do not overwrite a file if it's not a socket, display an error when ↵Sébastien Helleu
the socket can not be created