Bram Matthys
b3a7774dc1
didn't audit the code, but this seems more proper (heero: check? :p)
2015-07-16 20:18:31 +02:00
Bram Matthys
d4d4f5180a
useless check
2015-07-16 20:18:25 +02:00
Bram Matthys
f8241cede6
not if (fd) but if (fd >= 0)..
2015-07-16 18:14:22 +02:00
Bram Matthys
252538272e
Reduce nick@server complexity in m_message and (similarly) make hash_find_nickserver() easier and more tolerant, also accepts just 'nick' in addition to 'nick@server'
2015-07-16 18:09:26 +02:00
Bram Matthys
c15d1f90ae
Fix crash in do_read_motd(). Strange nobody reported this yet (then again.. this is beta..).
2015-07-16 17:36:54 +02:00
Bram Matthys
083ca38554
:D
2015-07-16 17:36:48 +02:00
Bram Matthys
bad3cdbdeb
Use MyMallocEx and not malloc/MyMalloc + bzero.
2015-07-16 17:29:24 +02:00
Bram Matthys
c06dc9a142
Get rid of #ifdef CLEAN_COMPILE, along with some other shit
2015-07-16 17:22:51 +02:00
Bram Matthys
cb18db026f
blah
2015-07-16 17:15:09 +02:00
Bram Matthys
dd3993008c
small unlikely memleaks. and cptr->port being set to a random value (caused few weeks ago).. but we don't ever read it so not terribly important.
2015-07-16 17:13:57 +02:00
Bram Matthys
6ee1773fbe
Not sure if this will ever happen as there's a lot of code called beforehand, but ah well.. (memleak).
2015-07-16 16:32:43 +02:00
Bram Matthys
b33a461e9a
re-indent
2015-07-16 16:28:14 +02:00
Bram Matthys
f715ee37cc
uninitialized read (won't actually happen as other routines check before this)
2015-07-16 16:27:53 +02:00
Bram Matthys
34d9f0946a
Don't prompt to generate SSL certificate if running ./Config -quick (which is meant as a no-prompt mode)
2015-07-16 16:02:14 +02:00
Bram Matthys
3ccb297ba8
in various text: ./unreal -> ./unrealircd
2015-07-16 11:40:54 +02:00
Bram Matthys
c6488bb50a
Why would anyone want to know this.. got enough on-connect msgs already.
2015-07-16 10:57:55 +02:00
Bram Matthys
9bd211d46e
Fix some ununitialized stuff
2015-07-16 10:56:46 +02:00
Bram Matthys
6eddc2685f
Merge branch 'unreal34' of github.com:unrealircd/unrealircd into unreal34
2015-07-16 09:45:11 +02:00
Bram Matthys
00e028e6f7
alpha -> beta
2015-07-16 09:44:58 +02:00
Bram Matthys
727fdfbfbc
Merge pull request #31 from Alef-Burzmali/unreal34+french-conf
...
Translate the 3.4.x example configuration file in French
2015-07-16 09:40:45 +02:00
Thomas Fargeix
591c322d0f
Translate the example conf in French
2015-07-15 22:52:18 +02:00
Bram Matthys
dcb0c63bd8
Spamfilter 'u' was broken by nenolod. Literally. snprintf(buf, sizeof(buf), .. where 'buf' is a 'char *'. Fantastic.
2015-07-15 18:34:25 +02:00
Bram Matthys
f22cef97d4
Why do we have those unnecessary (SSL *) casts everywhere? Poof. Gone.
2015-07-15 15:54:36 +02:00
Bram Matthys
dcb4e382a3
Apparently on newer OpenSSL versions (unreleased) you can't access the read buffer. So use this method instead. Ohh.. we are so helpful to our users..
2015-07-15 15:48:00 +02:00
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