Sebastien Helleu
777fa366d7
core: fix connection to host in child process when socket is non-blocking (with or without proxy)
2012-08-08 14:20:48 +02:00
Sebastien Helleu
c13b2ca57d
core: return error string to callback of hook_connect if getaddrinfo fails in child process
2012-08-06 16:39:58 +02:00
Sebastien Helleu
782e01f177
relay: add support of SSL (for irc and weechat protocols), new option relay.network.ssl_cert_key (task #12044 )
2012-07-27 17:54:08 +02:00
Sebastien Helleu
f56a936b22
core: test return code when reading flags with fcntl (set flags to 0 if error)
2012-06-01 10:33:30 +02:00
Sebastien Helleu
9972cce777
core: add a connection timeout for child process in hook_connect (bug #35966 )
2012-03-23 18:24:47 +01:00
Sebastien Helleu
47e4a03be6
core: update copyright dates
2012-01-08 18:59:50 +01:00
Sebastien Helleu
fcbf297a14
core: remove obsolete comment
2011-12-01 17:05:59 +01:00
Sebastien Helleu
dfdf42e27b
core: remove unneeded whitespace
2011-10-26 20:37:03 +02:00
Sebastien Helleu
71bef80ce2
core: enable background process under Cygwin to connect to servers, fix reconnection problem (bug #34626 )
...
The connection was not made with a fork() under Cygwin because the connect() in
child process was not working. This seems to be fixed in latest Cygwin, so this
hack has been removed and now a fork() is done for all systems.
2011-10-23 12:07:30 +02:00
Sebastien Helleu
893485ba5f
core: remove compilation warnings about unused return values of functions
2011-09-22 16:16:41 +02:00
Sebastien Helleu
47ac88b3f5
core: replace deprecated gnutls function "gnutls_certificate_client_set_retrieve_function" by new function "gnutls_certificate_set_retrieve_function" (gnutls >= 2.11.0)
2011-08-26 18:01:33 +02:00
Sebastien Helleu
d80706b5f0
core: fix too small buffer for encoded base64 string used to authenticate with http proxy
2011-08-12 12:09:57 +02:00
Sebastien Helleu
f393d0a3d2
irc: add option "ssl_priorities" in servers (task #10106 , debian #624055 )
2011-04-28 12:29:56 +02:00
Sebastien Helleu
151c081229
Fix build when gnutls library is not found
2011-03-07 14:41:24 +01:00
Sebastien Helleu
b0a5492102
Reload file with certificate authorities when option weechat.network.gnutls_ca_file is changed
2011-03-06 22:29:03 +01:00
Sebastien Helleu
c905dbbf9b
Fix build with gnutls < 2.9.10
2011-03-02 18:15:36 +01:00
Gu1ll4um3r0m41n
c265cad1c9
Fix verification of SSL certificates by calling gnutls verify callback (patch #7459 )
2011-03-02 15:20:36 +01:00
Sebastien Helleu
d24f6e9e17
Update copyright dates
2011-01-01 18:06:29 +01:00
Sebastien Helleu
0aff0ef66f
Fix high CPU usage during gnutls handshake
2010-11-19 21:27:00 +01:00
Gu1ll4um3r0m41n
f15f114e4d
Fix infinite loop on gnutls handshake when connecting with SSL to server on wrong port or server with SSL problems (bug #27487 )
2010-11-18 17:35:08 +01:00
Sebastien Helleu
6562d676fe
Update licenses and copyrights, add missing author names in sources
2010-06-22 19:46:28 +02:00
Sebastien Helleu
4616ca981e
Add function "string_expand_home" in plugin API, fix bug with replacement of home in paths
2010-05-02 18:21:58 +02:00
Sebastien Helleu
31bfcf96c7
Reformat and add comments for description of C sources
2010-04-08 18:15:00 +02:00
Sebastien Helleu
b6bb001fc4
Free some extra memory when exiting WeeChat
2010-03-29 17:56:23 +02:00
Sebastien Helleu
2801b8437c
Reformat multi-line comments
2010-03-19 23:33:14 +01:00
Sebastien Helleu
d2ec8d133d
Add mechanism DH-BLOWFISH for SASL authentication with IRC server
2010-02-18 22:02:55 +01:00
Sebastien Helleu
341551f2f2
Add SASL authentication in IRC plugin (task #8829 ), add function "string_encode_base64" in plugin API, fix bug with base64 encoding
...
New options for IRC servers:
- sasl_mechanism (only "plain" for now)
- sasl_username
- sasl_password
2010-02-15 11:51:44 +01:00
Sebastien Helleu
eb56a98fc8
Remove evil tabs in sources
2010-01-24 10:47:53 +01:00
Sebastien Helleu
2133eb30ff
Update copyright dates
2010-01-03 19:31:55 +01:00
Sebastien Helleu
7e5acaf50f
Give GnuTLS return code to callback if handshake has failed, display extra info in irc plugin if Diffie-Hellman prime sent by the server is not acceptable (not long enough)
2009-12-04 17:36:09 +01:00
Sebastien Helleu
b3338076d8
Fix crash when calling "weechat-curses --help"
2009-11-12 11:24:19 +01:00
Sebastien Helleu
e561ab1ae3
Check SSL certificates and use self-signed certificate to auto identify on IRC server (CertFP) (task #7492 ) (patch from kolter)
2009-11-07 19:27:59 +01:00
Sebastien Helleu
7b2f578ac4
Fix compilation under Cygwin (patch #6916 )
2009-10-04 11:54:24 +02:00
Sebastien Helleu
540756bf54
Fix SSL connection to some IRC servers using Diffie Hellman and small exchange keys (bug #25996 )
2009-03-27 16:48:58 +01:00
Sebastien Helleu
8e55147364
Add new hook type "process": launch command with fork and catch result (rc/stdout/stderr) via callback
2009-03-06 18:22:34 +01:00
Sebastien Helleu
4d1fdfade0
Give file descriptor to callback of hook_fd
2009-02-18 11:13:23 +01:00
Sebastien Helleu
c2438ec222
Rename options in proxy structure
2009-01-04 23:43:48 +01:00
Sebastien Helleu
2115f3f675
Update copyright dates
2009-01-03 10:06:53 +01:00
Sebastien Helleu
2e52e54a3a
Add support for more than one proxy, with proxy selection for each IRC server (task #6859 )
2008-11-23 23:04:52 +01:00
Emmanuel Bouthenot
c463b912cc
Re-enable proxy usage with rewrited network layer (closes bug #24562 ).
2008-11-17 22:31:43 +01:00
Sebastien Helleu
bc5bb29970
Fix bug with proxy connection
2008-11-07 08:17:16 +01:00
Sebastien Helleu
d32b22f76f
Fix bug with pointer conversions on 64 bits architecture
2008-11-04 15:34:44 +01:00
Sebastien Helleu
f67daef914
Fix network connection for hostnames resolving to several IPs: try all IPs in list until one succeeds (bug #21473 , debian bug #498610 )
2008-09-22 17:15:35 +02:00
Sebastien Helleu
87fd5c83ca
Return IPv4/IPv6 address to connect hook callback when connection is ok (used by IRC plugin to display IP of IRC server)
2008-09-22 16:30:02 +02:00
Sebastien Helleu
3a53257032
Add "const" keyword for some "char *" function arguments (core and plugins API)
2008-06-03 10:56:51 +02:00
Sebastien Helleu
40ec612e73
Fix compilation bug when gnutls dev lib is not installed
2008-06-02 12:47:27 +02:00
Sebastien Helleu
987234faf9
Add hook_connect (background connection to peer)
2008-05-20 11:00:22 +02:00
Sebastien Helleu
e7a16efa0c
Added new plugin "xfer" (used by irc plugin for DCC file and chat) (warning: initial commit, not working yet)
2008-05-04 20:24:20 +02:00