summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
AgeCommit message (Collapse)Author
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-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-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-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-03-25Allow some commands to use a mask of * (this usually finds the 'root' server)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6711 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-24Test stuff to fix remote stats brokagebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6710 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-24Check validity (length) of all NICK parameters to make sure we're not ↵brain
introducing a dodgy client (such as one introduced by dmb's dodgy program) Normally, NICK parameters longer than allowed are weeded out by CAPAB but sending CAPAB is optional. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6705 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-20Update a notice on server already existing to be more clearw00t
- Update ModDesc for m_hidechans git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6693 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-18Change back to FMODE for channel mode changes from usersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6691 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-18set the TS of a channel in JoinUser, not after the entire FJOIN, this is ↵brain
safer and may fix the odd desync here and there git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6690 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-17Abort link at +/- 300secs, warn at +/- 30 secsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6689 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-16Remote /MODULESbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6688 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-16Now syncs with the master every 10 minsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6686 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-16Wtf, ive found the source of the drift, it adds the old delta to the new!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6685 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-16Different timesync, dont use yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6683 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-15Add third parameter to OnUserQuit (quit reason for opers only) - bump api ↵brain
version Add SetOperQuit and GetOperQuit methods to userrec Add OPERQUIT command to protocol - bump protocol version All this is to properly allow hidebans etc to work properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6675 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-15Someone is getting slapped for this; the new hidesplits/hidebans behavior ↵special
doesn't actually check if those options are enabled. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6673 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11Remove stray "Notice:" - text only changebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6663 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11Fixed a crash with a malformed server-to-server NICK command, thanks dmbspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6656 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11Just commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6655 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11Comments only.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6653 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11Bump protocol revisionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6652 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-10This now makes RemoveStatus remove *everything* as pointed out by jilles. ↵brain
This will prevent simplemodes desyncs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6651 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-10Add a TODO commentbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6650 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-10Whoops, fix a silly bug i just introduced :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6649 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-10Move FJOIN propogation above the FMODEs generated by winning an FJOINbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6648 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-10Fix typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6645 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-10HIGHLY EXPERIMENTAL: This needs heavy testing -- new FMODE behaviour:brain
(1) IF THEIRTS <= OURTS, ACCEPT MODE AND PASS ON (2) If THEIRTS > OURTS, drop the mode and DONT pass on. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6644 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-08Take away a uline specific check in fmode, which might explain why desyncs ↵brain
between servers only occur when theres a ulined server about. QA please test this with at least 2 insps and services and server syncs/splits, check for channel mode desyncs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6638 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-08Change options:notimesync to options:timesync -> reverse its meaning and ↵brain
default it to off git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6637 e03df62e-2008-0410-955e-edbf42e46eb7