summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2007-05-04First compilable commit of m_auditorium. Not yet tested IN ANY WAY.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6861 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-03Fix broken modules (broken due to api change)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6860 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-03Fix for new apibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6859 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-01Much more detailed logging of lowlevel socket errors to the +l snomaskbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6856 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-01Fix crashbug in latest svn introduced by inspsocket cull list, which can ↵brain
cause a crash if the connection times out and an error occurs on the socket before its deleted git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6855 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-28squash a compile warning found by giggsey.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6851 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-27Add and document m_clones as requested by bug #267brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6848 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-27m_dnsbl stats should count no result as a missspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6847 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-26Fixed bug #266 (m_dnsbl stats), patch by satmdspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6846 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-26Make error reporting work properly, it seemed to loose errors.brain
First change: Add a culling list of inspsockets waiting to be closed, so the close() is less likely to be called before the buffer is entirely empty. This seems to work well on my LAN. Second change: Add a SendError() method, rather than WriteLine("ERROR : ..."). This can be used to effect by also echoing out "Sent ERROR to %s: ..." onto the +l snomask meaning at least one end will always see the error even if the ERROR command is lost due to latency or design of the transport (e.g. ssl which may be writing during a read event etc) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6844 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-25Added m_chancreate, which adds snomask +j to show when new channels are createdspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6837 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-25Please try this, satmdbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6835 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-25Use segments of 8 in length not ten, reducing the length of a cloaked ipv6 ↵brain
host by 12 chars (2*6) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6834 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-25dhost and host are both char[65], so let stringcopy take up to 64 chars here.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6833 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-24Shorten the length of ipv6 cloaks so that a character isnt lost (6 segments ↵brain
plus :'s means > 63), its now 5 segments plus 5 colons equalling 55. QA Please test if possible. (connect unresolving ipv6's to a network and check they display ok on join and quit and not like this:) seeboo ( seeboo@128D1B1808:B184FB403B:282A02A3AB:6949B425CE:D744031274:2587FA5 ) has quit IRC ( Client exited ) seeboo ( seeboo@128D1B1808:B184FB403B:282A02A3AB:6949B425CE:D744031274:2587FA5C ) has joined git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6832 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-22update some comments.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6830 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-22Fix crash if trying to remove pattern that does not exist.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6829 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-22Fix typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6826 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-22cleanup space indentingpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6825 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-22Send numeric when item doesnt exist on removebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6824 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-22Fix memory consumption of m_slence, users silence lists arent deleted till ↵brain
they quit, they should be deleted when they empty their list to save ram git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6823 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-21Add *** to +s SNOTICEspeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6820 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-21Add *** to +s SNOTICEsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6819 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-20Fix bug #259 proper by doing what I should have done back in r6618 when I ↵peavey
first fixed logout issue. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6817 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-20Revert this back to previous.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6816 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-19Do not add empty strings to outgoing lines. *needs testing, may break stuff*peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6815 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-19Check some userrec values in remote whois, so that it wont crash if a user ↵brain
has quit before the IDLE command arrives. Fixes bug #260 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6814 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-18Add another trim() to outgoing metadata accountname. *needs test*peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6812 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-18oops, overlooked a reference.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6811 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-18Add fix for bug #259 now that Brain is RAM impaired :p *QA please test*peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6810 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-16Added options:deprotectothers, this is like options:deprotectself, but if ↵brain
set allows one user with +a to remove another users +a, and a user with +q to remove another users +q. Default behaviour is to turn this option off like previous versions of insp defaulted to. Thanks to Bricker for the idea and w00t not getting pissy at me :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6806 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-15Fix for bug that took ages to track down and was very subtle.brain
During authentication the flow of commands is as follows: > SERVER aaaaaa < SERVER bbbbbb > BURST < BURST ... what can happen is that between the two server commands we can introduce SERVER aaaa to server bbbbb again, from a different socket. As server aaaaa doesnt exist yet and we're waiting for it to say yes or no to our own SERVER command over at bbbbbb, it cant be found with FindServer. Therefore we need a second list of servers that arent yet authenticated, but are waiting TO authenticate, by the pointer their socket has and the name they want to become after auth. If two servers introduce themselves at the same time, triggering what was the race condition, both servers are disconnected with "ERROR :Negotiation collision" and must try again until only one succeeds. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6802 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-14Working in m_filter_pcre.brain
Thanks DarkPrince (PingBad) for the idea we messed with - when a match is successful move that match to the head of the list (O(1) operation) The original suggestion was to sort, this would be far too expensive git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6794 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-14Add move-match-to-head-of-queue stuff to pcre filterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6793 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-14Working for m_filter, needs implementing in m_filter_pcrebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6792 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-14Some tweaks suggested by pingbad, dont use yet :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6791 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-12Dont use send_mode_explicit protocol call, use send_mode, which doesnt try ↵brain
and force the mode through via non-FMODE git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6788 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09The hmac stuff was slightly wrong, calculating the 2nd partbrain
left a concatenation outside the bracket git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6787 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09D'oh, this is what causes it to randomly not allow the HMAC, when theres an ↵brain
= in the string, it borks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6786 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09And spell it right.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6785 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Minor change, easy to roll back if it fucks upbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6784 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Whoopsiebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6783 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Wait longer before sending data on the connect than on the acceptbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6782 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Revertbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6781 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Test tweak to make it sync fasterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6780 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Different way of generating random stringbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6779 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Give information in snomask +l to what type of auth was usedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6778 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Handle non-hmac servers smarter without having to globally turn off hmacbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6777 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Add config <options:disablehmac> to support disabling of HMAC, and tidy up ↵brain
to detect if the other side hasnt got it enabled and we did, or if we enabled it and dont have sha256 (that would be an oops) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6776 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Remove debug: This now works!brain
WARNING: I have no idea how this will react to being linked to a past version without HMAC-challenge-response.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6775 e03df62e-2008-0410-955e-edbf42e46eb7