]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
9 years agoUpdate example configuration to say the new style module names everywhere
Attila Molnar [Wed, 20 May 2015 13:20:00 +0000 (15:20 +0200)]
Update example configuration to say the new style module names everywhere

9 years agoAllow modules to be called as "foo" instead of "m_foo.so"
Attila Molnar [Wed, 20 May 2015 13:02:24 +0000 (15:02 +0200)]
Allow modules to be called as "foo" instead of "m_foo.so"

9 years agom_spanningtree Fix harmless valgrind warning about uninit var usage on unload
Attila Molnar [Tue, 19 May 2015 21:33:07 +0000 (23:33 +0200)]
m_spanningtree Fix harmless valgrind warning about uninit var usage on unload

9 years agoIncrease entries in valgrind stack traces to 30 (--num-callers)
Attila Molnar [Tue, 19 May 2015 21:31:02 +0000 (23:31 +0200)]
Increase entries in valgrind stack traces to 30 (--num-callers)

9 years agoMerge branch 'master+movenames'
Attila Molnar [Tue, 19 May 2015 21:10:21 +0000 (23:10 +0200)]
Merge branch 'master+movenames'

9 years agoNew m_ldap from Anope
Adam [Tue, 24 Feb 2015 15:17:19 +0000 (10:17 -0500)]
New m_ldap from Anope

Redesign to be more like m_mysql, polling ldap_result from a thread as
done previously is undefined.

9 years agoMove InspIRCd::SendError() to cmd_die
Attila Molnar [Sun, 17 May 2015 16:13:45 +0000 (18:13 +0200)]
Move InspIRCd::SendError() to cmd_die

Fix multiple ERROR messages being sent to unregistered users by removing the "Exiting with status..." message

9 years agoMove code that quits all users from InspIRCd::Cleanup() to cmd_die
Attila Molnar [Sun, 17 May 2015 16:08:49 +0000 (18:08 +0200)]
Move code that quits all users from InspIRCd::Cleanup() to cmd_die

9 years agoFix incorrect iterator use leading to prematurely exiting loops when quitting users...
Attila Molnar [Sun, 17 May 2015 16:00:42 +0000 (18:00 +0200)]
Fix incorrect iterator use leading to prematurely exiting loops when quitting users while looping the local user list

9 years agoMerge pull request #1048 from SaberUK/master+ipv6-stats
Attila Molnar [Sun, 17 May 2015 15:05:26 +0000 (17:05 +0200)]
Merge pull request #1048 from SaberUK/master+ipv6-stats

Encase the IPv6 address in `STATS p` with square brackets.

9 years agoEncase the IPv6 address in `STATS p` with square brackets.
Peter Powell [Sun, 17 May 2015 11:37:18 +0000 (12:37 +0100)]
Encase the IPv6 address in `STATS p` with square brackets.

This is a widely used format as without it the port is ambigious.

9 years agocmd_names Do the HasPrivPermission() check only in the NAMES handler
Attila Molnar [Sat, 16 May 2015 14:53:21 +0000 (16:53 +0200)]
cmd_names Do the HasPrivPermission() check only in the NAMES handler

9 years agoMove Channel::UserList() from core to cmd_names
Attila Molnar [Sat, 16 May 2015 14:49:37 +0000 (16:49 +0200)]
Move Channel::UserList() from core to cmd_names

9 years agoMove topic and NAMES sending on join from core into core_channel
Attila Molnar [Sat, 16 May 2015 14:40:22 +0000 (16:40 +0200)]
Move topic and NAMES sending on join from core into core_channel

9 years agocmd_topic Extract code sending RPL_TOPIC and RPL_TOPICTIME into a function
Attila Molnar [Sat, 16 May 2015 14:36:12 +0000 (16:36 +0200)]
cmd_topic Extract code sending RPL_TOPIC and RPL_TOPICTIME into a function

9 years agoMerge pull request #1024 from SaberUK/master+make-perl-cleanup
Attila Molnar [Wed, 13 May 2015 14:23:15 +0000 (16:23 +0200)]
Merge pull request #1024 from SaberUK/master+make-perl-cleanup

Start cleaning up the make/*.pl files.

9 years agoRemove run-cc.pl and all associated code.
Peter Powell [Sun, 22 Mar 2015 00:54:56 +0000 (00:54 +0000)]
Remove run-cc.pl and all associated code.

As far as I can tell this only worked with older versions of GCC
and there is no value in fixing it as diagnostics have improved
since then and it makes errors hard to search for anyway.

This also shaves off an average of five seconds on each build on
my hardware. Neat!

9 years agounit-cc: Remove workaround which existed for 2.0.x only.
Peter Powell [Sun, 22 Mar 2015 01:52:59 +0000 (01:52 +0000)]
unit-cc: Remove workaround which existed for 2.0.x only.

9 years agounit-cc: Use the same preamble as other Perl tools.
Peter Powell [Sun, 22 Mar 2015 01:52:10 +0000 (01:52 +0000)]
unit-cc: Use the same preamble as other Perl tools.

9 years agocalcdep: Unify coremod and module building code.
Peter Powell [Sat, 7 Feb 2015 19:19:56 +0000 (19:19 +0000)]
calcdep: Unify coremod and module building code.

9 years agocalcdep: Clean up some unused/duplicate variables.
Peter Powell [Sat, 7 Feb 2015 17:58:16 +0000 (17:58 +0000)]
calcdep: Clean up some unused/duplicate variables.

9 years agocalcdep: Use the same preamble as other Perl tools.
Peter Powell [Sat, 7 Feb 2015 17:55:20 +0000 (17:55 +0000)]
calcdep: Use the same preamble as other Perl tools.

9 years agocalcdep: Remove a workaround for a very old version of BSD Make.
Peter Powell [Sat, 7 Feb 2015 17:33:18 +0000 (17:33 +0000)]
calcdep: Remove a workaround for a very old version of BSD Make.

9 years agoMerge pull request #1041 from SaberUK/master+ipv6-nameserver
Attila Molnar [Wed, 13 May 2015 14:04:52 +0000 (16:04 +0200)]
Merge pull request #1041 from SaberUK/master+ipv6-nameserver

Fix IPv6 nameservers not being detected by the resolv.conf parser.

9 years agocore_dns Set the TTL of the cache entry to the lowest TTL in a set of ResourceRecords
Attila Molnar [Tue, 12 May 2015 22:56:35 +0000 (00:56 +0200)]
core_dns Set the TTL of the cache entry to the lowest TTL in a set of ResourceRecords

9 years agocore_dns Only clear the slot of the request if the object in the slot matches what...
Attila Molnar [Tue, 12 May 2015 22:45:19 +0000 (00:45 +0200)]
core_dns Only clear the slot of the request if the object in the slot matches what was passed to MyManager::RemoveRequest()

9 years agocore_dns Add DNS timeout timer in Process() not in DNS::Request constructor
Attila Molnar [Tue, 12 May 2015 22:43:00 +0000 (00:43 +0200)]
core_dns Add DNS timeout timer in Process() not in DNS::Request constructor

9 years agocore_dns Make MAX_REQUEST_ID unsigned, move it to core_dns from header
Attila Molnar [Tue, 12 May 2015 22:39:54 +0000 (00:39 +0200)]
core_dns Make MAX_REQUEST_ID unsigned, move it to core_dns from header

9 years agom_spanningtree Use uint64_t for the burst start time to avoid overflows
Attila Molnar [Tue, 12 May 2015 22:26:02 +0000 (00:26 +0200)]
m_spanningtree Use uint64_t for the burst start time to avoid overflows

9 years agom_spanningtree Clean up comments
Attila Molnar [Tue, 12 May 2015 22:19:12 +0000 (00:19 +0200)]
m_spanningtree Clean up comments

9 years agoRemove support for non-unloadable (VF_STATIC) modules
Attila Molnar [Tue, 12 May 2015 21:42:20 +0000 (23:42 +0200)]
Remove support for non-unloadable (VF_STATIC) modules

No module we ship uses this flag and new modules should not use it either to make hotfixing possible

9 years agocmd_modules Don't show the memory addresses of Module objects to opers
Attila Molnar [Tue, 12 May 2015 21:38:53 +0000 (23:38 +0200)]
cmd_modules Don't show the memory addresses of Module objects to opers

9 years agoMerge insp20
Attila Molnar [Sun, 10 May 2015 17:20:06 +0000 (19:20 +0200)]
Merge insp20

9 years agoRelease v2.0.20
Attila Molnar [Sun, 10 May 2015 05:24:10 +0000 (07:24 +0200)]
Release v2.0.20

9 years agoMerge pull request #1039 from SaberUK/insp20+fix-restrictmsg-uline
Attila Molnar [Sun, 10 May 2015 05:22:45 +0000 (07:22 +0200)]
Merge pull request #1039 from SaberUK/insp20+fix-restrictmsg-uline

[2.0] Fix not being able to message ulines when m_restrictmsg is loaded.

9 years agoFix not being able to message ulines when m_restrictmsg is loaded.
Peter Powell [Tue, 28 Apr 2015 19:22:34 +0000 (20:22 +0100)]
Fix not being able to message ulines when m_restrictmsg is loaded.

9 years agoFix IPv6 nameservers not being detected by the resolv.conf parser.
Peter Powell [Sun, 10 May 2015 03:36:38 +0000 (04:36 +0100)]
Fix IPv6 nameservers not being detected by the resolv.conf parser.

This fixes #973. Forward port of #974.

9 years agom_ssl_gnutls Hold users in pre-registration state until the handshake is completed
Attila Molnar [Sat, 9 May 2015 22:37:28 +0000 (00:37 +0200)]
m_ssl_gnutls Hold users in pre-registration state until the handshake is completed

9 years agoMerge branch 'master+whoiscontext'
Attila Molnar [Mon, 4 May 2015 11:24:48 +0000 (13:24 +0200)]
Merge branch 'master+whoiscontext'

9 years agocore_whois Fix numeric 319 not obeying MaxLine
Attila Molnar [Mon, 4 May 2015 10:02:28 +0000 (12:02 +0200)]
core_whois Fix numeric 319 not obeying MaxLine

9 years agocore_hostname_lookup Don't adjust DnsBad stats
Attila Molnar [Fri, 1 May 2015 14:43:02 +0000 (16:43 +0200)]
core_hostname_lookup Don't adjust DnsBad stats

This is done by core_dns

9 years agom_httpd Fix iteration in OnUnloadModule()
Attila Molnar [Fri, 1 May 2015 14:40:22 +0000 (16:40 +0200)]
m_httpd Fix iteration in OnUnloadModule()

9 years agocore_whois Simplify CommandWhois::SplitChanList()
Attila Molnar [Tue, 28 Apr 2015 13:19:09 +0000 (15:19 +0200)]
core_whois Simplify CommandWhois::SplitChanList()

9 years agoMove OnWhois* events to core_whois, add Whois::Context
Attila Molnar [Tue, 28 Apr 2015 13:16:22 +0000 (15:16 +0200)]
Move OnWhois* events to core_whois, add Whois::Context

Remove InspIRCd::SendWhoisLine()

9 years agoPrepend target user nick to whois numerics in InspIRCd::SendWhoisLine()
Attila Molnar [Tue, 28 Apr 2015 13:02:41 +0000 (15:02 +0200)]
Prepend target user nick to whois numerics in InspIRCd::SendWhoisLine()

9 years agom_servprotect Remove pointless compare of src and dst from OnWhoisLine handler
Attila Molnar [Tue, 28 Apr 2015 12:52:50 +0000 (14:52 +0200)]
m_servprotect Remove pointless compare of src and dst from OnWhoisLine handler

9 years agoMerge branch 'master+dns'
Attila Molnar [Mon, 27 Apr 2015 18:02:01 +0000 (20:02 +0200)]
Merge branch 'master+dns'

9 years agocore_dns Drop incoming packets containing a different question from what we asked
Attila Molnar [Mon, 27 Apr 2015 17:28:00 +0000 (19:28 +0200)]
core_dns Drop incoming packets containing a different question from what we asked

9 years agocore_dns Update DNS::Request::name to be the same as in the packet
Attila Molnar [Mon, 27 Apr 2015 17:23:14 +0000 (19:23 +0200)]
core_dns Update DNS::Request::name to be the same as in the packet

9 years agocore_dns Remove incomplete support for multiple questions per query
Attila Molnar [Tue, 21 Apr 2015 13:24:10 +0000 (15:24 +0200)]
core_dns Remove incomplete support for multiple questions per query

9 years agocore_dns Reject incoming packets with qdcount != 1
Attila Molnar [Tue, 21 Apr 2015 13:17:02 +0000 (15:17 +0200)]
core_dns Reject incoming packets with qdcount != 1

9 years agocore_dns Don't store query class code in Question
Attila Molnar [Tue, 21 Apr 2015 13:14:29 +0000 (15:14 +0200)]
core_dns Don't store query class code in Question

9 years agocore_dns Remove ability to pack answers
Attila Molnar [Tue, 21 Apr 2015 13:10:07 +0000 (15:10 +0200)]
core_dns Remove ability to pack answers

9 years agocore_dns Add typedef for request id, change it to uint16_t
Attila Molnar [Tue, 21 Apr 2015 13:08:10 +0000 (15:08 +0200)]
core_dns Add typedef for request id, change it to uint16_t

9 years agocore_dns Allow usage of id 65535
Attila Molnar [Tue, 21 Apr 2015 13:05:49 +0000 (15:05 +0200)]
core_dns Allow usage of id 65535

9 years agocore_dns Allow usage of id 0
Attila Molnar [Tue, 21 Apr 2015 13:00:01 +0000 (15:00 +0200)]
core_dns Allow usage of id 0

9 years agocore_dns Move packet source address checking before packet processing
Adam [Mon, 20 Apr 2015 01:57:38 +0000 (21:57 -0400)]
core_dns Move packet source address checking before packet processing

9 years agoMerge insp20
Attila Molnar [Mon, 20 Apr 2015 15:40:12 +0000 (17:40 +0200)]
Merge insp20

9 years agoRelease v2.0.19
Attila Molnar [Thu, 16 Apr 2015 21:17:02 +0000 (23:17 +0200)]
Release v2.0.19

9 years agom_sasl Update description, SASL is no longer exclusive to Atheme
Attila Molnar [Thu, 16 Apr 2015 21:12:47 +0000 (23:12 +0200)]
m_sasl Update description, SASL is no longer exclusive to Atheme

9 years agom_dccallow Validate tokens before use
Attila Molnar [Thu, 16 Apr 2015 21:00:56 +0000 (23:00 +0200)]
m_dccallow Validate tokens before use

9 years agocmd_userhost Fix +H hidden opers being shown as opers
Attila Molnar [Thu, 16 Apr 2015 20:51:41 +0000 (22:51 +0200)]
cmd_userhost Fix +H hidden opers being shown as opers

9 years agoRevert c8b344ea748d62d9f37cacd4dd785f15b186725c to fix regression
Attila Molnar [Thu, 16 Apr 2015 20:50:06 +0000 (22:50 +0200)]
Revert c8b344ea748d62d9f37cacd4dd785f15b186725c to fix regression

Fixes issue #989 reported by @B00mX0r

9 years agoMerge branch 'insp20+timedbans' into insp20
Attila Molnar [Thu, 16 Apr 2015 19:20:02 +0000 (21:20 +0200)]
Merge branch 'insp20+timedbans' into insp20

9 years agom_sasl Add missing validation for server-to-server SASL message
Attila Molnar [Thu, 16 Apr 2015 19:13:07 +0000 (21:13 +0200)]
m_sasl Add missing validation for server-to-server SASL message

9 years agoReject replies to DNS PTR requests that contain invalid characters
Attila Molnar [Thu, 16 Apr 2015 16:04:03 +0000 (18:04 +0200)]
Reject replies to DNS PTR requests that contain invalid characters

Fixes issue #1033 reported by @ping86

9 years agoRemove exception handling from StreamSocket methods calling IOHooks
Attila Molnar [Wed, 15 Apr 2015 21:49:05 +0000 (23:49 +0200)]
Remove exception handling from StreamSocket methods calling IOHooks

IOHooks don't throw exceptions

9 years agoMerge branch 'master+ehdispatch'
Attila Molnar [Wed, 15 Apr 2015 21:45:12 +0000 (23:45 +0200)]
Merge branch 'master+ehdispatch'

9 years agoMerge pull request #1028 from Adam-/master+ipv6dnsbl
Attila Molnar [Wed, 15 Apr 2015 21:39:08 +0000 (23:39 +0200)]
Merge pull request #1028 from Adam-/master+ipv6dnsbl

Add ipv6 dnsbl support

9 years agom_timedbans Notice user when trying to set a ban that's already set
Attila Molnar [Mon, 13 Apr 2015 13:49:29 +0000 (15:49 +0200)]
m_timedbans Notice user when trying to set a ban that's already set

9 years agom_timedbans Extract IsBanSet() to a function
Attila Molnar [Mon, 13 Apr 2015 13:48:00 +0000 (15:48 +0200)]
m_timedbans Extract IsBanSet() to a function

9 years agom_timedbans On channel destruction remove all timed bans belonging to the channel...
Attila Molnar [Mon, 13 Apr 2015 13:42:06 +0000 (15:42 +0200)]
m_timedbans On channel destruction remove all timed bans belonging to the channel from internal bookkeeping

9 years agom_timedbans Store Channel pointer in struct TimedBan
Attila Molnar [Mon, 13 Apr 2015 13:40:26 +0000 (15:40 +0200)]
m_timedbans Store Channel pointer in struct TimedBan

9 years agoChange StreamSocket::DoRead() and DoWrite() to be non-virtual, make DoRead() private
Attila Molnar [Sun, 12 Apr 2015 14:22:09 +0000 (16:22 +0200)]
Change StreamSocket::DoRead() and DoWrite() to be non-virtual, make DoRead() private

9 years agoDispatch EventHandler events to dedicated virtual functions
Attila Molnar [Sun, 12 Apr 2015 14:20:13 +0000 (16:20 +0200)]
Dispatch EventHandler events to dedicated virtual functions

Remove enum EventType

9 years agoAdd ipv6 dnsbl support
Adam [Mon, 6 Apr 2015 14:20:20 +0000 (10:20 -0400)]
Add ipv6 dnsbl support

9 years agoMerge pull request #1021 from SaberUK/master+perl510
Attila Molnar [Thu, 26 Mar 2015 22:13:15 +0000 (23:13 +0100)]
Merge pull request #1021 from SaberUK/master+perl510

Convert build system to Perl 5.10.

9 years agoConvert the build system to Perl 5.10.
Peter Powell [Sat, 21 Mar 2015 20:04:03 +0000 (20:04 +0000)]
Convert the build system to Perl 5.10.

Thanks to Kross for the heads up on "use feature".

9 years agoMerge pull request #1005 from SaberUK/master+minor-tweaks
Attila Molnar [Sun, 22 Mar 2015 23:54:40 +0000 (00:54 +0100)]
Merge pull request #1005 from SaberUK/master+minor-tweaks

Various changes mainly relating to the build system.

9 years agoMerge pull request #1004 from SaberUK/insp20+fix-various-warnings
Attila Molnar [Sun, 22 Mar 2015 23:42:59 +0000 (00:42 +0100)]
Merge pull request #1004 from SaberUK/insp20+fix-various-warnings

[2.0] Fix various warnings with the new Doxygen and LLVM releases.

9 years agoMerge pull request #1016 from Renegade334/insp20+docs-no-extbanM
Attila Molnar [Sun, 22 Mar 2015 23:40:09 +0000 (00:40 +0100)]
Merge pull request #1016 from Renegade334/insp20+docs-no-extbanM

Remove non-existant extban M: from docs

9 years agoMerge pull request #1009 from SaberUK/insp20+fix-dirty-env
Attila Molnar [Sun, 22 Mar 2015 23:40:05 +0000 (00:40 +0100)]
Merge pull request #1009 from SaberUK/insp20+fix-dirty-env

[2.0] Fix building when VERBOSE is already set in the environment.

9 years agoRebuild clone counts on rehash
Adam [Tue, 3 Mar 2015 20:45:22 +0000 (15:45 -0500)]
Rebuild clone counts on rehash

9 years agoRemove non-existant extban M: from docs
Renegade334 [Mon, 16 Mar 2015 19:57:04 +0000 (19:57 +0000)]
Remove non-existant extban M: from docs
extban M: has not existed since 2d732f4d in 2009...

9 years agoFix building when VERBOSE is already set in the environment.
Peter Powell [Mon, 9 Mar 2015 15:26:40 +0000 (15:26 +0000)]
Fix building when VERBOSE is already set in the environment.

This is a workaround for now. In 2.2 we should prefix all of the
environment variables with INSPIRCD_ to avoid collisions.

9 years agoFix dodgy indentation in configure.
Peter Powell [Sun, 8 Mar 2015 22:04:32 +0000 (22:04 +0000)]
Fix dodgy indentation in configure.

9 years agom_ssl_gnutls Set a vector push function on GnuTLS 2.12 and later
Attila Molnar [Fri, 6 Mar 2015 17:24:11 +0000 (18:24 +0100)]
m_ssl_gnutls Set a vector push function on GnuTLS 2.12 and later

Setting a vector push function is recommended to reduce overhead during handshake

9 years agoMerge branch 'master+writev'
Attila Molnar [Fri, 6 Mar 2015 17:04:13 +0000 (18:04 +0100)]
Merge branch 'master+writev'

9 years agoMerge branch 'master+sslcleanup'
Attila Molnar [Fri, 6 Mar 2015 17:03:38 +0000 (18:03 +0100)]
Merge branch 'master+sslcleanup'

9 years agoChange server name in `./configure --help` to use the alias.
Peter Powell [Fri, 6 Mar 2015 16:10:49 +0000 (16:10 +0000)]
Change server name in `./configure --help` to use the alias.

Requested by @attilamolnar.

9 years agoFix building modules that use cap.h with a C++11 compiler.
Peter Powell [Sat, 28 Feb 2015 05:39:24 +0000 (05:39 +0000)]
Fix building modules that use cap.h with a C++11 compiler.

9 years agoAdd development version checks to non-interactive mode.
Peter Powell [Wed, 25 Feb 2015 19:57:10 +0000 (19:57 +0000)]
Add development version checks to non-interactive mode.

9 years agoCreate installation directories with make install not configure.
Peter Powell [Tue, 24 Feb 2015 00:07:33 +0000 (00:07 +0000)]
Create installation directories with make install not configure.

This fixes system-wide installations requiring root in order to
create directories.

9 years agom_ssl_openssl Remove OpenSSLIOHook::outbound and is_outbound constructor parameter
Attila Molnar [Thu, 5 Mar 2015 16:36:46 +0000 (17:36 +0100)]
m_ssl_openssl Remove OpenSSLIOHook::outbound and is_outbound constructor parameter

9 years agom_ssl_openssl Specify TLS client/server role on session creation, switch to SSL_do_ha...
Attila Molnar [Thu, 5 Mar 2015 16:35:17 +0000 (17:35 +0100)]
m_ssl_openssl Specify TLS client/server role on session creation, switch to SSL_do_handshake()

9 years agom_ssl_gnutls Pass client/server role to GnuTLSIOHook constructor as a GNUTLS_* constant
Attila Molnar [Thu, 5 Mar 2015 16:28:51 +0000 (17:28 +0100)]
m_ssl_gnutls Pass client/server role to GnuTLSIOHook constructor as a GNUTLS_* constant

9 years agom_ssl_gnutls Add typedef for second parameter of gnutls_init() which changed in 2.99
Attila Molnar [Thu, 5 Mar 2015 16:26:44 +0000 (17:26 +0100)]
m_ssl_gnutls Add typedef for second parameter of gnutls_init() which changed in 2.99

9 years agom_ssl_gnutls Move GnuTLSIOHook::InitSession() code to constructor and GnuTLS::Profile...
Attila Molnar [Thu, 5 Mar 2015 16:17:19 +0000 (17:17 +0100)]
m_ssl_gnutls Move GnuTLSIOHook::InitSession() code to constructor and GnuTLS::Profile::SetupSession()

9 years agom_ssl_gnutls, m_ssl_openssl Deduplicate Handshake() calling code
Attila Molnar [Thu, 5 Mar 2015 16:12:34 +0000 (17:12 +0100)]
m_ssl_gnutls, m_ssl_openssl Deduplicate Handshake() calling code

9 years agom_ssl_gnutls, m_ssl_openssl Simplify status handling in IOHook read/write handlers
Attila Molnar [Thu, 5 Mar 2015 15:52:06 +0000 (16:52 +0100)]
m_ssl_gnutls, m_ssl_openssl Simplify status handling in IOHook read/write handlers

Remove states ISSL_CLOSING and ISSL_CLOSED from m_ssl_gnutls