Bram Matthys
d5caf06ec5
bcrypt password hashing is now implemented ( #4335 ). Not yet documented.
2015-05-23 16:38:48 +02:00
Bram Matthys
4a38d0c838
make auth-type optional for passwords in config ( #4334 ).
...
Now you can just add password "$ZaJw56to$uSEc[etc..]"; to your configuration file without needing an explicit { md5; }; or { sha1; };.
Naturally you can still specify an auth-type if you want to, and for types like 'sslclientcert' it's still required.
2015-05-23 15:07:37 +02:00
Bram Matthys
bd65916b5a
more cleanups for AUTHENABLE_*
2015-05-23 09:15:24 +02:00
Travis McArthur
2dc8cb9e84
Allow win32 SSL inconsistencies
...
Fix issue in previous commit
2015-05-20 02:57:14 -04:00
Travis McArthur
aea09603a4
Remove USE_SSL macro and associated code
...
We no longer support non-SSL builds, remove related code
2015-05-20 02:48:34 -04:00
Travis McArthur
229bcca996
Remove Custom MD5 Implementation
...
We no longer support builds without OpenSSL - consequently we have no reason to keep our custom MD5 implementation, and probably shouldn't keep it around
2015-05-20 02:33:48 -04:00
Bram Matthys
9da1988375
change version to 3.4-alpha2
2015-05-19 11:27:44 +02:00
Bram Matthys
5ff5e01aa2
Rename moddata_client_XXX_string to moddata_client_XXX
2015-05-19 11:22:11 +02:00
Bram Matthys
7ad4b6db67
Module coders: introduce moddata_client_set_string() and moddata_client_get_string(). Will document later in ModData wiki page (which does not exist yet).
2015-05-18 17:15:02 +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
8caec780e4
modules can now simply include "unrealircd.h" rather than include various
...
files in a specific order and risk missing ones..
2015-04-25 13:34:29 +02: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
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
40a46f5019
prepare for alpha1
2014-07-20 19:16:17 +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
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
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
5e657e5985
Modularize adminonly (+A)
2014-06-07 20:35:19 -07:00
Travis McArthur
5924674c3f
Remove unnecessary hook added (oops!)
2014-06-07 20:33:57 -07:00
Travis McArthur
df4597b869
Modularize operonly (+O)
2014-06-07 19:37:25 -07:00
Travis McArthur
b91f683800
Modularize noinvite (+V) and noknock (+K) in one commit since they share functionality
2014-06-06 22:02:40 -07:00
Heero
8cc0724e76
delayjoin: fix issue with timing on join causing bug
...
added hook for after data creation, before channel join complete
2014-06-05 01:04:31 -07:00
Heero
4956d01e34
Add +D/+d and remove +u
...
Permits users to add +D mode to hide join/part notifications except for +vohaq
until a user speaks
[#2906 ] Reported by Tranqer
2014-06-04 01:13:22 -07:00
Heero
e75cb1709d
[4246] Add set::link::bind-ip option to set default bind ip for link blocks
2014-06-03 23:39:30 -07:00
Bram Matthys
de3f9b9cc2
- Add server synching and broadcast functions for new ModData system.
...
- Also added an example module for coders (m_mdex), not compiled by default.
2014-06-01 20:06:28 +02:00
Bram Matthys
e21298ea71
- First version of ModData system that allows modules to attach data to
...
structs such as Client, Channel, Member and Membership.
- Modules that define channel modes no longer need to be permanent. This
was already true for paramless chmodes, but is now true for all.
- Converted floodprot module (chmode +f) to use MoData. This means some
remains could be purged from the core and the module is now fully
reloadable (no longer permanent).
- This code is experimental, but seems to work...
2014-06-01 17:34:16 +02:00
Bram Matthys
14c74561c7
Added set::spamfilter::stop-on-first-match [yes|no]:
...
By default this is set to 'yes' which means that once a spamfilter matches
UnrealIRCd will take action immediately and any additional (other)
spamfilters will not be processed.
When this is set to 'no' then after the first spamfilter match other
spamfilters will still be checked. All of these matches will be logged and a
message will go to IRCOps (snomask +S) for each one. The affected user,
however, will only see one spamfilter action (eg: block or kill) which will
be the spamfilter with the 'gravest action' (gzline is highest, block and
warn are lowest).
2014-01-20 22:10:27 +01:00
Bram Matthys
bf3d8161a3
Added SVIDLEN so this value is now separate from NICKLEN. Previously if you
...
would lower NICKLEN to 9 then services timestamps would be cut off. Reported
by Jobe (#4248 ).
2014-01-12 16:40:55 +01:00
Bram Matthys
034d2b239d
fixed typo preventing a compile, reported by rfrederick ( #4245 ).
2013-11-24 20:22:56 +01:00
Bram Matthys
559bdcbc48
Fix for OS X so it can actually compile. Reported by QIXOZL ( #4236 ).
2013-11-24 11:30:18 +01:00
Bram Matthys
65d5569ef0
First attempt at parse_chanmode(), meant for 3rd party module coders.. and
...
who knows it may be useful for ourselves too.
2014-05-29 22:05:15 +02:00
Bram Matthys
101d2dd6a3
Big 3.4.x commit containing bug fixes and enhancements. Modularizing
...
user & channel modes. Fixing Windows build. Etc..
2014-05-11 20:56:02 +02:00
William Pitcock
a9415f39d3
- bump UnrealProtocol to 2312 for deny version blocks
2013-05-25 11:19:54 +00:00
William Pitcock
3ba3e9d859
- GetIP() is used by strlcpy(), which must never be passed NULL. Cop out and use "255.255.255.255" if we don't know the IP.
2013-05-24 22:03:33 +00:00
William Pitcock
c61d4c9079
- add ID() macro for SID vs UID
2013-05-23 08:18:09 +00:00
William Pitcock
afdf5d780a
- Replace ircsprintf() with bounds-checking ircsnprintf(), patch from FalconKirtaran. ( #4208 )
2013-05-21 06:26:52 +00:00
William Pitcock
42a0071b2b
- implement SID handler
2013-05-21 03:42:22 +00:00
William Pitcock
13351e550a
- Add PROTO_SID, so that SID/UID messages can be sent with sendto_server().
2013-05-21 01:16:01 +00:00
William Pitcock
b02069f944
- Generate UIDs for local clients.
2013-05-20 22:00:24 +00:00
William Pitcock
432afdef0f
- initialize uid subsystem when ircd config is loaded
2013-05-20 21:33:18 +00:00
William Pitcock
e338c318c3
- add UID generator
2013-05-20 21:14:48 +00:00