peavey
6a48a6cc9b
Remove printf_c from wrapper, this code also segfaulted when it was used.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7443 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 11:49:18 +00:00
peavey
2b38cad977
Use vsnprintf instead of vsprintf.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7442 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 11:47:47 +00:00
special
c773dc8d0c
Made m_ssl_gnutls throw an exception when unable to load the certificate (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-16 08:35:23 +00:00
brain
42105f07dd
Fix for bug #349 : NOTE there is important caveat about this in the example 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-15 13:18:28 +00:00
brain
4b5ae9645f
Fix for minor memory leak on unloading module, bug #340
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7439 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-15 12:34:30 +00:00
brain
d7ac76bed1
Explicitly disallow mode prefixes > 126, to prevent excess muppetry by 3rd party module devs
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7438 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-13 17:26:45 +00:00
brain
47a4c36063
Implement a way to disable options:maxwho, bug #348
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7437 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-12 18:42:17 +00:00
peavey
caafe7737c
Apply patch from lain to fix multiple cgihosts not being read correctly.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7436 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-12 15:13:44 +00:00
brain
c36ea00019
Backport patch from stskeeps for checking success of gnutls cert generation
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7435 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-11 19:50:26 +00:00
brain
e93cdf5a66
Fix for bug #347 .
...
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-11 16:59:10 +00:00
brain
bf517cb0ad
Clarifying comment
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7433 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-10 18:00:35 +00:00
brain
f0235432d1
This should fix the rest of remote kill nick hiding
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7432 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-10 17:59:07 +00:00
brain
2f3ba31bae
First part of fix for bug #344
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7431 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-10 17:46:03 +00:00
brain
89712710a8
Implement /dalinfo, as a joke. Consider this an easter egg.
...
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-07 21:13:12 +00:00
special
297c720dae
Added some missing parameter checking in m_swhois
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7429 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-07 19:58:16 +00:00
brain
a53da00bce
Warning: Loads of craq logging in here atm. /connect with openssl is broken, gnutls seems fine
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7428 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-06 17:31:44 +00:00
brain
28da041573
SSL buffering tweaks. NOTE this is not a complete fix till i say so, don't 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-06 16:14:24 +00:00
special
bca1756458
And fixed a race condition I introduced in the previous commit that could've 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-06 06:42:00 +00:00
special
8583a707d6
Fixed the handling of the CTCP TIME reply in m_antibear - it could generate random client errors. Bug #341
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7425 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-06 06:39:45 +00:00
peavey
f7489c88c6
Init the sequence indicator to avoid undefined behaviour. Thx owine.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7424 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-04 16:22:23 +00:00
pippijn
2b8ce39c6e
Removed superfluous semicolons
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7423 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-03 16:40:09 +00:00
w00t
56b7bad4f2
Revert a changed file I didn't want to commit ..
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7422 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-03 13:21:26 +00:00
w00t
c8c3eaf9f7
Fix off-by-one reported by Darom in bug #339
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7421 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-03 11:44:35 +00:00
brain
9ab3cd8903
We know this worked... i think.
...
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-02 22:53:31 +00:00
special
0b304e377d
std::string does not need a null terminator..
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7419 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-02 22:45:48 +00:00
brain
b9b7a3a2cf
Add -Wno-deprecated to prevent an annoyingly stupid gcc4.2 error which stops 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-01 12:36:37 +00:00
brain
651936d904
Compile fixes
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7417 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-01 12:22:11 +00:00
brain
8199f4dd3e
Optimizations and code tidyups. QA please check that svsnick and other 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-07-01 12:06:15 +00:00
peavey
9ec0ed03e6
Split hostmask with XLines::IdentSplit then re-inject into check for proper detection. Thx owine.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7415 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-30 19:47:46 +00:00
special
04b820b329
Fixed a bug that caused classes with passwords to instantly disconnect any users (thanks Darom). Needs QA
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7414 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-28 17:29:41 +00:00
special
e4c1ae81ef
Made all of the error messages in chg* and set* a bit more uniform, and added a few that were missing
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7413 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-26 06:33:41 +00:00
special
ee6208dc8f
Added checks for empty ident/host/gecos in the chg* and set* commands. Patch by Stskeeps
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7412 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-26 06:15:14 +00:00
special
97590f9239
Added a prompt for certificate expiry time to openssl cert generation. Patch by yell0w
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7411 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-26 06:05:39 +00:00
special
ed7912c90f
Fixed the order of fields in openssl certificate generation; this would make really broken certificates. Thanks to yell0w
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7410 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-26 05:22:03 +00:00
special
3c084000e2
Fixed sunos 5.11 support, and a header issue with the ports socketengine. Patch by Stskeeps
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7409 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-25 12:09:24 +00:00
brain
a7091e0ea4
Fix undocumented windows behaviour where multiple dns servers are packed 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-24 20:51:22 +00:00
w00t
5758cbbd8e
These should not be oper only. Thanks Jobe.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7407 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-24 19:10:10 +00:00
brain
ebce54dc1f
Check for TS==0 in FJOIN
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7406 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-24 10:27:35 +00:00
brain
4d96ae684a
Drop fmode with TS of 0, just in case any craq smoking services devs get the 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-24 08:15:57 +00:00
brain
5c44887377
Fix for atheme support (and others) which makes sure CAPAB is always sent before BURST
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7404 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-24 08:07:59 +00:00
brain
0c3eaeaef5
No no no, the fix to free module factories in loadmodule on error causes a bus error :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7403 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-23 18:39:44 +00:00
peavey
70028ca725
Apply patch from BuildSmart. Add owner of process to launchd script.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7402 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-22 02:34:06 +00:00
peavey
bd0b32beb6
Add org.inspircd.plist to svn ignore.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7401 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-22 02:27:15 +00:00
peavey
2e44459aa6
Fix for bug #332 . Correctly invalidate old mode before updating it.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7400 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-22 02:19:38 +00:00
peavey
1d409d0f8b
Apply patch from BuildSmart that fixes an install path.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7399 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-21 15:51:30 +00:00
peavey
4a1755fe8c
Apply OSX patch from BuildSmart that fixes installation issues.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7398 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-21 04:24:54 +00:00
peavey
df0c429e4b
Apply patch from BuildSmart that fixes a few issues on Mac with the logfile path and ircdeamon user.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7397 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-21 01:30:19 +00:00
peavey
30c6abb928
Add BuildSmart to contributors for all his work on making inspircd work with Mac.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7396 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-21 01:04:33 +00:00
w00t
4683799c19
Clarify what generates Makefile, to prevent any new developers making the same mistakes I did a while back when I was doing some makefile playing.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7395 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-20 18:50:49 +00:00
w00t
7b075853c4
Make a comment make a bit more general sense, and indent a nested define.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7394 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-20 18:46:32 +00:00