summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-07-16Tide this up and fix possible buffer overflow. Cannot use MAXBUF since ↵peavey
inspircd_config.h may not be generated yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7446 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16Little tweak to fix the output when directory modules execute programs for ↵special
cflags git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7445 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16Use colours.h in win_wrapper and also add __COLOURS_H define.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7444 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16Remove printf_c from wrapper, this code also segfaulted when it was used.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7443 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16Use vsnprintf instead of vsprintf.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7442 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16Made m_ssl_gnutls throw an exception when unable to load the certificate ↵special
(since SSL won't work at all without one) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7441 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-15Fix for bug #349: NOTE there is important caveat about this in the example ↵brain
config, MAKE SURE TO READ IT. When you connect a cgi:irc client two different connect classes are checked at two different times (first the one that the website they are cgi'ing from, then later one for the user's real ip). READ THIS AND UNDERSTAND IT! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7440 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-15Fix for minor memory leak on unloading module, bug #340brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7439 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-13Explicitly disallow mode prefixes > 126, to prevent excess muppetry by 3rd ↵brain
party module devs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7438 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-12Implement a way to disable options:maxwho, bug #348brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7437 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-12Apply patch from lain to fix multiple cgihosts not being read correctly.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7436 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-11Backport patch from stskeeps for checking success of gnutls cert generationbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7435 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-11Fix for bug #347.brain
WARNING: QA PEOPLE, THIS NEEDS TESTING!!!! Test this with lots of squits and connects, and i mean lots and lots in all different ways you can think of, /squit, pingout, closing the connection with a firewall etc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7434 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-10Clarifying commentbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7433 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-10This should fix the rest of remote kill nick hidingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7432 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-10First part of fix for bug #344brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7431 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-07Implement /dalinfo, as a joke. Consider this an easter egg.brain
More debug logging in m_ssl_openssl, still not fixed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7430 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-07Added some missing parameter checking in m_swhoisspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7429 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-06Warning: Loads of craq logging in here atm. /connect with openssl is broken, ↵brain
gnutls seems fine git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7428 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-06SSL buffering tweaks. NOTE this is not a complete fix till i say so, don't ↵brain
use this in production yet unless youre a masochist. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7427 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-06And fixed a race condition I introduced in the previous commit that could've ↵special
caused the exact same error I was fixing. This is one of those commits that never happened git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7426 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-06Fixed the handling of the CTCP TIME reply in m_antibear - it could generate ↵special
random client errors. Bug #341 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7425 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-04Init the sequence indicator to avoid undefined behaviour. Thx owine.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7424 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-03Removed superfluous semicolonspippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7423 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-03Revert a changed file I didn't want to commit ..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7422 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-03Fix off-by-one reported by Darom in bug #339w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7421 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-02We know this worked... i think.brain
std::string::reserve might not work the same as this. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7420 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-02std::string does not need a null terminator..special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7419 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-01Add -Wno-deprecated to prevent an annoyingly stupid gcc4.2 error which stops ↵brain
you passing a literal string to a char* parameter: void a(char* foo); -> a("test") == WARNING on gcc4.2! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7418 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-01Compile fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7417 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-01Optimizations and code tidyups. QA please check that svsnick and other ↵brain
forced nick changes still work right after this git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7416 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-30Split hostmask with XLines::IdentSplit then re-inject into check for proper ↵peavey
detection. Thx owine. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7415 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-28Fixed a bug that caused classes with passwords to instantly disconnect any ↵special
users (thanks Darom). Needs QA git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7414 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-26Made all of the error messages in chg* and set* a bit more uniform, and ↵special
added a few that were missing git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7413 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-26Added checks for empty ident/host/gecos in the chg* and set* commands. Patch ↵special
by Stskeeps git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7412 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-26Added a prompt for certificate expiry time to openssl cert generation. Patch ↵special
by yell0w git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7411 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-26Fixed the order of fields in openssl certificate generation; this would make ↵special
really broken certificates. Thanks to yell0w git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7410 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-25Fixed sunos 5.11 support, and a header issue with the ports socketengine. ↵special
Patch by Stskeeps git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7409 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-24Fix undocumented windows behaviour where multiple dns servers are packed ↵brain
into one registry key seperated by commas git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7408 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-24These should not be oper only. Thanks Jobe.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7407 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-24Check for TS==0 in FJOINbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7406 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-24Drop fmode with TS of 0, just in case any craq smoking services devs get the ↵brain
idea that this is acceptable instead of actually supporting TS rules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7405 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-24Fix for atheme support (and others) which makes sure CAPAB is always sent ↵brain
before BURST git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7404 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-23No no no, the fix to free module factories in loadmodule on error causes a ↵brain
bus error :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7403 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-22Apply patch from BuildSmart. Add owner of process to launchd script.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7402 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-22Add org.inspircd.plist to svn ignore.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7401 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-22Fix for bug #332. Correctly invalidate old mode before updating it.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7400 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-21Apply patch from BuildSmart that fixes an install path.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7399 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-21Apply OSX patch from BuildSmart that fixes installation issues.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7398 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-21Apply patch from BuildSmart that fixes a few issues on Mac with the logfile ↵peavey
path and ircdeamon user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7397 e03df62e-2008-0410-955e-edbf42e46eb7