Commit Graph

144 Commits

Author SHA1 Message Date
6a9a707a9c Avoid null pointer dereference
In irc_listen_resolve() with NULL `host'.
2015-02-14 07:22:28 +01:00
781bd24780 Fix resource leaks in socks_connect() 2015-02-14 07:11:38 +01:00
c1d2518407 Travis CI: Try adding Coverity scan 2015-02-14 06:24:47 +01:00
ea72676841 Travis CI: Make it build again 2015-02-12 02:27:12 +01:00
f0c64c69c3 Add another form of YouTube links 2015-02-12 02:18:27 +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
dfe50aeb85 Add Travis CI configuration 2015-02-08 05:53:55 +01:00
aaf6385811 script: fix escaping in the dot command 2014-10-03 22:21:30 +02:00
ca05277ce7 script: don't get killed because of users 2014-09-27 21:43:11 +02:00
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
89e9f13e12 Fixes 2014-09-27 00:55:13 +02:00
a1c9018847 Fix timers 2014-09-20 02:08:30 +02:00
125521ddc1 script: set a scricter limit on memory 2014-09-19 01:24:39 +02:00
d4c60dc105 s/_func/_fn/ 2014-09-19 01:08:18 +02:00
21e75ebd55 Fix removal from dispatch in timer callbacks 2014-09-19 01:06:42 +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
19ff2715b5 ZyklonB: better errors on TLS/SSL failure 2014-08-19 20:33:28 +02:00
0484f7e995 Another fix for the legacy poller 2014-08-18 23:22:48 +02:00
2c150b5399 Fix infinite loop in the legacy poller 2014-08-18 23:07:55 +02:00
9fab2fd2bd kike: don't use HOST_NAME_MAX
FreeBSD doesn't have it.
2014-08-18 23:02:54 +02:00
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
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
d53f2baa3b Fix service name to port resolution 2014-08-17 17:50:25 +02:00
bd0187a825 ZyklonB: add SOCKS 5/4a support 2014-08-17 17:37:15 +02:00
3afd81df9b Deal better with displaying IPv6 addresses 2014-08-17 16:59:59 +02:00
8632e5fe83 Silence GCC 2014-08-17 15:45:24 +02:00
fb74a46393 ZyklonB: `status' -> use semicolons in output 2014-08-15 20:11:34 +02:00
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
946522ba80 kike: go with shorter SHA1 fingerprints 2014-08-13 19:22:43 +02:00
641aff5f57 Link with -lrt
The newer glibc isn't that common yet.
2014-08-13 19:22:05 +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
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
479da40a3d ZyklonB: add connection timeouts 2014-08-10 04:58:24 +02:00
19c170a7aa Update the README 2014-08-10 03:47:50 +02:00
ecc4b4206e kike: fix the Makefile 2014-08-10 03:46:49 +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
0da22a799a kike: add a FIXME 2014-08-09 23:58:10 +02:00
d9643abf8c Update the README about kike's state 2014-08-09 23:57:54 +02:00
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
9927956104 kike: fix leaking of channels 2014-08-09 23:20:21 +02:00
71ff29ae89 Attributes don't apply to function definitions 2014-08-09 23:10:40 +02:00