]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
14 years agoHooray unused variables. Thanks MSVC.
w00t [Mon, 3 Aug 2009 22:47:39 +0000 (22:47 +0000)]
Hooray unused variables. Thanks MSVC.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11480 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoNow that the official repository is on gitorious, remove my redundant repository
danieldg [Mon, 3 Aug 2009 22:44:27 +0000 (22:44 +0000)]
Now that the official repository is on gitorious, remove my redundant repository

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11479 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoChange link of official third party repo to point to gitorious repo.
w00t [Mon, 3 Aug 2009 22:00:53 +0000 (22:00 +0000)]
Change link of official third party repo to point to gitorious repo.
This isn't quite working yet, but it will be shortly.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11478 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoComment on what looks like incorrect behaviour in User::Oper().
w00t [Mon, 3 Aug 2009 21:44:12 +0000 (21:44 +0000)]
Comment on what looks like incorrect behaviour in User::Oper().

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11477 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoRevert "Don't do all the oper gubbins if the opertype doesn't exist. I've absolutely...
w00t [Mon, 3 Aug 2009 21:44:10 +0000 (21:44 +0000)]
Revert "Don't do all the oper gubbins if the opertype doesn't exist. I've absolutely no idea why we did this before but it's definitely not good."

This reverts commit d8ee5433eab5c67e9094d9114e3696728f1cab2a.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11476 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoRevert "Find the right variable so it actually works, too."
w00t [Mon, 3 Aug 2009 21:44:07 +0000 (21:44 +0000)]
Revert "Find the right variable so it actually works, too."

This reverts commit a245aa22076e17e72c84e5a0f5699209cdf62727.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11475 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFind the right variable so it actually works, too.
w00t [Mon, 3 Aug 2009 21:19:03 +0000 (21:19 +0000)]
Find the right variable so it actually works, too.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11474 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoDon't do all the oper gubbins if the opertype doesn't exist. I've absolutely no idea...
w00t [Mon, 3 Aug 2009 21:11:46 +0000 (21:11 +0000)]
Don't do all the oper gubbins if the opertype doesn't exist. I've absolutely no idea why we did this before but it's definitely not good.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11473 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoRemove m_foobar. This has no practical purpose, except as a module basis,
w00t [Mon, 3 Aug 2009 21:00:19 +0000 (21:00 +0000)]
Remove m_foobar. This has no practical purpose, except as a module basis,
and nowdays we have plenty of others that can serve for that. Rest in peace.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11472 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix types on Windows. Hooray for not supporting stdint.h. Thanks to Special.
w00t [Mon, 3 Aug 2009 17:42:26 +0000 (17:42 +0000)]
Fix types on Windows. Hooray for not supporting stdint.h. Thanks to Special.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11471 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoChange default connect timeouts to 10. There's really no need to have anything higher...
w00t [Mon, 3 Aug 2009 15:52:24 +0000 (15:52 +0000)]
Change default connect timeouts to 10. There's really no need to have anything higher than this by default (except for developers, but surely they're capable of changing a default.)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11470 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoPurely a documentation fix: PRIO_AFTER doesn't exist any more, it's PRIORITY_AFTER.
w00t [Mon, 3 Aug 2009 14:00:15 +0000 (14:00 +0000)]
Purely a documentation fix: PRIO_AFTER doesn't exist any more,  it's PRIORITY_AFTER.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11469 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoWe dont support these compilers any more
brain [Sun, 2 Aug 2009 23:29:54 +0000 (23:29 +0000)]
We dont support these compilers any more

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11468 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoI am sure i deleted these before
brain [Sun, 2 Aug 2009 23:29:08 +0000 (23:29 +0000)]
I am sure i deleted these before

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11467 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix our getops implementation on windows. Have optind available, and make sure it...
peavey [Sun, 2 Aug 2009 22:36:45 +0000 (22:36 +0000)]
Fix our getops implementation on windows. Have optind available, and make sure it always points to the next entry in the argv list as described by POSIX.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11466 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoMake sure usage lines up neatly.
peavey [Sun, 2 Aug 2009 22:23:46 +0000 (22:23 +0000)]
Make sure usage lines up neatly.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11465 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix a few typos in here so it compiles again.
peavey [Sun, 2 Aug 2009 22:23:45 +0000 (22:23 +0000)]
Fix a few typos in here so it compiles again.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11464 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoTrivial commit to add .gitignore to ..gitignore!
w00t [Sun, 2 Aug 2009 22:15:29 +0000 (22:15 +0000)]
Trivial commit to add .gitignore to ..gitignore!
(And test multiline commits.)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11463 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoChange all non-fatal GNUTLS initialisation notices to debug level, to avoid unnecessa...
w00t [Sun, 2 Aug 2009 19:29:24 +0000 (19:29 +0000)]
Change all non-fatal GNUTLS initialisation notices to debug level, to avoid unnecessary questions.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11462 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoForget to remove a #endif
peavey [Sun, 2 Aug 2009 18:13:08 +0000 (18:13 +0000)]
Forget to remove a #endif

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11461 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoNo forget using windows' broken inet_pton and inet_ntop, they are not POSIX compliant...
peavey [Sun, 2 Aug 2009 18:08:49 +0000 (18:08 +0000)]
No forget using windows' broken inet_pton and inet_ntop, they are not POSIX compliant and just causes more compile errors. We use our own, period.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11460 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoSince Windows SDK6.0a inet_pton and inet_ntop is defined if (NTDDI_VERSION >= NTDDI_L...
peavey [Sun, 2 Aug 2009 17:42:31 +0000 (17:42 +0000)]
Since Windows SDK6.0a inet_pton and inet_ntop is defined if (NTDDI_VERSION >= NTDDI_LONGHORN). I found a similar fix in pythons socketcode and thus think this is fine.

Fixes the breakage Brain mentions in r11407.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11459 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoPush SVN ignores to .gitignore, so I can stop going insane.
w00t [Sun, 2 Aug 2009 16:04:10 +0000 (16:04 +0000)]
Push SVN ignores to .gitignore, so I can stop going insane.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11458 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix a missed reference
w00t [Sun, 2 Aug 2009 15:05:06 +0000 (15:05 +0000)]
Fix a missed reference

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11457 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoBump version number to rc4
w00t [Sun, 2 Aug 2009 14:08:49 +0000 (14:08 +0000)]
Bump version number to rc4

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11454 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoPatch to not increment nickchange counter for nick changes that would be blocked...
w00t [Sun, 2 Aug 2009 14:02:25 +0000 (14:02 +0000)]
Patch to not increment nickchange counter for nick changes that would be blocked elsewhere, fixes bug #874. Patch by dz, but he was too slow to commit it :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11453 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoDon't apply bans to E:Lined connections. Should fix bug #896.
w00t [Sat, 1 Aug 2009 22:16:58 +0000 (22:16 +0000)]
Don't apply bans to E:Lined connections. Should fix bug #896.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11452 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoShow config warnings/errors regardless of loglevel on startup.
w00t [Sat, 1 Aug 2009 22:02:57 +0000 (22:02 +0000)]
Show config warnings/errors regardless of loglevel on startup.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11451 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoVarious rehash fixes that it seems were introduced by untested code.
w00t [Sat, 1 Aug 2009 21:58:17 +0000 (21:58 +0000)]
Various rehash fixes that it seems were introduced by untested code.
- Remove unused ReportConfigError member
- Don't report successful load (and spam modules that failed to load) if there is a config error
- Restore server name before attempting to send error string to client(s) otherwise most of them won't recieve the notifications.
Fixes bug #891. Still to come: report errors loudly on startup regardless of debug mode.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11450 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoCheck that the <connect> block actually specifies a host before checking whether...
w00t [Sat, 1 Aug 2009 21:22:50 +0000 (21:22 +0000)]
Check that the <connect> block actually specifies a host before checking whether the user matches it. Allows for <connect> blocks on other criteria, like ports - fixes bug #797.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11449 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoReconnect to LDAP server if connection goes away, fixes bug #818.
w00t [Sat, 1 Aug 2009 21:05:06 +0000 (21:05 +0000)]
Reconnect to LDAP server if connection goes away, fixes bug #818.
NOTE: I don't have an LDAP setup, so I'm totally in the blind on these commits.
Sorry, but it seems nobody else can be arsed to do it, so I will.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11448 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoRehash message fixes from Ankit, thanks
danieldg [Fri, 31 Jul 2009 21:59:31 +0000 (21:59 +0000)]
Rehash message fixes from Ankit, thanks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11447 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoSend a failure numeric instead of QuitUser when STARTTLS is used after registration...
special [Mon, 27 Jul 2009 02:08:17 +0000 (02:08 +0000)]
Send a failure numeric instead of QuitUser when STARTTLS is used after registration, because it could be used accidentally by users. Suggested by dKingston

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11445 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agodon't send out global snotices from every server on NICKUNLOCK, fixes bug #892 report...
dz [Sun, 26 Jul 2009 11:26:34 +0000 (11:26 +0000)]
don't send out global snotices from every server on NICKUNLOCK, fixes bug #892 reported by Taros

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11444 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoUse correct behavior (as per C++) for 'delete NULL' on windows; found by Adam and...
special [Sun, 19 Jul 2009 07:27:30 +0000 (07:27 +0000)]
Use correct behavior (as per C++) for 'delete NULL' on windows; found by Adam and CyberBotX

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11443 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoRemove bad check for channel op in m_auditorium, fixes bug #886
danieldg [Tue, 7 Jul 2009 04:06:09 +0000 (04:06 +0000)]
Remove bad check for channel op in m_auditorium, fixes bug #886

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11441 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoRemove m_ssl_oper_cert and clarify how to use it in m_sslinfo. Patch by jdhore.
peavey [Sat, 4 Jul 2009 23:32:01 +0000 (23:32 +0000)]
Remove m_ssl_oper_cert and clarify how to use it in m_sslinfo. Patch by jdhore.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11440 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix possible segfault on giving an unknown cmdline argument. index holds the ref...
peavey [Sat, 4 Jul 2009 21:31:40 +0000 (21:31 +0000)]
Fix possible segfault on giving an unknown cmdline argument. index holds the ref to the longopts array if found else it is NULL. optind however holds the next argv to be processed thus optind-1 is the correct index value to use.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11439 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoUse server name for source of remote TIME rather than SID
danieldg [Fri, 3 Jul 2009 22:09:36 +0000 (22:09 +0000)]
Use server name for source of remote TIME rather than SID

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11438 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix m_callerid message routing for remote users, destination got no notice of attempt...
danieldg [Fri, 3 Jul 2009 21:00:42 +0000 (21:00 +0000)]
Fix m_callerid message routing for remote users, destination got no notice of attempted message

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11437 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoAsk the user if they want to generate SSL certificates before generating one
danieldg [Fri, 3 Jul 2009 19:28:07 +0000 (19:28 +0000)]
Ask the user if they want to generate SSL certificates before generating one

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11436 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix symlink creation of openssl if both it and gnutls are selected
danieldg [Fri, 3 Jul 2009 17:55:01 +0000 (17:55 +0000)]
Fix symlink creation of openssl if both it and gnutls are selected

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11435 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix excessive snomask sending on fitler add/removal
danieldg [Fri, 3 Jul 2009 14:07:24 +0000 (14:07 +0000)]
Fix excessive snomask sending on fitler add/removal

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11434 e03df62e-2008-0410-955e-edbf42e46eb7

14 years agoFix double-send of SSL metadata in openssl, possible segfault in gnutls
danieldg [Fri, 3 Jul 2009 12:49:01 +0000 (12:49 +0000)]
Fix double-send of SSL metadata in openssl, possible segfault in gnutls

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11433 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoUpdates to example configuration [by jdhore]
danieldg [Thu, 2 Jul 2009 19:58:43 +0000 (19:58 +0000)]
Updates to example configuration [by jdhore]

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11432 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMerge m_ssl_oper_cert into m_sslinfo to reduce the number of SSL modules
danieldg [Thu, 2 Jul 2009 18:17:47 +0000 (18:17 +0000)]
Merge m_ssl_oper_cert into m_sslinfo to reduce the number of SSL modules

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11431 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMerge m_ssl_data with m_ssinfo to reduce the number of SSL modules
danieldg [Thu, 2 Jul 2009 18:17:40 +0000 (18:17 +0000)]
Merge m_ssl_data with m_ssinfo to reduce the number of SSL modules

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11430 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoSend ssl_cert metadata on signon
danieldg [Thu, 2 Jul 2009 18:17:33 +0000 (18:17 +0000)]
Send ssl_cert metadata on signon

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11429 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove memory-wasting map in ssl_cert
danieldg [Thu, 2 Jul 2009 18:17:26 +0000 (18:17 +0000)]
Remove memory-wasting map in ssl_cert

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11428 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMigrate SSL metadata and visible information (/whois line) to single module
danieldg [Thu, 2 Jul 2009 18:17:19 +0000 (18:17 +0000)]
Migrate SSL metadata and visible information (/whois line) to single module

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11427 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix backport compile error: m_ssl_* uses ServerInstance->Config->ports which is now...
danieldg [Thu, 2 Jul 2009 16:56:53 +0000 (16:56 +0000)]
Fix backport compile error: m_ssl_* uses ServerInstance->Config->ports which is now ServerInstance->ports

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11426 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix error reporting on rehash
danieldg [Wed, 1 Jul 2009 22:55:54 +0000 (22:55 +0000)]
Fix error reporting on rehash

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11425 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMake rehash generate a new ServerInstance->Config object
danieldg [Wed, 1 Jul 2009 22:55:46 +0000 (22:55 +0000)]
Make rehash generate a new ServerInstance->Config object

This makes it possible to cancel a pending rehash, and fixes possible
threading issues with rehash and other events.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11424 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMove list of open ports out of Config object
danieldg [Wed, 1 Jul 2009 22:55:39 +0000 (22:55 +0000)]
Move list of open ports out of Config object

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11423 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoCheck for oper max chans before user max chans, fixes code weirdness and bug #876.
w00t [Tue, 30 Jun 2009 22:53:12 +0000 (22:53 +0000)]
Check for oper max chans before user max chans, fixes code weirdness and bug #876.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11422 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix +g messages being borked with multiple servers, fixes bug #880
w00t [Tue, 30 Jun 2009 17:16:33 +0000 (17:16 +0000)]
Fix +g messages being borked with multiple servers,  fixes bug #880

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11421 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd BS/BotServ to default atheme aliases.
w00t [Tue, 30 Jun 2009 17:05:55 +0000 (17:05 +0000)]
Add BS/BotServ to default atheme aliases.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11420 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRoll back mysterious DNS change from 2007 which broke multiple-answer
w00t [Tue, 30 Jun 2009 13:59:27 +0000 (13:59 +0000)]
Roll back mysterious DNS change from 2007 which broke multiple-answer
DNS requests (CNAME, A). It looks like this was to be related to bitmask
dnsbl support, but it would never have worked anyway (resultnum was always 0..).

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11419 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agom_sslinfo does not depend on external libraries, it should not be in extra
danieldg [Sat, 27 Jun 2009 21:03:46 +0000 (21:03 +0000)]
m_sslinfo does not depend on external libraries, it should not be in extra

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11418 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMake pkg-config failure error clearer
danieldg [Fri, 26 Jun 2009 12:10:16 +0000 (12:10 +0000)]
Make pkg-config failure error clearer

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11417 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRebuild modeclasses.a when configure -update is run
danieldg [Thu, 18 Jun 2009 00:33:03 +0000 (00:33 +0000)]
Rebuild modeclasses.a when configure -update is run

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11416 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix incorrect attempted inline of irc::sockets::sa_size
danieldg [Tue, 16 Jun 2009 04:21:28 +0000 (04:21 +0000)]
Fix incorrect attempted inline of irc::sockets::sa_size

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11415 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix sockaddr length argument, BSD will complain if it doesn't exactly match the expec...
danieldg [Tue, 16 Jun 2009 04:02:21 +0000 (04:02 +0000)]
Fix sockaddr length argument, BSD will complain if it doesn't exactly match the expected size

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11414 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix ENCAP forwarding with multiword final parameter, noticed by Namegduf
danieldg [Mon, 15 Jun 2009 23:57:31 +0000 (23:57 +0000)]
Fix ENCAP forwarding with multiword final parameter, noticed by Namegduf

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11413 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoImprove valdebug-unattended: increase timeout to 90 seconds, and generate/use suppresions
danieldg [Sun, 14 Jun 2009 21:12:16 +0000 (21:12 +0000)]
Improve valdebug-unattended: increase timeout to 90 seconds, and generate/use suppresions

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11412 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoBackport BufferedSocket::DoConnect rewrite to fix valgrind warning
danieldg [Sun, 14 Jun 2009 20:21:06 +0000 (20:21 +0000)]
Backport BufferedSocket::DoConnect rewrite to fix valgrind warning

Syscall param socketcall.connect(serv_addr..sin6_flowinfo) points to uninitialised byte(s)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11411 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoThese commands do not need to be VF_COMMON
danieldg [Sun, 14 Jun 2009 05:12:44 +0000 (05:12 +0000)]
These commands do not need to be VF_COMMON

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11410 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoDon't globally route SETNAME, the FNAME is sufficient. Fixes bug #875
danieldg [Sun, 14 Jun 2009 05:07:02 +0000 (05:07 +0000)]
Don't globally route SETNAME, the FNAME is sufficient. Fixes bug #875

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11409 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agomore fixes. inet_pton is now in error, this is because the windows 6.0 sdk defines...
brain [Fri, 12 Jun 2009 16:34:23 +0000 (16:34 +0000)]
more fixes. inet_pton is now in error, this is because the windows 6.0 sdk defines it, we need some kind of ifdef or something around this to not define our own if we have the 6.0 SDK. Again i will check this if i have chance, otherwise... :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11407 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoThis file *BROKEN AGAIN* in windows builds (VC9) - uint_16t and uint_32t do not exist...
brain [Fri, 12 Jun 2009 16:27:11 +0000 (16:27 +0000)]
This file *BROKEN AGAIN* in windows builds (VC9) - uint_16t and uint_32t do not exist in windows visual studio 2008! I will fix this at some later date unless someone beats me to it, as i still have no access to a reasonable PC.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11406 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMakefile updates: clean up some installation assumptions
danieldg [Sun, 7 Jun 2009 02:58:07 +0000 (02:58 +0000)]
Makefile updates: clean up some installation assumptions

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11405 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAllow SSL fingerprint-based server authentication
danieldg [Sun, 7 Jun 2009 02:57:54 +0000 (02:57 +0000)]
Allow SSL fingerprint-based server authentication

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11404 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoDon't display locally bound SSL ports in SSL= (for hidden services and such)
w00t [Sat, 6 Jun 2009 20:56:41 +0000 (20:56 +0000)]
Don't display locally bound SSL ports in SSL= (for hidden services and such)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11403 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMakefile updates: Add "make help" and "make M=m_modname" to build an individual module
danieldg [Sat, 6 Jun 2009 00:29:19 +0000 (00:29 +0000)]
Makefile updates: Add "make help" and "make M=m_modname" to build an individual module

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11402 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd daniel's third-party module repository
danieldg [Fri, 5 Jun 2009 00:28:17 +0000 (00:28 +0000)]
Add daniel's third-party module repository

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11401 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoUse pkg-config to search for gnutls rather than the now-removed libgnutls-config
danieldg [Wed, 3 Jun 2009 04:05:58 +0000 (04:05 +0000)]
Use pkg-config to search for gnutls rather than the now-removed libgnutls-config

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11400 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoChange m_override to send snomasks globally
danieldg [Tue, 2 Jun 2009 02:43:36 +0000 (02:43 +0000)]
Change m_override to send snomasks globally

This uses "G" for both local and global; "g" is already taken by globops.
Fixes bug #860.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11399 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoIgnore and remove {BSD,GNU}makefile
danieldg [Mon, 1 Jun 2009 17:08:53 +0000 (17:08 +0000)]
Ignore and remove {BSD,GNU}makefile

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11398 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMakefile updates: Fix BSD make conditionals
danieldg [Mon, 1 Jun 2009 14:25:23 +0000 (14:25 +0000)]
Makefile updates: Fix BSD make conditionals

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11397 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMakefile updates: Allow run-cc wrapper to be disabled by "make V=1"
danieldg [Mon, 1 Jun 2009 01:26:23 +0000 (01:26 +0000)]
Makefile updates: Allow run-cc wrapper to be disabled by "make V=1"

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11396 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMakefile updates: clean up command lines
danieldg [Mon, 1 Jun 2009 01:26:15 +0000 (01:26 +0000)]
Makefile updates: clean up command lines

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11395 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoThis time it's actually compile tested
danieldg [Mon, 1 Jun 2009 00:47:56 +0000 (00:47 +0000)]
This time it's actually compile tested

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11394 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoOK, it's more useful if this compiles...
danieldg [Mon, 1 Jun 2009 00:27:50 +0000 (00:27 +0000)]
OK, it's more useful if this compiles...

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11393 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix unsafe iteration pattern in m_timedbans - vector::erase invalidates all iterators...
danieldg [Mon, 1 Jun 2009 00:25:32 +0000 (00:25 +0000)]
Fix unsafe iteration pattern in m_timedbans - vector::erase invalidates all iterators following the elements to be erased.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11392 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMakefile updates: remove MAKEPROG/MAKEORDER
danieldg [Sat, 30 May 2009 15:31:53 +0000 (15:31 +0000)]
Makefile updates: remove MAKEPROG/MAKEORDER

Also update the output on "make debug" to look better and avoid
interleaving header output on a parallel make.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11391 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove the ServerConfig::DirValid check that breaks symlinks
danieldg [Mon, 25 May 2009 22:50:49 +0000 (22:50 +0000)]
Remove the ServerConfig::DirValid check that breaks symlinks

This was included as a security check to prevent symlink attacks,
but this is no longer useful; anyone who can exploit the attack now
can just modify the ircd itself.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11390 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMake timestamp output in /CHECK consistent
danieldg [Sun, 24 May 2009 16:05:47 +0000 (16:05 +0000)]
Make timestamp output in /CHECK consistent

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11389 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoOnRehash changes: split to multiple hooks to clarify use and prevent explosion of...
danieldg [Sun, 24 May 2009 02:53:45 +0000 (02:53 +0000)]
OnRehash changes: split to multiple hooks to clarify use and prevent explosion of rehashes on a /REHASH *

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agom_dnsbl: Add default duration and error message on invalid duration
danieldg [Sat, 23 May 2009 13:40:52 +0000 (13:40 +0000)]
m_dnsbl: Add default duration and error message on invalid duration

Before, this caused DNSBL hits to take no action, as the zlines expired
before being applied. The default duration of 60 seconds exists only to
make the bans work; a longer duration is recommended to reduce log noise.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11387 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix UID collision on reload of m_spanningtree.so
danieldg [Thu, 14 May 2009 23:27:47 +0000 (23:27 +0000)]
Fix UID collision on reload of m_spanningtree.so

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11386 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix some incorrect STL iterations (using < end() instead of != end())
special [Thu, 14 May 2009 01:12:20 +0000 (01:12 +0000)]
Fix some incorrect STL iterations (using < end() instead of != end())

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11385 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix r11381 checking HideWhoisServer incorrectly
danieldg [Thu, 14 May 2009 00:03:00 +0000 (00:03 +0000)]
Fix r11381 checking HideWhoisServer incorrectly

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11384 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix incomple memset() in irc::sockets::aptosa, add support for converting empty addresses
danieldg [Wed, 13 May 2009 23:43:27 +0000 (23:43 +0000)]
Fix incomple memset() in irc::sockets::aptosa, add support for converting empty addresses

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11383 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMake User::ServerInstance public so that FakeUser can access it. There is no reason...
danieldg [Wed, 13 May 2009 20:57:49 +0000 (20:57 +0000)]
Make User::ServerInstance public so that FakeUser can access it. There is no reason to make this private, really

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11382 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoHide server sources if HideWhoisServer is set, noticed by Brain
danieldg [Wed, 13 May 2009 17:43:35 +0000 (17:43 +0000)]
Hide server sources if HideWhoisServer is set, noticed by Brain

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11381 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoShow correct server source to users on FTOPIC and FMODE
danieldg [Wed, 13 May 2009 17:04:25 +0000 (17:04 +0000)]
Show correct server source to users on FTOPIC and FMODE

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11380 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoUse Utils->ServerUser instead of ServerInstance->FakeClient in m_spanningtree
danieldg [Wed, 13 May 2009 17:04:17 +0000 (17:04 +0000)]
Use Utils->ServerUser instead of ServerInstance->FakeClient in m_spanningtree

This makes it possible to determine which server initiated a mode change,
instead of having only a flag saying that some server did.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11379 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMake the previous patches actually work
danieldg [Wed, 13 May 2009 05:28:00 +0000 (05:28 +0000)]
Make the previous patches actually work

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11378 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoReplace loopCall detection in OnUserKick with a check for the m_spanningtree fake...
danieldg [Wed, 13 May 2009 05:27:53 +0000 (05:27 +0000)]
Replace loopCall detection in OnUserKick with a check for the m_spanningtree fake user

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11377 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoUse a FakeUser source for server-sourced commands in spanningtree
danieldg [Wed, 13 May 2009 05:27:46 +0000 (05:27 +0000)]
Use a FakeUser source for server-sourced commands in spanningtree

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11376 e03df62e-2008-0410-955e-edbf42e46eb7