1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00
Commit Graph

518 Commits

Author SHA1 Message Date
Alexander Færøy
5a04430998
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.
2016-10-22 22:04:33 +02:00
Alexander Færøy
5146ce9631
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.
2016-10-22 22:01:50 +02:00
Alexander Færøy
99d017720d
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.
2016-10-22 20:37:33 +02:00
Alexander Færøy
2be7289085
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.
2016-10-22 20:36:50 +02:00
LemonBoy
f492ec8abf Document the addition of the -autorun switch for /script reset. 2016-09-11 17:05:03 +02:00
ailin-nemui
de11e0f4f2 remove broken dummy mode 2016-08-12 19:33:56 +02:00
dx
3e28bf7a94 Merge pull request #518 from vague666/hilight_help
Wrong order in the arguments in /hilight example, -mask doesn't take …
2016-07-17 12:37:57 -03:00
Jari Matilainen
ccf1ca124b Wrong order in the arguments in /hilight example, -mask doesn't take a parameter 2016-07-17 17:28:21 +02:00
LemonBoy
0fe81cae83 Correct the prototype for the 'message private' signal. 2016-07-12 15:46:36 +02:00
LemonBoy
798ce006c2 Merge pull request #498 from vague666/add_modify_functions
Add modify to /channel, /server and /network
2016-06-21 22:46:52 +02:00
Jari Matilainen
054a98b0ac Add info about MODIFY to help files 2016-06-18 17:59:59 +02:00
ailin-nemui
cf98260ede Merge pull request #476 from isundil/master
Add an option to make /hilight case sensitive
2016-04-30 21:46:18 +02:00
dennisschagt
b24921db7a Correct error/typo "You"->"Your" in help message 2016-04-30 09:44:26 +02:00
B Thibault
ddd5416430 changed command-line -case to -matchcase 2016-04-29 11:00:34 +02:00
B Thibault
d8a6e66699 Ref #421 (Add an option to make /hilight case sensitive)
Allow use of /hilight -case exAMPle (compatible with other options)
Added matchcase to hilight config file (exemple: { text = exAMPle; matchcase = yes; } )
2016-04-29 01:01:34 +02:00
ailin-nemui
1349755bb5 Merge pull request #453 from LemonBoy/dcc-quote
Support quoted filenames in some /DCC commands
2016-04-05 22:39:54 +02:00
ailin-nemui
ec4ecd844b Revert "Removed the obsolete SQUERY and SERVLIST commands"
This reverts commit 4beebe3238.
2016-03-29 22:41:01 +02:00
LemonBoy
be93c8d5be Update the documentation about DCC 2016-03-22 16:03:05 +01:00
ailin-nemui
7baf3a28bb correct quoting in /help dcc 2016-03-20 22:43:12 +01:00
ailin-nemui
9174ec584f Merge tag '0.8.18'
master now on 0.8.19-head
2016-02-29 22:45:54 +01:00
Lukas Mai
effb00b858 add some documentation 2016-02-18 01:20:33 +01:00
ailin-nemui
8ab537cf22 sync docs 2016-02-08 21:18:04 +01:00
ailin-nemui
b229138b2e Update perl.txt
Mention known Perl Bugs (#386)
2016-01-26 09:33:46 +01:00
mh
620d0a9299 script should be plural 2015-12-14 19:12:47 +01:00
Wieland Hoffmann
ca96444784 DCC close always requires a type 2015-12-09 11:21:51 +01:00
Chirag Aggarwal
0f066aac11 Remove Typo from FAQs 2015-09-28 08:54:19 +05:30
ailin-nemui
18989e76db Merge pull request #304 from LemonBoy/sasl_user_options
Allow the user to set and modify the SASL parameters
2015-09-26 19:07:54 +02:00
LemonBoy
1a2c479bc0 Allow the user to set and modify the SASL parameters
The /NETWORK ADD command now is able to modify the SASL mechanism, the
username and the password on a chatnet basis.
2015-09-26 18:53:10 +02:00
dequis
c9be1a7a80 Revert "Revert "Bug fix - docdir is ignored during installation.""
This reverts commit d222c11f74.
2015-09-23 13:58:22 -03:00
Ailin Nemui
d3df165e0b Improve the WINDOW help
Properly describe the window command.
Make help sort order deterministic.
2015-09-23 14:21:27 +02:00
ailin-nemui
f5f3d7cc98 Revert "Network and IPv{4,6} related changes" 2015-09-22 21:59:17 +02:00
LemonBoy
564829610d Ding dong the switch is dead 2015-09-21 14:55:35 +02:00
LemonBoy
203c00938a Use formats instead of g_warning
Add some copyright headers here and there too.
2015-09-21 00:04:37 +02:00
Geert Hauwaerts
3e7c8a6f26 Merge pull request #284 from ailin-nemui/document-perl-crashes
Document some shortcomings in perl.txt
2015-09-19 13:24:19 +02:00
ailin-nemui
2b13e793c4 Merge pull request #259 from dequis/irssiproxy
Updates for irssiproxy
2015-09-19 02:53:25 +02:00
ailin-nemui
54a2fafbde Update perl.txt 2015-09-18 23:33:52 +02:00
Alexander Færøy
d2c9f30977 Merge pull request #222 from LemonBoy/cap-support
[RFC] CAP support
2015-08-24 22:22:01 +02:00
dequis
a47f45b5b7 Rename /proxy command to /irssiproxy for clarity 2015-06-14 11:57:11 -03:00
dequis
29fb0d9802 Merge branch 'master' into irssiproxy
Conflicts:
	src/irc/proxy/listen.c
2015-06-14 10:42:41 -03:00
Geert Hauwaerts
fb5513ef4a Merge pull request #257 from GeertHauwaerts/master
Clarify the help for /LIST (#228)
2015-06-12 20:48:50 +02:00
Geert Hauwaerts
e2eb2483b7 Updated the man page (#251)
Updated the man page (#251)
2015-06-12 20:41:47 +02:00
Geert Hauwaerts
d222c11f74 Revert "Bug fix - docdir is ignored during installation." 2015-06-12 18:50:55 +02:00
Geert Hauwaerts
a79f150a76 Clarify the help for /LIST (#228)
Clarify the help for /LIST (#228)
2015-06-12 17:23:49 +02:00
Filip Szczepański
ae742f3f13 lastlog doc fix
Only the filename can come right after `-file`. Having `-force` in that position causes an `Irssi: Could not open lastlog: No such file or directory` error.
2015-05-14 13:06:50 +01:00
LemonBoy
2d7030a844 Implement support for IRCv3.1 CAP negotiation 2015-05-05 23:14:26 +02:00
Alexander Færøy
9540a60c52 Merge pull request #232 from dimkr/master
Bug fix - docdir is ignored during installation.
2015-04-21 00:14:39 +02:00
Haw Loeung
9f77dd802d trivial: Minor cosmetic changes fixing docs as per review from ahf. 2015-04-18 13:53:07 +10:00
Haw Loeung
50e955e342 ssl: Add option to specify SSL cipher suite preference. 2015-04-14 18:07:35 +10:00
Dima Krasner
be8c3c378a Bug fix - docdir is ignored during installation. 2015-04-07 12:14:20 +03:00
Hans Nielsen
7beffbdcc5 Add help files for proxy module 2015-02-24 19:53:23 -08:00