summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Okay, this was good in theory, but totally and utterly fucked in ↵Gravatar w00t2008-05-051-26/+2
| | | | | | implementation. Rip out automatic global snotice code. It's not going to be *that* difficult to trigger global snotice with protocol interface now anyway I guess. We need to re-add calls to protocol interfaces in places like failed oper and so on. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9649 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert m_spanningtreeGravatar aquanight2008-05-051-14/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9626 e03df62e-2008-0410-955e-edbf42e46eb7
* Hack, hack, hack, hack hack. Hack hack. Probably fix snotice loops, though.Gravatar w00t2008-04-211-0/+25
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9573 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove SpanningTreeProtocolInterface::SendOperNotice - it was translated to ↵Gravatar w00t2008-04-171-6/+0
| | | | | | a SendSNONotice 'A' anyway, and only used by SAMODE, which duplicated it with a SendSNONotice 'A' also anyhow o.o - this means OPERNOTICE is now gone from protocol 1200, and SNONOTICE should be used instead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9530 e03df62e-2008-0410-955e-edbf42e46eb7
* Changes needed to get open-linking working.Gravatar w00t2008-04-081-1/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9431 e03df62e-2008-0410-955e-edbf42e46eb7
* Comment tweakageGravatar w00t2008-04-081-5/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9429 e03df62e-2008-0410-955e-edbf42e46eb7
* This comment is slightly out of date: we do write to opers now.Gravatar w00t2008-04-081-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9428 e03df62e-2008-0410-955e-edbf42e46eb7
* Remote REHASH stuff, this drove me nuts but should probably work now.. thx brainGravatar w00t2008-04-081-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9423 e03df62e-2008-0410-955e-edbf42e46eb7
* This should probably be tested, but makes a whole lot more sense like this ↵Gravatar brain2008-04-071-2/+3
| | | | | | (users.cpp) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9404 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix this up to convert deque to const char* const for w00tGravatar brain2008-04-061-1/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9382 e03df62e-2008-0410-955e-edbf42e46eb7
* Remote /MAP: caution, this doesn't compileGravatar w00t2008-04-061-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9381 e03df62e-2008-0410-955e-edbf42e46eb7
* For some reason there was a FinishBurst in the encap command, which was ↵Gravatar brain2008-04-061-1/+0
| | | | | | sending spurious end of burst messages git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9379 e03df62e-2008-0410-955e-edbf42e46eb7
* Tweaks to make some errors show server name and not server IDGravatar brain2008-04-051-6/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9353 e03df62e-2008-0410-955e-edbf42e46eb7
* Redo the MODE warning stuff. Don't do some extra unneeded checks, don't ↵Gravatar w00t2008-04-051-16/+5
| | | | | | allow SVSMODE on a channel, close any link that tries to do a MODE on a channel. FMODE with proper TS rules *must* be used. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9348 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crash in MODE when sent for a user, with only one parameter (which is ↵Gravatar brain2008-04-051-1/+1
| | | | | | wrong, anyway) - Also fix bad output in protocol interface when sending MODE for a user from a server origin git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9346 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix lost messages, thanks w00t and peaveyGravatar brain2008-04-041-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9325 e03df62e-2008-0410-955e-edbf42e46eb7
* Server origin privmsg, UNTESTED - will test in a minGravatar brain2008-04-041-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9306 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove call to FlushWriteBuffer from BufferedSocket::Write(), this means we ↵Gravatar w00t2008-04-011-2/+2
| | | | | | don't try write() pointlessly when we may very well not (chewing CPU), and instead waits for the socketengine to tell us we can write. Tested, works fine. (nothing used this return value anyway) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9247 e03df62e-2008-0410-955e-edbf42e46eb7
* Special check in here now that forbids all use of MODE in s2s for changing ↵Gravatar brain2008-04-011-0/+10
| | | | | | channel modes, closing a loophole that services devs keep using to bypass implenting proper TS, and breaking our protocol. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9244 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, forgot to tie ENCAP into receiver in treesocketGravatar brain2008-03-211-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9151 e03df62e-2008-0410-955e-edbf42e46eb7
* w00t broke it :pGravatar brain2008-02-221-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9002 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert remaining InspIRCd::Log() calls to new logging systemGravatar aquanight2008-02-221-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9001 e03df62e-2008-0410-955e-edbf42e46eb7
* Nuke TIMESYNC from orbit \o/Gravatar w00t2008-02-221-11/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8998 e03df62e-2008-0410-955e-edbf42e46eb7
* Add server.cpp, handles all stuff related to the server command. ↵Gravatar w00t2008-02-051-204/+0
| | | | | | treesocket2.cpp is now ~700 lines :-) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8836 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up some FJOIN stuffGravatar w00t2008-02-041-23/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8816 e03df62e-2008-0410-955e-edbf42e46eb7
* Move a piece of HMAC to hmac.cppGravatar w00t2008-02-041-18/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8815 e03df62e-2008-0410-955e-edbf42e46eb7
* Split treesocket2 into various smaller filesGravatar w00t2008-02-041-728/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8814 e03df62e-2008-0410-955e-edbf42e46eb7
* Clear up header insanityGravatar w00t2008-02-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8808 e03df62e-2008-0410-955e-edbf42e46eb7
* Propegate BURST and ENDBURST network-wide for timing of bursts, and to keep ↵Gravatar w00t2008-02-031-223/+186
| | | | | | XLine application pending until the most opportune moment. Also do some general cleaning up. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8806 e03df62e-2008-0410-955e-edbf42e46eb7
* WhoopsGravatar brain2008-02-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8805 e03df62e-2008-0410-955e-edbf42e46eb7
* What do you think of this, w00t?Gravatar brain2008-02-031-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8804 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix burst time indicator: set startburst in treeserver's constructor, BURST ↵Gravatar w00t2008-02-031-5/+0
| | | | | | in treesocket is only valid placement for incoming connections. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8803 e03df62e-2008-0410-955e-edbf42e46eb7
* Show extra debug for burst timeGravatar w00t2008-02-031-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8802 e03df62e-2008-0410-955e-edbf42e46eb7
* Broken, but.. show how many milliseconds a burst takes. Someone care to tell ↵Gravatar w00t2008-02-031-1/+16
| | | | | | me why this is fucked/fix it? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8801 e03df62e-2008-0410-955e-edbf42e46eb7
* Move some stuff to usermanager, remove a little header insanity, remove ↵Gravatar w00t2008-02-021-3/+3
| | | | | | trace because it's still less useful than a chocolate fireman. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8790 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for empty prefixes, and close server connections attempting to use themGravatar w00t2008-02-021-0/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8788 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix.. snomask O is already taken (ffs) so use A insteadGravatar w00t2008-01-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8729 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd::WriteOpers in favour of snomask OGravatar w00t2008-01-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8728 e03df62e-2008-0410-955e-edbf42e46eb7
* Validate <server:id> on startup if provided, thx BrainGravatar w00t2008-01-161-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8721 e03df62e-2008-0410-955e-edbf42e46eb7
* Header update: 2007 -> 2008Gravatar w00t2008-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
* Forward port r8664: bind server sockets on /rehashGravatar w00t2008-01-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8665 e03df62e-2008-0410-955e-edbf42e46eb7
* Correct typoGravatar w00t2008-01-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8659 e03df62e-2008-0410-955e-edbf42e46eb7
* Forward port r8629: Fix for bug #458 - servers going missing on collision etcGravatar w00t2008-01-041-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8630 e03df62e-2008-0410-955e-edbf42e46eb7
* Back out previous patch disabling ADDLINE processing. The problem is in the ↵Gravatar w00t2008-01-041-5/+11
| | | | | | new factory stuff. This makes it not close the link, and warn about the problem, but not actually fix it yet.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8627 e03df62e-2008-0410-955e-edbf42e46eb7
* ADDLINE is broken, don't process it for now..Gravatar w00t2008-01-041-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8626 e03df62e-2008-0410-955e-edbf42e46eb7
* Roadmap item "Fix jointhrottle to not try 'throttle' clients during a ↵Gravatar brain2007-11-091-1/+1
| | | | | | | | | netmerge (requires changing join event to be aware of netmerge?)" -- 1.2 only requires an extra parameter to OnUserJoin, bool sync. usually false, but FJOIN code during burst sets it to true. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8552 e03df62e-2008-0410-955e-edbf42e46eb7
* Some more to fix still, modules probably wont load correctly atmGravatar brain2007-11-041-4/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8515 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement DELLINE, allow both DELLINE and ADDLINE to take a server OR client ↵Gravatar brain2007-11-021-4/+27
| | | | | | origin git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8468 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidy up, and make the identifer for a line type be std::string not charGravatar brain2007-11-021-3/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8459 e03df62e-2008-0410-955e-edbf42e46eb7
* Make it compilable :pGravatar brain2007-10-311-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8451 e03df62e-2008-0410-955e-edbf42e46eb7