summaryrefslogtreecommitdiff
path: root/src/plugins/relay/relay-server.c
AgeCommit message (Collapse)Author
2021-01-02core: update copyright datesSébastien Helleu
2020-01-04core: update copyright datesSé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: 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-13core: update translationsSé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
2019-05-12relay: evaluate path of unix socket relaySébastien Helleu
2019-05-12relay: rename function relay_config_check_path_len to ↵Sébastien Helleu
relay_config_check_path_length
2019-05-12relay: fix update of port/path variables in relay server when options ↵Sébastien Helleu
relay.port.* and relay.path.* are changed with /set
2019-05-12relay: fix code styleSébastien Helleu
2019-05-12relay: rename variable "un" to "unix_socket"Sébastien Helleu
2019-05-12relay: add UNIX socket support (closes #733)Ryan Farley
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-11-04relay: add support of Time-based One-Time Password (TOTP) as second ↵Sébastien Helleu
authentication factor in weechat protocol
2018-07-01relay: fix socket creation for relay server on OpenBSD (closes #1213)Sébastien Helleu
The socket option IPV6_V6ONLY is not needed on OpenBSD and must not be set (it is read-only).
2018-01-05core: update copyright datesSébastien Helleu
2017-08-12core: fix cast of time_t (to "long long" instead of "long") (closes #1051)Sébastien Helleu
2017-01-01core: update copyright datesSébastien Helleu
2016-05-18relay: add option relay.network.allow_empty_password (closes #735)Sébastien Helleu
2016-03-21core: add pointer in some callbacks (closes #406)Sébastien Helleu
This pointer is the first argument received by callbacks, and the existing argument "data" is now automatically freed by WeeChat when the object containing the callback is removed. With this new pointer, the linked list of callbacks in scripts has been removed. This will improve speed of scripts (using a lot of hooks), reduce memory used by scripts and reduce time to unload scripts. Following functions are affected in the C API: * exec_on_files * config_new * config_new_section * config_new_option * hook_command * hook_command_run * hook_timer * hook_fd * hook_process * hook_process_hashtable * hook_connect * hook_print * hook_signal * hook_hsignal * hook_config * hook_completion * hook_modifier * hook_info * hook_info_hashtable * hook_infolist * hook_hdata * hook_focus * unhook_all_plugin * buffer_new * bar_item_new * upgrade_new * upgrade_read
2016-02-08relay: fix the max number of clients connected on a port, allow value 0 for ↵Sébastien Helleu
"no limit" (closes #669)
2016-01-01core: update copyright datesSébastien Helleu
2015-04-30core: add comments after some #endifSébastien Helleu
2015-01-01core: update copyright datesSébastien Helleu
2014-11-02relay: don't remove relay from config when the binding fails (closes #225), ↵Sébastien Helleu
add options "stop" and "restart" in command /relay
2014-09-28relay: add quotes in commentSébastien Helleu
2014-09-28relay: don't print ::ffff: in v4-mapped addresses.Anders Bergh
2014-01-01core: update copyright datesSebastien Helleu
2013-05-30relay: fix binding to an IP address (bug #39119)Mantas Mikulėnas
2013-02-10relay: add experimental websocket server support (RFC 6455) for irc and ↵Sebastien Helleu
weechat protocols, new option relay.network.websocket_allowed_origins It is a partial implementation of RFC 6455: fragmentation and control frames are not yet supported. Text and binary frames are supported.
2013-01-24core: display error number and string in some network errorsSebastien Helleu
Error number and string is now displayed when an error is returned by one of these functions: socket, setsockopt, fcntl, pipe, accept, bind, listen, mkfifo.
2013-01-08relay: add message when address family is not supported by protocol (on ↵Sebastien Helleu
socket creation)
2013-01-07relay: add error number and string when socket creation failsSebastien Helleu
2013-01-01core: update copyright datesSebastien Helleu
2012-12-24relay: add backlog, options and server capability "server-time" for irc ↵Sebastien Helleu
protocol (task #12076) New options: - relay.irc.backlog_max_minutes - relay.irc.backlog_max_number - relay.irc.backlog_since_last_disconnect - relay.irc.backlog_tags - relay.irc.backlog_time_format
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu
2012-12-13core: reformat comments for functionsSebastien Helleu
2012-10-19relay: fix crash when receiving a new client on a socketSebastien Helleu
2012-10-16relay: add support of IPv6, new option relay.network.ipv6, add support of ↵Sebastien Helleu
"ipv4." and/or "ipv6." before protocol name, to force IPv4/IPv6 (task #12270)
2012-07-27relay: add support of SSL (for irc and weechat protocols), new option ↵Sebastien Helleu
relay.network.ssl_cert_key (task #12044)
2012-07-14relay: fix freeze when writing on relay socket (use non-blocking sockets in ↵Sebastien Helleu
relay for irc and weechat protocols) (bug #36655)
2012-01-23relay: use protocol arguments for protocol "irc" only (arguments forbidden ↵Sebastien Helleu
for protocol "weechat")
2012-01-23relay: do not create relay if there is a problem with socket creation (bug ↵Sebastien Helleu
#35345)
2012-01-08core: update copyright datesSebastien Helleu
2011-12-06relay: add WeeChat protocol (for remote GUI), doc about protocol, new optionsSebastien Helleu
The protocol is partial, under development, and NOT ready for usage. New options added in relay.conf: - relay.network.allowed_ips: allow only some IPs on relay plugin (by default all IPs are allowed) - relay.network.compression_level: compression level used in WeeChat protocol (compression is made using zlib)