]>
jfr.im git - irc/irssi/irssi.git/log
Alexander Færøy [Tue, 18 Oct 2016 20:33:26 +0000 (22:33 +0200)]
Add support for -proxy to /SERVER and /CONNECT.
Alexander Færøy [Tue, 18 Oct 2016 20:22:22 +0000 (22:22 +0200)]
Add /PROXY command for configuring proxy servers.
Alexander Færøy [Tue, 18 Oct 2016 20:12:27 +0000 (22:12 +0200)]
Kill legacy proxy support.
LemonBoy [Thu, 15 Dec 2016 18:57:57 +0000 (19:57 +0100)]
Merge pull request #588 from ailin-nemui/mirc_99
reset background for mirc colour 99
ailin-nemui [Thu, 15 Dec 2016 16:06:40 +0000 (17:06 +0100)]
reset background for mirc colour 99
fix #571
ailin-nemui [Thu, 8 Dec 2016 11:29:52 +0000 (12:29 +0100)]
Merge pull request #581 from LemonBoy/set-contract
Enforce the is_node_list contract in lib-config setters.
ailin-nemui [Thu, 8 Dec 2016 11:11:59 +0000 (12:11 +0100)]
Merge pull request #570 from josephbisch/fix-issue-563
enforce check that chatnets are nodelists to handle invalid config
LemonBoy [Tue, 29 Nov 2016 22:08:45 +0000 (23:08 +0100)]
Enforce the is_node_list contract in lib-config setters.
An assertion failure is better than a segfault.
LemonBoy [Tue, 29 Nov 2016 21:26:45 +0000 (22:26 +0100)]
Merge pull request #579 from mmuman/haiku-libnetwork
Check for socket() in libnetwork for Haiku
LemonBoy [Tue, 29 Nov 2016 21:13:53 +0000 (22:13 +0100)]
Merge pull request #565 from ahf/bug/524
Kill bell_beeps.
François Revol [Mon, 21 Jul 2014 23:39:16 +0000 (01:39 +0200)]
Check for socket() in libnetwork for Haiku
LemonBoy [Fri, 25 Nov 2016 20:52:42 +0000 (21:52 +0100)]
Merge pull request #577 from LemonBoy/flagz
Minor corrections to the netsplit code.
LemonBoy [Fri, 25 Nov 2016 20:52:30 +0000 (21:52 +0100)]
Merge pull request #578 from ailin-nemui/dcc_buffer
add a static buffer for dcc received data
LemonBoy [Wed, 23 Nov 2016 21:22:37 +0000 (22:22 +0100)]
Don't shadow the 'channel' variable when printing the netjoins.
This is the root cause of #567
ailin-nemui [Wed, 23 Nov 2016 15:23:35 +0000 (16:23 +0100)]
add a static buffer for dcc received data
increased buffersize might make irssi freeze less / #159
LemonBoy [Wed, 23 Nov 2016 15:11:38 +0000 (16:11 +0100)]
Minor corrections to the netsplit code.
ailin-nemui [Fri, 11 Nov 2016 11:18:35 +0000 (12:18 +0100)]
Merge pull request #574 from lotheac/master
add completion_empty_line setting
Lauri Tirkkonen [Tue, 8 Nov 2016 14:27:38 +0000 (16:27 +0200)]
add completion_empty_line setting
ailin-nemui [Wed, 2 Nov 2016 12:24:21 +0000 (13:24 +0100)]
Merge pull request #573 from ailin-nemui/master
add missing inheritance to Exec item from
3532fc46
ailin-nemui [Tue, 1 Nov 2016 16:08:28 +0000 (17:08 +0100)]
add missing inheritance to Exec item from
3532fc46
ailin-nemui [Mon, 31 Oct 2016 14:15:45 +0000 (15:15 +0100)]
Merge pull request #557 from irssi/ahf/tls-pr
TLS enhancements
Joseph Bisch [Thu, 27 Oct 2016 15:18:37 +0000 (11:18 -0400)]
enforce check that chatnets are nodelists to handle invalid config
Alexander Færøy [Sun, 23 Oct 2016 19:23:52 +0000 (21:23 +0200)]
Kill bell_beeps.
Fixes #524
Alexander Færøy [Sun, 23 Oct 2016 00:51:08 +0000 (02:51 +0200)]
Shorten the certificate chain output.
Alexander Færøy [Fri, 21 Oct 2016 15:58:28 +0000 (17:58 +0200)]
Only do checks for SSL_get_server_tmp_key in network-openssl.c.
Alexander Færøy [Fri, 21 Oct 2016 15:56:29 +0000 (17:56 +0200)]
Kill do { ... } while (0); and replace it with goto's.
Alexander Færøy [Thu, 20 Oct 2016 23:22:09 +0000 (01:22 +0200)]
Emit the TLS handshake finished signal before we do verification.
This patch moves the emitted "tls handshake finished" signal to before
we do validation of the given TLS certificate. This ensures that we
display certificate information before we possibly error out and
disconnects from the server.
Alexander Færøy [Thu, 20 Oct 2016 23:17:35 +0000 (01:17 +0200)]
Kill support for DANE.
This patch removes support for DANE validation of TLS certificates.
There wasn't enough support in the IRC community to push for this on the
majority of bigger IRC networks. If you believe this should be
reintroduced into irssi, then please come up with an implementation that
does not rely on the libval library. It is causing a lot of troubles for
our downstream maintainers.
Alexander Færøy [Wed, 19 Oct 2016 21:38:21 +0000 (23:38 +0200)]
Lift EC_KEY declaration onto the entry of the function.
Alexander Færøy [Wed, 19 Oct 2016 21:37:04 +0000 (23:37 +0200)]
Lift ASN1_STRING declaration onto the entry of the function.
Alexander Færøy [Sun, 16 Oct 2016 13:18:47 +0000 (15:18 +0200)]
Declare variables in the beginning of the function.
Alexander Færøy [Sun, 16 Oct 2016 13:04:55 +0000 (15:04 +0200)]
Make sure we clean-up after ourself upon failure.
Alexander Færøy [Sun, 16 Oct 2016 12:39:00 +0000 (14:39 +0200)]
Add x509 certificate and public key pinning support.
This patch adds two new options to /CONNECT and /SERVER to let the user
pin either an x509 certificate and/or the public key of a given server.
It is possible to fetch the certificate outside of Irssi itself to
verify the checksum. To fetch the certificate call:
$ openssl s_client -connect chat.freenode.net:6697 < /dev/null 2>/dev/null | \
openssl x509 > freenode.cert
This will download chat.freenode.net:6697's TLS certificate and put it into the
file freenode.cert.
-tls_pinned_cert
----------------
This option allows you to specify the SHA-256 hash of the x509
certificate. When succesfully connected to the server, irssi will verify
that the given server certificate matches the pin set by the user.
The SHA-256 hash of a given certificate can be verified outside of irssi
using the OpenSSL command line tool:
$ openssl x509 -in freenode.cert -fingerprint -sha256 -noout
-tls_pinned_pubkey
------------------
This option allows you to specify the SHA-256 hash of the subject public key
information section of the server certificate. This section contains both the
cryptographic parameters for the public key, but also information about the
algorithm used together with the public key parameters.
When succesfully connected to the server, irssi will verify that the
given public key matches the pin set by the user.
The SHA-256 hash of a public key can be verified outside of irssi using
the OpenSSL command line tool:
$ openssl x509 -in freenode.cert -pubkey -noout | \
openssl pkey -pubin -outform der | \
openssl dgst -sha256 -c | \
tr a-z A-Z
It is possible to specify both -tls_pinned_cert and -tls_pinned_pubkey
together.
Alexander Færøy [Sun, 16 Oct 2016 12:33:25 +0000 (14:33 +0200)]
Display TLS connection information when connected to a TLS enabled server.
Alexander Færøy [Sun, 16 Oct 2016 12:25:19 +0000 (14:25 +0200)]
s/SSL/TLS/ for warning strings.
Alexander Færøy [Sun, 16 Oct 2016 12:15:29 +0000 (14:15 +0200)]
Simplify TLS verification error handling.
Alexander Færøy [Sun, 16 Oct 2016 12:14:07 +0000 (14:14 +0200)]
Populate and emit TLS_REC after TLS handshake have completed.
Alexander Færøy [Sun, 16 Oct 2016 12:07:22 +0000 (14:07 +0200)]
Add TLS_REC.
This patch adds the TLS_REC structure. This structure is used to emit
information about the TLS handshake from the core of irssi to the
front-end layers such that we can display connection information to the
user.
Alexander Færøy [Sun, 16 Oct 2016 11:48:43 +0000 (13:48 +0200)]
Use TLS by default for Freenode, IRC6, OFTC, EsperNet, EFnet, and Rizon.
Alexander Færøy [Sun, 16 Oct 2016 11:46:58 +0000 (13:46 +0200)]
Rename SSL to TLS.
This patch changes the internal name of SSL to TLS. We also add -tls_*
options to /CONNECT and /SERVER, but make sure that the -ssl_* versions
of the commands continue to work like before.
Alexander Færøy [Sun, 16 Oct 2016 11:20:14 +0000 (13:20 +0200)]
Add function to convert a buffer to a colon-delimited hex string.
This patch adds binary_to_hex(), which can take an input buffer and
convert it to colon-delimited hex strings suitable for printing for
fingerprints.
Alexander Færøy [Sun, 16 Oct 2016 11:13:02 +0000 (13:13 +0200)]
Always build irssi with TLS support.
This patch removes the optional checks for whether to build irssi with
TLS support or not. This will allow us to ship a default configuration
file where we connect to TLS enabled IRC servers out of the box.
ailin-nemui [Wed, 12 Oct 2016 07:48:09 +0000 (09:48 +0200)]
Merge pull request #556 from koollman/master
update INSTALL requirement: terminfo or ncurses for text frontend
ailin-nemui [Tue, 11 Oct 2016 14:12:35 +0000 (16:12 +0200)]
Merge pull request #465 from LemonBoy/netsplit-print
Some small adjustments to the netsplit code.
ailin-nemui [Fri, 7 Oct 2016 10:56:12 +0000 (12:56 +0200)]
Merge pull request #555 from LemonBoy/attr-signedness
Make the cap_complete field unsigned.
Thomas Samson [Tue, 4 Oct 2016 23:01:25 +0000 (01:01 +0200)]
update INSTALL requirement: terminfo or ncurses for text frontend
LemonBoy [Fri, 30 Sep 2016 17:30:43 +0000 (19:30 +0200)]
Make the cap_complete field unsigned.
Fixes a problem where the field would end up as a negative number when
exposed to the perl scripts.
And move it near the other bit-packed fields so we take advantage of the
packing.
ailin-nemui [Mon, 26 Sep 2016 14:43:33 +0000 (16:43 +0200)]
Merge pull request #506 from kruton/sasl-400-byte-chunk
SASL: handle fragmentation
ailin-nemui [Mon, 26 Sep 2016 13:44:47 +0000 (15:44 +0200)]
Merge pull request #551 from ailin-nemui/fix-550
nullptr when doing module backward compat on invalid config
ailin-nemui [Sun, 25 Sep 2016 21:17:20 +0000 (23:17 +0200)]
nullptr when doing module backward compat on invalid config
ailin-nemui [Thu, 22 Sep 2016 15:10:33 +0000 (17:10 +0200)]
Merge pull request #542 from LemonBoy/xs-add
Expose the CAP fields to the perl scripts.
ailin-nemui [Thu, 22 Sep 2016 02:27:35 +0000 (04:27 +0200)]
Merge pull request #548 from ailin-nemui/buf-fix
sync buf.pl
ailin-nemui [Thu, 22 Sep 2016 02:21:15 +0000 (04:21 +0200)]
sync buf.pl
ailin-nemui [Wed, 21 Sep 2016 14:00:04 +0000 (16:00 +0200)]
Merge branch 'integrate/0.8.20'
ailin-nemui [Wed, 21 Sep 2016 13:59:33 +0000 (15:59 +0200)]
Merge branch 'master' into integrate/0.8.20
ailin-nemui [Thu, 15 Sep 2016 07:56:32 +0000 (09:56 +0200)]
Merge branch 'quarkslab'
ailin-nemui [Wed, 14 Sep 2016 11:34:39 +0000 (13:34 +0200)]
Update NEWS for 0.8.20
ailin-nemui [Wed, 14 Sep 2016 11:37:29 +0000 (13:37 +0200)]
Patches for heap corruption and missing bounds check
By Gabriel Campana and Adrien Guinet from Quarkslab.
ailin-nemui [Mon, 19 Sep 2016 20:14:57 +0000 (22:14 +0200)]
Merge pull request #540 from LemonBoy/reset-autorun
/script reset can now also run the autorun scripts
LemonBoy [Thu, 15 Sep 2016 11:59:52 +0000 (13:59 +0200)]
Expose 'cap_toggle' to the perl scripts.
ailin-nemui [Wed, 14 Sep 2016 11:55:20 +0000 (13:55 +0200)]
tag as 0.8.20
ailin-nemui [Wed, 14 Sep 2016 11:44:51 +0000 (13:44 +0200)]
Merge branch 'quarkslab'
ailin-nemui [Wed, 14 Sep 2016 11:34:39 +0000 (13:34 +0200)]
Update NEWS for 0.8.20
ailin-nemui [Sat, 30 Apr 2016 08:19:57 +0000 (10:19 +0200)]
Merge pull request #477 from dennisschagt/master
Correct error/typo "You"->"Your" in help message
ailin-nemui [Thu, 7 Apr 2016 10:33:03 +0000 (12:33 +0200)]
Merge pull request #467 from dequis/EAI_SYSTEM
net_gethosterror: Handle EAI_SYSTEM ("System error") properly
ailin-nemui [Tue, 29 Mar 2016 20:45:47 +0000 (22:45 +0200)]
Merge pull request #461 from ailin-nemui/fix_squery
Revert "Removed the obsolete SQUERY and SERVLIST commands"
ailin-nemui [Tue, 12 Jul 2016 14:11:04 +0000 (16:11 +0200)]
Merge pull request #515 from LemonBoy/signal-proto
Correct the prototype for the 'message private' signal.
dx [Sun, 17 Jul 2016 15:37:57 +0000 (12:37 -0300)]
Merge pull request #518 from vague666/hilight_help
Wrong order in the arguments in /hilight example, -mask doesn't take …
ailin-nemui [Thu, 25 Aug 2016 02:24:07 +0000 (04:24 +0200)]
Merge pull request #529 from ailin-nemui/issue500
fix nick->host == NULL crash
LemonBoy [Sun, 4 Sep 2016 10:11:02 +0000 (12:11 +0200)]
Merge pull request #533 from dequis/statusmess
Set the default STATUSMSG to @ instead of @+ if it's missing
ailin-nemui [Tue, 13 Sep 2016 21:29:09 +0000 (23:29 +0200)]
Merge pull request #516 from LemonBoy/comp-file
Fix the tab completion for paths starting with ./
ailin-nemui [Tue, 13 Sep 2016 21:27:43 +0000 (23:27 +0200)]
Merge pull request #543 from LemonBoy/script-error-message
Make sure to make a copy of ERRSV content.
LemonBoy [Tue, 13 Sep 2016 15:11:05 +0000 (17:11 +0200)]
Make sure to make a copy of ERRSV content.
Otherwise we might end up showing an empty message.
Fixes #522.
LemonBoy [Tue, 13 Sep 2016 14:07:48 +0000 (16:07 +0200)]
Expose the CAP fields to the perl scripts.
dx [Sun, 11 Sep 2016 16:17:03 +0000 (13:17 -0300)]
Merge pull request #535 from irssi/ailin-nemui-install-local-lib
Update INSTALL to reflect perl changes
LemonBoy [Sun, 11 Sep 2016 15:05:03 +0000 (17:05 +0200)]
Document the addition of the -autorun switch for /script reset.
LemonBoy [Sun, 11 Sep 2016 14:59:21 +0000 (16:59 +0200)]
Add a '-autorun' switch to /script reset
This way we reload all the scripts in the autorun folder.
LemonBoy [Sun, 4 Sep 2016 10:11:02 +0000 (12:11 +0200)]
Merge pull request #533 from dequis/statusmess
Set the default STATUSMSG to @ instead of @+ if it's missing
Kenny Root [Mon, 4 Jul 2016 05:02:02 +0000 (22:02 -0700)]
SASL: handle fragmentation
The IRCv3 SASL extension says that AUTHENTICATION payloads of exactly
400 bytes in length indicate that the message is fragmented and will
continue in a subsequent message. Handle the reassembly and splitting of
these messages so that we are compliant with the specification.
ailin-nemui [Mon, 29 Aug 2016 21:25:26 +0000 (23:25 +0200)]
Update INSTALL
ailin-nemui [Thu, 25 Aug 2016 02:24:07 +0000 (04:24 +0200)]
Merge pull request #529 from ailin-nemui/issue500
fix nick->host == NULL crash
dequis [Wed, 24 Aug 2016 22:48:35 +0000 (19:48 -0300)]
Set the default STATUSMSG to @ instead of @+ if it's missing
This fixes two issues:
- IRCNet doesn't have STATUSMSG, but it supports +channels, and
including + in the default value meant processing those incorrectly
- The "bahamut hack", for old servers that support but don't advertise
STATUSMSG, didn't work since ischannel_func doesn't use the default.
The choice of @ intentionally leaves out support for other STATUSMSG
(for example, AzzurraNet's bahamut 1.4 fork seemed to support + and % in
any order, contradicting the comment in the code).
I think this is a decent tradeoff, given how those servers are uncommon
and relying on +# or %# is even less common than @#.
Fixes #531
ailin-nemui [Wed, 24 Aug 2016 20:49:20 +0000 (22:49 +0200)]
Merge pull request #532 from LemonBoy/x1x2
Fix an OOB access in the cutbuffer implementation.
LemonBoy [Wed, 24 Aug 2016 20:29:52 +0000 (22:29 +0200)]
Fix an OOB access in the cutbuffer implementation.
ailin-nemui [Mon, 22 Aug 2016 10:27:10 +0000 (12:27 +0200)]
fix nick->host == NULL crash
ailin-nemui [Sun, 14 Aug 2016 21:35:41 +0000 (23:35 +0200)]
Merge pull request #526 from ailin-nemui/ax-dummy
remove broken dummy mode
ailin-nemui [Sun, 14 Aug 2016 21:35:23 +0000 (23:35 +0200)]
Merge pull request #525 from ailin-nemui/issue522
fix use after free in expando error
ailin-nemui [Fri, 12 Aug 2016 17:33:56 +0000 (19:33 +0200)]
remove broken dummy mode
ailin-nemui [Fri, 12 Aug 2016 16:24:58 +0000 (18:24 +0200)]
fix use after free in expando error
ailin-nemui [Thu, 11 Aug 2016 13:41:12 +0000 (15:41 +0200)]
Merge pull request #521 from ailin-nemui/ax_curses2
remove curses terminal and ncurses macro
ailin-nemui [Wed, 30 Mar 2016 08:14:57 +0000 (10:14 +0200)]
remove curses terminal and ncurses macro
dx [Sun, 17 Jul 2016 15:37:57 +0000 (12:37 -0300)]
Merge pull request #518 from vague666/hilight_help
Wrong order in the arguments in /hilight example, -mask doesn't take …
Jari Matilainen [Sun, 17 Jul 2016 15:28:21 +0000 (17:28 +0200)]
Wrong order in the arguments in /hilight example, -mask doesn't take a parameter
ailin-nemui [Wed, 13 Jul 2016 13:26:37 +0000 (15:26 +0200)]
Merge pull request #517 from LemonBoy/unignore
Minor cosmetic fix in /unignore error message.
LemonBoy [Tue, 12 Jul 2016 15:38:05 +0000 (17:38 +0200)]
Minor cosmetic fix in /unignore error message.
Reported here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577202
LemonBoy [Tue, 12 Jul 2016 14:35:43 +0000 (16:35 +0200)]
Fix the tab completion for paths starting with ./
ailin-nemui [Tue, 12 Jul 2016 14:11:41 +0000 (16:11 +0200)]
Merge pull request #512 from LemonBoy/coderef
Allow Irssi::signal_remove to work properly with coderefs
ailin-nemui [Tue, 12 Jul 2016 14:11:04 +0000 (16:11 +0200)]
Merge pull request #515 from LemonBoy/signal-proto
Correct the prototype for the 'message private' signal.
LemonBoy [Tue, 12 Jul 2016 13:46:36 +0000 (15:46 +0200)]
Correct the prototype for the 'message private' signal.
Tom Feist [Tue, 12 Jul 2016 10:42:15 +0000 (12:42 +0200)]
Allow Irssi::signal_remove to work properly with coderefs