summaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge patch for WEBIRC command from satmdGravatar brain2007-02-101-6/+69
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6565 e03df62e-2008-0410-955e-edbf42e46eb7
* Improve +f kick message:Gravatar brain2007-02-101-1/+3
| | | | | | | [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
* Make some stuff configurable that hasnt been and should be.Gravatar brain2007-02-102-4/+14
| | | | | | | | <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
* Finally make this module work at all on 1.1Gravatar brain2007-02-101-36/+41
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6558 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for nonexistent fileGravatar brain2007-02-091-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6556 e03df62e-2008-0410-955e-edbf42e46eb7
* Add and properly test the ability for an InspTimer to DelTimer itself from ↵Gravatar brain2007-02-091-2/+6
| | | | | | | | | | | 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
* And change this to gnutls in the debug message.Gravatar brain2007-02-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6552 e03df62e-2008-0410-955e-edbf42e46eb7
* Catch the ModuleException thrown when AddIOHook fails, so that we can make a ↵Gravatar brain2007-02-082-16/+30
| | | | | | port hook failure nonfatal. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6551 e03df62e-2008-0410-955e-edbf42e46eb7
* Try without deletes that it done anyway on close of InspSocket's socket.Gravatar peavey2007-02-081-11/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6548 e03df62e-2008-0410-955e-edbf42e46eb7
* Consider your crackpipes confiscated, there was some right dailywtf-worthy ↵Gravatar brain2007-02-071-4/+3
| | | | | | stuff in here. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6547 e03df62e-2008-0410-955e-edbf42e46eb7
* A quick unit test shows this is broken -- fix quickGravatar brain2007-02-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6545 e03df62e-2008-0410-955e-edbf42e46eb7
* satmd tell me if this works, if ive got the wrong octet i need to change a ↵Gravatar brain2007-02-071-23/+8
| | | | | | bit of logic ops git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6544 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix warning, remove unused varGravatar brain2007-02-071-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6543 e03df62e-2008-0410-955e-edbf42e46eb7
* Remember: C++ only works if you type the right method names and not ones ↵Gravatar brain2007-02-072-4/+4
| | | | | | that dont exist. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6542 e03df62e-2008-0410-955e-edbf42e46eb7
* Ident fixes,Gravatar brain2007-02-072-10/+25
| | | | | | | | 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
* Fix ipv6 ass-u-me'sGravatar brain2007-02-072-4/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6540 e03df62e-2008-0410-955e-edbf42e46eb7
* Add InvalidateCache() calls and fix a ton of ass-u-me :/Gravatar brain2007-02-071-3/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6539 e03df62e-2008-0410-955e-edbf42e46eb7
* Make this work when we have both ipv6 and ipv4 connections at onceGravatar brain2007-02-071-3/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6538 e03df62e-2008-0410-955e-edbf42e46eb7
* To be more specific, specify rpath() macro hereGravatar brain2007-02-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6537 e03df62e-2008-0410-955e-edbf42e46eb7
* Support port binding hereGravatar brain2007-02-076-5/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6535 e03df62e-2008-0410-955e-edbf42e46eb7
* If a user connects over 4in6 (YUCK) give them an ipv4 cloakGravatar brain2007-02-071-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6533 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #205 reported by nenolod (modules that erroneously check remote ↵Gravatar brain2007-02-0714-7/+29
| | | | | | users to apply privmsg/notice restrictions) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6532 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra safety checks while exchanging certs, just in caseGravatar brain2007-02-061-4/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6531 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix using wrong var to determine if host is ipv6 or ipv4, resulting in wrong ↵Gravatar brain2007-02-061-1/+1
| | | | | | cloak algorithm being picked for ipv6 users git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6527 e03df62e-2008-0410-955e-edbf42e46eb7
* And fix the bugs that show up when we try and build it on ipv6Gravatar brain2007-02-061-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6525 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix to work with mixed protocol environmentGravatar brain2007-02-061-7/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6524 e03df62e-2008-0410-955e-edbf42e46eb7
* And fix typo.Gravatar brain2007-02-061-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6523 e03df62e-2008-0410-955e-edbf42e46eb7
* Make use of new AAAA->A resolvingGravatar brain2007-02-061-3/+24
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6522 e03df62e-2008-0410-955e-edbf42e46eb7
* Stuff to allow resolving of AAAA record, and on failure try A recordGravatar brain2007-02-062-2/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6521 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix resolving of security ips to allow for ipv4 resolution when built for ipv6Gravatar brain2007-02-062-5/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6520 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes to make this module build with the slightly changed inspsocket ↵Gravatar brain2007-02-061-1/+8
| | | | | | (insp_sockaddr addy is gone) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6516 e03df62e-2008-0410-955e-edbf42e46eb7
* Heavy state of debug. If you are a developer, please avoid making use of ↵Gravatar brain2007-02-051-1/+1
| | | | | | this bit of code. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6498 e03df62e-2008-0410-955e-edbf42e46eb7
* Move quitting of clients to a central Cull List, and do quitting outside ↵Gravatar peavey2007-02-052-167/+149
| | | | | | userrec and in main loop. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6497 e03df62e-2008-0410-955e-edbf42e46eb7
* We already have the numeric durations, why the fuck was I trying to get them ↵Gravatar w00t2007-02-041-3/+3
| | | | | | again git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6490 e03df62e-2008-0410-955e-edbf42e46eb7
* Call events properly on KLINE, GLINE and ZLINE for DNSBL module. This fixes ↵Gravatar w00t2007-02-041-0/+3
| | | | | | bans not propegating. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6488 e03df62e-2008-0410-955e-edbf42e46eb7
* Better error reporting of failures to read certs in gnutls by calling ↵Gravatar brain2007-02-031-10/+14
| | | | | | 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
* Better logging for openssl, using SSL_print_error_cb() which calls a ↵Gravatar brain2007-02-031-10/+26
| | | | | | 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
* Make this work on ancient gcc'sGravatar brain2007-02-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6485 e03df62e-2008-0410-955e-edbf42e46eb7
* On ipv6 servers, if a user connects with 4in6 (0::ffff:...) then attempt a ↵Gravatar brain2007-02-031-3/+20
| | | | | | 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
* Fix this not working.Gravatar peavey2007-02-031-8/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6481 e03df62e-2008-0410-955e-edbf42e46eb7
* Mention that +z means SSL only in the 489, thanks dmbGravatar w00t2007-02-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6480 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed a bug in m_connflood that caused the bootwait value to have no effectGravatar special2007-02-021-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6478 e03df62e-2008-0410-955e-edbf42e46eb7
* Add <securelist:exception> to allow certain masks to get around securelist.Gravatar brain2007-02-011-3/+18
| | | | | | | | 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
* Fix w00ts compile error :p (if you do an if without braces, vars declared ↵Gravatar brain2007-01-301-1/+2
| | | | | | within that if are in fact local :p) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6464 e03df62e-2008-0410-955e-edbf42e46eb7
* Add strerror(errno) to port bind failure on TreeSocketGravatar brain2007-01-301-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6461 e03df62e-2008-0410-955e-edbf42e46eb7
* If no topic specified, give index help, thanks RobbyGravatar w00t2007-01-301-4/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6460 e03df62e-2008-0410-955e-edbf42e46eb7
* Opertype in /check is now properly spacifiedGravatar special2007-01-291-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6455 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix this so that it works with outbound connects again.Gravatar brain2007-01-281-9/+18
| | | | | | | 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
* Remove debug, add a few commentsGravatar brain2007-01-282-41/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6450 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix broken openssl outbound connects.Gravatar brain2007-01-282-12/+81
| | | | | | | | 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