summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add XLine::SetCreateTime that removes gline_set_creation_time and friendsGravatar brain2007-10-311-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8449 e03df62e-2008-0410-955e-edbf42e46eb7
* Use XLineFactory in ADDLINE, so that it can deal with anything the rest of ↵Gravatar brain2007-10-311-40/+8
| | | | | | the ircd knows about git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8444 e03df62e-2008-0410-955e-edbf42e46eb7
* Make it all compile.Gravatar brain2007-10-311-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8443 e03df62e-2008-0410-955e-edbf42e46eb7
* Spanningtree now compilesGravatar brain2007-10-311-8/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8435 e03df62e-2008-0410-955e-edbf42e46eb7
* PERL PIE FOR ALL: Rename a fuckload of XLineManager's methodsGravatar w00t2007-10-281-9/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8399 e03df62e-2008-0410-955e-edbf42e46eb7
* - Tear out a useless load of XLine clutters that did nothing much except ↵Gravatar w00t2007-10-281-18/+8
| | | | | | | | | | | confuse things - Revert back to early 1.0 design of using a single list for line storage. We'll make this work more efficiently than 1.0 though of course. This simplifies the code for expiry, checking, etc. - Merge a bunch of sort callbacks into a single sort callback for class XLine. - Horribly break apply_lines() for the time being. .. and that's probably it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8398 e03df62e-2008-0410-955e-edbf42e46eb7
* InspSocket -> BufferedSocket. Paves the way for a SimpleSocket class which ↵Gravatar w00t2007-10-151-1/+1
| | | | | | ident etc will use. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8206 e03df62e-2008-0410-955e-edbf42e46eb7
* In the grand tradition of huge fucking commits:Gravatar w00t2007-10-151-41/+41
| | | | | | | | - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
* Change the way origins are shown in snonotice, for djGrrr :pGravatar brain2007-10-141-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8181 e03df62e-2008-0410-955e-edbf42e46eb7
* Change 'unrecognised command BLAH' to 'unrecognised or malformed command ↵Gravatar brain2007-10-091-1/+1
| | | | | | BLAH' just to make it obvious to lazy people. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8140 e03df62e-2008-0410-955e-edbf42e46eb7
* Forgot part of the fix for bug #404Gravatar special2007-09-271-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8086 e03df62e-2008-0410-955e-edbf42e46eb7
* * Fixed some incorrect declarations in IOCPEngineGravatar burlex2007-09-041-1/+1
| | | | | | | | | | * Fixed the virtual socket wrapper functions in IOCPEngine {these should really be inlined on unix} * Fixed several compilation issues under Win32 * Fixed calls to close() which should've been changed to SE->Close() + Added a crashdump saving system to Win32 builds. Dumps are saved in the format of dump-<exename>-<year>-<month>-<day>-<hour>-<minute>-<second>.dmp in the working directory. Enabled by default, undefine ENABLE_CRASHDUMPS to disable. + Added m_operflood, this is a module I've had lying around for some time but some users may like it as it allows unreal-like behaviour without increasing flood limits for non-opers. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8015 e03df62e-2008-0410-955e-edbf42e46eb7