summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-05-18Remove some unneccessary .c_str() callsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9734 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18Debug logging for connect class match failurew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9733 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18Fix bug found in <connect> code, <connect:limit> was checked after finding a ↵w00t
class that matched, not during - meaning that if they were locked out by <connect:limit>, they were given no second chance to be matched by a future <connect> (and that <connect> deny would not apply to them if necessary etc). Also tidy this up a *lot*, remove some of the nesting by (ab)using looping. This is a lot more understandable for me now. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9732 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18Fixybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9731 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18Whoops, this was a bit fucked up :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9730 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18Log all snomasks to "snomask" log type, level DEFAULT. This means your log ↵brain
gets all the snomasks in it, but you can filter them out with "-snomask". This allows a user to redirect them to a channel with m_chanlog git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9729 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18Holsteinbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9728 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-16MD_update causes valgrind warnings, remove it..... ...... JUST KIDDNG :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9727 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13Right now this just dumps the config hash as htmlbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9725 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13Check for windows drive letters on the start of paths and treat them the ↵brain
same as paths that start with /, this makes insp more friendly for windows filesystems git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9724 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13Fix the format of +p channels in /list (both in core /list and in ↵brain
m_safelist), thanks jrm :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9723 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13Microsoft, in their "infinite wisdom" decide to have no sensible naming ↵brain
convention at all for windows api structs so have taken the struct name 'ACL' in winnt.h. Therefore we have to rename ours to HTTPACL :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9720 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12code tidyupsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9716 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12httpd connection close fixes (these need to be backported to 1.1 at some ↵brain
point?) and acl tweaks to make http auth work git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9714 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12Add HTTP authbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9713 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12Add support for blacklists and whitelists, just http password auth to go ↵brain
(the most complex part) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9711 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12Flesh this out some morebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9710 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12Skeleton ACL module, and hooks for it. This will provide ip restrictions, ↵brain
passwording etc for httpd modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9709 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12Patch ReadFile() not to bork on one line files, and ensure it works ok with ↵brain
win32 (it does) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9707 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12Fix wildcard matching in win32, seems that incrementing an iterator ↵brain
dereferences it internally on win32, so iter++ when iter == container.end() drops an assert. YES, an assert. No fucking throw, making it a fucking pain to debug (no bt on assert, program exits) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9706 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-11Show keys to opers correctlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9705 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-11Dont obscure channel keys in the statsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9704 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-11cleanup an old unused varpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9703 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-11Show +sp channels to opers correctlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9702 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10Improve this not to use pointer maths directly, use an iteratorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9699 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10Fix for bug #532 reported by dantheman, thanksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9698 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10Check for " to &quot; toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9697 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10Add a 'sanitize' function to sanitize special characters in the output, <, > ↵brain
and & etc git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9696 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10Add ident, port, ip to user info in <user> tagbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9695 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10Give tons more information in the xml feed, should be enough to construct ↵brain
just about any stat i can think of right now. let me know if you need more info in the feed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9694 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10Fix for last nights blockcaps tweak to make it a little more accuratebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9692 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10Fix LoadConf always reading 1 extra byte of random garbage.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9691 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09If nobody else is going to submit a diff, may as well do it myself. Using ↵brain
your noggin avoids two loops git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9690 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Same fixes to make this module scale much better. Dont connect on each ↵peavey
query, keep open and send a byte like MySQL module. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9687 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Fixes to make this module scale much better. Dont connect on each query, ↵peavey
keep open and send a byte like MySQL module. Now with cleanup of bufferedsocket thanks to w00t <3 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9686 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09nuke some debug (snatch)peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9685 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Don't stringjoin here, we don't for any other commands (cban, *line) so I'd ↵w00t
like to stay consistant. This also won't confuse any third party apps. This is my fault, I hated colons when I first started working on insp. ;p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9684 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Don't route after nuking the user from orbit, there's no point (minor)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9683 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Add test suites for edge cases and in the process, spot a crash in the new ↵brain
code and fix it (empty mask in the match() functions makes it bomb) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9682 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Convert CIDR matching and wildcard matching to operate on std::stringsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9681 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Fixw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9680 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Fix crash if OnCheckBan is called and there is no list, the if was reversed.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9679 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Port from hottpd: Split src/socket.cpp out into src/cidr.cppw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9678 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Fix segfault on rehash and tweak the connect code.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9677 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Fix some indenting.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9676 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Add defaults for SQLHost since comparing depends on them being initialised. ↵peavey
Add also overload for operator!= for SQLhost. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9675 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Fix restart code, by getting run path and argv before calling Cleanup()peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9674 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08Add call to protocol interface to get useful info on the server map. Return ↵brain
a std::list of classes each of which has a server name, parent server name, user and oper count, and latency in millisecs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9673 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08Make this nicer, rely on the last write event after the Write() that sends ↵brain
all the data, not on a timer git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9671 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08Remove the timeout stuff, it is not stable and not really required, we are ↵brain
not emulating apache here but making a bare minimum of compliance to pass along xml etc. Personally i only really care about compliance with irc RFCs :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9669 e03df62e-2008-0410-955e-edbf42e46eb7