Bram Matthys
3f3b8975e0
- Moved sendto_connectnotice, and thus the call to HOOKTYPE_LOCAL_CONNECT,
...
so it gets called after the broadcast of NICK to other servers.
2012-05-01 12:10:14 +02:00
William Pitcock
adcb462788
- If set::options::dont-resolve is enabled, then use only the IP information
...
from a WEBIRC message, reported by Ismat (#4103 ).
2012-04-09 10:54:17 +02:00
William Pitcock
3563c26a93
- Add support for account-notify client capability ( #4098 ). This capability
...
can be used to request passive notifications for accountname changes.
2012-04-09 10:48:51 +02:00
Bram Matthys
309dac4f2b
- Added 'away-notify' client capability, which informs the client of any AWAY state changes of users on the same channel. Patch from nenolod ( #4097 ).
2012-04-09 10:35:17 +02:00
Bram Matthys
3271ec3a23
- Remove old no-stealth configuration directive from documentation,
...
reported by katsklaw, patch from warg (#4036 ).
2012-04-09 10:25:53 +02:00
Bram Matthys
3d728f5f2e
- Print out a warning when we can't write to a log file. When booting this
...
goes to the boot screen. When we are already booted it's sent to all
IRCOps with a limit of max. 1 message per 5 minutes.
- Refuse to boot when we can't write to any log file.
2012-04-05 21:47:15 +02:00
Bram Matthys
374b79c084
- Win32 compile fix (nenolod)
2012-04-05 21:01:19 +02:00
Bram Matthys
edcadc6c58
- Fix win32 installer: apparently it sometimes complained about not having
...
- the Visual C++ 2008 redistributable package installed when this was not true.
2012-03-30 20:02:32 +02:00
Bram Matthys
3ada59bc60
- Poll I/O engine: get_client_by_pollfd() may return -1 when there's a race
...
condition. Don't abort, instead just skip those clients.
This fixes a crash I had on /SQUIT.
2012-03-26 11:16:10 +02:00
Bram Matthys
46372dc475
- Split up PROTOCTL line, since with the addition of ESVID we exceeded
...
MAXPARA when using ZIP links.
This caused an odd charset warning upon link.
2012-03-26 11:08:19 +02:00
Bram Matthys
a8000c2efb
- Some more SASL fixes, and more...
2012-03-26 10:37:40 +02:00
Bram Matthys
04b68513f8
- Some more SASL fixes
2012-03-25 19:54:56 +02:00
Bram Matthys
40004ef1b3
- Tweak SASL code to conform to current coding style.
2012-03-25 12:32:41 +02:00
Bram Matthys
66b3a7fe6b
- Fix crash in AUTHENTICATE (SASL commit from an hour or so ago).
2012-03-25 12:30:51 +02:00
Bram Matthys
61610fe763
- Added support for SASL, patch from nenolod ( #4079 ).
2012-03-25 10:15:28 +02:00
Bram Matthys
1e152a07c0
- Fix for speed optimization a few lines up, was accidentally using ident
...
username (which might have been 'unknown') instead of effective username.
2012-03-23 20:30:36 +01:00
Nathan Phillip Brink
aa5fe1514d
- Call m_cap_Init() when m_cap is loaded through commands.so. Reported by nenolod.
2012-03-06 06:16:53 +00:00
Nathan Phillip Brink
72b36e893b
- Minor documentation typos, thanks warg ( #4094 ).
2012-03-01 05:12:52 +00:00
Bram Matthys
1a76eb59e5
- Speed optimization: First, moved a large part of vsendto_prefix_one into
...
vmakebuf_local_withprefix. Then use this new function - which creates the
buffer-to-be-sent - at the top of functions like sendto_channel_butserv
and sendto_common_channels and send the prepared buffer in the loop that
comes after it. This means we only prepare the buffer once and then send
it many times, rather than both building and sending it XYZ times.
Benchmarking connect-join-quit of 10k clients:
100 users per channel: no noticeable speed improvement
1000 users per channel: 18% faster
10000 users in one channel: 50% faster
As you can see, unfortunately, for a typical irc network there isn't much
speed improvement. However, if you have a couple of 500+ user channels or
get attacked by clones then you may see some improvement in speed and/or lower
CPU usage.
2012-02-27 15:20:07 +01:00
Bram Matthys
d1ad60990f
changelog entry for all previous commits:
...
- UnrealIRCd now supports poll() instead of select().
There are some minor speed benefits if you have more than 1K or 2K
clients, however the main noticeable difference is that on Linux you can
now easily enter a higher maximum connection count than 1024 in ./Config,
without having to edit system header files.
Of course, you still need to be allowed to use the # of sockets (type
'ulimit -n' on the shell).
Support for this is experimental at this stage, but enabled by default
so it can receive all the testing it deserves. If all goes well, it will
be the default for 3.2.10.
Stress testing is very much welcomed!
2012-02-26 18:40:12 +01:00
Bram Matthys
8dd4160c78
make c-ares use 100% poll. and make sure we never deal with negative fds.
2012-02-26 18:25:49 +01:00
Bram Matthys
5dd1454489
- Added patch from Adam for poll() support ( #1245 ).
2012-02-26 15:28:29 +01:00
Bram Matthys
9c12b0e896
- Even when 'M' was listed in set::oper-only-stats you could still do a
...
'/STATS m'. Unlike other stats characters, case insensitivity was not
checked for this one. Reported by and patch from Apocalypse (#4086 ).
2012-02-26 10:29:20 +01:00
Bram Matthys
719c0f73ae
- Moved nospoof to config file, suggested by and patch from nenolod ( #4078 ).
...
This means ping cookies are now controlled by set::ping-cookie [yes|no].
The default is 'yes' (enabled).
2012-02-26 10:22:19 +01:00
Bram Matthys
c46024fa2d
- Make the accept code check if the fd is within bounds instead of relying
...
on OpenFiles to be correct. This fixes a crash when f.e. 3rd party modules
have files open but don't increase OpenFiles. Might also fix a curl crash,
though nobody ever reported one.
2012-02-26 10:09:25 +01:00
Bram Matthys
2e2eea8146
- Added doc/example.es.conf, translated by Severus_Snape.
2012-02-08 18:44:37 +01:00
Bram Matthys
7ad515fb38
- Get rid of networks/ directory, and all references to it. Suggested by
...
katsklaw and others (#4056 ).
2012-01-22 17:09:10 +01:00
Bram Matthys
60bad142e0
- Added remove_oper_modes(), which works just like remove_oper_snomasks(),
...
and ensures that the user does not have any ircop-only user modes after
de-opering. This (only) fixes the just added +I umode case, but could
also prevent future bugs.
2012-01-22 16:52:28 +01:00
Bram Matthys
c597c90f4a
- New user mode +I (IRCOp only) which hides idle times to other users,
...
suggested and patch supplied by Nath & binki (#3953 ).
2012-01-22 16:32:28 +01:00
Bram Matthys
b9137af15c
- Advertise 'tls' (STARTTLS) capability in CAP. Patch from nenolod ( #4081 ).
2012-01-22 16:03:30 +01:00
Bram Matthys
2df00337d4
- Fix issue with CAP & NOSPOOF. Patch from nenolod ( #4077 ).
2012-01-22 16:01:00 +01:00
Bram Matthys
d530dbd43d
- Add CAP support. Currently implemented are: multi-prefix (NAMESX), and
...
userhost-in-names (UHNAMES). Patch from nenotopia (#4018 , #4066 )
2012-01-20 21:25:59 +01:00
Bram Matthys
acc011337a
- Ditch vsyslog() as it's only a waste of CPU, inspired by #4065 .
2012-01-02 22:46:18 +01:00
Nathan Phillip Brink
d9e83f70e3
- Fix misuse of stdarg.h macros when calling vsyslog() ( #4065 by Jimini).
2012-01-02 20:20:07 +00:00
Bram Matthys
9ae963e1fe
- Make default service stamp 0 (zero) again, instead of '*' which was
...
introduced by ESVID changes a few days ago. This makes anope happy,
and also means nothing will change in a non-ESVID scenario.
2011-12-28 18:39:43 +01:00
Nathan Phillip Brink
23516d8e99
- Enforce matching of unrealircd version and PACKAGE_VERSION macros ( #4014 ).
...
Now the UNREAL_VERSION_GENERATION, UNREAL_VERSION_MAJOR,
UNREAL_VERSION_MINOR, and UNREAL_VERSION_SUFFIX macros are
autogenerated from PACKAGE_VERSION.
2011-12-26 17:23:36 +00:00
Bram Matthys
9ed1e4fa02
- Throw up an error if a password in the configuration file is too long
...
(max 48 characters), reported by JasonTik, based on patch from
WolfSage (#3223 ).
2011-12-25 16:58:18 +01:00
Bram Matthys
3b6bbdc038
- Updated extended ban documentation in help.conf and unreal32docs:
...
new bantype ~a, and some text about extended bans & invex (+I).
2011-12-25 16:22:07 +01:00
Bram Matthys
c1af7ca274
- Added extended ban ~a:<account name> which matches users who are logged
...
in to services with that account name. This works only on services that
support ESVID. Patch from nenotopia (#3966 ).
2011-12-25 14:40:33 +01:00
Bram Matthys
d512f79a6a
- Show account name in /WHOIS, for ESVID-capable services packages, patch from nenotopia ( #3966 ).
2011-12-25 14:29:03 +01:00
Bram Matthys
d272d2d6a0
- Services coders: Added support for ESVID. Instead of a number you can
...
now store a string (of max NICKLEN size) as service stamp. See
protoctl.txt and serverprotocol.html in doc/technical for more
information.
Patch from nenotopia (#3966 ).
2011-12-25 14:26:53 +01:00
Bram Matthys
e8244902f8
- Tweak: send actual channel name and not user supplied channel in KICK, reported and patch by Stealth ( #3298 ).
2011-12-25 14:06:19 +01:00
Bram Matthys
316828edf8
- Config parser failed to check for invalid set::ssl options, reported and patch by fbi ( #4035 ).
2011-12-25 13:20:19 +01:00
Bram Matthys
aa0af2ddd2
- Fix small error in oper block documentation, reported by Stealth ( #2318 ).
2011-12-25 13:15:49 +01:00
Bram Matthys
0e4d604c04
- Added patch from nenotopia to use more modern LUSERS numerics ( #3967 ).
2011-12-25 12:55:02 +01:00
Nathan Phillip Brink
5a57a8f496
- Include CMDS=STARTTLS in ISUPPORT/numeric 005 to let clients discover STARTTLS support through VERSION, before or after registration ( #4064 ).
2011-12-20 22:27:16 +00:00
Nathan Phillip Brink
2ffa9a174f
- Fix version string in configure.ac.
2011-11-14 03:40:27 +00:00
Nathan Phillip Brink
0ff0b04a56
- Fix compilation issues with bundled tre and ./curlinstall-ed curl caused by over-generic regexes. Reported by warg.
2011-11-12 06:58:34 +00:00
Nathan Phillip Brink
9299b781f6
- Attempt to make Makefile rules more parallelism friendly.
2011-11-10 05:37:16 +00:00
Nathan Phillip Brink
b753c28bec
- Fix compilation issue when disabling stacked extbans. https://bugs.gentoo.org/389949
2011-11-09 17:21:39 +00:00