]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
10 years agoMerge pull request #693 from SaberUK/insp20+modulemanager-bugs
Attila Molnar [Fri, 29 Nov 2013 21:14:45 +0000 (13:14 -0800)]
Merge pull request #693 from SaberUK/insp20+modulemanager-bugs

[2.0] Fix various problems with ModuleManager.

10 years agoFix various problems with ModuleManager.
Peter Powell [Fri, 29 Nov 2013 20:23:57 +0000 (20:23 +0000)]
Fix various problems with ModuleManager.

- Fix downloading the module list on very new versions of Perl.
- Fix an off by one error caused by array sizing starting at -1
  instead of 0 like in every single other language (!!).
- Fix vague error messages when LWP encounters an error.
- Fix LWP::Simple being used before we have checked whether it is
  available.

10 years agoFix remote /MODULES bug
Daniel Vassdal [Tue, 12 Nov 2013 16:28:40 +0000 (08:28 -0800)]
Fix remote /MODULES bug

10 years agoUse case insensitive comparison for server names for (auto)connects, issue #662
Adam [Sat, 9 Nov 2013 11:52:38 +0000 (06:52 -0500)]
Use case insensitive comparison for server names for (auto)connects, issue #662

10 years agoFix parsing ADDLINE with expiration or creation dates past ~2038 probably
Adam [Sat, 9 Nov 2013 11:43:49 +0000 (06:43 -0500)]
Fix parsing ADDLINE with expiration or creation dates past ~2038 probably

10 years agoFix issue #657, fix sending FNAME with spaces
Adam [Sat, 9 Nov 2013 11:23:05 +0000 (06:23 -0500)]
Fix issue #657, fix sending FNAME with spaces

10 years agoFix m_silence looking for maxentries in <showwhois> instead of <silence>.
Peter Powell [Wed, 23 Oct 2013 22:46:08 +0000 (23:46 +0100)]
Fix m_silence looking for maxentries in <showwhois> instead of <silence>.

Fixes issue #644.

10 years agoMerge pull request #638 from SaberUK/insp20+runas-fix
Attila Molnar [Thu, 26 Sep 2013 15:01:15 +0000 (08:01 -0700)]
Merge pull request #638 from SaberUK/insp20+runas-fix

Improve error reporting for <security:runas{user,group}>.

10 years agoImprove error reporting for <security:runas{user,group}>.
Peter Powell [Tue, 24 Sep 2013 21:36:28 +0000 (22:36 +0100)]
Improve error reporting for <security:runas{user,group}>.

10 years agoWork around STB_GNU_UNIQUE symbols not allowing module unmap
attilamolnar [Sun, 15 Sep 2013 14:54:34 +0000 (16:54 +0200)]
Work around STB_GNU_UNIQUE symbols not allowing module unmap

10 years agoFix ConvToStr(char)
attilamolnar [Sat, 14 Sep 2013 13:23:45 +0000 (15:23 +0200)]
Fix ConvToStr(char)

10 years agoFix a shadow warning created by ConfigTag::create
ChrisTX [Mon, 9 Sep 2013 21:50:21 +0000 (23:50 +0200)]
Fix a shadow warning created by ConfigTag::create

10 years agom_httpd Close all open http sockets on unload
attilamolnar [Mon, 9 Sep 2013 11:30:31 +0000 (13:30 +0200)]
m_httpd Close all open http sockets on unload

10 years agom_showwhois Require 2 parameters for WHOISNOTICE
attilamolnar [Mon, 9 Sep 2013 11:22:51 +0000 (13:22 +0200)]
m_showwhois Require 2 parameters for WHOISNOTICE

10 years agoFix a crash when running as systemd service
ChrisTX [Wed, 4 Sep 2013 12:16:48 +0000 (14:16 +0200)]
Fix a crash when running as systemd service

- Fix a NULL dereference if a signal is raised in the constructor of the
class InspIRCd
- Resolve the parent's process exit code being SIGTERM=15 and typically not
EXIT_SUCCESS thus

A combination of the two caused crashes when running as systemd unit.

10 years agoMerge pull request #623 from ChrisTX/insp20+compilerfixes
Attila Molnar [Wed, 4 Sep 2013 13:42:46 +0000 (06:42 -0700)]
Merge pull request #623 from ChrisTX/insp20+compilerfixes

Improve support for rarely used compilers, EKOPath in this case.

10 years agom_spanningtree Fix timestamp in AWAY
attilamolnar [Sat, 31 Aug 2013 10:00:55 +0000 (12:00 +0200)]
m_spanningtree Fix timestamp in AWAY

10 years agoImprove support for rarely used compilers, EKOPath in this case.
ChrisTX [Fri, 30 Aug 2013 23:17:07 +0000 (01:17 +0200)]
Improve support for rarely used compilers, EKOPath in this case.

10 years agoDon't CoreExport reference, fixes m_dnsbl on Windows
attilamolnar [Fri, 30 Aug 2013 10:10:01 +0000 (12:10 +0200)]
Don't CoreExport reference, fixes m_dnsbl on Windows

The explicit instantiations of reference are now useless; remove

10 years agoRelease 2.0.14
attilamolnar [Wed, 28 Aug 2013 17:29:50 +0000 (19:29 +0200)]
Release 2.0.14

10 years agom_permchannels Fix empty topic setby
attilamolnar [Wed, 28 Aug 2013 17:27:14 +0000 (19:27 +0200)]
m_permchannels Fix empty topic setby

10 years agoUpdate COPYING file with new FSF address.
Christopher 'm4z' Holm [Sun, 25 Aug 2013 17:42:26 +0000 (19:42 +0200)]
Update COPYING file with new FSF address.

This should make rpmlint stop complaining about the incorrect FSF
address. All changes taken from:
    http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt

10 years agoFix fd and minor memory leak in threadengine_pthread on unload of m_mysql
attilamolnar [Sun, 9 Jun 2013 12:11:41 +0000 (14:11 +0200)]
Fix fd and minor memory leak in threadengine_pthread on unload of m_mysql

10 years agoFix crash caused by passing a large integer to ctime()
attilamolnar [Tue, 27 Aug 2013 16:33:32 +0000 (18:33 +0200)]
Fix crash caused by passing a large integer to ctime()

In addition to verifying the return value of localtime(), correct tm_year if it is out of bounds

Reported by @JDowny

10 years agom_permchannels Add the ability to save listmodes
attilamolnar [Tue, 9 Jul 2013 18:21:33 +0000 (20:21 +0200)]
m_permchannels Add the ability to save listmodes

10 years agom_permchannels Save channel TS, topic set time and set by information
attilamolnar [Tue, 9 Jul 2013 18:01:03 +0000 (20:01 +0200)]
m_permchannels Save channel TS, topic set time and set by information

When loading, ignore and log channels with a name longer than Limits.MaxChan

10 years agom_permchannels Construct the final line that will be saved in a std::string in WriteD...
attilamolnar [Tue, 9 Jul 2013 17:49:10 +0000 (19:49 +0200)]
m_permchannels Construct the final line that will be saved in a std::string in WriteDatabase()

10 years agoUpdate example configs, README.md and more
attilamolnar [Tue, 27 Aug 2013 16:30:59 +0000 (18:30 +0200)]
Update example configs, README.md and more

- Fix typos, remove misleading information, rephrase a few sentences
- Add info about hmac-<hash> hash types
- Remove <performance:maxwho> (the code which used this was removed in 96e4434 - @SaberUK)
- Change inspircd.github.org to inspircd.org

10 years agom_spanningtree When an IOHook goes away close all pending connections that use it
attilamolnar [Wed, 21 Aug 2013 14:38:33 +0000 (16:38 +0200)]
m_spanningtree When an IOHook goes away close all pending connections that use it

10 years agom_dnsbl Fix possible use-after-free after a rehash
attilamolnar [Wed, 21 Aug 2013 14:35:29 +0000 (16:35 +0200)]
m_dnsbl Fix possible use-after-free after a rehash

10 years agom_ssl_gnutls Fix feature testing and cipher suite related errors on older GnuTLS...
attilamolnar [Tue, 13 Aug 2013 12:10:04 +0000 (14:10 +0200)]
m_ssl_gnutls Fix feature testing and cipher suite related errors on older GnuTLS versions

Use the (old) LIBGNUTLS_VERSION_* defines as a fallback when GNUTLS_VERSION_* is unavailable

Fixes #595 reported by @rhylan

10 years agoUse server ids when propagating squits
Adam [Fri, 26 Jul 2013 11:33:45 +0000 (07:33 -0400)]
Use server ids when propagating squits

10 years agoFix generated snomask mode change string being incosistent with the input in certain...
attilamolnar [Sat, 20 Jul 2013 16:45:35 +0000 (18:45 +0200)]
Fix generated snomask mode change string being incosistent with the input in certain cases, spotted by @Robby-

10 years agom_ssl_openssl Fix inverted check that prevented certificates from being recognized...
attilamolnar [Tue, 16 Jul 2013 20:30:18 +0000 (22:30 +0200)]
m_ssl_openssl Fix inverted check that prevented certificates from being recognized as trusted

10 years agoUse the correct socket related error messages on Windows
Adam [Wed, 3 Jul 2013 21:26:45 +0000 (17:26 -0400)]
Use the correct socket related error messages on Windows

10 years agoClean up error handling in threadengine_win32
attilamolnar [Fri, 12 Jul 2013 17:30:33 +0000 (19:30 +0200)]
Clean up error handling in threadengine_win32

10 years agoMerge pull request #588 from SaberUK/insp20+fix-socketengines
Attila Molnar [Fri, 12 Jul 2013 17:28:37 +0000 (10:28 -0700)]
Merge pull request #588 from SaberUK/insp20+fix-socketengines

[2.0] Fix various socket engine bugs.

10 years agom_userip Fix incorrect "variable may be used uninitialized" warning shown by older...
attilamolnar [Tue, 9 Jul 2013 15:34:10 +0000 (17:34 +0200)]
m_userip Fix incorrect "variable may be used uninitialized" warning shown by older GCC versions

10 years agoDo not send too much data over SSL in one go
attilamolnar [Wed, 19 Jun 2013 19:53:12 +0000 (21:53 +0200)]
Do not send too much data over SSL in one go

Some clients fail to read it entirely and the remaining data stays in their read buffer until new data arrives

10 years agoFix the Poll socket engine on BSD.
Peter Powell [Sun, 7 Jul 2013 15:33:31 +0000 (16:33 +0100)]
Fix the Poll socket engine on BSD.

10 years agoFix low risk crash when we can't determine maximum open socket count.
Peter Powell [Sun, 7 Jul 2013 15:25:11 +0000 (16:25 +0100)]
Fix low risk crash when we can't determine maximum open socket count.

11 years agoMerge pull request #563 from ElementalAlchemist/patch-1
Attila Molnar [Mon, 24 Jun 2013 20:53:58 +0000 (13:53 -0700)]
Merge pull request #563 from ElementalAlchemist/patch-1

Prevent m_cgiirc from blocking indefinitely

11 years agoPrevent m_cgiirc from blocking indefinitely, resulting in registration timeouts on...
ElementalAlchemist [Thu, 20 Jun 2013 17:26:22 +0000 (14:26 -0300)]
Prevent m_cgiirc from blocking indefinitely, resulting in registration timeouts on e.g. Mibbit when webirc is not used

11 years agom_spanningtree FJOIN handler: Merge and take maxmodes into consideration when applyin...
attilamolnar [Wed, 12 Jun 2013 16:11:51 +0000 (18:11 +0200)]
m_spanningtree FJOIN handler: Merge and take maxmodes into consideration when applying non-prefix modes

11 years agoFix high CPU use on Windows when connecting to a server
attilamolnar [Sun, 9 Jun 2013 23:10:15 +0000 (01:10 +0200)]
Fix high CPU use on Windows when connecting to a server

When getting a write event for an EventHandler that wanted a single write only, remove it from the WriteSet (socketengine_select)

Fixes #556 reported by @WindowsUser

11 years agoRelease 2.0.13
attilamolnar [Wed, 5 Jun 2013 21:28:45 +0000 (23:28 +0200)]
Release 2.0.13

11 years agoRemove unnecessary string copies and dead code
attilamolnar [Wed, 5 Jun 2013 21:11:50 +0000 (23:11 +0200)]
Remove unnecessary string copies and dead code

11 years agoReport the full GnuTLS version in configure
attilamolnar [Wed, 5 Jun 2013 20:40:09 +0000 (22:40 +0200)]
Report the full GnuTLS version in configure

Fix incorrect version being reported when the minor version is longer than one digit (2.10.x)

11 years agom_spanningtree Fix FIDENT routing
attilamolnar [Tue, 4 Jun 2013 20:16:15 +0000 (22:16 +0200)]
m_spanningtree Fix FIDENT routing

A new FIDENT was broadcast for each incoming FIDENT causing harmless but unnecessary server to server traffic

11 years agoFix inet_pton on Windows with IPv6 addresses
attilamolnar [Tue, 4 Jun 2013 19:43:29 +0000 (21:43 +0200)]
Fix inet_pton on Windows with IPv6 addresses

Code from Anope win32/socket.cpp by @Adam-

11 years agom_pgsql Same fix as 0e09600a431d0e0f2cde6457e088d84caf6d6f5d
attilamolnar [Tue, 4 Jun 2013 19:38:03 +0000 (21:38 +0200)]
m_pgsql Same fix as 0e09600a431d0e0f2cde6457e088d84caf6d6f5d

11 years agocmd_who Hide +i users when listing users on a server and hidewhois is off
attilamolnar [Sat, 1 Jun 2013 18:53:45 +0000 (20:53 +0200)]
cmd_who Hide +i users when listing users on a server and hidewhois is off

Fixes #547 reported by @RawrDragon

11 years agom_mysql Fix escaping strings longer than MAXBUF/2
attilamolnar [Sat, 1 Jun 2013 18:53:32 +0000 (20:53 +0200)]
m_mysql Fix escaping strings longer than MAXBUF/2

Quotes from the documentation:
"You must allocate the to buffer to be at least length*2+1 bytes long. (In the worst case, each character may need to be encoded as using two bytes, and you need room for the terminating null byte.)"

"The return value is the length of the encoded string, not including the terminating null character."

http://dev.mysql.com/doc/refman/5.6/en/mysql-real-escape-string.html

11 years agom_userip Allow querying own IP for non-opers, require the users/auspex priv for opers...
attilamolnar [Thu, 16 May 2013 17:49:56 +0000 (19:49 +0200)]
m_userip Allow querying own IP for non-opers, require the users/auspex priv for opers to query the IP of others

Issue #513 suggested by @CuleX

11 years agom_nicklock Fix wrong hook in SetPriority()
attilamolnar [Thu, 23 May 2013 18:19:16 +0000 (20:19 +0200)]
m_nicklock Fix wrong hook in SetPriority()

11 years agoUpdate authors
attilamolnar [Thu, 23 May 2013 18:12:09 +0000 (20:12 +0200)]
Update authors

11 years agom_mysql Fix crash on rehash when the database tags have been changed in the config
attilamolnar [Wed, 22 May 2013 20:29:15 +0000 (22:29 +0200)]
m_mysql Fix crash on rehash when the database tags have been changed in the config

11 years agom_channames Fix iteration in ValidateChans()
attilamolnar [Sat, 18 May 2013 19:02:09 +0000 (21:02 +0200)]
m_channames Fix iteration in ValidateChans()

Spotted by @Adam-

11 years agom_httpd_acl Reread config on rehash
attilamolnar [Sat, 18 May 2013 14:05:08 +0000 (16:05 +0200)]
m_httpd_acl Reread config on rehash

11 years agom_geoip Set cc in OnSetConnectClass to the newly created string if it was NULL
attilamolnar [Sat, 18 May 2013 14:04:10 +0000 (16:04 +0200)]
m_geoip Set cc in OnSetConnectClass to the newly created string if it was NULL

11 years agoInitialize local_count
attilamolnar [Sat, 18 May 2013 14:03:17 +0000 (16:03 +0200)]
Initialize local_count

11 years agoFix m_randquote with 0 quotes
Adam [Thu, 16 May 2013 23:57:53 +0000 (19:57 -0400)]
Fix m_randquote with 0 quotes

11 years agoWorkaround for std::list::size() having linear complexity on some implementations
attilamolnar [Thu, 16 May 2013 18:51:12 +0000 (20:51 +0200)]
Workaround for std::list::size() having linear complexity on some implementations

11 years agoRemove unused variables, avoid copies where possible, check empty() instead of size...
attilamolnar [Thu, 16 May 2013 18:33:46 +0000 (20:33 +0200)]
Remove unused variables, avoid copies where possible, check empty() instead of size() == 0
Most of these were detected by cppcheck

11 years agoFix thread handle leak in threadengine_win32
attilamolnar [Wed, 15 May 2013 18:02:55 +0000 (20:02 +0200)]
Fix thread handle leak in threadengine_win32

11 years agoMerge pull request #526 from SaberUK/insp20+connectban-fix
Attila Molnar [Tue, 7 May 2013 01:18:50 +0000 (18:18 -0700)]
Merge pull request #526 from SaberUK/insp20+connectban-fix

[2.0] Fix an extremely low risk crash bug in m_connectban.

11 years agoFix an extremely low risk crash bug in m_connectban.
Peter Powell [Mon, 6 May 2013 16:39:24 +0000 (17:39 +0100)]
Fix an extremely low risk crash bug in m_connectban.

11 years agom_ssl_gnutls Call gnutls_transport_set_errno() on Windows only
attilamolnar [Thu, 2 May 2013 21:45:10 +0000 (23:45 +0200)]
m_ssl_gnutls Call gnutls_transport_set_errno() on Windows only

11 years agoFix gnutls (again) on Windows by using gnutls_transport_set_errno()
Adam [Wed, 1 May 2013 09:00:13 +0000 (04:00 -0500)]
Fix gnutls (again) on Windows by using gnutls_transport_set_errno()

11 years agoFix logfile path on Windows
Adam [Tue, 30 Apr 2013 03:09:09 +0000 (23:09 -0400)]
Fix logfile path on Windows

Fixes issue #510 reported by @JDowny

11 years agoFix disabling IPV6_V6ONLY on sockets, issue #511
Adam [Tue, 30 Apr 2013 02:47:15 +0000 (22:47 -0400)]
Fix disabling IPV6_V6ONLY on sockets, issue #511

11 years agoMerge pull request #509 from SaberUK/insp20+make-distclean
Attila Molnar [Sat, 27 Apr 2013 23:02:09 +0000 (16:02 -0700)]
Merge pull request #509 from SaberUK/insp20+make-distclean

Fix a few minor issues with `make distclean`.

11 years agoFix a few minor issues with `make distclean`.
Peter Powell [Sat, 27 Apr 2013 17:20:56 +0000 (18:20 +0100)]
Fix a few minor issues with `make distclean`.

- Only remove the base directory for in-source installs.
- Use full paths to the source directory.
- Update the help message to be more accurate.

11 years agoRelease 2.0.12
attilamolnar [Wed, 24 Apr 2013 17:55:01 +0000 (19:55 +0200)]
Release 2.0.12

11 years agoMove SocketEngine::IgnoreError() code into socketengine.h and add test for EWOULDBLOCK
attilamolnar [Wed, 24 Apr 2013 17:54:58 +0000 (19:54 +0200)]
Move SocketEngine::IgnoreError() code into socketengine.h and add test for EWOULDBLOCK

11 years agom_ssl_gnutls Add ability to load DH params from file
attilamolnar [Sun, 10 Mar 2013 13:08:51 +0000 (14:08 +0100)]
m_ssl_gnutls Add ability to load DH params from file

This greatly decreases the load time because the DH parameters no longer have to be (re)generated each time the module is loaded

11 years agom_spanningtree Fix crash when connecting to a remote server that has the same name...
attilamolnar [Tue, 23 Apr 2013 13:10:33 +0000 (15:10 +0200)]
m_spanningtree Fix crash when connecting to a remote server that has the same name as we do and also there is a link block with our server name and their password

See 49223cfe12ecd9071123f724e615e63841f2421d

11 years agoAdd config option to disable somaxconn range() check
attilamolnar [Tue, 23 Apr 2013 13:01:15 +0000 (15:01 +0200)]
Add config option to disable somaxconn range() check

11 years agom_rline Switch to OnUserRegister hook to disconnect banned users earlier
attilamolnar [Sun, 21 Apr 2013 16:09:41 +0000 (18:09 +0200)]
m_rline Switch to OnUserRegister hook to disconnect banned users earlier

11 years agom_filter, m_rline Remove rlines and filters when the regex engine changes or becomes...
attilamolnar [Sun, 21 Apr 2013 16:03:07 +0000 (18:03 +0200)]
m_filter, m_rline Remove rlines and filters when the regex engine changes or becomes unavailable

11 years agom_filter Fix memory leak on unload
attilamolnar [Sun, 21 Apr 2013 15:41:03 +0000 (17:41 +0200)]
m_filter Fix memory leak on unload

11 years agoLog some internal errors on DEFAULT loglevel instead of DEBUG, log detected errors...
attilamolnar [Sun, 21 Apr 2013 15:20:28 +0000 (17:20 +0200)]
Log some internal errors on DEFAULT loglevel instead of DEBUG, log detected errors in m_callerid

11 years agom_permchannels Workaround for alphabetical module initialization order
attilamolnar [Sun, 21 Apr 2013 13:40:19 +0000 (15:40 +0200)]
m_permchannels Workaround for alphabetical module initialization order

Read database after all modules have been inited
Add exception logging

Fixes #485 reported by @gholms

11 years agoDon't crop the channel name if it's too long in Channel::Channel()
attilamolnar [Sun, 21 Apr 2013 13:30:51 +0000 (15:30 +0200)]
Don't crop the channel name if it's too long in Channel::Channel()

...and especially don't use the shortened name in one place and the original in another

Having different <limits:maxchan> values on the same network is not supported

11 years agoImmediately stop processing whenever we detect and handle a RecvQ overrun
attilamolnar [Fri, 19 Apr 2013 15:07:10 +0000 (17:07 +0200)]
Immediately stop processing whenever we detect and handle a RecvQ overrun

Thanks to @SimosNap for the report and cooperation

11 years agoFix uuids getting truncated in the nick hash in UserManager::AddUser() if nickmax...
attilamolnar [Fri, 19 Apr 2013 15:06:35 +0000 (17:06 +0200)]
Fix uuids getting truncated in the nick hash in UserManager::AddUser() if nickmax is < 9

11 years agom_ident Invalidate cache after changing User::ident
attilamolnar [Fri, 19 Apr 2013 15:06:07 +0000 (17:06 +0200)]
m_ident Invalidate cache after changing User::ident

11 years agom_callerid Allow messaging yourself while +g regardless of the ACCEPT list
attilamolnar [Fri, 19 Apr 2013 15:05:50 +0000 (17:05 +0200)]
m_callerid Allow messaging yourself while +g regardless of the ACCEPT list

11 years agom_spanningtree Fix IS_LOCAL() check in OnRehash handler
attilamolnar [Thu, 18 Apr 2013 20:50:12 +0000 (22:50 +0200)]
m_spanningtree Fix IS_LOCAL() check in OnRehash handler

11 years agom_callerid Ignore duplicate entries when unserializing callerid_data
attilamolnar [Thu, 18 Apr 2013 11:25:28 +0000 (13:25 +0200)]
m_callerid Ignore duplicate entries when unserializing callerid_data

11 years agom_callerid Fix bookkeeping error introduced when unserializing callerid_data
attilamolnar [Thu, 18 Apr 2013 01:30:22 +0000 (03:30 +0200)]
m_callerid Fix bookkeeping error introduced when unserializing callerid_data

This also fixes a memory leak that didn't occur naturally but was triggerable by remote servers

Thanks to @SimosNap for the report

11 years agoFix m_ssl_gnutls and perhaps some other things on Windows by recognizing WSAEWOULDBLOCK
Adam [Tue, 16 Apr 2013 08:34:58 +0000 (03:34 -0500)]
Fix m_ssl_gnutls and perhaps some other things on Windows by recognizing WSAEWOULDBLOCK

11 years agom_kicknorejoin Store and compare uuids instead pointers
attilamolnar [Tue, 16 Apr 2013 11:20:24 +0000 (13:20 +0200)]
m_kicknorejoin Store and compare uuids instead pointers

Fixes the off chance scenario where we disallow a join because a previously kicked user has quit and the User who is trying to join happens to be allocated at the exact same memory location

11 years agom_kicknorejoin Limit time to 30m by default
attilamolnar [Mon, 18 Feb 2013 18:56:05 +0000 (19:56 +0100)]
m_kicknorejoin Limit time to 30m by default

In the current implementation we only expire entries when someone joins, without a limit it was possible to make us practically never remove entries and consume (a tiny amount of) memory for each entry until the mode was removed/parameter was changed

The default limit of 30m is chosen to not surprise people when they upgrade. If you need to prevent rejoins for more than a minute then you should set a (timed)ban instead

Config option is available to change the limit (2.0 only)

11 years agom_kicknorejoin Minor improvements
attilamolnar [Sun, 2 Dec 2012 16:54:23 +0000 (17:54 +0100)]
m_kicknorejoin Minor improvements

- Ignore remote users
- Remove expired items in one pass

11 years agoClose listening sockets regardless of the return value of shutdown()
attilamolnar [Tue, 16 Apr 2013 11:11:21 +0000 (13:11 +0200)]
Close listening sockets regardless of the return value of shutdown()

11 years agoDo not enable SO_LINGER on our sockets
attilamolnar [Mon, 15 Apr 2013 22:20:01 +0000 (00:20 +0200)]
Do not enable SO_LINGER on our sockets

Using this option allowed close() to block for up to a second

Thanks to Shamsdeen and Rix for their assistance that made this fix possible

Fixes issue #445 reported by @shaggie76
Fixes issue #494 reported by @Rixcho

11 years agoMerge pull request #484 from SaberUK/insp20+fix-modulemanager
Attila Molnar [Wed, 10 Apr 2013 19:28:22 +0000 (12:28 -0700)]
Merge pull request #484 from SaberUK/insp20+fix-modulemanager

Fix ModuleManager error caused by a lack of arguments.

11 years agoFix ModuleManager error caused by a lack of arguments.
Peter Powell [Wed, 10 Apr 2013 05:06:53 +0000 (06:06 +0100)]
Fix ModuleManager error caused by a lack of arguments.

11 years agom_spanningtree Create new TreeServers for incoming connections only when they've...
attilamolnar [Wed, 10 Apr 2013 15:05:13 +0000 (17:05 +0200)]
m_spanningtree Create new TreeServers for incoming connections only when they've accepted our credentials, not when they send SERVER