irssi/src/irc/core
Bob Mottram c79aae7824 PROXY: implemented native proxy support
For the original patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 26 Feb 2008

This patch creates a hook into the net_connect*() methods which call a
method to connect to a proxy.

Previous solution to send certain strings in the normal IRC dialog was
some kind of hack as most proxies require some kind of negotation.

E.g. HTTP proxies sent a 'HTTP/1.0 200 Connection established' HTTP header
and clients have to wait for it.  Else, sent bytes of the following IRC
login will be dropped silently.

With old method, it is also impossible to tunnel SSL IRC connections
through the proxy as proxy speaks plain text or a special protocol while
e.g. 'CONNECT ... HTTP/1.0' will be encrypted with key of IRC server.

There are further enhancements possible: the whole net_connect stuff
should be made asynchronously. Currently, only the hostname is resolved
in the background (which makes little sense of local proxies usually).
2016-04-14 10:57:46 +01:00
..
bans.c Use the PARAM_FLAG_STRIP_TRAILING_WS flag wherever possible. 2015-11-09 23:02:41 +01:00
bans.h Moved some stuff from irc to core. Added command_bind_proto() function to 2001-11-02 01:05:14 +00:00
channel-events.c Change all strcmp() to g_strcmp0() to handle nulls gracefully 2015-04-07 22:41:05 -03:00
channel-rejoin.c Implement CHANTYPES support 2015-05-15 17:07:30 +02:00
channel-rejoin.h more changes from int xx:1 to unsigned int xx:1 2000-11-23 22:57:59 +00:00
channels-query.c typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-08 22:26:53 +00:00
ctcp.c Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp. 2014-06-10 12:06:19 -04:00
ctcp.h Some compiling fixes found by -Wall in perl dirs.. 2002-11-07 17:40:05 +00:00
irc-cap.c irc-cap: Don't send a space at the beginning of the CAP REQ parameter 2015-11-26 19:50:58 -03:00
irc-cap.h Implement support for IRCv3.1 CAP negotiation 2015-05-05 23:14:26 +02:00
irc-channels-setup.c Duplicate the code paths for autocommands. 2016-01-24 23:02:40 +01:00
irc-channels.c Correctly alias 'channel' to '#channel' 2015-11-19 15:31:32 +01:00
irc-channels.h Better !channel support - window items now have "visual_name" and channels 2002-05-16 00:34:37 +00:00
irc-chatnets.c Don't set the usermode field if blank 2015-10-02 11:25:30 +02:00
irc-chatnets.h SASL support 2015-09-11 00:30:16 +02:00
irc-commands.c Revert "Removed the obsolete SQUERY and SERVLIST commands" 2016-03-29 22:41:01 +02:00
irc-commands.h Moved some stuff from irc to core. Added command_bind_proto() function to 2001-11-02 01:05:14 +00:00
irc-core.c SASL support 2015-09-11 00:30:16 +02:00
irc-expandos.c Set HOST_NAME_MAX to 255, if it's undefined. 2015-10-02 19:55:29 +02:00
irc-masks.c Oops. Update address correctly now. 2007-05-08 18:41:10 +00:00
irc-masks.h Lots of moving stuff around - hopefully I didn't break too much :) 2000-08-26 15:39:44 +00:00
irc-nicklist.c Correctly alias 'channel' to '#channel' 2015-11-19 15:31:32 +01:00
irc-nicklist.h Correctly alias 'channel' to '#channel' 2015-11-19 15:31:32 +01:00
irc-queries.c Implement CHANTYPES support 2015-05-15 17:07:30 +02:00
irc-queries.h isupport patch by David Leadbeater 2004-01-20 10:57:57 +00:00
irc-servers-reconnect.c Preserve the sasl_ options across reconnects. 2015-10-28 21:56:35 +01:00
irc-servers-setup.c Don't set the usermode field if blank 2015-10-02 11:25:30 +02:00
irc-servers-setup.h -querychans option for servers and ircnets which specifies how many 2000-12-09 19:12:49 +00:00
irc-servers.c PROXY: implemented native proxy support 2016-04-14 10:57:46 +01:00
irc-servers.h SASL support 2015-09-11 00:30:16 +02:00
irc-session.c Save the sasl state in the session 2015-10-02 10:52:13 +02:00
irc.c Fix warning. 2015-09-20 21:21:40 +02:00
irc.h Implement CHANTYPES support 2015-05-15 17:07:30 +02:00
lag.c Use g_ascii_str{,n}casecmp for case insensitive comparison with 2008-03-09 12:01:16 +00:00
Makefile.am SASL support 2015-09-11 00:30:16 +02:00
massjoin.c Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp. 2014-06-10 12:06:19 -04:00
mode-lists.c Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp. 2014-06-10 12:06:19 -04:00
mode-lists.h "ban remove" signal should pass who removed it, patch by Timothy Hatcher (Bug 166) 2005-01-03 18:54:39 +00:00
modes.c Use the PARAM_FLAG_STRIP_TRAILING_WS flag wherever possible. 2015-11-09 23:02:41 +01:00
modes.h Make explicit how long the arrays for prefix_add and prefix_del are. 2009-02-21 17:55:12 +00:00
module.h Moved some stuff from irc to core. Added command_bind_proto() function to 2001-11-02 01:05:14 +00:00
netsplit.c Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp. 2014-06-10 12:06:19 -04:00
netsplit.h Allow storing multiple "other" prefixes such as +q and +a. 2008-11-28 00:16:51 +00:00
sasl.c Use 0 as a sentinel value for sasl_timeout 2016-03-20 21:47:02 +01:00
sasl.h Use formats instead of g_warning 2015-09-21 00:04:37 +02:00
servers-idle.c Oops. Update address correctly now. 2007-05-08 18:41:10 +00:00
servers-idle.h Redirection fixes - added count parameter. 2001-11-12 22:15:04 +00:00
servers-redirect.c More format warnings removed. 2015-09-20 23:11:39 +02:00
servers-redirect.h Rework redirections to deal with multiple concurrent redirects better. 2007-11-14 23:02:40 +00:00