Commit Graph

1038 Commits

Author SHA1 Message Date
Přemysl Eric Janouch cd1a55a0d1 Import option handler from ponymap 2015-02-11 02:07:52 +01:00
Přemysl Eric Janouch 59b1c5c056 Convert to CMake 2015-02-11 01:53:19 +01:00
Přemysl Eric Janouch dfe50aeb85 Add Travis CI configuration 2015-02-08 05:53:55 +01:00
Přemysl Eric Janouch aaf6385811 script: fix escaping in the dot command 2014-10-03 22:21:30 +02:00
Přemysl Eric Janouch ca05277ce7 script: don't get killed because of users 2014-09-27 21:43:11 +02:00
Přemysl Eric Janouch f9dced26ca script: watch all memory allocations
And some other miscellaneous changes.

Now it should be ready for the real life.
2014-09-27 21:26:35 +02:00
Přemysl Eric Janouch 89e9f13e12 Fixes 2014-09-27 00:55:13 +02:00
Přemysl Eric Janouch a1c9018847 Fix timers 2014-09-20 02:08:30 +02:00
Přemysl Eric Janouch 125521ddc1 script: set a scricter limit on memory 2014-09-19 01:24:39 +02:00
Přemysl Eric Janouch d4c60dc105 s/_func/_fn/ 2014-09-19 01:08:18 +02:00
Přemysl Eric Janouch 21e75ebd55 Fix removal from dispatch in timer callbacks 2014-09-19 01:06:42 +02:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch 19ff2715b5 ZyklonB: better errors on TLS/SSL failure 2014-08-19 20:33:28 +02:00
Přemysl Eric Janouch 0484f7e995 Another fix for the legacy poller 2014-08-18 23:22:48 +02:00
Přemysl Eric Janouch 2c150b5399 Fix infinite loop in the legacy poller 2014-08-18 23:07:55 +02:00
Přemysl Eric Janouch 9fab2fd2bd kike: don't use HOST_NAME_MAX
FreeBSD doesn't have it.
2014-08-18 23:02:54 +02:00
Přemysl Eric Janouch 371cd5ea21 Bump _XOPEN_SOURCE to 600
Otherwise it's not going to compile on FreeBSD,
because of e.g. missing v/snprintf() and va_copy().
2014-08-18 22:52:01 +02:00
Přemysl Eric Janouch 47bb99261c Update README
There's no hope of making it work with BSD make, and GNU make is
in the ports tree anyway.
2014-08-18 22:51:50 +02:00
Přemysl Eric Janouch d53f2baa3b Fix service name to port resolution 2014-08-17 17:50:25 +02:00
Přemysl Eric Janouch bd0187a825 ZyklonB: add SOCKS 5/4a support 2014-08-17 17:37:15 +02:00
Přemysl Eric Janouch 3afd81df9b Deal better with displaying IPv6 addresses 2014-08-17 16:59:59 +02:00
Přemysl Eric Janouch 8632e5fe83 Silence GCC 2014-08-17 15:45:24 +02:00
Přemysl Eric Janouch fb74a46393 ZyklonB: `status' -> use semicolons in output 2014-08-15 20:11:34 +02:00
Přemysl Eric Janouch d4e4f599f0 ZyklonB: make client certificates actually work
We forgot to set the private key, which can reside in the same file
as the certificate, appended at the end.
2014-08-13 19:23:09 +02:00
Přemysl Eric Janouch 946522ba80 kike: go with shorter SHA1 fingerprints 2014-08-13 19:22:43 +02:00
Přemysl Eric Janouch 641aff5f57 Link with -lrt
The newer glibc isn't that common yet.
2014-08-13 19:22:05 +02:00
Přemysl Eric Janouch 809fd4ab74 kike: send NICK notification back to ourselves
Also cleanup.
2014-08-12 23:00:42 +02:00
Přemysl Eric Janouch 776c334128 kike: also send RPL_AWAY in WHOIS 2014-08-10 19:38:00 +02:00
Přemysl Eric Janouch 1219b92b73 kike: fix sending of channel mask lists 2014-08-10 19:19:57 +02:00
Přemysl Eric Janouch ccb2797082 kike: proper shutdown on accept() failure 2014-08-10 19:19:53 +02:00
Přemysl Eric Janouch 753eacab42 kike: cleanup 2014-08-10 17:27:58 +02:00
Přemysl Eric Janouch fa2f234343 ZyklonB: cleanup not only wrt. timers
The code isn't async enough and needs some further changes.
2014-08-10 06:22:34 +02:00
Přemysl Eric Janouch 479da40a3d ZyklonB: add connection timeouts 2014-08-10 04:58:24 +02:00
Přemysl Eric Janouch 19c170a7aa Update the README 2014-08-10 03:47:50 +02:00
Přemysl Eric Janouch ecc4b4206e kike: fix the Makefile 2014-08-10 03:46:49 +02:00
Přemysl Eric Janouch 9977a07353 kike: allow listening on multiple ports 2014-08-10 02:54:35 +02:00
Přemysl Eric Janouch b8f002eaf5 kike: add a trivial flood detector 2014-08-10 02:22:52 +02:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch 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
Přemysl Eric Janouch 0da22a799a kike: add a FIXME 2014-08-09 23:58:10 +02:00
Přemysl Eric Janouch d9643abf8c Update the README about kike's state 2014-08-09 23:57:54 +02:00
Přemysl Eric Janouch 23cd9521d4 kike: shuffle things around
Pseudorandomly.  There are more than one way the program could be laid out.
Some of them make more sense than others.
2014-08-09 23:51:27 +02:00
Přemysl Eric Janouch 9927956104 kike: fix leaking of channels 2014-08-09 23:20:21 +02:00
Přemysl Eric Janouch 71ff29ae89 Attributes don't apply to function definitions 2014-08-09 23:10:40 +02:00
Přemysl Eric Janouch 266626584d kike: fix `struct channel_user'
Storing the nickname instead of a reference to `struct client' didn't play well
with nickname changes.  The client needs to be unlinked from any channels before
his object can be deleted, anyway.
2014-08-09 23:10:35 +02:00
Přemysl Eric Janouch 9d86d81851 kike: hackplement channel MODE changes 2014-08-09 22:43:18 +02:00
Přemysl Eric Janouch 8645f12f9f kike: fix checking against channel masks 2014-08-09 22:42:26 +02:00
Přemysl Eric Janouch e9491ca85b kike: implement a useless ADMIN command 2014-08-09 03:58:37 +02:00
Přemysl Eric Janouch 4b3af280fa kike: channel user limit is also secret 2014-08-09 01:36:21 +02:00
Přemysl Eric Janouch a7ba1eb15f kike: preparation for multiple listening sockets
It should be only a matter of modifying irc_setup_listen_fds() now.
2014-08-09 00:14:14 +02:00