summaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Expand)AuthorAgeFilesLines
* update some comments.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6830 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-04-221-2/+2
* Fix crash if trying to remove pattern that does not exist.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6829 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-04-221-2/+1
* Fix typo•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6826 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-221-1/+1
* cleanup space indenting•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6825 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-04-222-3/+3
* Send numeric when item doesnt exist on remove•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6824 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-222-0/+4
* Fix memory consumption of m_slence, users silence lists arent deleted till th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6823 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-222-27/+19
* Add *** to +s SNOTICEs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6820 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-04-211-2/+2
* Add *** to +s SNOTICEs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6819 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-213-4/+4
* Fix bug #259 proper by doing what I should have done back in r6618 when I fir...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6817 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-04-201-1/+1
* Revert this back to previous.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6816 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-04-201-4/+2
* Do not add empty strings to outgoing lines. *needs testing, may break stuff*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6815 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-04-191-2/+4
* Check some userrec values in remote whois, so that it wont crash if a user ha...•••Fixes bug #260 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6814 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-191-6/+8
* Add another trim() to outgoing metadata accountname. *needs test*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6812 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-04-181-0/+3
* oops, overlooked a reference.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6811 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-04-181-1/+1
* Add fix for bug #259 now that Brain is RAM impaired :p *QA please test*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6810 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-04-181-0/+2
* Added options:deprotectothers, this is like options:deprotectself, but if set...•••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 Gravatar brain2007-04-161-11/+28
* Fix for bug that took ages to track down and was very subtle.•••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 Gravatar brain2007-04-154-0/+62
* Working in m_filter_pcre.•••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 Gravatar brain2007-04-141-4/+8
* Add move-match-to-head-of-queue stuff to pcre filter•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6793 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-141-6/+11
* Working for m_filter, needs implementing in m_filter_pcre•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6792 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-141-1/+1
* Some tweaks suggested by pingbad, dont use yet :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6791 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-141-1/+8
* Dont use send_mode_explicit protocol call, use send_mode, which doesnt try an...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6788 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-121-3/+3
* The hmac stuff was slightly wrong, calculating the 2nd part•••left a concatenation outside the bracket git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6787 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+2
* D'oh, this is what causes it to randomly not allow the HMAC, when theres an =...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6786 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+4
* And spell it right.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6785 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+1
* Minor change, easy to roll back if it fucks up•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6784 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+6
* Whoopsie•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6783 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+1
* Wait longer before sending data on the connect than on the accept•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6782 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-093-5/+5
* Revert•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6781 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-092-6/+4
* Test tweak to make it sync faster•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6780 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-092-2/+6
* Different way of generating random string•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6779 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-1/+17
* Give information in snomask +l to what type of auth was used•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6778 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-3/+2
* Handle non-hmac servers smarter without having to globally turn off hmac•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6777 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-2/+2
* Add config <options:disablehmac> to support disabling of HMAC, and tidy up to...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6776 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-095-9/+59
* Remove debug: This now works!•••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 Gravatar brain2007-04-091-8/+7
* I think we're almost there now•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6774 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-093-5/+9
* More fucking around•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6773 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-092-6/+1
* This is likely fucked up beyond all recognition. Today is fubar day :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6772 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-093-4/+9
* Debug, and we seem to be sending capab twice•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6771 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-10/+11
* Check against the HMAC challenge now: *UNTESTED*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6770 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-091-2/+2
* Add basic HMAC suggested by jilles to make the auth not suck -- this is proba...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6769 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-094-8/+29
* Test code that pretends to send a hashed value if its got a challenge - don't...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6768 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-094-7/+18
* Added ability to send and receive a challenge, dont do anything with it yet•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6767 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-093-9/+38
* Add methods needed for storing challenge string•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6766 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-092-0/+41
* Make the max '3 dots' and not 2•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6765 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-081-1/+1
* It might be slightly slower, but memset the array as we're using it as a matr...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6762 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-081-0/+3
* Should change the header too•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6761 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-081-1/+1
* Make the lines wide enough to hold the new data•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6760 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-081-5/+5
* Add licensing headers to files which are missing them and make sure they are ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6759 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-0719-0/+247
* We had to roll our own time function because some craqsmoker thought having a...•••strftime. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6749 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-061-1/+1