summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2007-02-10Merge patch for WEBIRC command from satmdbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6565 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-10Improve +f kick message:brain
[17:25] --- You have been kicked from #test by test2.chatspike.net (Channel flood triggered (limit is 4 lines in 20 secs)) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6564 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-10Make some stuff configurable that hasnt been and should be.brain
<securelist waittime="n">: number of seconds a user must wait before LIST <safelist throttle="n">: Number of seconds a user must wait between each LIST command git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6563 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-10Finally make this module work at all on 1.1brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6558 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-09Check for nonexistent filebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6556 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-09Add and properly test the ability for an InspTimer to DelTimer itself from ↵brain
within its own Tick method. This wasnt supported before and would corrupt the iterator in the TickTimers() method of TimerManager. Non the less, peaveys new (perfectly sensible) fix broke it because i didnt document the caveat about DelTimer() :p This FIXES m_ident and possibly some other stuff. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6553 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-08And change this to gnutls in the debug message.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6552 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-08Catch the ModuleException thrown when AddIOHook fails, so that we can make a ↵brain
port hook failure nonfatal. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6551 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-08Try without deletes that it done anyway on close of InspSocket's socket.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6548 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07Consider your crackpipes confiscated, there was some right dailywtf-worthy ↵brain
stuff in here. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6547 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07A quick unit test shows this is broken -- fix quickbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6545 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07satmd tell me if this works, if ive got the wrong octet i need to change a ↵brain
bit of logic ops git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6544 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07Fix warning, remove unused varbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6543 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07Remember: C++ only works if you type the right method names and not ones ↵brain
that dont exist. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6542 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07Ident fixes,brain
removal of some old craq we dont use. cgiirc optimizations and tidyups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6541 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07Fix ipv6 ass-u-me'sbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6540 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07Add InvalidateCache() calls and fix a ton of ass-u-me :/brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6539 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07Make this work when we have both ipv6 and ipv4 connections at oncebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6538 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07To be more specific, specify rpath() macro herebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6537 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07Support port binding herebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6535 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07If a user connects over 4in6 (YUCK) give them an ipv4 cloakbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6533 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07Fix for bug #205 reported by nenolod (modules that erroneously check remote ↵brain
users to apply privmsg/notice restrictions) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6532 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-06Extra safety checks while exchanging certs, just in casebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6531 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-06Fix using wrong var to determine if host is ipv6 or ipv4, resulting in wrong ↵brain
cloak algorithm being picked for ipv6 users git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6527 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-06And fix the bugs that show up when we try and build it on ipv6brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6525 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-06Fix to work with mixed protocol environmentbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6524 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-06And fix typo.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6523 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-06Make use of new AAAA->A resolvingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6522 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-06Stuff to allow resolving of AAAA record, and on failure try A recordbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6521 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-06Fix resolving of security ips to allow for ipv4 resolution when built for ipv6brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6520 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-06Fixes to make this module build with the slightly changed inspsocket ↵brain
(insp_sockaddr addy is gone) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6516 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-05Heavy state of debug. If you are a developer, please avoid making use of ↵brain
this bit of code. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6498 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-05Move quitting of clients to a central Cull List, and do quitting outside ↵peavey
userrec and in main loop. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6497 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-04We already have the numeric durations, why the fuck was I trying to get them ↵w00t
again git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6490 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-04Call events properly on KLINE, GLINE and ZLINE for DNSBL module. This fixes ↵w00t
bans not propegating. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6488 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-03Better error reporting of failures to read certs in gnutls by calling ↵brain
gnutls_strerror(). Man this api is so much nicer than the ugly one in ssl :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6487 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-03Better logging for openssl, using SSL_print_error_cb() which calls a ↵brain
callback for error output (the default of outputting to stdout sucks) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6486 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-03Make this work on ancient gcc'sbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6485 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-03On ipv6 servers, if a user connects with 4in6 (0::ffff:...) then attempt a ↵brain
dnsbl lookup of their ip (the bit after the 0::ffff:) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6484 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-03Fix this not working.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6481 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-02Mention that +z means SSL only in the 489, thanks dmbw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6480 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-02Fixed a bug in m_connflood that caused the bootwait value to have no effectspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6478 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-01Add <securelist:exception> to allow certain masks to get around securelist.brain
By default add two lines to the config which allow searchirc and netsplit.de. (bwahaha) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6475 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30Fix w00ts compile error :p (if you do an if without braces, vars declared ↵brain
within that if are in fact local :p) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6464 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30Add strerror(errno) to port bind failure on TreeSocketbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6461 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30If no topic specified, give index help, thanks Robbyw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6460 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-29Opertype in /check is now properly spacifiedspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6455 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-28Fix this so that it works with outbound connects again.brain
Also fix it to cope with EAGAIN properly in handshake negotiation without returning 1 from Write() (when nothing was actually written at the upper layer of the transport!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6451 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-28Remove debug, add a few commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6450 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-28Fix broken openssl outbound connects.brain
A record needs to be kept of if this session was initially outbound or inbound, so we know if we need to re-call SSL_connect or SSL_accept on handshake failure, we also need to have two SSL_CTX's, one initialized as a client context and one as a server context (this is EW, but i guess its just how openssl does stuff) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6449 e03df62e-2008-0410-955e-edbf42e46eb7