Commit Graph

103 Commits

Author SHA1 Message Date
Přemysl Eric Janouch a0e9ede3e3
Relicense to 0BSD, update mail address
I've come to the conclusion that copyright mostly just stands in the way
of software development.  In my jurisdiction I cannot give up my own
copyright and 0BSD seems to be the closest thing to public domain.

The updated mail address, also used in my author/committer lines,
is shorter and looks nicer.  People rarely interact anyway.
2018-06-21 23:46:03 +02:00
Přemysl Eric Janouch 19400ee8b7
kike: disable TLS session reuse 2018-01-09 06:25:16 +01:00
Přemysl Eric Janouch 674ffb2f6d
kike: handle accept() errors better
Might prevent some denial of service attacks.
2018-01-09 05:48:36 +01:00
Přemysl Eric Janouch 6c30452b28
kike: thorough review, no functional changes 2018-01-09 05:47:37 +01:00
Přemysl Eric Janouch 670e1c5770
kike: introduce cstr_set() 2018-01-08 23:16:14 +01:00
Přemysl Eric Janouch dc47b16034
Bump liberty, avoid fall-through warnings 2018-01-07 17:37:19 +01:00
Přemysl Eric Janouch a2611cdc3c
Rework constructors/destructors 2017-06-22 22:56:24 +02:00
Přemysl Eric Janouch 68bc297809
Bump liberty 2017-06-22 22:39:39 +02:00
Přemysl Eric Janouch 933760c2a2
kike: fix two memory leaks 2017-06-22 20:36:21 +02:00
Přemysl Eric Janouch c3d62b8799
Avoid the "poller_fd::closed" feature
Reliability enhancement for Linux.

This feature was created for ponymap, however we don't care about an
extra syscall in most places.  Doing it right even saves lines.
2017-05-06 21:35:44 +02:00
Přemysl Eric Janouch 9e5725662f
Bump liberty 2017-01-23 23:50:27 +01:00
Přemysl Eric Janouch eb70bf3fbc
Cleanup 2016-12-28 12:44:27 +01:00
Přemysl Eric Janouch d86a68f510
Add support for OpenSSL 1.1.0 2016-12-28 12:40:47 +01:00
Přemysl Eric Janouch 8028c7fa47
Bump liberty 2016-10-11 10:52:49 +02:00
Přemysl Eric Janouch 92a4d4b5a7
Better support for the KILL command 2016-09-23 22:50:30 +02:00
Přemysl Eric Janouch 695d615225 ZyklonB, kike: Use pledge(2) in OpenBSD
degesch has something like "stdio wpath cpath inet tty proc exec"
but given that it's user-extensible and very annoying for users to
have it crash, I'm leaving it unrestricted for now.
2016-03-30 00:50:44 +02:00
Přemysl Eric Janouch 90842c23a2 kike: fix daemonization on *BSD
Bump liberty.
2016-03-13 16:44:58 +01:00
Přemysl Eric Janouch 0c19a384f1 Fix typos 2016-02-09 04:50:51 +01:00
Přemysl Eric Janouch 10a264ec3d kike: add support for IRCv3.2 server-time 2016-01-31 21:43:23 +01:00
Přemysl Eric Janouch 6db40c4503 Bump liberty 2016-01-17 04:43:43 +01:00
Přemysl Eric Janouch f070523085 Bump liberty 2016-01-16 06:30:08 +01:00
Přemysl Eric Janouch dac5c9df6d kike: more cleanup 2016-01-16 06:30:08 +01:00
Přemysl Eric Janouch ced2a57cfc kike: allow messages before protocol establishment
We can just queue them.
2016-01-16 06:30:08 +01:00
Přemysl Eric Janouch f36d66b0cb kike: asynchronous address resolution
As well as some refactoring and cleanup.
2016-01-16 06:30:08 +01:00
Přemysl Eric Janouch aeb047260f Bump liberty, enable TLS SNI
Involves some rewrites to fit the new APIs.

SNI has been implemented Mostly just because we can, I don't think it's
widely in use and kike doesn't support this feature of the protocol either.
2016-01-04 01:12:42 +01:00
Přemysl Eric Janouch 1d14abd875 Cleanup 2015-12-31 05:07:28 +01:00
Přemysl Eric Janouch 36c59ff375 Enable TCP_NODELAY 2015-11-22 02:12:52 +01:00
Přemysl Eric Janouch abd892cbd7 Bump liberty 2015-08-17 00:13:05 +02:00
Přemysl Eric Janouch 637a3d2bf7 More SSL -> TLS renaming 2015-07-28 20:31:42 +02:00
Přemysl Eric Janouch 6f3b48e4eb SSL -> TLS; fix error handling 2015-07-15 23:34:36 +02:00
Přemysl Eric Janouch c8496a83d8 Unfuck OpenSSL error messages
We still take just the first error message in the queue, though.
2015-07-15 23:11:12 +02:00
Přemysl Eric Janouch ad08545f8f Bump liberty 2015-07-15 22:56:53 +02:00
Přemysl Eric Janouch d6a4ca1434 Bump liberty, fix map iterators 2015-07-14 22:25:30 +02:00
Přemysl Eric Janouch e86dc2fbcd Disable SSL 2 and 3 2015-07-13 00:13:14 +02:00
Přemysl Eric Janouch fc87d54649 Cleanup 2015-07-12 17:39:29 +02:00
Přemysl Eric Janouch f69ca8e54c kike: allow specifying the cipher list 2015-07-12 17:39:29 +02:00
Přemysl Eric Janouch c3243c8f50 kike: add some OpenSSL information to debug log 2015-07-12 05:42:07 +02:00
Přemysl Eric Janouch d5a153bbe3 Call ERR_clear_error() where necessary 2015-07-12 05:30:13 +02:00
Přemysl Eric Janouch 0c4b727961 Bump liberty 2015-07-11 17:54:38 +02:00
Přemysl Eric Janouch 5692da47be Fix various issues reported by Coverity 2015-07-11 14:48:00 +02:00
Přemysl Eric Janouch 24a082b5d8 kike: fix daemonization
First of all, we used to write the wrong PID in the file.

Second of all, systemd needs some extra BS to not kill us immediately.
2015-07-08 00:04:09 +02:00
Přemysl Eric Janouch 4d7a74b890 kike: fix a minor issue in on_signal_pipe_readable 2015-07-07 22:11:15 +02:00
Přemysl Eric Janouch 05c6bf63bb kike: actually use irc_is_valid_key() 2015-07-05 23:24:26 +02:00
Přemysl Eric Janouch b486965277 kike: resolve the path to PID files better 2015-07-02 01:05:56 +02:00
Přemysl Eric Janouch 51bf132c6b Bump liberty 2015-07-01 23:28:30 +02:00
Přemysl Eric Janouch 8d62d95918 kike: optionally write a PID file 2015-06-30 23:14:27 +02:00
Přemysl Eric Janouch 3b42a09751 kike: fix /topic handling 2015-06-28 17:44:29 +02:00
Přemysl Eric Janouch 5d9b080d83 kike: get rid of "Reason omitted"
It was rather distracting and confusing.
2015-06-20 19:57:56 +02:00
Přemysl Eric Janouch 64725b24bd kike: send RPL_ISUPPORT in response to VERSION
Most servers do it.
2015-06-19 22:26:54 +02:00
Přemysl Eric Janouch 4ef6f6ec2d kike: fix changing channel modes 2015-06-18 08:34:37 +02:00