2ad2b66db3
Add a git revision to all debug builds...
Jan Vidar Krey
2009-06-23 16:11:30 +02:00
ca33461851
Suppress send() or recv() errors from logs. They happen quite often and are not considered errors.
Jan Vidar Krey
2009-06-23 01:57:55 +02:00
1c58120c03
Oportunistic write.
Jan Vidar Krey
2009-06-22 20:25:22 +02:00
1d9acece34
Ensure we set a max recv and send buffer per user, and that it does not exceed the one used internally by the application.
Jan Vidar Krey
2009-06-22 19:50:10 +02:00
57fd872f14
Added a state check for protocol negotiation. Will be used to negotiate SSL.
Jan Vidar Krey
2009-06-22 19:38:24 +02:00
ca7544df9b
Cleanups.
Jan Vidar Krey
2009-06-22 19:37:56 +02:00
b2d543d433
Started work on SSL
Jan Vidar Krey
2009-06-22 18:44:07 +02:00
ff47281197
Added a generic way to reset last read/write variables.
Jan Vidar Krey
2009-06-22 18:38:39 +02:00
ddc91d1640
Make sure we close stdout, stdin and stderr after forking to background in order to properly detach from the TTY.
Jan Vidar Krey
2009-06-22 18:36:48 +02:00
0d084a5e14
Move to rc0
Jan Vidar Krey
2009-06-22 17:32:38 +02:00
e6e26a02e7
Added a known crash for the admin only to use if compiled with CRASH_DEBUG enabled.
Jan Vidar Krey
2009-06-22 01:18:51 +02:00
ea3cd1bd90
Work on optimizing send(), to use fewer send function calls.
Jan Vidar Krey
2009-06-21 14:21:34 +02:00
7f24238ab5
Disable sendq debugging.
Jan Vidar Krey
2009-06-20 22:46:11 +02:00
1d2d4e74f6
!stats did not work.
Jan Vidar Krey
2009-06-18 01:46:17 +02:00
7ddfd52dc7
Fix bug #34 - Disable admin\op account in example users.conf since it is being installed by default.
Jan Vidar Krey
2009-06-01 19:55:03 +02:00
513ab422f2
Compile fix.
Jan Vidar Krey
2009-06-01 14:34:23 +02:00
0eb91763fa
Potential crash fix.
Jan Vidar Krey
2009-06-01 01:52:57 +02:00
f1cd5bb535
Branched off 0.2.x stable branch (0.2.x-stable)
0.2.x-stable
Jan Vidar Krey
2009-05-29 14:43:41 +02:00
b1ab64242e
Renamed a function.
Jan Vidar Krey
2009-05-28 01:48:31 +02:00
8b90f79bac
Work in progress on optimizing the send() function calls, to use as few as possible. (Although, this does not enable that code).
Jan Vidar Krey
2009-05-28 01:47:48 +02:00
8f7cc0b7a7
Fixed MAX and MIN macros.
Jan Vidar Krey
2009-05-28 01:45:36 +02:00
4812a5968b
Added an ADC redirector script, which is useful to run from inetd, xinetd or similar in case you move your hub to another machine. It will accept ADC connections and redirect clients to the new hub instead.
Jan Vidar Krey
2009-05-28 01:33:23 +02:00
8b5bfdd922
Compile fix.
Jan Vidar Krey
2009-05-27 18:05:34 +02:00
860310caff
Massive restructuring.
Jan Vidar Krey
2009-05-26 21:05:06 +02:00
8167d79f5a
Large reorganizations of the code base.
Jan Vidar Krey
2009-05-26 19:46:51 +02:00
9309c925d3
Started working on new pipelines for sending and receiving data. This will be useful for the next step; SSL.
Jan Vidar Krey
2009-05-19 22:57:50 +02:00
9a3a5bc2de
Make sure the send() signature is correct, buf should be const.
Jan Vidar Krey
2009-05-19 22:36:45 +02:00
e382e24337
Fix crash due to user->hub deref in acl handling.
Jan Vidar Krey
2009-05-19 16:40:14 +02:00
be4ff1d8cc
Fix command parsing for in-hub commands.
Jan Vidar Krey
2009-05-19 11:22:57 +02:00
aa18ac047d
Crash fix
Jan Vidar Krey
2009-05-19 09:38:57 +02:00
e120d5c76d
Minor cleanup - this code crashes.
Jan Vidar Krey
2009-05-19 09:15:14 +02:00
6853e92f89
Move user_is_protected() and user_is_registered() into user.h/.c
Jan Vidar Krey
2009-05-18 17:52:30 +02:00
1dbf2640d2
More API fixes; remove implicit relationship between hub and user in APIs.
Jan Vidar Krey
2009-05-18 16:30:17 +02:00
caec28f63f
Warn on bad UTF-8 in the configuration file.
Jan Vidar Krey
2009-05-16 12:48:17 +02:00
5ea5efb875
Smome user manager functions did not have the uman_ prefix.
Jan Vidar Krey
2009-05-16 12:42:30 +02:00
326fcc467c
Moved the update_user_info code into user_update_info
Jan Vidar Krey
2009-05-16 12:32:48 +02:00
078470ce64
Minor cleanup
Jan Vidar Krey
2009-05-16 12:25:28 +02:00
82ac450b4b
Fixed further memory leaks in autotests.
Jan Vidar Krey
2009-05-16 04:03:00 +02:00
968266b22f
Fix memory leaks.
Jan Vidar Krey
2009-05-16 03:44:51 +02:00
548867de10
Removed ADC_UDP_OPERATION code as it is not used or needed. on_kick is also gone.
Jan Vidar Krey
2009-05-16 03:14:20 +02:00
953db2dcbc
Fixed some autotest memory leaks.
Jan Vidar Krey
2009-05-16 03:06:14 +02:00
6e4ac1355f
Fix autotest crashers.
Jan Vidar Krey
2009-05-16 02:33:43 +02:00
604364ffa5
Fixed various code deprecations
Jan Vidar Krey
2009-05-15 18:45:26 +02:00
6cc1af5671
Disable code to prevent warnings.
Jan Vidar Krey
2009-05-15 16:52:55 +02:00
15e2053699Fix#28 - Request: +/! characters for command handling (FleetCommand)
Jan Vidar Krey
2009-05-15 16:52:04 +02:00
df1e832a3c
Started working on a red-black tree implementation, need to speed up certain operations, such as SID to user lookups, and nick to user.
Jan Vidar Krey
2009-05-01 17:07:38 +02:00
4c4cb4fb36
Dont allow clients that do not support BASE
Jan Vidar Krey
2009-04-13 05:31:41 +02:00
e49f9d4d30
Added kick support
Jan Vidar Krey
2009-04-09 00:48:00 +02:00
e73a931243
Ensure we do not allow update of certain elements.
Jan Vidar Krey
2009-03-27 11:12:50 +01:00
478d8b9dd2
Work in progress: libevent use one event per fd.
libevent_work
Jan Vidar Krey
2009-03-26 01:05:40 +01:00
de95d4ed85
Cleanup header file.
Jan Vidar Krey
2009-03-25 23:20:50 +01:00
97b53a99fb
Reworking the libevent handling to have only one event handle per file descriptor. This should be a speed improvement in any case, and might also be the cause for bug #0000016: Hubsoft locks up at around 60 users
Jan Vidar Krey
2009-03-25 17:56:47 +01:00
ae017af758
Log version and method of libevent()
Jan Vidar Krey
2009-03-24 23:32:39 +01:00
7a02f92a4c
Cleanup after creating debian packages.
Jan Vidar Krey
2009-03-24 23:16:09 +01:00
adeebb92a0
Added manual page.
Jan Vidar Krey
2009-03-24 23:14:04 +01:00
26f1864c1f
Don't crash if one specify '-S' or '-s' and an invalid configuration file.
Jan Vidar Krey
2009-03-24 23:10:51 +01:00
c14fa3c3a9
Added more debugging info for mainloop bug #16 - In addition to small fixes to it.
Jan Vidar Krey
2009-03-24 22:06:26 +01:00
dfd2191103
White space cleanups.
Jan Vidar Krey
2009-03-24 18:39:39 +01:00
0042344054
Better dpkg system.
Jan Vidar Krey
2009-03-24 18:38:59 +01:00
b3d3dcdb44
Actually do upload.
Jan Vidar Krey
2009-03-23 23:45:39 +01:00
cb6190c5b4
FreeBSD fix.
Jan Vidar Krey
2009-03-23 23:39:34 +01:00
82ad62602d
0.2.8 release candidate.
Jan Vidar Krey
2009-03-23 23:36:29 +01:00
6d34bdd7e2
Added upload script.
Jan Vidar Krey
2009-03-23 23:32:32 +01:00
c2832e59c0
Added build script setup for easy publishing...
Jan Vidar Krey
2009-03-23 23:30:51 +01:00
cf23c82c16
Added upload support.
Jan Vidar Krey
2009-03-23 23:02:59 +01:00
8bf0fd424a
Added upload support.
Jan Vidar Krey
2009-03-23 23:02:52 +01:00
8f8284eb29
Ensure we build source .zip file.
Jan Vidar Krey
2009-03-23 22:54:59 +01:00
015c3368bd
Added new script for building sources only.
Jan Vidar Krey
2009-03-23 22:51:53 +01:00
9186b441aa
Minor build system tweaks.
Jan Vidar Krey
2009-03-23 22:47:08 +01:00
74af392e80
Stop in case of error.
Jan Vidar Krey
2009-03-23 22:40:15 +01:00
3a270564d2
Fixed up admin scripts.
Jan Vidar Krey
2009-03-23 22:36:45 +01:00
f0938e8afa
Fixed up build scripts somewhat.
Jan Vidar Krey
2009-03-23 22:33:45 +01:00
156c137237
Autotest for bug #12
Jan Vidar Krey
2009-03-23 21:55:24 +01:00
7aeb8651ba
Fix bug #12: asserts in adc_msg_parse -> enabled strict utf8 parsing.
Jan Vidar Krey
2009-03-23 21:47:05 +01:00
ab4eb6db3d
Document 0.2.8 changes.
Jan Vidar Krey
2009-03-23 16:51:06 +01:00
13a8700554
Make sure logs do not output configured messages, but rather code names.
Jan Vidar Krey
2009-03-23 15:47:54 +01:00
5d5dda2f9b
Always obtain IP address during accept(), and not do it later as a call to getsockname().
Jan Vidar Krey
2009-03-23 15:05:27 +01:00
95b741bb5e
More message tests.
Jan Vidar Krey
2009-03-23 14:58:15 +01:00
90abf64e3a
Do explicit logging in src/message.c
Jan Vidar Krey
2009-03-23 08:18:25 +01:00
e9915df87c
remove timezone from logs, as it screws up on windows.
0.2.7
Jan Vidar Krey
2009-03-21 04:11:14 +01:00
408829e330
Another 0.2.7 candidate.
Jan Vidar Krey
2009-03-21 03:59:12 +01:00
1a1b5bdb38
Fixed nasty crash if a user sends a very large command to the hub. Will overwrite heap memory. Thanks to Toast who found this bug.
Jan Vidar Krey
2009-03-21 02:58:53 +01:00
abedec692a
0.2.7 release candidate
Jan Vidar Krey
2009-03-20 19:12:18 +01:00
7738baf38e
Log configuration reloads.
Jan Vidar Krey
2009-03-20 19:09:55 +01:00
3c4c52d0f9
Log configuration reloads.
Jan Vidar Krey
2009-03-20 19:08:24 +01:00
76588fb1bd
Don't print OK or ERROR when dumping config.
Jan Vidar Krey
2009-03-20 19:05:25 +01:00
f9e95ec582
Minor cleanups
Jan Vidar Krey
2009-03-20 19:02:32 +01:00
7985d4fed0
Cleanup credentials to string handling
Jan Vidar Krey
2009-03-20 18:54:05 +01:00