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
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
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
e88b6477bd
Some really minor SASL tweaks
2012-03-25 10:24:40 +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
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
245dea0a70
last change to poll patch for the day.. fixing my own fix ;)
2012-02-26 18:47:33 +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
722064b6f7
Some more changes and fixes regarding poll patch:
...
* use get_client_by_pollfd() function instead of pollfd_to_client[]
directly, so we can easily find and debug any mistakes.
* add some commenting
* add extra debugging and core dumping if fd or slot values are out of bounds
* fix race condition in read_authports() where send_authports() 2 lines up
could have closed the socket, resulting in a read from fd -1.
NOTE: I've updated the select (non-poll) code as well, should be harmless.
2012-02-26 16:16:06 +01:00
Bram Matthys
02ae61dd29
regarding poll patch:
...
* move all (re-)initalization to reset_pollfd(), i'm
much more comfortable with that as it aids debugging a lot.
* add parenthesis.
update my own fd check code for poll support
2012-02-26 15:43:02 +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
42a30007e7
Donators
2012-02-08 18:16:33 +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
1adc59893d
heh ;)
2011-12-28 18:48:46 +01: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
82f9cf54bb
extban ~a = also allowed for invex
2011-12-25 16:42:17 +01:00
Bram Matthys
83527ba76d
compile fix for just-checked-in patches.
2011-12-25 16:28:58 +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
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
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
Bram Matthys
5298c36d64
some last-minute text fixes
2011-11-05 10:11:58 +01:00
Bram Matthys
d19bce6c42
** 3.2.9 release **
2011-11-05 09:54:12 +01:00
Bram Matthys
9b3e65c6e7
- Updated credits (supporters, coders)
2011-09-11 18:13:35 +02:00