Bram Matthys
28c2e83cc4
actually call moddata_free_client() :)
2015-05-18 16:48:24 +02:00
Bram Matthys
fa38dbf9e6
Added HOOKTYPE_WHOIS. May later be replaced by a more advanced system.
2015-05-18 16:45:31 +02:00
Bram Matthys
6f4ea900c1
Fixed pointer confusing in ModData system and made UnrealIRCd free all client ModData structures on client exit.
2015-05-18 16:42:01 +02:00
Bram Matthys
347609d958
Fix uninitalized read @ censor
2015-05-18 16:26:57 +02:00
Bram Matthys
a5dc160024
Self-signed certificates generated with 'make pem' are now 4096 bits and valid for 10 years. Also use SHA256 for signing.
2015-05-18 12:24:55 +02:00
Bram Matthys
8f7886d9c7
init_ctx_client() was accidentally setting options on ctx_server. Reported by Jobe ( #4346 ).
2015-05-18 12:12:24 +02:00
Travis McArthur
5d42ac844f
[0004349] Fix OOB read - reported by dg
...
Verified it doesn't appear to be security issue
2015-05-17 12:24:02 -04:00
Travis McArthur
fb58482c4b
[0004348] Reported by janicez - Fix G:line cmd
...
Parsing of commands based on permissions was incorret - if a command was not a user facing command explicitly, it would be denied for a user, furthermore if it was a server issuing the command, and it also was an oper command, it would be denied for similar reasons - corret parsing now in place.
2015-05-14 02:06:50 -04:00
Unreal3.4
a6403e09b3
Uh. Well, I noticed a compilation error in the Git alpha, decided to mess with permanent.c, noticed that delayjoin.c didn't really work properly, modified delayjoin.c to send hosts with unhiding users, and here you have, a pull request from your worst nightmare.
2015-04-29 20:14:45 +00:00
dboyz
42214ebdf3
Add missing permission error message as reported in rabbitircd
...
This is the exact commit I made to rabbitircd two years ago. Since the permission error is still missing, why not port it back to unrealircd. :)
2015-04-22 07:44:53 +08:00
Bernard Spil
07e707ae5b
Fix build with LibreSSL
...
LibreSSL has removed RAND_egd completely, this patch adds RAND_egd
detection to configure and adds HAVE_RAND_EGD checks to the code where
required.
2015-03-10 11:55:37 +01:00
Adam
996c084d6f
Fix secureonly
2014-08-26 10:46:45 -04:00
Travis McArthur
8035168d5f
Move TKL checking back into run loop
2014-08-24 09:43:40 -07:00
Travis McArthur
496826f42c
Make floodprot perm
...
Modules that take parameters to chanmodes cannot be unloaded at this time, we probably want to investigate adding this capability in the future so we can do dynamic updates of those modules
2014-08-22 21:36:15 -07:00
Travis McArthur
cea0a16bd0
Remove failure case if ircd not booted and logging fails
...
Modules or other resources could call ircd_log even if we are not fully booted, and we need to not fail in that situation, instead we should just emit the same warnings we usually do.
2014-08-18 08:25:35 -07:00
Travis McArthur
786b650f9c
Add additional recursion checking/fix recursion checking
2014-08-18 07:52:04 -07:00
Travis McArthur
c780691c43
Reported by Adam-, add recursion checking to ircd_log
2014-08-17 21:12:28 -07:00
Adam
5a90859cee
Don't allow changing sid from rehash.
...
Not sure how this was supposed to originally work, if the sid is changed
the uid generator is not re-initied, and even if it was it would allow
id collisions if it ever uplinked to another ircd with the old id it
had.
I see no reason for this.
2014-07-30 11:31:19 -04:00
Travis McArthur
be37004c25
Merge pull request #6 from Adam-/unreal34+ssl
...
Fix build with no ssl
2014-07-29 15:05:52 -07:00
Travis McArthur
640961201d
Merge pull request #7 from Adam-/unreal34+warning
...
Fix a couple of the worst clang warnings
2014-07-29 15:02:37 -07:00
Adam
c25442901b
Fix a couple of the worst clang warnings
2014-07-29 17:53:19 -04:00
Adam
7887c1bd60
Fix build with no ssl
2014-07-29 17:48:20 -04:00
Travis McArthur
54578a5287
Merge pull request #4 from Adam-/unreal34+starttls
...
Fix abort from STARTTLS
2014-07-29 13:02:49 -07:00
Adam
0920c1e160
Fix abort from STARTTLS
2014-07-29 15:58:38 -04:00
Adam
d540adbc7f
Just build the cap list once, fix memory leaks
...
Not sure what this originally was supposed to do, but clicap_find is
normally called multiple times per cap request per client, so this makes
no sense at all.
2014-07-29 15:29:28 -04:00
Travis McArthur
869014ed82
Merge initializer fixes
2014-07-22 06:35:24 -07:00
Travis McArthur
f4c68a3a66
Fix initializers
2014-07-22 06:33:33 -07:00
Bram Matthys
20e9da6dff
When users connect they will receive a message telling them this IRC Server
...
software is experimental and that they should report any bugs or problems
on http://bugs.unrealircd.org/
2014-07-22 14:08:05 +02:00
Bram Matthys
8b05f023fa
fix no return value being returned from secureonly module: caused windows
...
version not being able to join any channel...
2014-07-20 21:36:06 +02:00
Bram Matthys
220e0c01e4
fix missing initializers
2014-07-20 21:29:07 +02:00
Bram Matthys
ee00bb2801
oh come on...
2014-07-20 21:26:36 +02:00
Bram Matthys
7e1595dacb
fix strange re-using of 'i' and uninitialized use of it.
2014-07-20 21:22:04 +02:00
Bram Matthys
40a46f5019
prepare for alpha1
2014-07-20 19:16:17 +02:00
Bram Matthys
b4519cf3d7
wording..
2014-07-20 17:49:47 +02:00
Bram Matthys
94a6305880
Added config_report_ssl_error() which is now used when we failed to (re)initialize
...
SSL, may print a bit more meaningful errors (though rather long and obscure).
2014-07-20 17:45:58 +02:00
Bram Matthys
a51479b614
Win32: Fix SSL error not showing up in dialog box (was logged to ircd.log, though..)
2014-07-20 17:31:15 +02:00
Bram Matthys
f2db4e4598
Always (attempt to) write config warnings and errors to the log file. This
...
fixes issues like the IRCd mysteriously not being able to boot up without
any error message, both on *NIX and Windows.
2014-07-20 17:25:22 +02:00
Bram Matthys
9c2d59d99b
inno setup: USE_SSL by default
2014-07-20 17:13:26 +02:00
Bram Matthys
11d7b49130
Deny booting/rehashing if using SSL in listen or link blocks.
2014-07-20 17:08:54 +02:00
Bram Matthys
7ba2e3214c
First attempt at allowing server to boot if SSL is enabled but the
...
server/client SSL context failed to load (eg: no cert/key file).
2014-07-20 16:50:29 +02:00
Travis McArthur
ec294b1373
Fix build for clang
2014-07-05 12:47:03 -07:00
Travis McArthur
63cb121130
Modularize secureonly (+z)
2014-07-04 21:13:08 -07:00
Travis McArthur
3710fb67c4
Modularize regonlyspeak (+M), slightly modify can_send hook
2014-06-29 12:12:36 -07:00
Travis McArthur
fdeb6f06bf
Modularize nokicks (+Q)
2014-06-29 00:52:40 -07:00
Travis McArthur
866c835a6f
Remove unnecessary CMD_FUNC calls
2014-06-29 00:21:29 -07:00
Travis McArthur
2519f9d3ac
Modularize nonickchange (+N)
2014-06-29 00:21:17 -07:00
Travis McArthur
2e10afdd9c
Modularize channel mode +R, reg only - temporarily remove some logging
2014-06-29 00:01:50 -07:00
Travis McArthur
334763c21c
Modularize nonotice (+T)
2014-06-28 23:34:14 -07:00
Travis McArthur
aebab04b21
Fix missed renames
2014-06-28 22:52:33 -07:00
Bram Matthys
110a3f6bfe
update coders
2014-06-28 22:28:06 +02:00