summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* Fix for bug #261 - Needs QA'ing.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6813 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-191-0/+3
* 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
* Add trim() to hashcomp to trail leading and traling spaces from std::strings•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6809 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-04-181-0/+11
* 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 the restart stuff that bricker noticed while testing an feature request•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6804 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-161-3/+6
* 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
* Whoooooooooooooooooooops. Forgot to initialize a varaible, so wether insp sta...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6801 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-151-1/+1
* Add --version parameter to the binary bin/inspircd, i remember someone reques...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6800 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-151-3/+12
* Add tweaks to support feature request in bug #256, now awaiting QA test•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6799 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-151-2/+9
* Feature request outlined in bug #257, allow connect/allow lines by port•••Needs QA test git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6798 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-152-5/+17
* Report the correct MAXMODES value•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6796 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-151-1/+1
* Don't send SYNTAX to clients which havent registered fully yet. Nothing says ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6795 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-141-1/+1
* 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-142-2/+9
* Add a pair of curly braces because gcc will whine otherwise about declaration...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6790 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-141-7/+9
* Find out from the commit notices that we're still using ctime() here and shou...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6789 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-141-1/+1
* 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
* Fix to reinsert sockets into the list as read event•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6764 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-081-1/+6
* Add support for solaris 10 IO Completion Ports, contributed by nenolod•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-081-0/+122
* 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