]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
Robby- [Wed, 27 Jun 2012 18:49:37 +0000 (20:49 +0200)]
m_ssl_openssl: Allow the list of available ciphers to be customized.
This patch was contributed almost 10 months ago via IRC, by spender.
Robby- [Wed, 27 Jun 2012 18:49:17 +0000 (20:49 +0200)]
m_ssl_openssl: Show the SSL cipher used after connecting.
Previously only a fingerprint was shown when one was available, else nothing was shown at all.
Attila Molnar [Tue, 26 Jun 2012 21:16:44 +0000 (14:16 -0700)]
Merge pull request #215 from attilamolnar/insp20+modfixes
[2.0] Bugfixes/improvements in m_rline, m_svshold, m_shun, m_cban
attilamolnar [Sun, 17 Jun 2012 12:58:16 +0000 (14:58 +0200)]
m_shun Fix out of bounds vector access leading to crashes when hiding part reason for a shunned user
attilamolnar [Sun, 17 Jun 2012 12:50:18 +0000 (14:50 +0200)]
m_shun Fix a couple of things, namely
- remove OnUserConnect hook as it was completly a no-op
- remove call to XLineManager::ApplyLines() as it iterates the local userlist and made no sense
- return CMD_SUCCESS when /SHUN succeeded, CMD_FAILURE otherwise
- remove unused exception handler
- don't route SHUN commands at all, spanningtree adds and removes the lines automatically
attilamolnar [Sun, 17 Jun 2012 12:46:34 +0000 (14:46 +0200)]
m_rline Fix memory leak when zlineonmatch was true and the zline existed, simplify zline adding logic
attilamolnar [Sun, 17 Jun 2012 12:44:01 +0000 (14:44 +0200)]
m_svshold Fix a couple of things, namely
- don't ask the XLine manager to apply SVSHOLD lines to the userlist, as we do nothing on match
- remove call to XLineManager::ApplyLines() as it iterates the local userlist and made no sense
- return CMD_SUCCESS when SVSHOLD succeeded, CMD_FAILURE otherwise
- remove unused exception handler
- don't route SVSHOLD commands at all, spanningtree adds and removes the lines automatically
attilamolnar [Sun, 17 Jun 2012 12:42:16 +0000 (14:42 +0200)]
m_cban Fix a couple of things, namely
- remove call to XLineManager::ApplyLines() as it iterates the local userlist and made no sense
- return CMD_SUCCESS when /CBAN succeeded, CMD_FAILURE otherwise
- remove unused exception handler
- don't route CBAN commands at all, spanningtree adds and removes the lines automatically
Robin Burchell [Fri, 15 Jun 2012 09:44:57 +0000 (02:44 -0700)]
Merge pull request #193 from attilamolnar/insp20+newlinefix
[2.0] Cut the ending \n from all lines in included (exec)files
Attila Molnar [Thu, 14 Jun 2012 00:58:20 +0000 (17:58 -0700)]
Merge pull request #184 from SaberUK/insp20-copy-all-configs
[2.0] Install all configuration files
Sir Pogsalot [Wed, 13 Jun 2012 06:03:56 +0000 (23:03 -0700)]
Merge pull request #213 from attilamolnar/insp20+namesx
[2.0] Add support to m_namesx for altering /WHO replies
attilamolnar [Mon, 11 Jun 2012 16:44:53 +0000 (18:44 +0200)]
m_geoip Add support for /stats G
m_geoip Change /stats G numeric to be 801
attilamolnar [Thu, 7 Jun 2012 18:14:58 +0000 (20:14 +0200)]
Make m_cap.h a bit cleverer
attilamolnar [Thu, 7 Jun 2012 18:10:07 +0000 (20:10 +0200)]
New module to support IRCv3 extras, namely account-notify, away-notify and extended-join CAPs
attilamolnar [Thu, 7 Jun 2012 18:08:26 +0000 (20:08 +0200)]
m_services_account Send an AccountEvent with an empty accountname when a user logs out of an account
attilamolnar [Thu, 31 May 2012 20:47:24 +0000 (22:47 +0200)]
m_spanningtree Burst to a new server before introducing it to the rest of the network
Fixes issue #103 reported by @nenolod
Sir Poggles [Wed, 13 Jun 2012 01:58:45 +0000 (18:58 -0700)]
Be consistent with Robby's qQ snomask changes
William Pitcock [Tue, 12 Jun 2012 03:17:09 +0000 (22:17 -0500)]
m_dnsbl: switch to OnSetClientIP hook which may be refired.
William Pitcock [Tue, 12 Jun 2012 03:12:23 +0000 (22:12 -0500)]
users: introduce OnSetClientIP hook.
This hook is called whenever a client's IP is modified.
William Pitcock [Tue, 12 Jun 2012 03:10:55 +0000 (22:10 -0500)]
users: LocalUser constructor should call SetClientIP() on itself
This way we fire a future hook based on local IP information changing.
William Pitcock [Tue, 12 Jun 2012 03:06:36 +0000 (22:06 -0500)]
users: add SetClientIP function for irc::sockets::sockaddrs type.
Code which touches client_sa should instead use this SetClientIP function so that hooks may
be called in the future.
Sir Poggles [Wed, 13 Jun 2012 01:22:15 +0000 (18:22 -0700)]
fgets(): refer to the buffer size (no literals)
attilamolnar [Mon, 11 Jun 2012 16:59:06 +0000 (18:59 +0200)]
Fix 2 clang warnings reported by @SaberUK
Robby- [Tue, 12 Jun 2012 02:35:35 +0000 (04:35 +0200)]
Snomask qQ: Swap quit message and IP for easier parsing by bots or scripts
Peter Powell [Mon, 11 Jun 2012 04:34:47 +0000 (05:34 +0100)]
README changes.
attilamolnar [Mon, 11 Jun 2012 17:55:44 +0000 (19:55 +0200)]
Fix build on Debian GNU/Hurd platforms, thanks to Jonathan Wiltshire <jmw@debian.org> for the patch
Fixes issue #98 reported by @guikcd
Robby- [Tue, 12 Jun 2012 04:37:04 +0000 (06:37 +0200)]
m_check: Include IP and gecos in host/IP-mask lookup results
Peter Powell [Tue, 12 Jun 2012 17:53:50 +0000 (18:53 +0100)]
Install example alias and module configuration files as well.
Peter Powell [Tue, 12 Jun 2012 17:38:54 +0000 (18:38 +0100)]
Move all example configuration files to their own directory.
attilamolnar [Tue, 12 Jun 2012 16:16:08 +0000 (18:16 +0200)]
m_namesx Add support for altering /WHO replies to be compliant with the specification
attilamolnar [Mon, 11 Jun 2012 13:08:10 +0000 (15:08 +0200)]
m_spanningtree Only add a resolved server IP as valid if it still exists when the lookup completes
attilamolnar [Mon, 11 Jun 2012 13:05:07 +0000 (15:05 +0200)]
m_spanningtree Move SecurityIPResolver code to resolvers.cpp from resolvers.h
attilamolnar [Mon, 11 Jun 2012 13:04:29 +0000 (15:04 +0200)]
m_spanningtree Disallow server passwords which contain a space char and those which begin with a colon
Update links.conf.example
attilamolnar [Mon, 11 Jun 2012 13:02:10 +0000 (15:02 +0200)]
m_spanningtree Notify opers upon ecountering a configuration error when rehashing
attilamolnar [Thu, 7 Jun 2012 23:14:22 +0000 (01:14 +0200)]
Cut the ending \n from all lines in included (exec)files
Robin Burchell [Fri, 1 Jun 2012 08:07:36 +0000 (01:07 -0700)]
Merge pull request #179 from attilamolnar/insp20+desyncfix
[2.0] Fix desyncs caused by m_autoop and broken spanningtree routing logic
Robin Burchell [Fri, 1 Jun 2012 08:06:44 +0000 (01:06 -0700)]
Merge pull request #182 from attilamolnar/insp20+gnutlsfix
[2.0] Fix crash in m_ssl_gnutls destructor when dh_params wasn't inited
attilamolnar [Fri, 1 Jun 2012 02:35:52 +0000 (04:35 +0200)]
m_ssl_gnutls Only generate DH params when dh_params is inited
attilamolnar [Fri, 1 Jun 2012 02:03:46 +0000 (04:03 +0200)]
m_ssl_gnutls Fix crash caused by calling gnutls_dh_params_deinit() when dh_params wasn't inited
Fixes #181 reported by @BlacklightShining
attilamolnar [Thu, 31 May 2012 18:09:24 +0000 (20:09 +0200)]
m_spanningtree Fix desync issue #37 reported by @Joah - part 2
Robin Burchell [Wed, 30 May 2012 09:55:45 +0000 (02:55 -0700)]
Merge pull request #175 from attilamolnar/insp20+chopfix
[2.0] Fix last character being chopped off in included (exec)files
Robin Burchell [Wed, 30 May 2012 09:54:45 +0000 (02:54 -0700)]
Merge pull request #173 from Robby-/insp20-moddesc
[2.0] Module description updates
Robin Burchell [Wed, 30 May 2012 09:46:30 +0000 (02:46 -0700)]
Merge pull request #166 from Robby-/insp20-cfgcorrections
[2.0] Add more documentation about logging, aswell as make text, tab and space corrections to the configs.
Robin Burchell [Wed, 30 May 2012 09:44:18 +0000 (02:44 -0700)]
Merge pull request #159 from gholms/md5-memset-20
[2.0] md5: zero the whole MD5Context, not only part of it
Robin Burchell [Wed, 30 May 2012 09:43:15 +0000 (02:43 -0700)]
Merge pull request #163 from attilamolnar/insp20+silentjoinfix
[2.0] Don't send a MODE on join when the join was silenced by a module
Robby- [Wed, 30 May 2012 01:46:41 +0000 (03:46 +0200)]
Module description updates
attilamolnar [Wed, 30 May 2012 01:07:22 +0000 (03:07 +0200)]
m_autoop Fix desync issue #37 reported by @Joah - part 1
attilamolnar [Tue, 29 May 2012 22:43:45 +0000 (00:43 +0200)]
Fix last character being chopped off in included (exec)files (e.g. motd and rules)
Robby- [Tue, 29 May 2012 22:29:06 +0000 (00:29 +0200)]
Add more documentation about logging, aswell as make text, tab and space corrections to the configs
attilamolnar [Tue, 29 May 2012 13:13:55 +0000 (15:13 +0200)]
Fix printf-style WriteAllExcept not obeying serversource parameter
attilamolnar [Tue, 29 May 2012 13:13:42 +0000 (15:13 +0200)]
Silence the MODE too if a join was silenced by a module not just the JOIN
This leaked information when a module gave privs to the joining user in OnUserPreJoin
Fix CycleHostsFromUser having the opposite effect
Robin Burchell [Tue, 29 May 2012 08:21:00 +0000 (01:21 -0700)]
Merge pull request #156 from attilamolnar/insp20+statszfix
[2.0] Improve bandwidth usage statistics (/STATS z)
Garrett Holmstrom [Mon, 28 May 2012 20:22:32 +0000 (13:22 -0700)]
[2.0] md5: zero the whole MD5Context, not only part
attilamolnar [Mon, 28 May 2012 20:10:28 +0000 (22:10 +0200)]
Use socketengine functions for sending and receiving data instead of plain send() and recv() so /STATS z displays correct bandwidth usage
Robin Burchell [Mon, 28 May 2012 11:23:57 +0000 (04:23 -0700)]
Merge pull request #152 from attilamolnar/insp20+showwhoisfix
[2.0] m_showwhois Fix potential crash in WHOISNOTICE handler
Robin Burchell [Mon, 28 May 2012 11:23:29 +0000 (04:23 -0700)]
Merge pull request #150 from attilamolnar/insp20+incrementuidfix
[2.0] Fix generating invalid UIDs after current_uid is 000Z99999
attilamolnar [Sun, 27 May 2012 23:28:36 +0000 (01:28 +0200)]
m_showwhois Fix potential crash in WHOISNOTICE handler
attilamolnar [Sun, 27 May 2012 21:30:02 +0000 (23:30 +0200)]
Add testsuite tests for UID generation
attilamolnar [Sun, 27 May 2012 21:08:14 +0000 (23:08 +0200)]
While at it, use a constant parameter for calling IncrementUID in GetUID
Get rid of curindex, use a bool to determine if we need to initialize
attilamolnar [Sun, 27 May 2012 21:05:12 +0000 (23:05 +0200)]
Fix generating invalid UIDs after current_uid is 000Z99999 (next UID became 000[AAAAA)
Robin Burchell [Sun, 27 May 2012 13:09:36 +0000 (06:09 -0700)]
Merge pull request #142 from attilamolnar/insp20+sestatsfix
[2.0] Count the actual number of sent/received bytes in SocketEngine statistics
Robin Burchell [Sun, 27 May 2012 13:07:55 +0000 (06:07 -0700)]
Merge pull request #145 from SaberUK/insp20-typo-fixes
[2.0] Typo fixes.
Peter Powell [Fri, 25 May 2012 19:13:53 +0000 (20:13 +0100)]
A few more typo fixes.
Peter Powell [Fri, 25 May 2012 18:40:38 +0000 (19:40 +0100)]
Debian typo fixes.
Adam [Wed, 23 May 2012 22:56:55 +0000 (18:56 -0400)]
Fixed m_mlock
attilamolnar [Wed, 23 May 2012 16:48:43 +0000 (18:48 +0200)]
Count the actual number of sent/received bytes in SocketEngine instead of the buffer size passed to the send/receive functions
Robin Burchell [Wed, 23 May 2012 14:56:37 +0000 (07:56 -0700)]
Merge pull request #139 from SaberUK/insp20-unistd-windows
[2.0] Fix compile error caused by unistd.h not existing on Windows.
Peter Powell [Wed, 23 May 2012 12:15:22 +0000 (13:15 +0100)]
Fix compile error caused by unistd.h not existing on Windows.
Robin Burchell [Wed, 23 May 2012 10:18:35 +0000 (03:18 -0700)]
Merge pull request #131 from attilamolnar/insp20+hideroperwhofix
[2.0] Fix issue #95 reported by @Joah
Robin Burchell [Wed, 23 May 2012 10:17:37 +0000 (03:17 -0700)]
Merge pull request #136 from nenolod/bugfix/epoll-nitpicks-2.0
[2.0] epoll: make sure EPOLLET flag does not get clobbered
William Pitcock [Sun, 20 May 2012 12:36:57 +0000 (07:36 -0500)]
epoll: make sure EPOLLET flag does not get clobbered
EPOLLET is the highest bit, so storing EPOLLET in a signed value leads to
undefined behaviour.
attilamolnar [Sat, 19 May 2012 16:46:58 +0000 (18:46 +0200)]
Fix issue #95 reported by @Joah
Robin Burchell [Wed, 16 May 2012 20:13:09 +0000 (13:13 -0700)]
Merge pull request #113 from nenolod/feature/mlock
modules/m_mlock: new module implementing server-side MLOCK.
William Pitcock [Wed, 16 May 2012 17:34:23 +0000 (12:34 -0500)]
mlock: fix style nitpicks
Chin Lee [Wed, 16 May 2012 07:19:16 +0000 (15:19 +0800)]
Check whether it is empty parameter before checking its value
Chin Lee [Wed, 16 May 2012 02:14:51 +0000 (10:14 +0800)]
Fix issue #120 reported by @swilde
Robin Burchell [Tue, 15 May 2012 10:57:35 +0000 (03:57 -0700)]
Merge pull request #104 from SaberUK/fix-issue-14
[2.0] Install example configuration files into their own directory.
William Pitcock [Tue, 15 May 2012 06:51:43 +0000 (01:51 -0500)]
mlock: we should only enforce against modes set by our own clients
William Pitcock [Tue, 15 May 2012 06:26:39 +0000 (01:26 -0500)]
mlock: handle case where no mlock has been set on a channel yet
Robin Burchell [Mon, 14 May 2012 10:46:56 +0000 (03:46 -0700)]
Merge pull request #109 from Justasic/insp20
Rewrote the color codes parser to one function, not two
William Pitcock [Fri, 4 May 2012 23:51:58 +0000 (23:51 +0000)]
docs/modules.conf: document availability of MLOCK module.
William Pitcock [Fri, 4 May 2012 23:39:18 +0000 (23:39 +0000)]
modules/m_mlock: new module implementing server-side MLOCK.
Peter Powell [Fri, 4 May 2012 19:54:30 +0000 (20:54 +0100)]
Update 'make install' to inform the user about the example config files.
Justin Crawford [Fri, 4 May 2012 02:04:54 +0000 (19:04 -0700)]
Rewrote the color codes parser to be one function, not two
Robin Burchell [Thu, 3 May 2012 14:28:59 +0000 (07:28 -0700)]
Merge pull request #96 from Justasic/insp20
[2.0] Process escape sequences for MOTD for issue #23
Peter Powell [Tue, 1 May 2012 13:10:35 +0000 (14:10 +0100)]
Install example configuration files into their own directory.
Justin Crawford [Sun, 22 Apr 2012 11:27:46 +0000 (04:27 -0700)]
Fixed using a function on every call for /motd, causing lag on large networks (requested by w00t)
Robin Burchell [Mon, 23 Apr 2012 06:54:44 +0000 (23:54 -0700)]
Merge pull request #92 from Robby-/insp20-headers
[2.0] Replace copyright headers with headers granting specific authors copyright
Justin Crawford [Sat, 21 Apr 2012 10:06:54 +0000 (03:06 -0700)]
Added C/C++ style escape codes for color codes in the MOTD along with @SaberUK's \x, \u, \b, \c aliases
Robby- [Fri, 20 Apr 2012 16:34:40 +0000 (18:34 +0200)]
resource.rc: update copyright to 2012
Robby- [Fri, 20 Apr 2012 16:33:52 +0000 (18:33 +0200)]
Headers: update remaining scripts too
Robby- [Thu, 19 Apr 2012 18:58:29 +0000 (20:58 +0200)]
Replace copyright headers with headers granting specific authors copyright
Robin Burchell [Thu, 19 Apr 2012 10:35:49 +0000 (03:35 -0700)]
Merge pull request #85 from Robby-/insp20-typosnstuff
[2.0] Add conf/ to include paths and fix some typos
Robin Burchell [Thu, 19 Apr 2012 10:25:05 +0000 (03:25 -0700)]
Merge pull request #88 from Robby-/insp20-helpop
[2.0] helpop: revert
05e6330 and make it the other way around
Robby- [Thu, 19 Apr 2012 09:46:51 +0000 (11:46 +0200)]
Revert
05e6330fbd6e9a427c09cf90e2cada10656c48f7 and reference HELPOP instead (afterall, the module is called helpop and references itself as that in the code/output too, and most clients override /help), also make the alias work the other way around
Robby- [Thu, 19 Apr 2012 08:30:08 +0000 (10:30 +0200)]
Add conf/ to include paths and fix some typos
Robin Burchell [Thu, 19 Apr 2012 06:49:57 +0000 (23:49 -0700)]
Merge pull request #84 from attilamolnar/insp20+whoisfix
[2.0] Avoid sending empty channel list numeric on whois
Robin Burchell [Thu, 19 Apr 2012 06:45:12 +0000 (23:45 -0700)]
Merge pull request #83 from attilamolnar/insp20+remotestatsfix
[2.0] Fix issue #18 reported by @int- (remote restriction on /stats)
attilamolnar [Wed, 18 Apr 2012 23:23:26 +0000 (01:23 +0200)]
Avoid sending empty channel list numeric on whois if the target is not in any channels.
attilamolnar [Wed, 18 Apr 2012 22:38:38 +0000 (00:38 +0200)]
Fix issue #18 reported by @int- (remote restriction on /stats)