Mojira Archive
BDS-1413

Remote user can cause server to malfunction

The server starts fine and clients can connect. After a port scan from the second computer, the clients are disconnected and can not reconnect.

 

repro:

1) run `bedrock_server.exe`

2) connect with Minecraft Win10 edition

3) from another network, run `nmap -sU -p 19132 -Pn server_ip`

 

Expected Behavior: nothing should happen

Actual Behavior: One (and just one) of the threads started by the server exits with 0 immediately after receiving the packet (or packets?) from the scan. Client is disconnected and can not reconnect until the server is killed and restarted.

 

edit: This also works on realms. I created the trial realm and it ended up on 20.44.82.190:30223. I scanned it the same way. Now when I try to connect, I just get "Unable to connect".

 

edit2: It came back up on a different ip a couple of minutes later. When I killed my local instance, the executable didn't actually crash. I could still issue commands.

 

 

Environment

Windows 10, BDS 1.12.1.1

Linked Issues

Comments3

If this issue turns out to be legitimate and gets picked up, could you please add Jira user `competentcuttlefish` to the issue? He is the one who actually noticed this bug and would like to follow along. Thanks!

MEQS_KEEP_PRIVATE

Another instance of this issue has been reported under BDS-7843.

People can use the hping3 to make dedicated server inaccessible to players. 

hping3 -2 -c 1 address -p port

After type the command, my server becomes inaccessible to players, after restart my server, this problem disappeared.

It's a serious bug, i hope you can fix it as soon as possible.

History30

William Keller

Deleted comment:

This also works on realms. I created the trial realm and it ended up on 20.44.82.190:30223. Now when I try to connect, I just get "Unable to connect".

William Keller

Changed description:

The server starts fine and clients can connect. After a port scan from the second computer, the clients are disconnected and can not reconnect.

0

 

0

repro:

0

1) run `bedrock_server.exe`

0

2) connect with Minecraft Win10 edition

0

3) run `nmap -sU -p 19132 -Pn server_ip` from another computer on the network

0

 

0

Expected Behavior: nothing should happen

0

Actual Behavior: Client is disconnected and can not reconnect until the server is killed and restarted.

0

 

0

edit: This also works on realms. I created the trial realm and it ended up on 20.44.82.190:30223. Now when I try to connect, I just get "Unable to connect".

0

 

William Keller

Changed description:

The server starts fine and clients can connect. After a port scan from the second computer, the clients are disconnected and can not reconnect.

0

 

0

repro:

0

1) run `bedrock_server.exe`

0

2) connect with Minecraft Win10 edition

0

3) run `nmap -sU -p 19132 -Pn server_ip` from another computer on the network

0

 

0

Expected Behavior: nothing should happen

0

Actual Behavior: Client is disconnected and can not reconnect until the server is killed and restarted.

0

 

0

edit: This also works on realms. I created the trial realm and it ended up on 20.44.82.190:30223. Now when I try to connect, I just get "Unable to connect".

0

 

0

edit2: It came back up a couple of minutes later. When I killed my local instance, the executable didn't actually crash. I could still issue commands.

0

 

William Keller

Changed description:

The server starts fine and clients can connect. After a port scan from the second computer, the clients are disconnected and can not reconnect.

0

 

0

repro:

0

1) run `bedrock_server.exe`

0

2) connect with Minecraft Win10 edition

0

3) run `nmap -sU -p 19132 -Pn server_ip` from another computer on the network

0

 

0

Expected Behavior: nothing should happen

0

Actual Behavior: Client is disconnected and can not reconnect until the server is killed and restarted.

0

 

0

edit: This also works on realms. I created the trial realm and it ended up on 20.44.82.190:30223. Now when I try to connect, I just get "Unable to connect".

0

 

0

edit2: It came back up a couple of minutes later. When I killed my local instance, the executable didn't actually crash. I could still issue commands.

0

 

William Keller

Changed description:

The server starts fine and clients can connect. After a port scan from the second computer, the clients are disconnected and can not reconnect.

0

 

0

repro:

0

1) run `bedrock_server.exe`

0

2) connect with Minecraft Win10 edition

0

3) run `nmap -sU -p 19132 -Pn server_ip` from another computer

0

 

0

Expected Behavior: nothing should happen

0

Actual Behavior: Client is disconnected and can not reconnect until the server is killed and restarted.

0

 

0

edit: This also works on realms. I created the trial realm and it ended up on 20.44.82.190:30223. Now when I try to connect, I just get "Unable to connect".

0

 

0

edit2: It came back up on a different ip a couple of minutes later. When I killed my local instance, the executable didn't actually crash. I could still issue commands.

0

 

William Keller

Changed description:

The server starts fine and clients can connect. After a port scan from the second computer, the clients are disconnected and can not reconnect.

0

 

0

repro:

0

1) run `bedrock_server.exe`

0

2) connect with Minecraft Win10 edition

0

3) run `nmap -sU -p 19132 -Pn server_ip` from another computer

0

 

0

Expected Behavior: nothing should happen

0

Actual Behavior: Client is disconnected and can not reconnect until the server is killed and restarted.

0

 

0

edit: This also works on realms. I created the trial realm and it ended up on 20.44.82.190:30223. Now when I try to connect, I just get "Unable to connect".

0

 

0

edit2: It came back up on a different ip a couple of minutes later. When I killed my local instance, the executable didn't actually crash. I could still issue commands.

0

 

The server starts fine and clients can connect. After a port scan from a second computer, the clients are disconnected and can not reconnect.

0

 

0

repro:

0

1) run `bedrock_server.exe`

0

2) connect with Minecraft Win10 edition

0

3) run `nmap -sU -p 19132 -Pn server_ip` from another computer

0

 

0

Expected Behavior: nothing should happen

0

Actual Behavior: Client is disconnected and can not reconnect until the server is killed and restarted.

0

 

0

edit: This also works on realms. I created the trial realm and it ended up on 20.44.82.190:30223. Now when I try to connect, I just get "Unable to connect".

0

 

0

edit2: It came back up on a different ip a couple of minutes later. When I killed my local instance, the executable didn't actually crash. I could still issue commands.

0

 

William Keller

Changed description:

The server starts fine and clients can connect. After a port scan from a second computer, the clients are disconnected and can not reconnect.

0

 

0

repro:

0

1) run `bedrock_server.exe`

0

2) connect with Minecraft Win10 edition

0

3) run `nmap -sU -p 19132 -Pn server_ip` from another computer

0

 

0

Expected Behavior: nothing should happen

0

Actual Behavior: Client is disconnected and can not reconnect until the server is killed and restarted.

0

 

0

edit: This also works on realms. I created the trial realm and it ended up on 20.44.82.190:30223. Now when I try to connect, I just get "Unable to connect".

0

 

0

edit2: It came back up on a different ip a couple of minutes later. When I killed my local instance, the executable didn't actually crash. I could still issue commands.

0

 

The server starts fine and clients can connect. After a port scan from the second computer, the clients are disconnected and can not reconnect.

0

 

0

repro:

0

1) run `bedrock_server.exe`

0

2) connect with Minecraft Win10 edition

0

3) run `nmap -sU -p 19132 -Pn server_ip` from another computer

0

 

0

Expected Behavior: nothing should happen

0

Actual Behavior: Client is disconnected and can not reconnect until the server is killed and restarted.

0

 

0

edit: This also works on realms. I created the trial realm and it ended up on 20.44.82.190:30223. Now when I try to connect, I just get "Unable to connect".

0

 

0

edit2: It came back up on a different ip a couple of minutes later. When I killed my local instance, the executable didn't actually crash. I could still issue commands. One of the threads started by the server exits with 0

0

 

William Keller

Changed description:

The server starts fine and clients can connect. After a port scan from the second computer, the clients are disconnected and can not reconnect.

0

 

0

repro:

0

1) run `bedrock_server.exe`

0

2) connect with Minecraft Win10 edition

0

3) run `nmap -sU -p 19132 -Pn server_ip` from another computer

0

 

0

Expected Behavior: nothing should happen

0

Actual Behavior: Client is disconnected and can not reconnect until the server is killed and restarted.

0

 

0

edit: This also works on realms. I created the trial realm and it ended up on 20.44.82.190:30223. Now when I try to connect, I just get "Unable to connect".

0

 

0

edit2: It came back up on a different ip a couple of minutes later. When I killed my local instance, the executable didn't actually crash. I could still issue commands. One of the threads started by the server exits with 0

0

 

The server starts fine and clients can connect. After a port scan from the second computer, the clients are disconnected and can not reconnect.

0

 

0

repro:

0

1) run `bedrock_server.exe`

0

2) connect with Minecraft Win10 edition

0

3) run `nmap -sU -p 19132 -Pn server_ip` from another computer

0

 

0

Expected Behavior: nothing should happen

0

Actual Behavior: Client is disconnected and can not reconnect until the server is killed and restarted. One (and just one) of the threads started by the server exits with 0 immediately after receiving the ping.

0

 

0

edit: This also works on realms. I created the trial realm and it ended up on 20.44.82.190:30223. Now when I try to connect, I just get "Unable to connect".

0

 

0

edit2: It came back up on a different ip a couple of minutes later. When I killed my local instance, the executable didn't actually crash. I could still issue commands.

0

 

0

 

William Keller

Changed description:

The server starts fine and clients can connect. After a port scan from the second computer, the clients are disconnected and can not reconnect.

0

 

0

repro:

0

1) run `bedrock_server.exe`

0

2) connect with Minecraft Win10 edition

0

3) run `nmap -sU -p 19132 -Pn server_ip` from another computer

0

 

0

Expected Behavior: nothing should happen

0

Actual Behavior: Client is disconnected and can not reconnect until the server is killed and restarted. One (and just one) of the threads started by the server exits with 0 immediately after receiving the ping.

0

 

0

edit: This also works on realms. I created the trial realm and it ended up on 20.44.82.190:30223. Now when I try to connect, I just get "Unable to connect".

0

 

0

edit2: It came back up on a different ip a couple of minutes later. When I killed my local instance, the executable didn't actually crash. I could still issue commands.

0

 

0

 

The server starts fine and clients can connect. After a port scan from the second computer, the clients are disconnected and can not reconnect.

0

 

0

repro:

0

1) run `bedrock_server.exe`

0

2) connect with Minecraft Win10 edition

0

3) from another network, run `nmap -sU -p 19132 -Pn server_ip`

0

 

0

Expected Behavior: nothing should happen

0

Actual Behavior: Client is disconnected and can not reconnect until the server is killed and restarted. One (and just one) of the threads started by the server exits with 0 immediately after receiving the ping.

0

 

0

edit: This also works on realms. I created the trial realm and it ended up on 20.44.82.190:30223. Now when I try to connect, I just get "Unable to connect".

0

 

0

edit2: It came back up on a different ip a couple of minutes later. When I killed my local instance, the executable didn't actually crash. I could still issue commands.

0

 

0

 

William Keller

Changed description:

The server starts fine and clients can connect. After a port scan from the second computer, the clients are disconnected and can not reconnect.

0

 

0

repro:

0

1) run `bedrock_server.exe`

0

2) connect with Minecraft Win10 edition

0

3) from another network, run `nmap -sU -p 19132 -Pn server_ip`

0

 

0

Expected Behavior: nothing should happen

0

Actual Behavior: Client is disconnected and can not reconnect until the server is killed and restarted. One (and just one) of the threads started by the server exits with 0 immediately after receiving the ping.

0

 

0

edit: This also works on realms. I created the trial realm and it ended up on 20.44.82.190:30223. Now when I try to connect, I just get "Unable to connect".

0

 

0

edit2: It came back up on a different ip a couple of minutes later. When I killed my local instance, the executable didn't actually crash. I could still issue commands.

0

 

0

 

The server starts fine and clients can connect. After a port scan from the second computer, the clients are disconnected and can not reconnect.

0

 

0

repro:

0

1) run `bedrock_server.exe`

0

2) connect with Minecraft Win10 edition

0

3) from another network, run `nmap -sU -p 19132 -Pn server_ip`

0

 

0

Expected Behavior: nothing should happen

0

Actual Behavior: One (and just one) of the threads started by the server exits with 0 immediately after receiving the ping. Client is disconnected and can not reconnect until the server is killed and restarted.

0

 

0

edit: This also works on realms. I created the trial realm and it ended up on 20.44.82.190:30223. Now when I try to connect, I just get "Unable to connect".

0

 

0

edit2: It came back up on a different ip a couple of minutes later. When I killed my local instance, the executable didn't actually crash. I could still issue commands.

0

 

0

 

William Keller

Changed description:

The server starts fine and clients can connect. After a port scan from the second computer, the clients are disconnected and can not reconnect.

0

 

0

repro:

0

1) run `bedrock_server.exe`

0

2) connect with Minecraft Win10 edition

0

3) from another network, run `nmap -sU -p 19132 -Pn server_ip`

0

 

0

Expected Behavior: nothing should happen

0

Actual Behavior: One (and just one) of the threads started by the server exits with 0 immediately after receiving the ping. Client is disconnected and can not reconnect until the server is killed and restarted.

0

 

0

edit: This also works on realms. I created the trial realm and it ended up on 20.44.82.190:30223. Now when I try to connect, I just get "Unable to connect".

0

 

0

edit2: It came back up on a different ip a couple of minutes later. When I killed my local instance, the executable didn't actually crash. I could still issue commands.

0

 

0

 

The server starts fine and clients can connect. After a port scan from the second computer, the clients are disconnected and can not reconnect.

0

 

0

repro:

0

1) run `bedrock_server.exe`

0

2) connect with Minecraft Win10 edition

0

3) from another network, run `nmap -sU -p 19132 -Pn server_ip`

0

 

0

Expected Behavior: nothing should happen

0

Actual Behavior: One (and just one) of the threads started by the server exits with 0 immediately after receiving the packet (or packets?) from the scan. Client is disconnected and can not reconnect until the server is killed and restarted.

0

 

0

edit: This also works on realms. I created the trial realm and it ended up on 20.44.82.190:30223. Now when I try to connect, I just get "Unable to connect".

0

 

0

edit2: It came back up on a different ip a couple of minutes later. When I killed my local instance, the executable didn't actually crash. I could still issue commands.

0

 

0

 

William Keller

Changed description:

The server starts fine and clients can connect. After a port scan from the second computer, the clients are disconnected and can not reconnect.

0

 

0

repro:

0

1) run `bedrock_server.exe`

0

2) connect with Minecraft Win10 edition

0

3) from another network, run `nmap -sU -p 19132 -Pn server_ip`

0

 

0

Expected Behavior: nothing should happen

0

Actual Behavior: One (and just one) of the threads started by the server exits with 0 immediately after receiving the packet (or packets?) from the scan. Client is disconnected and can not reconnect until the server is killed and restarted.

0

 

0

edit: This also works on realms. I created the trial realm and it ended up on 20.44.82.190:30223. I scanned it the same way. Now when I try to connect, I just get "Unable to connect".

0

 

0

edit2: It came back up on a different ip a couple of minutes later. When I killed my local instance, the executable didn't actually crash. I could still issue commands.

0

 

0

 

[Mod] OcelotOnesie

Removed Security Level: Minecraft - Private

IonicEcko

Changed environment:

I could not find the version in the dropdown. The bedrock server reports itself as `1.12.1.1`

0

 

0

Windows 10, server downloaded from https://www.minecraft.net/en-us/download/server/bedrock/ and run with no changes

0

 

0

Minecraft Win10 edition 1.12.1

0

 

0

Second computer on the same network

Windows 10, BDS 1.12.1.1

[Mod] OcelotOnesie

Added Security Level: Minecraft - Private

IonicEcko

Added Confirmation Status: Confirmed

Added affects versions: 1.14.60

IonicEcko
[Bot] Arisa

Added affects versions: 1.14.30

IonicEcko
[Bot] Arisa

Added affects versions: 1.16.1 1.16.10

IonicEcko
[Bot] Arisa

Added affects versions: 1.14.32.1

IonicEcko
[Bot] Arisa

Added affects versions: 1.16.20

[Mod] Greymagic27

Resolution: UnresolvedFixed

Fixed
William Keller
0
2
Confirmed
344481
1.8.1.2 - 1.16.201.8.1.2 1.14.30 1.14.32.1 1.14.60 1.16.1 1.16.10 1.16.20