Commit Graph

467 Commits

Author SHA1 Message Date
Jan Vidar Krey c9f32c8f7f Split out the system includes from the rest of the OS/arch/compiler detection. 2010-11-12 18:39:12 +01:00
Jan Vidar Krey 4c94753469 Minor compile fixes. 2010-11-12 11:31:16 +01:00
Jan Vidar Krey 43375d8443 Shutdown SSL on close. 2010-09-01 23:57:55 +02:00
Jan Vidar Krey 0190c38c32 0.3.3 release candidate. 2010-08-24 23:36:30 +02:00
Jan Vidar Krey 25c03f5c96 Fix stupid mistake. 2010-08-24 23:22:37 +02:00
Jan Vidar Krey f25cb7bd5d Don't do SSL_clear unless the SSL object is initialized. 2010-08-24 23:18:42 +02:00
Jan Vidar Krey 1e6d6cd1e7 Several SSL/TLS related memory leak fixes. 2010-08-24 23:10:23 +02:00
Jan Vidar Krey f55243cf88 Fix SSL/TLS related memory leak. 2010-08-23 21:40:07 +02:00
Jan Vidar Krey 6e1de7329c Fix 100% CPU issue with SSL connections. 2010-08-19 11:37:18 +02:00
Jan Vidar Krey f65a81a2aa Added option to redirect from adc:// to adcs:// if tls is required. 2010-08-18 23:32:53 +02:00
Jan Vidar Krey 6daa5ecf95 Added more informative error messages for the configuration file parser. 2010-08-10 23:20:56 +02:00
Jan Vidar Krey 23498e9ac8 Made sure logs can be rotated by sending a SIGHUP to the hub. 2010-07-12 16:56:55 +02:00
Jan Vidar Krey c30b85bbcb Fix bug #139: Unable to use TLS - due to not handling quotes around configuration strings. 2010-07-07 18:53:39 +02:00
Jan Vidar Krey 0810982b57 Fix bug #136 - !broadcast does not report status back to to sender. 2010-06-07 15:41:07 +02:00
Jan Vidar Krey ac5811633e Update to version 0.3.2 2010-05-31 17:13:40 +02:00
Jan Vidar Krey b3ed3a5526 Fix a silly invalid read operation 2010-05-28 15:23:44 +02:00
Jan Vidar Krey 1480b7e9c0 Fix bug #133 - Kqueue backend crash (BSD/OSX) 2010-05-28 15:22:33 +02:00
Jan Vidar Krey 50fde1c5c8 Updated the broadcast command to not send the message back to the user that sent it, but
instead summarize the number of users that received it.
2010-05-26 09:38:14 +02:00
Jan Vidar Krey 77faac0494 Fixed some minor issues found during code review. 2010-05-25 22:47:30 +02:00
Jan Vidar Krey 473ff0e159 Fix static buffer overrun - Thanks BlackSonar. 2010-05-25 22:23:40 +02:00
Jan Vidar Krey 62333c5f39 Update the command to send a PM originating from the operator/admin that sent it. 2010-05-25 22:21:56 +02:00
Jan Vidar Krey 44860c8477 Fix bug #131 - Missing escape handling for # in config files.
Added support for escaping stuff in the configuration file parser.
2010-05-25 19:43:32 +02:00
Jan Vidar Krey c70119870a Adding support for redirecting clients to other hubs when they fail to login
for various reasons.

Config variable is "redirect_addr".
2010-04-22 21:07:46 +02:00
Jan Vidar Krey b29f34af4a FreeBSD kqueue backend fixes.
This fixes bug #126 - Core dump on FreeBSD with obsolete_clients=0
2010-04-22 16:11:50 +02:00
Jan Vidar Krey 076492f1b9 Fix some small memory leaks. 2010-04-21 18:34:55 +02:00
Jan Vidar Krey b6fb2b41bd Fix a potential crash 2010-04-21 18:34:39 +02:00
Jan Vidar Krey c82f8ba167 Fix compile error. 2010-04-16 06:31:47 +02:00
Jan Vidar Krey 6c9cd4ca50 Fix some errors in the XML config spec. 2010-04-15 19:49:48 +02:00
Jan Vidar Krey 201acad409 Do not use C macros for configuration files. 2010-04-15 19:49:23 +02:00
Jan Vidar Krey 51c5b6169c Fix last commit. 2010-04-11 20:17:36 +02:00
Jan Vidar Krey b7e62b46cc Send message to old clients as a chat message not a status message. 2010-04-11 20:13:05 +02:00
Jan Vidar Krey 321cddad8e Fix bad boolean handling in config. 2010-04-09 10:41:01 +02:00
Jan Vidar Krey 8ec55a59f5 Merge branch 'master' of github.com:janvidar/uhub 2010-04-09 10:23:02 +02:00
Jan Vidar Krey d3ebc409cb Fix silly problem where default config is applied after reading the config file. 2010-04-09 10:22:45 +02:00
root 2fa5c01050 update example uhub.conf 2010-04-09 12:20:36 +04:00
Jan Vidar Krey 45462595ac Fix defaults for limix_min_hubs 2010-04-09 09:41:38 +02:00
Jan Vidar Krey 0a3fe10f16 Added XML file for configurations.
The XML file will be used to auto generate the configuratioin code
and the corresponding documentation in the future.

The perl script parses this XML format and outputs gen_config.{h,c} files
accordingly.
2010-04-07 17:26:27 +02:00
Jan Vidar Krey 8e816fd196 Update example configuration. 2010-04-05 16:53:17 +02:00
Jan Vidar Krey 88a22659a1 Update deb/rpm files. 2010-04-05 16:46:20 +02:00
Jan Vidar Krey 3393ee6a85 Updated changelog. 2010-04-05 16:43:43 +02:00
Jan Vidar Krey 58630fde08 Fixed getip to return the ip address of the target user, not self. 2010-04-05 16:35:55 +02:00
Jan Vidar Krey 8815118fde Added flood control support.
This closes bug #79: Flood control, and rate limits
2010-04-05 16:01:07 +02:00
Jan Vidar Krey 5454ae279a Fix bug #120: !getip does not work 2010-04-05 14:21:40 +02:00
Jan Vidar Krey 8e579f4601 Fix #123: accept() fails if IP is banned. 2010-04-05 13:44:17 +02:00
Jan Vidar Krey e220357176 Added configuration option to enable support for obsolete pre-ADC/1.0 clients. 2010-04-05 13:43:28 +02:00
Jan Vidar Krey 8bed952022 Fixed nasty hub freeze caused by timers being injected for the same timestamp as it is being removed from. 2010-03-23 01:06:04 +01:00
Jan Vidar Krey c4604a7e94 Make code clearer. 2010-03-23 00:46:25 +01:00
Jan Vidar Krey 236daeae53 Assert if inserting an invalid timer. 2010-03-15 22:59:16 +01:00
Jan Vidar Krey 862c6a1baf Reduce timeout queue window size. 2010-03-13 00:16:15 +01:00
Jan Vidar Krey 198d86a1ee Added some automatic tests for the timeout handling. 2010-02-25 17:57:50 +01:00