Commit Graph

1130 Commits

Author SHA1 Message Date
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
Přemysl Eric Janouch e3010f2d6d kike: fix fingerprint generation and checking 2014-08-08 22:24:34 +02:00
Přemysl Eric Janouch 38887df202 kike: fix client unregistration 2014-08-08 02:34:46 +02:00
Přemysl Eric Janouch 34967973aa kike: implement SSL client cert. auth. 2014-08-08 02:34:45 +02:00
Přemysl Eric Janouch 6382ecb016 kike: allow changing user mode 2014-08-08 02:34:45 +02:00
Přemysl Eric Janouch f53fa42ac3 kike: implement DIE and KILL 2014-08-08 02:34:41 +02:00
Přemysl Eric Janouch c00ca0d29a kike: also tell about +b, +e and +I in 004 2014-08-08 01:29:56 +02:00
Přemysl Eric Janouch 5ed4e632a3 kike: don't send channel messages back 2014-08-05 23:26:30 +02:00
Přemysl Eric Janouch eab2d1765a kike: implement the WHOIS command
The code is starting to stink a bit, refactor imminent.
2014-08-05 23:15:06 +02:00