Commit Graph

123 Commits

Author SHA1 Message Date
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
ad08545f8f Bump liberty 2015-07-15 22:56:53 +02:00
d6a4ca1434 Bump liberty, fix map iterators 2015-07-14 22:25:30 +02:00
e86dc2fbcd Disable SSL 2 and 3 2015-07-13 00:13:14 +02:00
fc87d54649 Cleanup 2015-07-12 17:39:29 +02:00
f69ca8e54c kike: allow specifying the cipher list 2015-07-12 17:39:29 +02:00
c3243c8f50 kike: add some OpenSSL information to debug log 2015-07-12 05:42:07 +02:00
d5a153bbe3 Call ERR_clear_error() where necessary 2015-07-12 05:30:13 +02:00
0c4b727961 Bump liberty 2015-07-11 17:54:38 +02:00
5692da47be Fix various issues reported by Coverity 2015-07-11 14:48:00 +02:00
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
4d7a74b890 kike: fix a minor issue in on_signal_pipe_readable 2015-07-07 22:11:15 +02:00
05c6bf63bb kike: actually use irc_is_valid_key() 2015-07-05 23:24:26 +02:00
b486965277 kike: resolve the path to PID files better 2015-07-02 01:05:56 +02:00
51bf132c6b Bump liberty 2015-07-01 23:28:30 +02:00
8d62d95918 kike: optionally write a PID file 2015-06-30 23:14:27 +02:00
3b42a09751 kike: fix /topic handling 2015-06-28 17:44:29 +02:00
5d9b080d83 kike: get rid of "Reason omitted"
It was rather distracting and confusing.
2015-06-20 19:57:56 +02:00
64725b24bd kike: send RPL_ISUPPORT in response to VERSION
Most servers do it.
2015-06-19 22:26:54 +02:00
4ef6f6ec2d kike: fix changing channel modes 2015-06-18 08:34:37 +02:00
f09313f08b kike: always allow IRCops to change channel modes 2015-06-18 08:14:05 +02:00
241acd1ac7 kike: fix CAP with weechat
It requires a message prefix (IMO terribly implemented).
2015-06-14 19:38:35 +02:00
d25377599c kike: fix quitting + code shuffling 2015-06-13 23:41:54 +02:00
abc0e4f821 kike: implement LINKS 2015-06-13 22:28:38 +02:00
ff10e1b652 kike: implement STATS 2015-06-13 22:28:38 +02:00
ba14a30c0a kike: implement WHOWAS 2015-06-13 18:47:25 +02:00
17be991dce kike: finish implementation of NAMES 2015-06-13 13:35:33 +02:00
dd91b521df kike: some refactoring 2015-06-13 12:42:41 +02:00
a60fc4d47f kike: implement CAP userhost-in-names 2015-06-13 12:17:56 +02:00
5c5be1af07 kike: implement CAP echo-message 2015-06-13 12:13:43 +02:00
dd17a29445 kike: implement CAP invite-notify 2015-06-13 12:02:17 +02:00
1d53b87016 kike: refactor CAP processing 2015-06-12 21:27:17 +02:00
bf01fb7aa3 kike: implement the multi-prefix capability 2015-06-12 20:29:21 +02:00
20fc6c17d1 kike: stubplement CAP 2015-06-11 23:22:08 +02:00
55fde4803c kike: use * if there's no nickname yet 2015-06-11 22:39:14 +02:00
2c24f714b6 kike: fix INVITE
Didn't allow ban circumvention.
2015-06-09 09:26:57 +02:00
5e26dd726c kike: refactor INVITE a bit 2015-06-08 23:22:26 +02:00
5b1690ede4 kike: implement INVITE 2015-06-08 23:19:00 +02:00
7bcf2a066b kike: fix RPL_WHOISCHANNELS and RPL_NAMREPLY
Now we automatically split the lists and send multiple replies,
but only if it's needed.
2015-06-07 03:28:40 +02:00
8282b7bd45 kike: implement RPL_TOPICWHOTIME
This one was also trivial.
2015-06-07 01:23:52 +02:00
fc09c392c9 kike: implement RPL_CREATIONTIME
Since it's trivial.
2015-06-07 01:23:52 +02:00
b132b979da kike: avoid printf-ing a null string 2015-06-02 22:47:25 +02:00
81aff58f73 kike: send more RPL_ISUPPORT tokens 2015-05-31 20:54:02 +02:00
b7b84b489d kike: use RPL_ISUPPORT 2015-05-29 19:34:01 +02:00
4b02030c80 kike: mark an issue with FIXME 2015-05-23 19:55:10 +02:00
b3254a589c kike: unindent a function by refactoring 2015-05-04 02:22:05 +02:00
bef6b42d9e kike: unfuck mode parsing
And fix a hidden memory leak while we're at it.
2015-05-03 05:00:14 +02:00
57f052a2be Get rid of "All rights reserved" 2015-05-01 23:41:22 +02:00
37fa19f4c9 Rename project to uirc3 2015-04-30 01:39:08 +02:00
dff720b49b kike: no more shooting ourselves in the foot
Just zero out the whole structure.
2015-04-28 23:40:49 +02:00
a7ccdc78be degesch: add a note about RPL_ISUPPORT 2015-04-21 22:34:16 +02:00
245ff38498 Prepare for a custom logger in degesch 2015-04-11 21:12:56 +02:00
dc08f9d5ab kike: put a timeout on shutdown
And kill all clients if it takes them too long.
2015-04-10 03:13:36 +02:00
94d4f060ff kike: be more careful when closing the connection 2015-03-23 22:57:13 +01:00
9681ad0021 Move to liberty 2015-02-28 20:09:51 +01:00
c492473ade Split function, fix resource leak 2015-02-14 07:58:38 +01:00
e8fe0dad81 Import optimized event loop from ponymap 2015-02-12 02:04:39 +01:00
cd1a55a0d1 Import option handler from ponymap 2015-02-11 02:07:52 +01:00
59b1c5c056 Convert to CMake 2015-02-11 01:53:19 +01:00
d4c60dc105 s/_func/_fn/ 2014-09-19 01:08:18 +02:00
37e1895fd0 kike: better debug messages
I had a wonderful "I'm a fucking idiot" moment when I tried connecting
over SSL/TLS with no certificate at the server.

By the way, ZyklonB crashes with FreeBSD 10's Valgrind and gdb
seemingly loses track of execution while in getaddrinfo().
2014-08-19 21:00:12 +02:00
9fab2fd2bd kike: don't use HOST_NAME_MAX
FreeBSD doesn't have it.
2014-08-18 23:02:54 +02:00
3afd81df9b Deal better with displaying IPv6 addresses 2014-08-17 16:59:59 +02:00
946522ba80 kike: go with shorter SHA1 fingerprints 2014-08-13 19:22:43 +02:00
809fd4ab74 kike: send NICK notification back to ourselves
Also cleanup.
2014-08-12 23:00:42 +02:00
776c334128 kike: also send RPL_AWAY in WHOIS 2014-08-10 19:38:00 +02:00
1219b92b73 kike: fix sending of channel mask lists 2014-08-10 19:19:57 +02:00
ccb2797082 kike: proper shutdown on accept() failure 2014-08-10 19:19:53 +02:00
753eacab42 kike: cleanup 2014-08-10 17:27:58 +02:00
9977a07353 kike: allow listening on multiple ports 2014-08-10 02:54:35 +02:00
b8f002eaf5 kike: add a trivial flood detector 2014-08-10 02:22:52 +02:00
126c07b70a kike: generate replies from a single text file
It became a bit difficult to maintain two separate lists.  Besides, the inverse
generation of a message catalog from source code was a bit strange.
2014-08-10 00:47:26 +02:00
bd68e28b60 Remove the `src' directory
There are not that many files, and aren't going to be.
2014-08-10 00:01:38 +02:00