William Pitcock
cc4ac836b6
- SVSKILL was setting FLAGS_KILLED twice.
2012-11-25 17:58:43 +00:00
William Pitcock
f55d5f0b0f
- Allow local opers to CLOSE connections. ( #2486 )
2012-11-25 17:56:23 +00: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
4a58fd967c
- Move TKL update notices to snomask +G, from snomask +j. ( #3000 )
2012-11-25 17:01:53 +00:00
William Pitcock
1f79ca142f
- Remove channel masks. ( #3281 )
2012-11-25 16:59:27 +00:00
William Pitcock
594ca76c00
- SASL: just decode the cookie part of the PUID and assume slot is 0 for now.
...
This will eventually be replaced with proper TS6-like UIDs.
2012-11-25 03:11:53 +00:00
William Pitcock
56010d9fb5
- Missed a local[] reference in TRACE.
2012-11-25 02:49:15 +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
562c30d58d
- More conversion to lclient_list and friends.
2012-11-25 01:52:08 +00:00
William Pitcock
4f8c49d2fb
- Stop iterating using LastSlot in m_server.
2012-11-24 23:24:30 +00:00
William Pitcock
5448462f5d
- Typo fix.
2012-11-24 23:21:52 +00:00
William Pitcock
2b3a724524
- Use unknown_list instead of iterating local[] in PASS and CLOSE commands.
2012-11-24 23:04:58 +00:00
William Pitcock
90802ddafa
- Add unknown_list for tracking unknown clients.
2012-11-24 21:55:37 +00:00
William Pitcock
4ca0156f84
- Remove remainder of fdlist code.
2012-11-24 20:55:38 +00:00
William Pitcock
275b4f507d
- Replace oper_fdlist with oper_list.
2012-11-24 20:45:11 +00:00
William Pitcock
024ef23ec6
- Move serv_fdlist accounting over to new server_list.
2012-11-24 19:56:10 +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
f09b1ac4d4
- Rename aClient.client_list to aClient.client_node to avoid confusion
2012-11-21 23:03: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
ab5e766d9c
- Replace calls to strncpyzt() macro with more secure strlcpy().
...
This was done using Coccinelle, the semantic patch was:
@@
expression src, dst, len;
@@
- strncpyzt(src, dst, len);
+ strlcpy(src, dst, len);
2012-11-21 03:22:29 +00:00
William Pitcock
98ad590a7f
- Remove nextping, nextconnect, nextblah stuff. Use proper events instead.
2012-11-12 09:35:11 +00:00
William Pitcock
856be31a8d
- Exorcize HTM (heavy traffic mode) from Unreal.
...
This is partially for the sake of Stskeeps, even though he left the
project long ago, but mainly so we can work towards dynamic ticks in
the event loop while guaranteeing latencies for connected clients,
even with fakelag.
2012-11-05 05:49:04 +00:00
William Pitcock
b26207df50
- Add support for proper FD accounting (rewrite of the fdlist code).
...
This is the first step to adding evented I/O. Infact, writing the evented I/O code
should now be quite easy.
2012-10-05 03:42:44 +00:00
William Pitcock
2cc9482e18
- Use a more robust method of learning the server origin for a SASL agent.
2012-10-27 22:42:32 +00:00
Bram Matthys
f70a201715
- Update version to 3.2.10-rc1
2012-10-16 15:25:04 +02:00
Bram Matthys
eb12f79ba3
- Added set::options::disable-cap, which can be used to disable the
...
new CAP support (#4104 ).
2012-10-15 15:29:52 +02:00
Bram Matthys
3e9d300086
- Add 'class' option to allow/deny channel so you can allow/deny
...
users based on their class. Patch from fspijkerman (#4125 ).
2012-10-06 12:48:21 +02:00
Bram Matthys
7fb0fa1620
- Disable sending of UHNAMES when HTM (High Traffic Mode) is ON,
...
suggested by driew (#3900 ).
2012-10-06 11:57:55 +02:00
Bram Matthys
2429ad557b
- Added missing Mod_Header to m_sasl.c
2012-08-17 13:09:19 +02:00
Bram Matthys
d57f3c63cc
Changes for #4008 patch.
2012-08-17 10:32:31 +02:00
Nathan Phillip Brink
14315463d1
Add optional oper::require-modes setting to the oper block. ( #4008 by katsklaw)
...
Any attempt to /OPER by someone who doesn't have one of the listed
usermodes is rejected. This can be used to restrict oper blocks to
registered nicks (+r) or secure clients (SSL, +z).
2011-07-13 22:36:04 -04:00
Bram Matthys
15667266ab
- Module coders: added HOOKTYPE_AWAY (sptr, away-reason).
2012-07-10 16:15:14 +02:00
Bram Matthys
982803a6b8
- SASL now needs to be enabled explicitly by setting a set::sasl-server.
...
If this is not set, then SASL is off and not advertised.
If the specified server is not connected, then SASL is off as well.
This prevents unnecessary delay (and the inability for some clients to
get online) when SASL is not in use or when the SASL server is down.
2012-05-07 16:51:03 +02:00
Bram Matthys
4207b5e60f
- Fixed another SASL crash bug. Always use HookAddEx, not HookAdd!
...
Crash occured after the first quit of a user after a REHASH.
Reported by Dave (#4108 ).
2012-05-07 12:07:43 +02:00
Bram Matthys
d439c8906b
complete the previous patch (MLOCK).. mostly just bringing it up to date & code-style
2012-05-04 13:05:08 +02:00
William Pitcock
5360e2ffa5
- Add support for server-enforced mode locks (MLOCK).
...
This allows the IRCd to enforce MLOCKs that are set by services, which
eliminates clashes between users setting modes and services enforcing
it's mlock on channels. (#3055 )
2012-05-04 12:47:59 +02:00
Bram Matthys
3f3b8975e0
- Moved sendto_connectnotice, and thus the call to HOOKTYPE_LOCAL_CONNECT,
...
so it gets called after the broadcast of NICK to other servers.
2012-05-01 12:10:14 +02:00
William Pitcock
adcb462788
- If set::options::dont-resolve is enabled, then use only the IP information
...
from a WEBIRC message, reported by Ismat (#4103 ).
2012-04-09 10:54:17 +02:00
William Pitcock
3563c26a93
- Add support for account-notify client capability ( #4098 ). This capability
...
can be used to request passive notifications for accountname changes.
2012-04-09 10:48:51 +02:00
Bram Matthys
309dac4f2b
- Added 'away-notify' client capability, which informs the client of any AWAY state changes of users on the same channel. Patch from nenolod ( #4097 ).
2012-04-09 10:35:17 +02:00
Bram Matthys
a8000c2efb
- Some more SASL fixes, and more...
2012-03-26 10:37:40 +02:00
Bram Matthys
04b68513f8
- Some more SASL fixes
2012-03-25 19:54:56 +02:00
Bram Matthys
40004ef1b3
- Tweak SASL code to conform to current coding style.
2012-03-25 12:32:41 +02:00
Bram Matthys
66b3a7fe6b
- Fix crash in AUTHENTICATE (SASL commit from an hour or so ago).
2012-03-25 12:30:51 +02:00
Bram Matthys
e88b6477bd
Some really minor SASL tweaks
2012-03-25 10:24:40 +02:00
Bram Matthys
61610fe763
- Added support for SASL, patch from nenolod ( #4079 ).
2012-03-25 10:15:28 +02:00
Nathan Phillip Brink
aa5fe1514d
- Call m_cap_Init() when m_cap is loaded through commands.so. Reported by nenolod.
2012-03-06 06:16:53 +00:00
Bram Matthys
9c12b0e896
- Even when 'M' was listed in set::oper-only-stats you could still do a
...
'/STATS m'. Unlike other stats characters, case insensitivity was not
checked for this one. Reported by and patch from Apocalypse (#4086 ).
2012-02-26 10:29:20 +01:00
Bram Matthys
719c0f73ae
- Moved nospoof to config file, suggested by and patch from nenolod ( #4078 ).
...
This means ping cookies are now controlled by set::ping-cookie [yes|no].
The default is 'yes' (enabled).
2012-02-26 10:22:19 +01:00
Bram Matthys
60bad142e0
- Added remove_oper_modes(), which works just like remove_oper_snomasks(),
...
and ensures that the user does not have any ircop-only user modes after
de-opering. This (only) fixes the just added +I umode case, but could
also prevent future bugs.
2012-01-22 16:52:28 +01:00