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
William Pitcock
06d9bd81ab
- Introduce C99 stdbool.h.
2013-05-20 19:36:22 +00:00
William Pitcock
93737c2f28
- Implement proposed invite-notify CAP.
2013-05-20 18:22:35 +00:00
William Pitcock
1698007836
- Add HOOKTYPE_INVITE
2013-05-20 18:07:25 +00:00
William Pitcock
f5cc654a06
- Initial work on modularizing CAP.
2013-05-20 17:04:16 +00:00
William Pitcock
5a0891a1f7
- Remove some old vestiges of the old dbuf code.
2013-05-20 16:30:10 +00:00
William Pitcock
37b13dd90c
- LISTEN_SIZE should either be 5 or SOMAXCONN if defined. Nothing else. ( #4204 )
2013-05-20 07:26:34 +00:00
William Pitcock
42d8a95c2c
- remove BUFFERPOOL, which is not used by the new dbuf code
2013-05-20 05:11:46 +00:00
William Pitcock
691503dc3e
- remove 'trouble reporting system' used by old dbuf code. new dbuf code cannot have a malloc failure due to memory pooling.
2013-05-20 05:08:59 +00:00
William Pitcock
9a4bea10f8
- rewrite dbuf code to use memory pool and list framework
...
this probably has bugs, consider it to be less than resilient.
2013-05-20 05:07:00 +00:00
William Pitcock
df1b02adb9
- Allow the ircd to be started without a cloaking module. ( #3726 )
2013-05-20 02:07:51 +00:00