Bram Matthys
3623ebae05
Add protection against SSL Renegotiation attacks ( #4046 ). Reported by seraph.
...
Also expose dead_link() to modules, IOTW: make it non-static.
2015-05-23 19:04:41 +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
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
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
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
Travis McArthur
ec294b1373
Fix build for clang
2014-07-05 12:47:03 -07:00
Travis McArthur
334763c21c
Modularize nonotice (+T)
2014-06-28 23:34:14 -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
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
afdf5d780a
- Replace ircsprintf() with bounds-checking ircsnprintf(), patch from FalconKirtaran. ( #4208 )
2013-05-21 06:26:52 +00:00
William Pitcock
b02069f944
- Generate UIDs for local clients.
2013-05-20 22:00:24 +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
5a0891a1f7
- Remove some old vestiges of the old dbuf code.
2013-05-20 16:30:10 +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
61fe014771
- Remove sendto_server_butone() and friends, now everything uses sendto_server(). ( #4202 )
...
Patch from FalconKirtaran.
2013-05-20 01:21:45 +00:00
William Pitcock
47e5ac9734
- Remove sendto_serv_sjoin() and sendto_serv_butone_sjoin().
2013-05-19 23:12:27 +00:00
William Pitcock
c843ebe36a
- Remove sendto_serv_butone_quit() from headers too
2013-05-19 22:17:06 +00:00
William Pitcock
65bbf390ce
- Add sendto_server() to replace all the old sendto_foo() crap.
2013-05-19 21:59:45 +00:00
William Pitcock
40aeea3f0f
- Remove token references from add_Command, msg.h
2013-05-19 21:36:11 +00:00
William Pitcock
a9ce94de9b
- Remove sendto_channelprefix_butone_tok().
2013-05-19 20:59:29 +00:00
William Pitcock
061c405172
- Remove base64enc() and friends, as they are no longer used. Patch from FalconKirtaran ( #4199 ).
2013-05-19 10:36:38 +00:00
William Pitcock
6085877aa7
- Remove TS2ts() and %B usage in formatter strings. Patch from FalconKirtaran ( #4197 , #4198 ).
2013-05-19 08:36:49 +00:00
William Pitcock
2076fd5023
- Remove hunt_server_token() as it is no longer used.
2013-05-13 22:05:34 +00:00
William Pitcock
32776a4ad1
- remove hunt_server_token_quiet() as it is not in use by anything
2013-05-13 21:39:49 +00:00
William Pitcock
c47c75f103
- parser: remove TokenHash and related code
2013-05-13 04:35:00 +00:00
William Pitcock
441c5743a8
- Remove old Servers list maintained by ALN code
2013-05-09 01:24:37 +00:00
William Pitcock
a3b869b80a
- Remove numeric support, pass 2.
2013-05-09 01:03:21 +00:00
William Pitcock
5a4babdb9d
- CHGHOST: Switch from part-join-mode to quit-join-mode like charybdis and ircu. ( #3038 )
2013-05-06 06:00:05 +00:00
William Pitcock
582496be70
- Split out servers into global_server_list.
...
Now client_list only includes clients, and global_server_list only includes servers.
2013-05-06 03:53:27 +00:00
Bram Matthys
61cfb5ac3e
- Windows: Fix strange linking bug. Outgoing connects from a Windows
...
IRCd caused a garbled SERVER protocol message, causing 'cannot find
server' errors and killing of users. Reported by Sunkat (#4183 ).
2013-04-04 23:07:04 +02:00
William Pitcock
f9a78be185
- Remove WebTV code, part 1. ( #3948 )
2013-01-14 03:21:42 -06:00
William Pitcock
ec09c447e5
- Remove defines FAST_BADWORDS_REPLACE, THROTTLING, EXTCMODE. ( #2937 )
...
The code does not compile without them anyway.
2012-11-25 17:45:45 +00:00
William Pitcock
1f79ca142f
- Remove channel masks. ( #3281 )
2012-11-25 16:59:27 +00:00
William Pitcock
19f899f1bb
- Remove local[] and LastSlot.
2012-11-25 03:23:57 +00:00
William Pitcock
2ea5301896
- Rework the listener system to not use Client table entries.
2012-11-25 02:46:39 +00:00
William Pitcock
90802ddafa
- Add unknown_list for tracking unknown clients.
2012-11-24 21:55:37 +00:00
William Pitcock
04362c8783
- Remove default_fdlist.
2012-11-24 20:48:59 +00:00
William Pitcock
275b4f507d
- Replace oper_fdlist with oper_list.
2012-11-24 20:45:11 +00:00
William Pitcock
092d928b99
- Remove serv_fdlist.
2012-11-24 20:17:04 +00:00
William Pitcock
3b1984cdd8
- Add special_node to struct Client for iterating unknown / server / oper lists.
2012-11-24 19:52:56 +00:00
William Pitcock
ffb4fc56f1
- Separate TKL checking from the check_pings event.
...
Instead, run check_tkls() when TKL changes are made directly.
While this is technically slower when more than one TKL is placed
at once, the value of getting it out of the check_pings event is
greater.
2012-11-21 03:08:27 +00:00
William Pitcock
a35fe3ea3b
- Add lclient_list and aClient.lclient_node, which iterates local clients.
2012-11-21 23:14:28 +00:00
William Pitcock
9853fa54f4
- Rework the client management code to use a circular queue and set of
...
circular queues for hashtable.
2012-11-21 22:49:32 +00:00
William Pitcock
dbe7039123
- Remove flush_connections(). It is now obsolete via the async i/o.
...
As a result of removing this, Unreal's CPU usage is reduced by 45% with
10000 local connections.
2012-11-19 22:37:52 +00:00
William Pitcock
98ad590a7f
- Remove nextping, nextconnect, nextblah stuff. Use proper events instead.
2012-11-12 09:35:11 +00:00