summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-05-18I dont know who said we keep going when we get a match, because thats just ↵brain
silly. we stop at the first connect block that matches all critera of the connection. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9738 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18Remove .c_str()'s in match() calls that are no longer needed as match() ↵brain
natively takes std::strings git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9737 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18More debug for Jasonw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9736 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18Please see my XXX in m_conn_umodes w00t, maybe something we can look at next?brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9735 e03df62e-2008-0410-955e-edbf42e46eb7
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-15Make FD_SETSIZE larger. We wont ever have this many users via select() on ↵brain
windows, this is to test out some stuff mainly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9726 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-13add HostServ as IRCservices has it as an option and add the names inside ↵bricker
anope.conf so they know its being specified.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9719 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13add "Bug tracker" to the default motd ;) everything else is there, why not thatbricker
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9718 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13add a couple quotes ;)bricker
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9717 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 example configbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9712 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-10update svn ignore to create less noise on conflicts and failed patching.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9700 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-09Add *.diff and *.patch to ignorespeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9688 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