]>
jfr.im git - irc/irssi/irssi.git/log
ailin-nemui [Tue, 3 Jan 2017 15:41:41 +0000 (16:41 +0100)]
tag as 1.0.0
ailin-nemui [Thu, 5 Jan 2017 12:07:30 +0000 (13:07 +0100)]
Merge branch 'gregex-gerror'
ailin-nemui [Tue, 3 Jan 2017 16:04:24 +0000 (17:04 +0100)]
fix GRegex GError problem
ailin-nemui [Tue, 3 Jan 2017 13:39:10 +0000 (14:39 +0100)]
Merge branch 'integrate/0.8.21'
ailin-nemui [Tue, 3 Jan 2017 13:38:02 +0000 (14:38 +0100)]
Merge tag '0.8.21' into integrate/0.8.21
ailin-nemui [Tue, 3 Jan 2017 13:24:55 +0000 (14:24 +0100)]
tag as 0.8.21
ailin-nemui [Tue, 3 Jan 2017 12:44:58 +0000 (13:44 +0100)]
Merge branch 'security' into 'master'
See merge request !7
ailin-nemui [Tue, 3 Jan 2017 12:44:58 +0000 (13:44 +0100)]
Merge branch 'security' into 'master'
See merge request !7
Nei [Mon, 2 Jan 2017 17:03:31 +0000 (17:03 +0000)]
Merge branch 'master' into 'security'
Sync to master
See merge request !6
ailin-nemui [Tue, 3 Jan 2017 11:45:50 +0000 (12:45 +0100)]
Merge pull request #585 from ailin-nemui/win_seq
g_sequence backing for window list
ailin-nemui [Tue, 3 Jan 2017 11:45:27 +0000 (12:45 +0100)]
Merge pull request #412 from LemonBoy/pcre-regexp
Use GLib's regexp interface (backed by PCRE)
Ailin Nemui [Tue, 3 Jan 2017 11:29:52 +0000 (12:29 +0100)]
up abi version
Ailin Nemui [Tue, 3 Jan 2017 11:04:56 +0000 (12:04 +0100)]
switch for gregex and regex.h
Nei [Mon, 2 Jan 2017 17:01:47 +0000 (17:01 +0000)]
Merge branch 'percent_flag' into 'security'
fix %[
See merge request !5
Nei [Mon, 2 Jan 2017 17:01:29 +0000 (17:01 +0000)]
Merge branch '4-use-after-free-when-receiving-numeric-432-invalid-nick' into 'security'
avoid server_disconnect
See merge request !4
Nei [Mon, 2 Jan 2017 17:01:05 +0000 (17:01 +0000)]
Merge branch '1-null-pointer-dereference-in-irc_nickcmp_rfc1459' into 'security'
bail out if nick is NULL
See merge request !3
Nei [Mon, 2 Jan 2017 17:00:44 +0000 (17:00 +0000)]
Merge branch '3-out-of-bounds-read-with-invalid-utf8-in-term_addstr' into 'security'
Fix oob read on invalid utf8 in term_addstr
See merge request !2
Nei [Mon, 2 Jan 2017 17:00:15 +0000 (17:00 +0000)]
Merge branch '2-out-of-bounds-read-of-one-byte-with-x1b-48-in-truecolor-builds' into 'security'
check for end of string in ansi 48
See merge request !1
LemonBoy [Thu, 23 Jun 2016 11:25:23 +0000 (13:25 +0200)]
Use the RAW flag when building the regexps.
Also, plugged a memory leak when retrieving the match position.
LemonBoy [Sun, 19 Jun 2016 19:08:25 +0000 (21:08 +0200)]
Rebase against master.
LemonBoy [Fri, 29 Jan 2016 15:22:14 +0000 (16:22 +0100)]
Remove the regexp_compiled field.
It was made redundant by the introduction of the pointer to the GRegex
structure.
Silence the compiler warning in textbuffer.c about preg being
initialized by setting it to NULL.
LemonBoy [Fri, 29 Jan 2016 15:08:40 +0000 (16:08 +0100)]
Remove unused references to regex.h
Also remove the prototype for regex_match since it has been removed.
LemonBoy [Thu, 14 Jan 2016 13:10:00 +0000 (14:10 +0100)]
Use GLib's regexp interface (backed by PCRE)
ailin-nemui [Mon, 2 Jan 2017 13:44:07 +0000 (14:44 +0100)]
Merge pull request #586 from LemonBoy/fix-580
Process the nick changes in queries before the PRIVMSG is handled.
ailin-nemui [Mon, 2 Jan 2017 13:39:30 +0000 (14:39 +0100)]
Merge pull request #593 from LemonBoy/crown
Welcome TheLemonMan on board
ailin-nemui [Mon, 2 Jan 2017 13:39:01 +0000 (14:39 +0100)]
Merge pull request #594 from LemonBoy/sasl_fail_fix
Make sure SASL was actually requested before failing.
LemonBoy [Fri, 23 Dec 2016 16:59:55 +0000 (17:59 +0100)]
Make sure SASL was actually requested before failing.
LemonBoy [Thu, 22 Dec 2016 14:38:43 +0000 (15:38 +0100)]
Add myself to the core team members
ailin-nemui [Wed, 21 Dec 2016 14:29:26 +0000 (15:29 +0100)]
Merge pull request #514 from LemonBoy/sasl_fail
Add an option to stop the connection when SASL fails.
ailin-nemui [Wed, 21 Dec 2016 14:28:17 +0000 (15:28 +0100)]
Merge pull request #587 from ailin-nemui/sbar_crash
add assertion to statusbar_read_group
ailin-nemui [Tue, 20 Dec 2016 20:40:18 +0000 (21:40 +0100)]
remove some for loops
ailin-nemui [Tue, 20 Dec 2016 20:36:56 +0000 (21:36 +0100)]
sort windows_seq helpers to top
ailin-nemui [Tue, 20 Dec 2016 20:33:51 +0000 (21:33 +0100)]
nits
ailin-nemui [Tue, 20 Dec 2016 20:01:16 +0000 (21:01 +0100)]
clean up window_refnum_{prev,next}
ailin-nemui [Tue, 20 Dec 2016 15:41:57 +0000 (16:41 +0100)]
fix %[
ailin-nemui [Mon, 19 Dec 2016 21:03:46 +0000 (22:03 +0100)]
add some sequence helper functions
Joseph Bisch [Mon, 19 Dec 2016 14:31:38 +0000 (09:31 -0500)]
Fix oob read on invalid utf8 in term_addstr
ailin-nemui [Mon, 19 Dec 2016 15:06:13 +0000 (16:06 +0100)]
bail out if nick is NULL in irc_query_find
Closes #1
ailin-nemui [Mon, 19 Dec 2016 20:16:37 +0000 (21:16 +0100)]
avoid server_disconnect
Closes #4
LemonBoy [Thu, 15 Dec 2016 21:41:57 +0000 (22:41 +0100)]
Prevent a UaF by calling server_disconnect in a signal handler.
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
LemonBoy [Thu, 15 Dec 2016 14:22:30 +0000 (15:22 +0100)]
Process the nick changes in queries before the PRIVMSG is handled.
Otherwise we end up with the message in the status window since the
frontend knows jack shit about the casemapping option when it tries to
find the associated window for the query.
ailin-nemui [Thu, 15 Dec 2016 17:01:26 +0000 (18:01 +0100)]
check for end of string in ansi 48
ailin-nemui [Thu, 15 Dec 2016 16:06:40 +0000 (17:06 +0100)]
reset background for mirc colour 99
fix #571
ailin-nemui [Thu, 15 Dec 2016 15:59:38 +0000 (16:59 +0100)]
add assertion to statusbar_read_group
fix #564
ailin-nemui [Tue, 13 Dec 2016 02:04:01 +0000 (03:04 +0100)]
manually redraw the activity list on expose only
might speed up /foreach query /unquery
ailin-nemui [Mon, 12 Dec 2016 20:07:56 +0000 (21:07 +0100)]
g_sequence backing for window list
LemonBoy [Thu, 20 Oct 2016 19:41:36 +0000 (21:41 +0200)]
Expose 'sasl_success' to the perl side.
LemonBoy [Tue, 12 Jul 2016 11:59:46 +0000 (13:59 +0200)]
Add an option to stop the connection when SASL fails.
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 [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 [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