aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Start of moving m_spanningtree into a dir so we can split it, cutting down ↵Gravatar brain2007-01-181-5487/+0
| | | | | | ram use during compile, and compile time git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6372 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove tons of debug output from spanningtree as the first step in ↵Gravatar brain2007-01-171-74/+8
| | | | | | optimizing it for release git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6359 e03df62e-2008-0410-955e-edbf42e46eb7
* Also, if the line already existed, dont OR the value in, so that if all the ↵Gravatar brain2007-01-101-4/+8
| | | | | | say, glines we receive already exist, dont bother to apply glines :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6290 e03df62e-2008-0410-955e-edbf42e46eb7
* Clever stuff for applying lines (this needs testing);Gravatar brain2007-01-101-5/+26
| | | | | | | | | | When bursting, we clear a bitmask to 0. When we receive glines etc, we OR bits in the bitmask to values of APPLY_GLINES, APPLY_KLINES etc depending on what we've received, e.g. is it ADDLINE G, or ADDLINE K. When we ENDBURST at the end of the burst, pass the bitmask to apply_lines, rather than APPLY_ALL :) NOTE: While not bursting, the bitmask is flushed after each gline, but this is still faster as only the line type we just added will be ORed in. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6289 e03df62e-2008-0410-955e-edbf42e46eb7
* TimeSyncTimer now uses repeat timer.Gravatar peavey2007-01-091-3/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6272 e03df62e-2008-0410-955e-edbf42e46eb7
* Cache channel max bans value to save an O(n) loop of match() on every ban ↵Gravatar brain2007-01-091-0/+1
| | | | | | (etc) add git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6267 e03df62e-2008-0410-955e-edbf42e46eb7
* Document dns caching, add a "bool cached" to OnLookupComplete method in ↵Gravatar brain2007-01-071-2/+2
| | | | | | Resolver, and and add " -- cached" to end of 'looking up your host' string if their result is a cached result git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6254 e03df62e-2008-0410-955e-edbf42e46eb7
* DNS caching stuff (almost done)Gravatar brain2007-01-071-8/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6252 e03df62e-2008-0410-955e-edbf42e46eb7
* DNS Stuff - this wont work right yet, it will soon (tm)Gravatar brain2007-01-071-6/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6250 e03df62e-2008-0410-955e-edbf42e46eb7
* Add TTL stuff to dns system (pass it to inherited objects)Gravatar brain2007-01-071-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6247 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix remote opers not being added to all_opers.Gravatar peavey2007-01-061-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6238 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix modecount on remote NICKGravatar w00t2007-01-061-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6237 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix SVSJOIN desync (nothing too severe, don't panic) noticed on CS, found by ↵Gravatar w00t2007-01-061-1/+3
| | | | | | me/Brain :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6236 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #186 reported by peaveyGravatar brain2007-01-061-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6234 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix minor NICK / modes issue that goes against our public spec, and crashes ↵Gravatar w00t2007-01-061-8/+12
| | | | | | denora when introducing clients from a remote server git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6233 e03df62e-2008-0410-955e-edbf42e46eb7
* Try this AnMasterGravatar brain2007-01-061-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6229 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix to allow for OnRehash to know what user initiated the rehashGravatar brain2007-01-011-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, forgot to put something back that i took out during testing!Gravatar brain2007-01-011-3/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6201 e03df62e-2008-0410-955e-edbf42e46eb7
* Again, dont use this yetGravatar brain2007-01-011-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6200 e03df62e-2008-0410-955e-edbf42e46eb7
* Do not use these tweaks yetGravatar brain2007-01-011-6/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6199 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix odd desync in FJOIN (this was some hax we put in, and forgot to take out)Gravatar brain2007-01-011-14/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6198 e03df62e-2008-0410-955e-edbf42e46eb7
* Should fix bug #183 (rconnect issues), thanks BrickerGravatar special2006-12-291-6/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6154 e03df62e-2008-0410-955e-edbf42e46eb7
* Hash rehashing changeGravatar brain2006-12-231-19/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6080 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix server prefix on JOIN.Gravatar w00t2006-12-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6048 e03df62e-2008-0410-955e-edbf42e46eb7
* Correctly send TS in JOIN so that services packages etc dont become ↵Gravatar brain2006-12-171-0/+1
| | | | | | desynched (plus our own protocol docs say we do this when we send JOIN, oops breaking my own standards now) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6034 e03df62e-2008-0410-955e-edbf42e46eb7
* Dont use FJOIN to join users to channels outside the burst (revert to ↵Gravatar brain2006-12-171-11/+14
| | | | | | | | | earlier betas behaviour) which should prevent some spurious deops during normal operation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6032 e03df62e-2008-0410-955e-edbf42e46eb7
* When receiving an FJOIN, if we have no local users, dont send deops, this ↵Gravatar brain2006-12-171-1/+15
| | | | | | just contributes to pointless server noise git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6028 e03df62e-2008-0410-955e-edbf42e46eb7
* Add some comments to explain whats going off in one of the TreeSocket ↵Gravatar brain2006-12-161-2/+6
| | | | | | constructors git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6011 e03df62e-2008-0410-955e-edbf42e46eb7
* Not sending capab when theres no transport module attached to a server socketGravatar brain2006-12-161-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6010 e03df62e-2008-0410-955e-edbf42e46eb7
* Make SNO notice for +o globalGravatar peavey2006-12-161-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6007 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove global namespacing, makes modules compile FASTAH. Also massive update ↵Gravatar w00t2006-12-151-9/+6
| | | | | | on headers (change to InspIRCd Development Team, extend copyright to 2007). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5995 e03df62e-2008-0410-955e-edbf42e46eb7
* Improve the way 005 ISUPPORT is sent to users when they connect, cache it in ↵Gravatar brain2006-12-131-18/+1
| | | | | | a much more sane format which is much simpler to spool to them git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5978 e03df62e-2008-0410-955e-edbf42e46eb7
* New clone counting mechanism (this isnt tested yet)Gravatar brain2006-12-121-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5967 e03df62e-2008-0410-955e-edbf42e46eb7
* Debug stuff, and some minor fixesGravatar brain2006-12-111-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5927 e03df62e-2008-0410-955e-edbf42e46eb7
* Add InspIRCd::UseInterface and InspIRCd::DoneWithInterface, and also ↵Gravatar brain2006-12-101-0/+4
| | | | | | | | | | | | InspIRCd::GetInterfaceUseCount(). These can be used for one module to lock other modules in memory that it depends on, this way they can enforce an unload order so that you cant (for example) unload m_ssl_gnutls.so whilst m_spanningtree.so is using it for ssl server to server sessions (in this case, youd have to unload spanningtree first, THEN ssl_gnutls, to satisfy the dependencies and unload orders) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5924 e03df62e-2008-0410-955e-edbf42e46eb7
* Rename ssl.h -> transport.h, as its now used for ziplinksGravatar brain2006-12-101-1/+1
| | | | | | | Document the data format used by our ziplinks (its not just deflated data, there has to be a length header on the start) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5912 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't allow the user to define a non-existent transport in the <link> tagGravatar brain2006-12-091-2/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5902 e03df62e-2008-0410-955e-edbf42e46eb7
* Correctly report the transport names when server links occurGravatar brain2006-12-091-0/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5900 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove AESGravatar brain2006-12-091-133/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5899 e03df62e-2008-0410-955e-edbf42e46eb7
* Make it all work properly. Have it wait for handshake to complete before ↵Gravatar brain2006-12-091-3/+59
| | | | | | sending anything down the line git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5898 e03df62e-2008-0410-955e-edbf42e46eb7
* It works! WOO AND YAY! (this isnt finished yet, only an idiot would use this ↵Gravatar brain2006-12-091-12/+21
| | | | | | on a production net atm) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5897 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, some stuff was sdrawkcab!Gravatar brain2006-12-091-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5896 e03df62e-2008-0410-955e-edbf42e46eb7
* Move around the initialization stuff so it gets called in the right orderGravatar brain2006-12-091-20/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5895 e03df62e-2008-0410-955e-edbf42e46eb7
* Add stuff for <bind:transport> and <link:transport> that should be the ↵Gravatar brain2006-12-091-8/+26
| | | | | | transport name, e.g. 'openssl' or 'gnutls'. I didn't name it <bind:ssl> because it might be used for other stuff than just ssl eventually. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5894 e03df62e-2008-0410-955e-edbf42e46eb7
* Enumerate InspSocketHook modulesGravatar brain2006-12-091-0/+27
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5893 e03df62e-2008-0410-955e-edbf42e46eb7
* Add stuff so that TreeSockets can call any found hook modulesGravatar brain2006-12-091-5/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5892 e03df62e-2008-0410-955e-edbf42e46eb7
* Move thisGravatar brain2006-12-091-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5891 e03df62e-2008-0410-955e-edbf42e46eb7
* Account for channels with no modes setGravatar brain2006-12-031-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5838 e03df62e-2008-0410-955e-edbf42e46eb7
* Remote SQUIT, and god save the coder..Gravatar w00t2006-12-031-3/+59
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5831 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix typo that stops m_cban from workingGravatar brain2006-11-301-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5828 e03df62e-2008-0410-955e-edbf42e46eb7