summaryrefslogtreecommitdiff
path: root/src/fe-common
AgeCommit message (Collapse)Author
2017-01-03switch for gregex and regex.hAilin Nemui
2017-01-02Use the RAW flag when building the regexps.LemonBoy
Also, plugged a memory leak when retrieving the match position.
2017-01-02Remove the regexp_compiled field.LemonBoy
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.
2017-01-02Use GLib's regexp interface (backed by PCRE)LemonBoy
2017-01-02Merge pull request #586 from LemonBoy/fix-580ailin-nemui
Process the nick changes in queries before the PRIVMSG is handled.
2017-01-01Make sure SASL was actually requested before failing.LemonBoy
2016-12-15Prevent a UaF by calling server_disconnect in a signal handler.LemonBoy
2016-12-15Process the nick changes in queries before the PRIVMSG is handled.LemonBoy
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.
2016-12-12Expose 'sasl_success' to the perl side.LemonBoy
2016-12-12Add an option to stop the connection when SASL fails.LemonBoy
2016-11-29Merge pull request #565 from ahf/bug/524LemonBoy
Kill bell_beeps.
2016-11-23Don't shadow the 'channel' variable when printing the netjoins.LemonBoy
This is the root cause of #567
2016-11-23Minor corrections to the netsplit code.LemonBoy
2016-11-08add completion_empty_line settingLauri Tirkkonen
2016-10-23Kill bell_beeps.Alexander Færøy
Fixes #524
2016-10-23Shorten the certificate chain output.Alexander Færøy
2016-10-22Only do checks for SSL_get_server_tmp_key in network-openssl.c.Alexander Færøy
2016-10-22Declare variables in the beginning of the function.Alexander Færøy
2016-10-22Add x509 certificate and public key pinning support.Alexander Færøy
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-22Display TLS connection information when connected to a TLS enabled server.Alexander Færøy
2016-10-22Rename SSL to TLS.Alexander Færøy
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-11Merge pull request #465 from LemonBoy/netsplit-printailin-nemui
Some small adjustments to the netsplit code.
2016-09-20Patches for heap corruption and missing bounds checkailin-nemui
By Gabriel Campana and Adrien Guinet from Quarkslab.
2016-09-13Merge pull request #516 from LemonBoy/comp-fileailin-nemui
Fix the tab completion for paths starting with ./
2016-09-04Merge pull request #533 from dequis/statusmessLemonBoy
Set the default STATUSMSG to @ instead of @+ if it's missing
2016-08-24Set the default STATUSMSG to @ instead of @+ if it's missingdequis
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
2016-08-22fix nick->host == NULL crashailin-nemui
2016-07-12Minor cosmetic fix in /unignore error message.LemonBoy
Reported here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577202
2016-07-12Fix the tab completion for paths starting with ./LemonBoy
2016-06-26Such draft. Very wow.LemonBoy
2016-06-26Avoid entering an endless loop while traversing the channel listLemonBoy
2016-06-26Some small adjustments to the netsplit code.LemonBoy
By making the signal handler hooked to the "print starting" event smarter we can avoid dumping the whole netsplit stats for every server/channel when a message arrives. Issue #420
2016-06-24Merge pull request #496 from ailin-nemui/compailin-nemui
completion fixes
2016-06-21Merge pull request #498 from vague666/add_modify_functionsLemonBoy
Add modify to /channel, /server and /network
2016-06-21use TRUE/FALSE in if statements for gbooleanJari Matilainen
2016-06-19Fix minor nitsJari Matilainen
2016-06-18Add command_set_options for modify commands to allow completionJari Matilainen
2016-06-18Let ADD still work as modifyJari Matilainen
2016-06-18Add /server modify SYNTAXJari Matilainen
2016-06-18Add /network modifyJari Matilainen
2016-06-18Add /server modifyJari Matilainen
2016-06-18Add /channel modifyJari Matilainen
2016-06-16completion fixesailin-nemui
2016-06-14Merge pull request #422 from LemonBoy/misc-cleanupailin-nemui
Clean up misc.c
2016-06-13Add a completion_match_case setting.LemonBoy
2016-06-13Be smart about case-matching the nicks.LemonBoy
If the prefix contains an uppercase letter then don't use the case-insensitive search functions.
2016-06-13Add a space after the comma when listing the options.LemonBoy
2016-06-13Move the validation of the CHOICE setting valueLemonBoy
Also, use a FORMAT to show the error message.
2016-06-12Strip the surrounding whitespace.LemonBoy
2016-06-12Sort the completion resultsLemonBoy
Make sure the current option is shown first.