summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2007-08-23Craquity craq De-craq!brain
This is probably broken on windows, do not attempt to use there yet unless you like broken stuff. Cant say for sure as i havent even tried to build yet and most likely wont tonight. --- Abstract most of the berkely socket API out into SocketEngine derived classes. SocketEngine base class implements standard berkely sockets that 'real mens systems' like linux and freebsd have. For socketengine_iocp we implement the windows specific nonesense like the special things needed for udp and accept (ick). All this to eliminate a bunch of ifdefs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7810 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23Add some stuff to change how we process a token sepeperated streambrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7800 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-21Whoops, found a bug in it anyway :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7791 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-21Implement feature in bug #395 reported by stealth, and tidy up a bitbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7789 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-21Fix for delete-when-we-shouldnt bug similar to what stskeeps found yesterdaybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7787 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20The only possibility for the issue sts found is that a socket is deleted but ↵brain
also ends up in the socket cull list somehow. To ensure that the socket does not get deleted, remove the delete and replace with an explicit call to insert into the socket cull list. We were grappling with these issues in early 1.1 with the userrec cull list, too. NOTE for later 1.2's consider making CullList a base class which we can derive from to delete lists of other items than userrecs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7775 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20Add a pair of colons which should fix some KILL messages being dropped and ↵brain
fix some desyncs on nick collision git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7772 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20Fixes for m_nicklock desyncbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7770 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20Increase max time difference to 600 secsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7769 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Add <hostchange:ports> to the m_hostchange module to implement feature in ↵brain
bug #363 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7762 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Add 'A record' blacklist types. This will probably only go into 1.2, and ↵brain
needs some testing at some point. Can someone please provide a working example for the wiki page, as i don't know of any such blacklists to test against. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7754 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Allow support for multiple dns results per request. This is a significant ↵brain
change and should probably not be backported to stable. This will allow for a fix to feature request bug #384 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7753 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Add load warning, as suggested by Brickerbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7751 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Added proper header handling, persistant connections, and working timeouts ↵special
to m_httpd git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7743 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Improved compatibility with the JSON-RPC specification; beware, major ↵special
overhauls are afoot. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7742 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Fixed a crash within the timeout for m_httpd socketsspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7740 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-18Added the <cloak:ipalways> and <cloak:lowercase> options. Patch by nenolodspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7737 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-17* Fixed bug in m_banredirect where removing a ban on a channel with maxbans ↵burlex
set would result in a "ban list full" message. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7735 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-16Fixed bug #390 (broken m_chanprotect noservices)special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7730 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15* include/caller.h will now compile correctly on Windows platforms.burlex
+ Implemented gettimeofday in win32 wrapper, link rtt's will now display in milliseconds. * SocketEngine::BoundsCheckFd will now handle Windows event handler cases correctly. (fixing writing to sockets not working) * Fixed VC71 project. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7723 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15Fix small typo found by danieldgbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7720 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15Changed m_messageflood to use PreMessage and PreNotice, because it may kick ↵special
the user git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7719 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-13Fix new millisec /map to compile on windows, by ifndef gettimeofday out ↵peavey
reverting back to seconds for latency. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7717 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-13More changes from patch. Don't throttle opers due to server load.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7716 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11Fix a typo so it compiles.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7702 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-10Fix possible sqllog crash (working blind here!) where it could attempt to ↵brain
delete a pointer without knowing if that pointer was valid. (NEVER EVER use operator[] to lookup a map value, always use ::find()) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7700 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-09Show <unknown> instead of an empty string on CAPAB failure, spotted by djGrrrw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7691 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-09Fix for bug #379 reported by stealth. Trigger watch signon/signoff on +Q and -Qbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7689 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-07Feature request from djGrr, allow changing of server to server ping frequencybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7686 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-06Part of our fix didnt make it to here!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7682 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-06Fix warning in 4.2 gccbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7678 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-06Fix m_deaf not restricting messages from remote users, fixes bug #378 ↵w00t
reported by Skip git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7676 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05Change latency figures in /map to milliseconds, much more useful for lag ↵brain
measurement than seconds git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7667 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05Add m_nickflood: Provides usermode +F nickchanges:seconds - allows ↵w00t
nickchanges:seconds on a per-channel basis before denying further changes by any user on that channel. Requested in bug #325 by Potter. Works with <options:exemptchanops>, too. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7665 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05Try thisbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7663 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05Fix to trigger the write notification on successful writes, toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7662 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05Revert my fix and apply the flushevent, and a bit of debugging output.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7661 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05Fixes from experiences on chatspike. Use the proper OnBufferFlushed event to ↵brain
decide when to write data, don't just recursively call OnRawSocketWrite when it fails (duhhhhhhh) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7659 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05Fix random debian (well, duplicated on debian) breakage with client sockets ↵brain
'hanging' on connect git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7654 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-04Remove debug again.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7649 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-04Fix openssl.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7648 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-03Second part of fix, in theorybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7646 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-03Attempt fix for openssl buffer issue (fix was already here but experimental ↵brain
and commented out) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7644 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-03Add VF_COMMON to a lot modules which require it. Reported by danielg in bug ↵w00t
#369 and bug #370. Thanks, and sorry for the delay. Also fix one or two erroneous CMD_FAILURE that are more understandable as CMD_LOCALONLY. :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7641 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-03There was a missing colon on remote numeric 376. Spotted by Hal9000 of Denora.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7637 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-30Add uptimebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7631 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-30Add servers and server user counts, module versionsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7630 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-30Output is now xml in trunk.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7629 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-30Dont show hidden channelsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7627 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-30Fix some op/halfop countsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7625 e03df62e-2008-0410-955e-edbf42e46eb7