]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
12 years agomlock: we should only enforce against modes set by our own clients
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

12 years agomlock: handle case where no mlock has been set on a channel yet
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

12 years agodocs/modules.conf: document availability of MLOCK module.
William Pitcock [Fri, 4 May 2012 23:51:58 +0000 (23:51 +0000)]
docs/modules.conf: document availability of MLOCK module.

12 years agomodules/m_mlock: new module implementing server-side MLOCK.
William Pitcock [Fri, 4 May 2012 23:39:18 +0000 (23:39 +0000)]
modules/m_mlock: new module implementing server-side MLOCK.

12 years agoMerge pull request #96 from Justasic/insp20
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

12 years agoFixed using a function on every call for /motd, causing lag on large networks (reques...
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)

12 years agoMerge pull request #92 from Robby-/insp20-headers
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

12 years agoAdded C/C++ style escape codes for color codes in the MOTD along with @SaberUK's...
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

12 years agoresource.rc: update copyright to 2012
Robby- [Fri, 20 Apr 2012 16:34:40 +0000 (18:34 +0200)]
resource.rc: update copyright to 2012

12 years agoHeaders: update remaining scripts too
Robby- [Fri, 20 Apr 2012 16:33:52 +0000 (18:33 +0200)]
Headers: update remaining scripts too

12 years agoReplace copyright headers with headers granting specific authors copyright
Robby- [Thu, 19 Apr 2012 18:58:29 +0000 (20:58 +0200)]
Replace copyright headers with headers granting specific authors copyright

12 years agoMerge pull request #85 from Robby-/insp20-typosnstuff
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

12 years agoMerge pull request #88 from Robby-/insp20-helpop
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

12 years agoRevert 05e6330fbd6e9a427c09cf90e2cada10656c48f7 and reference HELPOP instead (afteral...
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

12 years agoAdd conf/ to include paths and fix some typos
Robby- [Thu, 19 Apr 2012 08:30:08 +0000 (10:30 +0200)]
Add conf/ to include paths and fix some typos

12 years agoMerge pull request #84 from attilamolnar/insp20+whoisfix
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

12 years agoMerge pull request #83 from attilamolnar/insp20+remotestatsfix
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)

12 years agoAvoid sending empty channel list numeric on whois if the target is not in any channels.
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.

12 years agoFix issue #18 reported by @int- (remote restriction on /stats)
attilamolnar [Wed, 18 Apr 2012 22:38:38 +0000 (00:38 +0200)]
Fix issue #18 reported by @int- (remote restriction on /stats)

12 years agoNo need to check elines twice..
Robin Burchell [Wed, 18 Apr 2012 15:43:59 +0000 (17:43 +0200)]
No need to check elines twice..

12 years agoForward port 1d703dcf7858a322c823bbd80f9507b627c5738c.
attilamolnar [Wed, 18 Apr 2012 14:40:59 +0000 (16:40 +0200)]
Forward port 1d703dcf7858a322c823bbd80f9507b627c5738c.

12 years agoMerge pull request #74 from Robby-/insp20-statsupdates
Robin Burchell [Wed, 18 Apr 2012 14:36:07 +0000 (07:36 -0700)]
Merge pull request #74 from Robby-/insp20-statsupdates

[2.0] /STATS updates

12 years agoLog mode errors when processing FJOIN.
Robin Burchell [Wed, 18 Apr 2012 14:06:58 +0000 (16:06 +0200)]
Log mode errors when processing FJOIN.

12 years agoFix typo.
Robin Burchell [Wed, 18 Apr 2012 13:15:17 +0000 (15:15 +0200)]
Fix typo.

12 years agoMatch the logging in the rest of this module.
Robin Burchell [Wed, 18 Apr 2012 13:14:04 +0000 (15:14 +0200)]
Match the logging in the rest of this module.

12 years agoBe more helpful when processing commands from a linked server.
Robin Burchell [Wed, 18 Apr 2012 13:02:54 +0000 (15:02 +0200)]
Be more helpful when processing commands from a linked server.

When diagnosing errors with s2s traffic, it costs us next to nothing to try a
little harder to generate useful errors so errors are immediately apparent.

12 years ago/STATS: updates
Robby- [Wed, 18 Apr 2012 11:34:25 +0000 (13:34 +0200)]
/STATS: updates

12 years agoMerge pull request #70 from Shawn-Smith/insp20+chancreatefix
Robin Burchell [Wed, 18 Apr 2012 07:17:05 +0000 (00:17 -0700)]
Merge pull request #70 from Shawn-Smith/insp20+chancreatefix

[2.0] Fixes the j/J snomask not working properly.

12 years agoMerge pull request #68 from SaberUK/update-doxygen
Robin Burchell [Tue, 17 Apr 2012 11:53:58 +0000 (04:53 -0700)]
Merge pull request #68 from SaberUK/update-doxygen

Update Doxyfile.

12 years agoUpdate Doxyfile.
Peter Powell [Tue, 17 Apr 2012 11:41:41 +0000 (12:41 +0100)]
Update Doxyfile.

12 years agoremove trailing whitespace
Robin Burchell [Mon, 16 Apr 2012 13:13:40 +0000 (15:13 +0200)]
remove trailing whitespace

12 years agoFileWriter hasn't been non-blocking for a very, very long time.
Robin Burchell [Mon, 16 Apr 2012 10:01:36 +0000 (12:01 +0200)]
FileWriter hasn't been non-blocking for a very, very long time.

12 years agofix build on kfreebsd
Christoph Egger [Sat, 14 Apr 2012 01:10:40 +0000 (03:10 +0200)]
fix build on kfreebsd

fixes #64

12 years agoFix compilation with GCC 4.7.
Guillaume Delacour [Mon, 16 Apr 2012 06:20:46 +0000 (08:20 +0200)]
Fix compilation with GCC 4.7.

GCC 4.7 headers no longer implicitly include unistd.h in many places, see
http://gcc.gnu.org/gcc-4.7/porting_to.html

Fixes #65

12 years agoMerge pull request #55 from Justasic/insp20
Robin Burchell [Sun, 15 Apr 2012 19:53:52 +0000 (12:53 -0700)]
Merge pull request #55 from Justasic/insp20

[2.0] Fixes for bug #12

12 years agoMerge pull request #62 from nenolod/insp20
Robin Burchell [Sun, 15 Apr 2012 19:40:21 +0000 (12:40 -0700)]
Merge pull request #62 from nenolod/insp20

Explicitly shut down stdio's stdin/stdout/stderr.

12 years agoExplicitly shut down stdio's stdin/stdout/stderr.
William Pitcock [Sun, 15 Apr 2012 14:40:58 +0000 (09:40 -0500)]
Explicitly shut down stdio's stdin/stdout/stderr.

The previous logic here was to only do this if stdio was connected to a controlling
terminal.  However, we must do this always to avoid information leaks and other
problems related to stdio.

The only exception is if we are in debug mode.

12 years agoMerge pull request #59 from Robby-/insp20-nosnoticestack
Robin Burchell [Sun, 15 Apr 2012 09:02:47 +0000 (02:02 -0700)]
Merge pull request #59 from Robby-/insp20-nosnoticestack

[2.0] Backported Shawn's NoSnoticeStack code from insp21

12 years agoBackported Shawn's NoSnoticeStack code from insp21
Robby- [Sun, 15 Apr 2012 08:45:34 +0000 (10:45 +0200)]
Backported Shawn's NoSnoticeStack code from insp21

12 years agoMerge pull request #28 from DjSlash/classinconnectmsg
Robin Burchell [Sun, 15 Apr 2012 08:40:54 +0000 (01:40 -0700)]
Merge pull request #28 from DjSlash/classinconnectmsg

Show class in connectmsg

12 years agoFix some of the include guard names (requested by SaberUK)
Justin Crawford [Sun, 15 Apr 2012 03:21:38 +0000 (20:21 -0700)]
Fix some of the include guard names (requested by SaberUK)

12 years agoFixes for bug #12
Justin Crawford [Sun, 15 Apr 2012 01:03:25 +0000 (18:03 -0700)]
Fixes for bug #12

12 years agoMerge pull request #53 from SaberUK/clang-analyze
Robin Burchell [Sat, 14 Apr 2012 21:56:47 +0000 (14:56 -0700)]
Merge pull request #53 from SaberUK/clang-analyze

[2.0] Fix unused variables reported by the clang static analyzer.

12 years agoFixes the j snomask not working properly
Shawn Smith [Sat, 14 Apr 2012 19:24:13 +0000 (15:24 -0400)]
Fixes the j snomask not working properly

12 years agoFix unused variables reported by the clang static analyzer.
Peter Powell [Sat, 14 Apr 2012 16:04:47 +0000 (17:04 +0100)]
Fix unused variables reported by the clang static analyzer.

12 years agoMerge pull request #35 from pcarrier/insp20ldap
Robin Burchell [Sat, 14 Apr 2012 12:12:34 +0000 (05:12 -0700)]
Merge pull request #35 from pcarrier/insp20ldap

extras/m_ldapauth: CIDR-based whitelisting

12 years agoMerge pull request #43 from Shawn-Smith/insp20+whoisfix
Robin Burchell [Thu, 12 Apr 2012 18:50:29 +0000 (11:50 -0700)]
Merge pull request #43 from Shawn-Smith/insp20+whoisfix

[2.0] Fix for issue #39 (Wrong output on whois)

12 years agoMerge pull request #41 from SaberUK/configure-cleanup
Robin Burchell [Thu, 12 Apr 2012 18:48:32 +0000 (11:48 -0700)]
Merge pull request #41 from SaberUK/configure-cleanup

Configure cleanup.

12 years agoThis fixes issue #39 reported by @attilamolnar.
Shawn Smith [Thu, 12 Apr 2012 13:32:44 +0000 (09:32 -0400)]
This fixes issue #39 reported by @attilamolnar.
Thanks to @attilamolnar for supplying the code.

12 years agoMinor style tweaks.
Peter Powell [Thu, 12 Apr 2012 06:38:20 +0000 (07:38 +0100)]
Minor style tweaks.

12 years agoRemove references to old configure commands.
Peter Powell [Thu, 12 Apr 2012 06:25:05 +0000 (07:25 +0100)]
Remove references to old configure commands.

12 years agoextras/m_ldapauth: CIDR-based whitelisting
Pierre Carrier [Wed, 14 Sep 2011 13:24:55 +0000 (15:24 +0200)]
extras/m_ldapauth: CIDR-based whitelisting

Offer host-based whitelisting in the ldap module.

Used to trust clients from internal networks,
whilst requiring authentication from "outsiders".

12 years agoFixed linking m_sqlite3 on Windows
Adam [Tue, 10 Apr 2012 16:43:03 +0000 (12:43 -0400)]
Fixed linking m_sqlite3 on Windows

12 years agoMerge pull request #33 from Adam-/insp20
Adam [Tue, 10 Apr 2012 02:26:30 +0000 (19:26 -0700)]
Merge pull request #33 from Adam-/insp20

Updated Windows VC project files

12 years agoRemove some unused files
Adam [Tue, 10 Apr 2012 01:31:04 +0000 (21:31 -0400)]
Remove some unused files

12 years agoRemoved old VC90 project files, renamed the VC 2010 project files to not have VC90...
Adam [Tue, 10 Apr 2012 01:07:22 +0000 (21:07 -0400)]
Removed old VC90 project files, renamed the VC 2010 project files to not have VC90 in them

12 years agoMerge pull request #27 from DjSlash/maxconnwarn
Robin Burchell [Mon, 9 Apr 2012 13:38:53 +0000 (06:38 -0700)]
Merge pull request #27 from DjSlash/maxconnwarn

Add <connect:maxconnwarn>

12 years agoMerge pull request #25 from DjSlash/colour-to-color
Robin Burchell [Mon, 9 Apr 2012 13:33:39 +0000 (06:33 -0700)]
Merge pull request #25 from DjSlash/colour-to-color

Replace [cC]olour with [cC]olor

12 years agoMerge pull request #32 from SaberUK/remove-svn-references
Sir Pogsalot [Mon, 9 Apr 2012 13:27:25 +0000 (06:27 -0700)]
Merge pull request #32 from SaberUK/remove-svn-references

Remove outdated references to SVN.

12 years agoMerge pull request #26 from DjSlash/typofix-m_ojoin
Sir Pogsalot [Mon, 9 Apr 2012 13:25:21 +0000 (06:25 -0700)]
Merge pull request #26 from DjSlash/typofix-m_ojoin

Typofix in m_ojoin

12 years agoRemove outdated references to SVN.
Peter Powell [Mon, 9 Apr 2012 13:10:05 +0000 (14:10 +0100)]
Remove outdated references to SVN.

12 years agoShow class in connectmsg
Rutger [Sun, 1 Apr 2012 19:32:29 +0000 (21:32 +0200)]
Show class in connectmsg

Made the connect announcement show the class a client is in, making it
easy to spot if a client is in the right class.

12 years agoAdd <connect:maxconnwarn>
Rutger [Sun, 1 Apr 2012 19:11:25 +0000 (21:11 +0200)]
Add <connect:maxconnwarn>

Created the maxconnwarn variable in the connect block, so you can make
connect blocks that only warns about max connections if you want to.
This reduces noise from connecting clients that have low maxlocal and/or
maxglobal. It is enabled by default.

12 years agoTypofix in m_ojoin
Rutger [Sun, 1 Apr 2012 18:44:55 +0000 (20:44 +0200)]
Typofix in m_ojoin

In m_ojoin 'business' was miss-spelled.

12 years agoReplace [cC]olour with [cC]olor
Rutger [Sun, 1 Apr 2012 12:25:05 +0000 (14:25 +0200)]
Replace [cC]olour with [cC]olor

Making things consistent, the modules are named '...color', let's keep
on using that instead of 'colour'.

12 years agoMerge pull request #21 from nenolod/insp20
Robin Burchell [Fri, 30 Mar 2012 16:45:15 +0000 (09:45 -0700)]
Merge pull request #21 from nenolod/insp20

configure: fix check for eventfd support.

12 years agoconfigure: fix check for eventfd support.
William Pitcock [Fri, 30 Mar 2012 00:52:11 +0000 (19:52 -0500)]
configure: fix check for eventfd support.

InspIRCd uses eventfd_read() which was not introduced until after eventfd was first
added to glibc.  uClibc, for example, still does not have support for eventfd_read().

12 years agoMerge pull request #16 from Adam-/insp20
Robin Burchell [Thu, 29 Mar 2012 06:56:32 +0000 (23:56 -0700)]
Merge pull request #16 from Adam-/insp20

Fixed out of bounds memory access from malformed DNS queries that have a...

12 years agoFixed infinite loop cauesd by invalid dns packets
Adam [Wed, 28 Mar 2012 01:39:50 +0000 (21:39 -0400)]
Fixed infinite loop cauesd by invalid dns packets

12 years agoFixed out of bounds memory access from malformed DNS queries that have an invalid...
Adam [Mon, 26 Mar 2012 08:59:13 +0000 (04:59 -0400)]
Fixed out of bounds memory access from malformed DNS queries that have an invalid length label. Introduced in a6a07de0daa353bcd29056a4535a9c4784c113c8.

12 years agoinspircd.com is no longer our dev blog
Pogs McPoggerson [Sat, 24 Mar 2012 12:06:29 +0000 (05:06 -0700)]
inspircd.com is no longer our dev blog

12 years agoMerge pull request #8 from kylef/hostchange
Robin Burchell [Thu, 22 Mar 2012 21:43:31 +0000 (14:43 -0700)]
Merge pull request #8 from kylef/hostchange

m_hostchange: Fix a typo preventing port filters from working

12 years agom_hostchange: Fix a typo preventing port filters from working
Kyle Fuller [Thu, 22 Mar 2012 16:23:03 +0000 (16:23 +0000)]
m_hostchange: Fix a typo preventing port filters from working

12 years agoMerge pull request #6 from Shawn-Smith/insp20
Robin Burchell [Thu, 22 Mar 2012 15:41:44 +0000 (08:41 -0700)]
Merge pull request #6 from Shawn-Smith/insp20

Readme/insp20

12 years agoMerge pull request #5 from kylef/xcrun
Sir Pogsalot [Thu, 22 Mar 2012 15:32:20 +0000 (08:32 -0700)]
Merge pull request #5 from kylef/xcrun

Use `xcrun clang++` on OS X as the compiler

12 years agoAdded readme
Shawn Smith [Thu, 22 Mar 2012 15:18:01 +0000 (11:18 -0400)]
Added readme

12 years agoUse `xcrun clang++` on OS X as the compiler
Kyle Fuller [Thu, 22 Mar 2012 14:40:05 +0000 (14:40 +0000)]
Use `xcrun clang++` on OS X as the compiler

12 years agoMerge branch 'insp20', remote-tracking branch 'Official/insp20' into insp20
Shawn Smith [Thu, 22 Mar 2012 02:47:57 +0000 (22:47 -0400)]
Merge branch 'insp20', remote-tracking branch 'Official/insp20' into insp20

12 years agoMerge pull request #2 from SaberUK/insp20
Sir Pogsalot [Wed, 21 Mar 2012 20:24:48 +0000 (13:24 -0700)]
Merge pull request #2 from SaberUK/insp20

Fixes for OS X, the ModuleManager sources and some typos.

12 years agoTypo fixes.
Peter Powell [Wed, 21 Mar 2012 19:22:11 +0000 (19:22 +0000)]
Typo fixes.

12 years agoUpdate sources.lst to point to the GitHub inspircd-extras repo.
Peter Powell [Wed, 21 Mar 2012 18:48:07 +0000 (18:48 +0000)]
Update sources.lst to point to the GitHub inspircd-extras repo.

12 years agoSwitch configure script to use clang on OS X as Apple no longer maintain their fork...
Peter Powell [Wed, 21 Mar 2012 17:02:24 +0000 (17:02 +0000)]
Switch configure script to use clang on OS X as Apple no longer maintain their fork of GCC.

12 years agoMerge pull request #1 from nenolod/insp20
Sir Pogsalot [Wed, 21 Mar 2012 14:01:08 +0000 (07:01 -0700)]
Merge pull request #1 from nenolod/insp20

DNS resolver hardening (insp20 branch)

12 years agodns: cleanup ResultIsReady() prototype
William Pitcock [Tue, 20 Mar 2012 23:41:09 +0000 (18:41 -0500)]
dns: cleanup ResultIsReady() prototype

12 years agodns: more hardening
William Pitcock [Tue, 20 Mar 2012 23:38:13 +0000 (18:38 -0500)]
dns: more hardening

- don't trust rr.rdlength
- don't accept replies we know are impossible for AAAA/A records
- don't try to process record types we do not know about specifically
  (this behaviour just leads to disaster)

12 years agodns: reject messages with lengths larger than DNSHeader with prejudice
William Pitcock [Tue, 20 Mar 2012 23:31:14 +0000 (18:31 -0500)]
dns: reject messages with lengths larger than DNSHeader with prejudice

This also includes when decompressing name entries.

12 years agodns: iterators which are integer should always be unsigned, else an integer underflow...
William Pitcock [Tue, 20 Mar 2012 22:48:45 +0000 (17:48 -0500)]
dns: iterators which are integer should always be unsigned, else an integer underflow is possible.

Signed-off-by: William Pitcock <nenolod@dereferenced.org>
12 years agom_remove: forbid removing ulined users
Justasic [Sun, 26 Feb 2012 04:57:36 +0000 (23:57 -0500)]
m_remove: forbid removing ulined users

12 years agom_chghost: Fix incorrect length check pointed out by Thales
Daniel De Graaf [Sun, 26 Feb 2012 04:41:04 +0000 (23:41 -0500)]
m_chghost: Fix incorrect length check pointed out by Thales

12 years agoMake m_shun work on aliases
Jens Voss [Sat, 21 Jan 2012 22:04:59 +0000 (17:04 -0500)]
Make m_shun work on aliases

12 years agoMove my name from regular contributors to developers
Jackmcbarn [Wed, 28 Sep 2011 17:31:19 +0000 (13:31 -0400)]
Move my name from regular contributors to developers

12 years agoAdd note about hidewhois and idle times
Jackmcbarn [Wed, 31 Aug 2011 23:27:19 +0000 (19:27 -0400)]
Add note about hidewhois and idle times

12 years agoFix stats letter for shuns
Jackmcbarn [Sat, 27 Aug 2011 23:42:12 +0000 (19:42 -0400)]
Fix stats letter for shuns

12 years agoAdd -lgcrypt to m_ssl_gnutls because this is no longer pulled in by all versions...
Daniel De Graaf [Sun, 7 Aug 2011 22:34:32 +0000 (18:34 -0400)]
Add -lgcrypt to m_ssl_gnutls because this is no longer pulled in by all versions of gnutls

12 years agoFix compile warning
Daniel De Graaf [Sat, 23 Jul 2011 16:45:34 +0000 (12:45 -0400)]
Fix compile warning

12 years agoRemove harmless but scary-looking logfile lines
Daniel De Graaf [Tue, 19 Jul 2011 21:11:14 +0000 (17:11 -0400)]
Remove harmless but scary-looking logfile lines

12 years agoAllow use of absolute paths with m_nationalchars
Jackmcbarn [Tue, 19 Jul 2011 20:08:53 +0000 (16:08 -0400)]
Allow use of absolute paths with m_nationalchars

12 years ago<connect deny=""> (or allow="") should not match all users
Daniel De Graaf [Sun, 17 Jul 2011 23:49:03 +0000 (19:49 -0400)]
<connect deny=""> (or allow="") should not match all users

12 years agoOnly write pidfile if we have parsed a valid configuration
Daniel De Graaf [Sun, 17 Jul 2011 22:52:23 +0000 (18:52 -0400)]
Only write pidfile if we have parsed a valid configuration

13 years ago2.0.5 release
Daniel De Graaf [Fri, 24 Jun 2011 01:21:01 +0000 (21:21 -0400)]
2.0.5 release