Clients Take Over Server Machine's Keyboard

AntumDeluge
Member
 
Posts: 17
Joined: Sun Aug 07, 2016 05:42
GitHub: AntumDeluge
IRC: AntumDeluge

Clients Take Over Server Machine's Keyboard

by AntumDeluge » Mon Aug 15, 2016 21:57

This is a really strange bug to me, & I don't know if I can explain it well.

On my local network I have set up a Minetest 0.4.14 server. Whenever a client from another machine connects to it all keypresses are executed on the server machine. So, for example, if I am browsing the internet on the server machine while someone is connected from another client, i start to see "wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww" being printed in my browser from the client walking with the "w" key. Just a little while ago someone logged in & I could see their username & password being printed on my screen. The Minetest server seems to take over my keyboard, allowing clients to control it.

It's a real problem because my server machine is also my main computer. I set up the server a couple weeks ago, but the problem has only been occurring the past day or two. I have been installing (& de-installing) mods. But I don't know if I could figure out which might be related. I'll get together a list of the ones currently installed. I didn't notice it directly after a mod (de-)install. I had been in game for a while & I don't remember how long the server had been up.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Clients Take Over Server Machine's Keyboard

by rubenwardy » Mon Aug 15, 2016 21:58

Is the client on the same computer? What operating system? Are you running a dedicated server?
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

by Hybrid Dog » Wed Aug 17, 2016 08:20

AntumDeluge wrote:Just a little while ago someone logged in & I could see their username & password being printed on my screen.

When someone writes the name and password in the menu, he/she isn't connected to the minetest server yet.
 

AntumDeluge
Member
 
Posts: 17
Joined: Sun Aug 07, 2016 05:42
GitHub: AntumDeluge
IRC: AntumDeluge

Re:

by AntumDeluge » Thu Aug 18, 2016 05:48

rebenwardy wrote:Is the client on the same computer?


The clients are on separate machines.

rubenwardy wrote:What operating system?


I am sorry that I forgot to post my machine's information. I am running Linux Mint with the Cinnamon desktop:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
$ uname -srm
Linux 4.4.0-34-generic x86_64


rubenwardy wrote:Are you running a dedicated server?


If I understand the question right, no. I use the server's machine for other purposes.

Hybrid Dog wrote:When someone writes the name and password in the menu, he/she isn't connected to the minetest server yet.


There seems to be some kind of leak in my network where keypresses are being passed to my IP. Possibly exposed by the server? Tonight some text was printed on the running server's terminal from a machine that wasn't even running the client. I think maybe I will change ports to see if that fixes the problem, though no idea if it is related.

Currently, the server is running, but there is no activity going on on any of the client computers, and I am having no issues. Tomorrow I will try to find a time with the clients are being used without the server running to see if I have any issues.

Why would the clients be passing keypresses through the forwarded ports?
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Clients Take Over Server Machine's Keyboard

by rubenwardy » Thu Aug 18, 2016 11:19

A dedicated server is one that doesn't have a GUI. It's running from a terminal using minetest --server or minetestserver
 

AntumDeluge
Member
 
Posts: 17
Joined: Sun Aug 07, 2016 05:42
GitHub: AntumDeluge
IRC: AntumDeluge

Re: Clients Take Over Server Machine's Keyboard

by AntumDeluge » Sat Aug 20, 2016 18:31

Oh, yes, I'm sorry. I am running a dedicated server.

Today I have been running it without the interactive terminal (--terminal option) & so far I have not noticed any problems.
 


Return to Minetest Problems

Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron