Travis McArthur
b67d4a0e64
Add temporary logo file
2015-07-17 20:01:14 -07:00
Travis McArthur
db9dedace7
Fix .gitignore - only ignore unrealircd in root
2015-07-17 20:01:14 -07:00
Bram Matthys
64540d14aa
smart..
2015-07-17 21:00:13 +02:00
Bram Matthys
da9bd09e76
deal with uppercase hex in link::password (and others) -> autodetect as sslclientcertfp
2015-07-17 20:56:34 +02:00
Bram Matthys
7153d8faa8
don't fd_setselect on -1 fd if ident check failed
2015-07-17 18:11:40 +02:00
Bram Matthys
6cf476ff8e
crash on invalid fd usage if DEBUGMODE (so we can trace things)
2015-07-17 18:10:06 +02:00
Bram Matthys
5d25c36a6c
Add doc/conf/examples/example.tr.conf, translated by Serkan.
2015-07-17 16:22:27 +02:00
Bram Matthys
0fb82352af
improve style (no bug)
2015-07-16 21:32:41 +02:00
Bram Matthys
24f3644ecf
getting rid of more useless casts
2015-07-16 21:31:02 +02:00
Bram Matthys
0698ba296c
various stuff
2015-07-16 21:01:50 +02:00
Bram Matthys
88aa91eb94
rather than copying the string result, why not work on the buffer directly..
2015-07-16 21:01:27 +02:00
Bram Matthys
03cb78543a
hm invalid var used. only a problem if extban module does not provide conv_param() which is mandatory anyway, so no problem I guess, but still..
2015-07-16 21:00:45 +02:00
Bram Matthys
b7cbf108d8
pass by value -> pass by ref
2015-07-16 20:22:05 +02:00
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