48 Commits

Author SHA1 Message Date
Florian Obser
c1888a5fa8 rotate logs 2014-03-06 00:04:58 +01:00
Florian Obser
23ca6f1881 log group status messages 2014-03-05 23:19:53 +01:00
Mike Belopuhov
87dc6acc86 Remove an strlcpy leftover 2014-03-05 23:02:32 +01:00
Stuart Henderson
e54f151f05 chdir(/) immediately after chroot 2014-03-05 21:48:17 +00:00
Mike Belopuhov
3dba97de1d Add a logging switch toggle and a prefix for a nicer chroot 2014-03-05 22:41:56 +01:00
Stuart Henderson
b28dd0e9f3 Ignore flags for /w, ircII uses -s by default with "SHOW_CHANNEL_NAMES" 2014-03-05 21:06:17 +00:00
Mike Belopuhov
1dd35547d8 Chroot the logger process into the icbd user home directory 2014-03-05 18:39:17 +01:00
Mike Belopuhov
4e66b3ae9b Working logging 2014-03-05 18:28:43 +01:00
Florian Obser
a5893e9ac7 time accounting for log lines 2014-03-05 17:56:11 +01:00
Mike Belopuhov
45bd56ab0c logger will do its own time accounting; from the discussion with florian 2014-03-05 17:02:49 +01:00
Mike Belopuhov
55923b7428 Add some basic logger framework 2014-03-05 16:37:31 +01:00
Mike Belopuhov
fdbbc45de8 Correct strlen argument; from sthen via florian 2014-03-05 11:42:56 +01:00
Mike Belopuhov
c9402c337d Rework bufferevent read code 2014-03-05 11:42:33 +01:00
Mike Belopuhov
efa8586633 When doing privmsg do username lookups in all groups until the first match 2014-03-05 00:59:20 +01:00
Stuart Henderson
b7bc4329fe permit whitespace in topic, otherwise sanitize to _ 2014-03-04 23:17:15 +00:00
Mike Belopuhov
626f420e1c Add icb_vis to escape '%' chars and do some other sanitizing 2014-03-04 18:09:42 +01:00
Mike Belopuhov
8ef8c4edc1 Set SO_KEEPALIVE on the client socket, not on the server one 2014-03-04 12:30:49 +01:00
Mike Belopuhov
d488e1b381 Document -M modtab 2014-03-04 12:17:42 +01:00
Stuart Henderson
0c4d8fce53 enable tcp keepalives to help clear out dead connections 2014-03-04 12:17:15 +01:00
Mike Belopuhov
5815eefc6f Better formatting and additional warnings 2014-03-04 11:36:23 +01:00
Mike Belopuhov
b4049f9ba8 Rewrite DNS resolver to do things truly asynchronously 2014-03-04 11:34:57 +01:00
Mike Belopuhov
fa271b86eb Introduce session IDs and associated tree linkage 2014-03-04 11:34:15 +01:00
Mike Belopuhov
a202ff1e88 strip trailing spaces from all fields; based on the idea by sthen 2014-03-03 02:13:50 +01:00
Mike Belopuhov
e2fcbc7a20 Notify the user when mod passing fails 2014-03-03 01:51:58 +01:00
Stuart Henderson
a203cdb2fb allow relinquishing moderator ("/pass") 2014-03-03 01:39:52 +01:00
Sebastian Benoit
59a7416752 install icbd to /usr/local/... 2014-03-03 01:38:17 +01:00
Mike Belopuhov
1d2125a078 Add support for the moderator table that specifies (currently up
to 50) users that are allowed to become moderators.
2014-03-02 02:50:57 +01:00
Mike Belopuhov
d55422352e setusercontext(3) does it's own syslogging 2014-03-02 02:50:57 +01:00
Mike Belopuhov
2e37e9fb53 Return EX_USAGE instead of EX_CONFIG when both -4 and -6 are specified 2014-03-02 02:50:56 +01:00
Mike Belopuhov
4284008c22 Revamp "who" command handling; rename "moder" to "mod". 2014-03-02 02:50:39 +01:00
Mike Belopuhov
9195a6aa75 add a simple help command 2013-12-24 19:56:50 +01:00
Mike Belopuhov
bf02a602e1 add 'beep' and 'nobeep' support 2013-12-24 18:52:56 +01:00
Mike Belopuhov
4d92f03396 send a better error message when asked to switch over to the same group 2013-12-24 18:00:19 +01:00
Stuart Henderson
8886035ebe restrict setting topic to mod 2013-12-24 16:30:13 +01:00
Stuart Henderson
7eb46d467f fix moderator handling 2013-12-24 16:29:41 +01:00
Stuart Henderson
1fb1bbe44f handle pong->ping 2013-12-17 18:08:09 +01:00
Stuart Henderson
1022119787 NULL != 0 2013-12-17 18:07:59 +01:00
Mike Belopuhov
939f631ae4 fixup lint warnings 2013-12-17 10:47:55 +01:00
Mike Belopuhov
0b802fa46d OpenBSD now ships with bufferevent_setwatermark prototype defined 2010-09-10 11:12:56 +02:00
Mike Belopuhov
c8c9ccfb43 set tos bits to low delay, remove excessive logging in dns resolver 2010-04-11 13:37:57 +02:00
Mike Belopuhov
c45628b246 describe -S option in the manual page; sync usage 2010-01-08 14:27:28 +01:00
Mike Belopuhov
a785c27223 allow specifying a server name; do hostname evaluation only once 2010-01-08 14:16:34 +01:00
Mike Belopuhov
8bf5a0a81c no need for preprocessor here; add a comment also 2010-01-08 13:55:08 +01:00
Mike Belopuhov
1a5d69e083 add a bufferevent_setwatermark prototype, so it compiles on OpenBSD fine; small correction in the README 2010-01-08 13:49:14 +01:00
Mike Belopuhov
1da9ee51ec pysch pysch goto 2010-01-08 13:19:18 +01:00
Mike Belopuhov
e3a7f9bdf8 drop rcsids 2010-01-08 12:22:40 +01:00
Mike Belopuhov
cd7b81d00d move it to the github 2010-01-08 12:20:28 +01:00
Mike Belopuhov
b47ffaa841 move it to the github 2010-01-08 12:17:28 +01:00