ts3admin.class icon indicating copy to clipboard operation
ts3admin.class copied to clipboard

Update SSH support and performance stuff

Open lgund opened this issue 5 years ago • 3 comments

Update

This update allows you to use the new ssh protocoll from teamspeak. But this means you need to connect always with a username and password. That´s why the login method on this version will not exist anymore and will be replaced with the new connect method. You need also to use the ssh protocol the php ssh2 lib. But you can still use the raw protocol without any problems.

Teaspeak Support

Teaspeak using a other protocol header. That´s why we just check now if a 'T' is in the first line we get from the console. But to check if we are sure in a tea(m)speak console we also return the headerline to the script. There you can check which server we will have here.

Performance

The loadQueryData method will not be called if we select a server. I am not sure why I should use this traffic if we don´t need this information often. If we really need them we can call them after the select.

First-Coder created a fork of this lib and will in future create her own developments to this class. This don´t mean we don´t support the default class by @par0noid . We just will create some expensions that will be maybe not supported by @par0noid . @par0noid will be still the basic developer of this project. Check out TS3-admin.class for more information.

lgund avatar Oct 05 '18 09:10 lgund

Hey,

wir haben ein Problem. Wir können das so leider nicht machen, die Methoden müssen abwärtskompatibel bleiben. Viele nutzen die Klasse auch ohne Login z.B. um einen Viewer zu realisieren, diese Möglichkeit können wir nicht einfach ausbauen. Ist ein Verbinden ohne Login gar nicht möglich per SSH? Ich werde mir das auch mal genauer angucken.

Speckmops avatar Oct 09 '18 06:10 Speckmops

Vllt. findest du ja eine Idee. Aber soweit ich weiß kann man sich bei SSH nicht anonym anmelden. Die Informations TS3.... kommt ebenfalls erst nach der Anmeldung. Ich glaube uns bleibt dort keine andere Wahl.

EDIT

Man könnte die login Klasse alternativ noch für ein RAW Protokoll drinnen lassen, allerdings wird diese mit Teamspeak 5 wahrscheinlich nur noch optional unterstützt.

lgund avatar Oct 09 '18 07:10 lgund

Hallöchen @par0noid, bist du dort schon auf eine Lösung gekommen?

MypowerHD avatar Mar 18 '19 16:03 MypowerHD