Bram Matthys
ec2a04c7a1
Fix OOB read ('i')
2015-07-12 21:03:40 +02:00
Bram Matthys
afb4c7bebe
Rip out remainder of HOOKTYPE_GUEST. Whoops.. were not sending "nick in use" errors (bug caused a few hours ago)
2015-07-12 20:02:00 +02:00
Bram Matthys
7e78f04058
add src/api-clicap.c and hide 'sasl' when needed (as before) via the clicap->visible callback function
2015-07-12 17:17:19 +02:00
Bram Matthys
372ce82335
Make client capabilities a modular sub-system, as it should have been since the beginning.
2015-07-12 17:10:48 +02:00
Bram Matthys
4e39c08a4d
Nobody uses this..
2015-07-12 15:53:12 +02:00
Bram Matthys
c7974591b5
remove some comments regarding add_command
2015-07-12 15:48:50 +02:00
Bram Matthys
a0aa1032a5
get rid of m_dummy & m_chmodetst, we have wiki for such docs (wasn't compiled nor loaded anyway)
2015-07-12 15:36:09 +02:00
Bram Matthys
d33f1ca8f6
Remove /ADDLINE: it's (too) easy to create a broken configuration file this way and then have an un-rehashable and un-bootable IRCd without having shell access. Use SSH or SFTP/SCP instead. Or even better: remote includes, of course :)
2015-07-12 15:34:08 +02:00
Bram Matthys
bbb121383b
Add who-may-execute-this in many CommandAdd()'s. Trying to remove all "unspecified" (0) ones... hopefully I made no mistake in this ;)
...
Update remote-permission check in ValidatePermissionsForPath to check at least IsOper.. may save us from some serious mistakes ;)
2015-07-12 15:32:11 +02:00
Bram Matthys
da935b7e41
Remove /UNZLINE and /UNKLINE: all these commands did was tell you to use /ZLINE -xx and /KLINE -xx instead.
2015-07-11 11:21:42 +02:00
Bram Matthys
6c0ebb5bd3
Protection against linking race conditions is back again (IOTW: allow very rapid re-linking), but only if your network is fully 3.4.x (actually: current git unreal34 or later)
...
Re-implemented PROTOCTL SERVERS= which nenolod ripped out (#4355 ).
Add 2nd argument to PROTOCTL EAUTH=servername,unrealprotocol
Change UnrealProtocol from 2350 to 2351
2015-07-10 21:57:13 +02:00
Bram Matthys
145e2880b5
Partially rewrite m_kill. Hope it's all okay. Use UID's too
...
(why wasn't it using it UID's already? this is like THE first candidate :D)
2015-07-10 13:49:25 +02:00
Bram Matthys
e8dfb284a1
Replace parv[0] with sptr->name. Don't use parv[0] anymore.
...
I went through all 500+ of them by hand as to avoid introducing bugs... we'll see ;)
2015-07-10 12:17:05 +02:00
Bram Matthys
d542db2aaa
Fix invalid /GLOBOPS format string call (introduced a few days ago)
2015-07-10 10:46:09 +02:00
Bram Matthys
a9fc2243aa
support multiple vhost::swhois items for consistency
2015-07-10 10:44:40 +02:00
Bram Matthys
405ede44c2
ircfree -> safefree. ircstrdrup -> safestrdrup
2015-07-10 10:22:02 +02:00
Bram Matthys
c2f4e0fb2a
Support multiple oper::swhois items.
2015-07-10 10:15:36 +02:00
Travis McArthur
f9a7cdaeab
Update security on register-only messages umode
2015-07-09 13:39:43 -07:00
Travis McArthur
0f84e1c417
Update m_userip security
2015-07-09 13:39:34 -07:00
Travis McArthur
fc38b1336a
Update security in m_stats
2015-07-09 13:39:08 -07:00
Travis McArthur
7ea4dc1486
Update security in m_setident
2015-07-09 13:39:00 -07:00
Travis McArthur
7caa82e868
Update security in m_nick
2015-07-09 13:38:53 -07:00
Travis McArthur
9e46255922
Update security in m_message
2015-07-09 13:38:44 -07:00
Travis McArthur
50a2eacd97
Update security in m_invite
2015-07-09 13:38:35 -07:00
Travis McArthur
14c4a19d18
Update security in squit
2015-07-09 13:38:25 -07:00
Travis McArthur
9e8f61b2a5
Update security in m_connect
2015-07-09 13:38:17 -07:00
Travis McArthur
925c3585f1
Update permissions in floodprot
2015-07-09 13:18:21 -07:00
Travis McArthur
83720d07d2
Update security in m_mode
...
Needs a lot more testing before we ship - I'll work on that
2015-07-09 13:12:22 -07:00
Travis McArthur
9cba20fd60
Remove locop/globop distinction
2015-07-09 12:51:15 -07:00
Travis McArthur
97b2bbc819
Add ACL checks to chgname
2015-07-09 12:51:05 -07:00
Travis McArthur
2450909c26
Change name of OperEval...
2015-07-09 12:31:45 -07:00
Bram Matthys
a4cd12d932
Fix remote MOTD & RULES ( #2103 )
2015-07-09 20:04:04 +02:00
Bram Matthys
787cd7c221
Use remove_oper_privileges()
2015-07-09 19:08:36 +02:00
Bram Matthys
f3199ec5e5
1) unset the swhois you got via a vhost upon MODE -t. 2) allow MODE yourself -t
...
which will unset your vhost & give you a cloaked host (#2613 , suggested by Stealth)
2015-07-09 18:43:21 +02:00
Bram Matthys
2f8cb55e47
Add extended SWHOIS support. Allows multiple swhoises and tracking of who/what set the swhois.
...
Added swhois_add / swhois_delete functions which also take care of broadcasting
New remove_oper_privileges() function, will move the rest to use this (svsnoop svsmode etc)
Not finished yet...
2015-07-09 16:26:52 +02:00
Bram Matthys
f03d865e77
Remove /CHATOPS. We already have /GLOBOPS which does the same.
...
Update help.conf a bit, in a lazy way.
2015-07-09 14:22:33 +02:00
Bram Matthys
abd68c6c9e
only send RPL_HOSTHIDDEN for local clients (:D)
2015-07-09 14:16:43 +02:00
Bram Matthys
15977e011d
remove umode 'g' (failops), we have snomasks and oper umode for this.
2015-07-09 14:09:02 +02:00
Bram Matthys
00dd10c744
transform more failops call
2015-07-09 14:05:06 +02:00
Bram Matthys
4c3fe8cfc8
make /GLOBOPS and /LOCOPS use sendto_umode(UMODE_OPER.. / sendto_umode_global(UMODE_OPER..
2015-07-09 14:04:32 +02:00
Bram Matthys
af206b001b
Remove strange and broken snomask handling from SENDUMODE. We have SENDSNO for that.
...
Make notice appear from original server/user, rather than me.name.
2015-07-09 13:48:05 +02:00
Bram Matthys
60356bd97c
typo (l -> L)
2015-07-08 18:06:30 +02:00
Bram Matthys
fe14e21175
Update all MOD_TEST/MOD_INIT/MOD_LOAD/MOD_UNLOAD calls to new format
2015-07-08 18:02:19 +02:00
Bram Matthys
0cad63a232
For some reason this file was in CRLF format
2015-07-08 17:20:23 +02:00
Bram Matthys
83268d31bb
Convert all HookAddEx to HookAdd with new priority syntax (and same for HookAddVoidEx.. etc...)
2015-07-08 17:19:47 +02:00
Travis McArthur
2ca5480dc0
Reove IsOper uses from m_invite.c
2015-07-07 12:48:26 -07:00
Travis McArthur
e48b5207ef
Merge branch 'patch-1' of https://github.com/grawity/unrealircd into m2
2015-07-06 18:22:17 -07:00
Travis McArthur
752a34011d
Remove IsAnOper
2015-07-06 18:09:37 -07:00
Bram Matthys
b52b7afabe
Remove local irc operator (locop)
2015-07-06 20:14:02 +02:00
Travis McArthur
52d923b724
Fix typo
2015-07-05 12:17:46 -07:00