summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
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
2007-04-09I think we're almost there nowbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6774 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09More fucking aroundbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6773 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09This is likely fucked up beyond all recognition. Today is fubar day :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6772 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Debug, and we seem to be sending capab twicebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6771 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Check against the HMAC challenge now: *UNTESTED*brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6770 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Add basic HMAC suggested by jilles to make the auth not suck -- this is ↵brain
probably buggy, and the other side doesnt auth yet. do not use. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6769 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Test code that pretends to send a hashed value if its got a challenge - ↵brain
don't use this, it wont connect git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6768 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Added ability to send and receive a challenge, dont do anything with it yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6767 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Add methods needed for storing challenge stringbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6766 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-08Make the max '3 dots' and not 2brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6765 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-08It might be slightly slower, but memset the array as we're using it as a ↵brain
matrix not a simple char*. This will mean that the possibility of past data being left behind in the buffer wont happen git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6762 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-08Should change the header toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6761 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-08Make the lines wide enough to hold the new databrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6760 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-07Add licensing headers to files which are missing them and make sure they are ↵brain
up to date in others (e.g. point at the developer page on the wiki not list names) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6759 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-06We had to roll our own time function because some craqsmoker thought having ↵brain
a carriage return on the end of ctime and asctime was a great idea, and the only other solution is to fanny around with strftime. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6749 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-06Show expiry times of glines, klines, qlines and elines as the time theyre ↵brain
due to expire rather than number of secs (thanks bricker) Oh, and i hate C time formatting functions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6748 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-06Fix bug #224 by refreshing the security ip cache every hour. The easier ↵brain
solution of course is not use crappy dynamic ips :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6745 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-05Fix for bug #199 (Feature request) submitted by owine. Ended up adding an ↵brain
extra parameter to <uline> for this. It turned into a biggie :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6742 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-05Fix for bug #216, m_cloaking now tries to cloak a larger amount of the ↵brain
hostname for resolving hosts to fix the issue reported by satmd in bug #216 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6741 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-05Add filter type 'silent', as requested in bug #235 reported by Casey.brain
filter type silent for m_filter and m_filter_pcre does not notify opers, and just blocks the text. It does however tell the user their text was blocked and still log. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6739 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-05Add support for <link:hidden> fixes feature request documented in bug #247 ↵brain
reported by owine git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6738 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-05Add extra /map info (connection uptime, and lag time) to /MAP for opers. ↵brain
Adds feature requested by bug #246 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6737 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-05Add feature outlined in bug #192, give a notice showing cipher on connect to ↵brain
users. Its not possible (without something really spammy and ugly) to show it to opers, and its no use showing it to opers anyway, this would just be a silly vanity feature :p (admins know its working - people are connecting on the ssl port!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6736 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-02This needs some general QA-ing. Add support to new parser (introduced in ↵brain
1.1) for empty final params (just the colon) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6731 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-02The other half of special's LUSERS fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6729 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-01Add feature to this module which allows you to specify that an oper requires ↵brain
ssl to oper up, but doesnt require a fingerprint git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6727 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-01Add -config parameter to bin/inspircd which allows a user to specify the ↵brain
config file on the commandline Note: This should really be a full pathname, and not a configuration file in the current directory. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6726 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-01Add m_seenicks.so, adds snomasks +nN which show local and remote nick ↵brain
changes (requested by giggsey, http://www.inspircd.org/forum/showthread.php?t=187) Fix m_nonicks description to not say it's globops. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6725 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-01Make it use the static text for the reason instead, i have a feeling clients ↵brain
are looking for the text of the numeric rather than the numeric itself :/ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6724 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-01Add m_jumpserver, allows server forwarding with RPL_REDIR numeric 010. xchat ↵brain
doesnt seem to support this, can someone with mirc please test? (documentation to follow, so you know how.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6723 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-30hidechans: allow showing on self whois, QA, test if you're bored :pw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6719 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-30Add extra stuff to LIST.brain
Firstly allow RFC-specified >x and <x, and allow for glob matching to match the topic text, as well as the channel name git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6718 e03df62e-2008-0410-955e-edbf42e46eb7