PDA

View Full Version : New TCP commands


DeeCo
11-03-2004, 18:00
Hi all sorry for all the n00b questions, I have read the FAQ and still find myself lost.


I currently have a server that has Telnet disabled, like any good server should have :)

I use putty to make ssh connections to the main server and have several levels of access. The problem I am having is understanding how to make a secure connection using the putty to the teamspeak engine.

The faq say's

Open your windows start menu, select "Run..." and enter "telnet.exe SERVER_IP_OR_DNS TCP_QUERY_PORT".

Example: telnet.exe localhost 51234

Press enter. This will bring up the Microsoft Telnet progam that should show "[TS]" in the first line..

Type "help" to get a list of all available commands! Type "help COMMAND" to get help for a specific command.

You might want to use a more advanced program that is capable of SSH connections, too. If this is the case, try "PuTTY".

".

But how do I use putty to do this, as ssh port is 22, I have tried alsorts and if i change the port to match 51234 then putty just hangs there.

The only account allowed to login to SSH is the "admin" account, "root" is not directly accessable for security reason


Any help, or guidance will be greatfully accepted :D

pim
11-03-2004, 19:11
As a matter of fact I was strugling with the same questions today.
Being a (Linux) n00b as well, I am going through a steep learning curve here.

So far I have managed to install Linux on a machine (Fedora), install TS on remotely from the command-line using putty, upgrading it to the latest version today, and then......

I tried to execute Chi's trick so I could put up a picture on my server. Trying this I ran into the same problems as DeeCp, but hadn't put them in the forum (yet), because I thought it's not directly related to TS. Was actually planning to hassle Brain about it in a pm.

I will follow this discussion with great interest of course

Brain
11-03-2004, 20:09
Well, i don't know how you would use PuTTY to connect to the query port.
I set it to "Telnet" mode, change the port to 51234, enter the IP address, click open... and nothing happens.
I have not tried to run tcpdump on my server to see where PuTTY wants to connect to because i frankly don't care :)
It works fine with telnet and since the Query Port doesn't support encryption of any kind there's no use using putty.

Maybe you could use stunnel to provide transport layer security, but in my opinion it's a lot easier to just close the port down from the outside and do your stuff locally on the server or via ssh.

DeeCo
15-03-2004, 15:27
I get the distinct impression that no-one has a clue how to do this :)

Why metion it in the FAQ if it isn't possible ?

Brain
15-03-2004, 16:05
I think your impression is wrong. I know exactly what you're talking about, however I don't know why you would want to use PuTTY. After all the TS Query Port is unencrypted so simple telnet is sufficient.

Oh, and I found out why PuTTY didn't want to connect to the query port - well, I mistyped the port :D
It works correctly if you enter the correct port.


Anyways, telnet access to the server and accessing the query port via telnet are two totally different things.
Typically when someone talks about telnet access he thinks about shell commands transmitted via telnet protocol in an unsecured fashion. That's why nobody in their right mind use telnet for shell access, but instead ssh which provides encryption.
The TS Query Port talks telnet protocol, thus you are able to connect to it via telnet. As a matter of fact a lot of other services communicate plain-text. For example HTML, SMTP or POP3.
Try it out.
Type: "telnet teamspeak.org 80"
and then enter "GET /" and press enter.
Ta-daa! You will receive [the HTML source of] the TS home page.


I hope I could shed some light on things. Please ask me to rephrase if you didn't understand something.

DeeCo
16-03-2004, 15:43
ahh many thanks, I ttwigged eventually, I fully understand now.

Its working great.

:)

blackskull
16-03-2004, 19:33
What the original example meant was to ssh to your linux server.

After connecting via ssh, you can then telnet to your TS server.

Brain
16-03-2004, 20:57
What the original example meant was to ssh to your linux server.

After connecting via ssh, you can then telnet to your TS server.
Really? Only with a lot of imagination i guess ;)

Still, connecting locally to the query port sure is safer since your superadmin password (if you log in as superadmin) goes over an encrypted connection.