Bram Matthys
168ff802c4
Show a meaningful error when connecting to an SSL-only port with STARTTLS (iotw: if you forgot ssl in link::outgoing::options).
2015-07-15 15:09:01 +02:00
Bram Matthys
f847d2c9e5
hmm. inconsistency.
2015-07-15 14:55:35 +02:00
Bram Matthys
f265e9f970
re-indent without chgs
2015-07-15 14:52:22 +02:00
Bram Matthys
5778e53515
Print a helpful error when trying to link using an SSL-only port and the port isn't actually SSL-only (on the other end).
2015-07-15 14:41:40 +02:00
Bram Matthys
50d1b194df
Linking: for outgoing connects, only support SSL/TLS by default (either 'directly' on an ssl port or via STARTTLS 'upgrading'). Set link::outgoing::options::insecure to disable.
2015-07-15 12:42:47 +02:00
Bram Matthys
1ba5f95ecb
For ougoing server links, attempt to upgrade the connection via STARTTLS if not using SSL/TLS already.
2015-07-15 12:09:11 +02:00
Bram Matthys
ceb04cc3eb
CommandAdd(): require flags to be non-zero and fix a minor memleak on-boot
2015-07-15 10:20:07 +02:00
Travis McArthur
8ef62b9f34
Merge pull request #30 from SaberUK/unreal34+notice-auth
...
Use "NOTICE *" before registration instead of "NOTICE AUTH".
2015-07-14 12:32:51 -07:00
Bram Matthys
ef341b1f6d
Link to servers faster after boot. Check links for re-linking more often. Allow connfreq of 5 seconds. Set default to 15. Get rid of HANGONGOODLINK/HANGONRETRYDELAY stuff.
2015-07-14 15:23:28 +02:00
Bram Matthys
02645ac4d6
Make sure people use link::outgoing::options::autoconnect, fix code to use it.
2015-07-14 15:07:18 +02:00
Bram Matthys
1978077c79
Use SENDSNO sender in server notices and not me.name, to avoid confusion.
2015-07-14 14:46:58 +02:00
Peter Powell
53bb3c0fb3
Use "NOTICE *" before registration instead of "NOTICE AUTH".
...
AUTH is a valid nickname so sending notices to it is probably not
a good idea. Use * as the target instead as done with numerics
when the nick is not available.
This mimics the behaviour in Charybdis, IRCD-Hybrid, InspIRCd 2.2,
Plexus 4, etc.
2015-07-14 13:20:32 +01:00
Bram Matthys
e9cc914449
Cleanup
2015-07-14 12:54:26 +02:00
Bram Matthys
2e7ad2f9f7
If you write things this way then it's easy to miss a parv[0] fetch..
2015-07-14 12:48:35 +02:00
Bram Matthys
d9756b8254
strange.
2015-07-14 12:40:29 +02:00
Bram Matthys
79c71ea490
'make install' did not install all 3rd party modules.
2015-07-14 12:37:30 +02:00
Bram Matthys
2662c6d1b1
upgrade-conf: for loadmodule, strip unnecessary modules/ prefix
2015-07-14 12:30:12 +02:00
Bram Matthys
3b50d32ec7
fix build-3rd-party-modules script
2015-07-14 12:27:20 +02:00
Bram Matthys
0028f6ad64
Change version to 3.4-beta1.
2015-07-13 20:17:18 +02:00
Bram Matthys
24cf11575d
make Windows OK again (part 1?)
2015-07-13 19:57:09 +02:00
Bram Matthys
f1a95ffd0b
Remove IPList - unused
2015-07-13 14:35:36 +02:00
Bram Matthys
cdc6042fa8
Remove example.xx.conf until they are re-translated to the 3.4.x format & example conf rewrites of past month(s).
2015-07-13 13:18:05 +02:00
Bram Matthys
3a8a0450c8
update example conf
2015-07-13 12:28:47 +02:00
Bram Matthys
9bcaac6ac6
oper modes were not broadcasted (bug caused <1wk ago I think), SETHOST may be sent over the wire before the +o so change permission check (caused 1-2d ago).
2015-07-13 10:21:18 +02:00
Bram Matthys
fbfb310654
3.4.x code was missing a "Lost connection to ...." server message on disconnect (should be broadcasted to ircops)
2015-07-12 22:10:19 +02:00
Bram Matthys
920e260e89
crash on invalid fd close if in DEBUGMODE
2015-07-12 22:06:57 +02:00
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