Bram Matthys
ec2a04c7a1
Fix OOB read ('i')
2015-07-12 21:03:40 +02:00
Bram Matthys
1eaa389140
Hmm. Missing IsServer() in ValidatePermissionsForPath() :D
2015-07-12 20:58:25 +02:00
Bram Matthys
46f6580171
try not to do too much at the same time
2015-07-12 20:20:15 +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
020bf7db2f
this is probably a better idea.
2015-07-12 20:00:57 +02:00
Bram Matthys
9cafe21d8e
remove wonderful nenologic
2015-07-12 19:34:14 +02:00
Bram Matthys
fd0821bdc3
this is a better place
2015-07-12 18:27:26 +02:00
Bram Matthys
68ba94c136
Make './unreal backtrace' work again. Hmmm.
2015-07-12 18:07:10 +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
e0a12b54af
loosen some magic in isupport api
2015-07-12 16:30:08 +02:00
Bram Matthys
d753714abe
use enum for module object types
2015-07-12 16:08:28 +02:00
Bram Matthys
ec61a75cf6
cleanup m_module
2015-07-12 16:02:06 +02:00
Bram Matthys
95b13123a3
and from sample conf
2015-07-12 15:54:01 +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
6221333bfe
Use CommandAdd() everywhere, even in core.
2015-07-12 15:47:51 +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
5e23fadefb
26*26 != 36*36
2015-07-10 15:07:17 +02:00
Bram Matthys
2d11c132f8
Replace UID generator: random + counter. This because you can otherwise enumerate users (reported by Adam).
2015-07-10 14:58:53 +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
e52545c107
update release notes a bit
2015-07-10 13:00:39 +02:00
Bram Matthys
6747653e90
update release notes on parv[0] (under MODULE CODERS)
2015-07-10 12:36:08 +02:00
Bram Matthys
0c516abc76
You can now no longer use parv[0]. Doing so will lead to a crash, this is intentional. Use sptr->name instead.
...
No UnrealIRCd code reads from parv[0] anymore.
Perhaps later, after a few stable versions, we'll turn this into something more useful. Or not. But not soon.
2015-07-10 12:29:07 +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
0b13883c69
Make swhois use AddListItemPrio. SWHOIS priorities should work now (untested)
2015-07-10 11:11:37 +02:00
Bram Matthys
71d3e8dbfa
New function AddListItemPrio, since we now use priorities in two places already (swhois, hooks).
2015-07-10 11:10:10 +02:00
Bram Matthys
9ca6d10785
fix one more tiny (xx bytes) memory leak on /REHASH
2015-07-10 10:51:27 +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
3cfee0f384
fix a number of /REHASH memleaks
2015-07-10 10:40:07 +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
de1c6330eb
Add validation to operclass parsing
2015-07-09 15:44:36 -07:00
Travis McArthur
9241701b0d
Update gitignore for 3rd party module makefile
2015-07-09 13:40:05 -07: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
900c51ed13
Add paranoid null check
2015-07-09 13:39:15 -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