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
5e657e5985
Modularize adminonly (+A)
2014-06-07 20:35:19 -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
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
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
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
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
93737c2f28
- Implement proposed invite-notify CAP.
2013-05-20 18:22:35 +00:00
William Pitcock
d415c974b2
- Remove sendto_serv_butone_token_opt().
2013-05-19 22:31:03 +00:00
William Pitcock
b2214aba9f
- Remove SJB64 stuff, patch from FalconKirtaran ( #4190 ).
2013-05-19 08:09:02 +00:00
William Pitcock
a1ad90bab4
- Use a unified counter instead of depending on Client.slot for sending
2013-05-16 07:53:19 +00:00
William Pitcock
c41ca43145
- Remove ziplinks support, patch from FalconKirtaran. ( #4189 )
2013-05-16 06:36:13 +00:00
William Pitcock
e2b7389455
- Patch from FalconKirtaran to restrict /TSCTL OFFSET to can_tsctl permission ( #2303 )
2013-05-14 08:29:42 +00:00
William Pitcock
228cf4ae7b
- Remove PROTO_TOKEN and IsToken().
2013-05-13 05:39:00 +00:00
William Pitcock
04e9199934
- Remove ClearToken().
2013-05-13 04:18:52 +00:00
William Pitcock
a3b869b80a
- Remove numeric support, pass 2.
2013-05-09 01:03:21 +00:00
William Pitcock
39c117a695
- Remove numerics from server protocol, part 1
2013-05-09 00:25:02 +00:00
William Pitcock
cb775e1586
- Remove some config system vestiges. ( #2677 )
2013-05-07 04:35:08 +00:00
William Pitcock
a10f48d470
- Keep the log file open and track it on the FD list. ( #2943 )
2013-05-06 23:49:14 +00:00
William Pitcock
f09c6ef567
- Implement support for TCP_DEFER_ACCEPT (synflood-hardening). ( #4096 )
2013-05-06 04:49:24 +00:00
William Pitcock
9806ec28e9
- Remove support for negotiating TOKEN support.
...
At present, the TOKEN support is kept in place.
2013-02-22 02:48:47 -06:00
William Pitcock
3bdae5807d
- Remove NEWCHFLOODPROT define and old +f code. ( #3210 )
2013-01-14 03:44:49 -06:00
William Pitcock
f9a78be185
- Remove WebTV code, part 1. ( #3948 )
2013-01-14 03:21:42 -06:00
William Pitcock
1ac3413039
- Actually implement M_OPER flag.
2013-01-14 02:30:07 -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
2ea5301896
- Rework the listener system to not use Client table entries.
2012-11-25 02:46:39 +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
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
6f7d41f5c6
- StrEq() macro has no users, so we can remove this too.
2012-11-21 03:35:08 +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
ac5d1b9979
- Remove IsBlocked()/SetBlocked()/ClearBlocked() and related deritius.
2012-10-08 16:16:05 +00:00
Bram Matthys
87f52e5939
- Use our own (v)snprintf if not available.
2012-11-04 17:20:31 +01:00