{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "562294",
   "self": "https://bugs.mojang.com/rest/api/2/issue/562294",
   "key": "BDS-19421",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": "3",
      "customfield_10500": {
         "self": "https://bugs.mojang.com/rest/api/2/customFieldOption/10301",
         "value": "Plausible",
         "id": "10301",
         "disabled": false
      },
      "customfield_12800": null,
      "customfield_12602": [],
      "customfield_12601": null,
      "customfield_12604": null,
      "customfield_12603": null,
      "customfield_12606": null,
      "customfield_12605": null,
      "customfield_12608": null,
      "resolutiondate": "2024-07-10T12:46:46.000+0300",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-19421/watchers",
         "watchCount": 2,
         "isWatching": false
      },
      "created": "2024-06-28T16:46:51.000+0300",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [],
      "customfield_11700": "{}",
      "versions": [
         "22412"
      ],
      "issuelinks": [
         {
            "id": "303803",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/303803",
            "type": "10102",
            "outwardIssue": "560341"
         }
      ],
      "assignee": null,
      "updated": "2024-07-10T12:51:51.000+0300",
      "status": "5",
      "description": "Please remove the printf in RakNet::RNS2_Berkley::RecvFromLoopInt, when someone sends empty packet to bds, bds will print \"\\n\\n \u00a0ATTENTION! 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.\r\n\r\nHere's the attack tool written in python:\r\n{code:python}\r\nimport socket\r\ns = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)\r\ni = 0\r\nwhile i < 10000:\r\n\u00a0 \u00a0 s.sendto(\r\n\u00a0 \u00a0 \u00a0 \u00a0 b\"\",\r\n\u00a0 \u00a0 \u00a0 \u00a0 (\"127.0.0.1\", 19132),\r\n\u00a0 \u00a0 )\r\n\u00a0 \u00a0 i = i + 1{code}\r\n\r\n!image-2024-06-28-21-41-47-871.png|thumbnail!",
      "customfield_11100": 0.0,
      "customfield_11300": null,
      "customfield_11500": null,
      "customfield_12503": null,
      "customfield_12700": "[Briefly describe the bug here]\r\n\r\n*Steps to Reproduce:*\r\n# [Step 1]\r\n# [Step 2]\r\n# [Step 3]\r\n\r\n*Observed Results:*\r\n[Describe what happens]\r\n\r\n*Expected Results:*\r\n[Describe what should happen]\r\n\r\n*Screenshots/Videos attached:* [please attach an image or short video]\r\n\r\n*Notes:*",
      "customfield_12502": null,
      "security": {
         "self": "https://bugs.mojang.com/rest/api/2/securitylevel/10318",
         "id": "10318",
         "description": "Private, viewable only by volunteers and up.",
         "name": "Minecraft - Private"
      },
      "customfield_12504": null,
      "attachment": [
         "578715"
      ],
      "summary": "Remove printf in RakNet::RNS2_Berkley::RecvFromLoopInt",
      "creator": "JIRAUSER512445",
      "reporter": "JIRAUSER512445",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i2i907:",
      "environment": null,
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/562294/comment/1335321",
               "id": "1335321",
               "author": "greymagic27",
               "body": "Plausible due to code stuff",
               "updateAuthor": "greymagic27",
               "created": "2024-06-28T18:30:52.111+0300",
               "updated": "2024-06-28T18:30:52.111+0300",
               "visibility": {
                  "type": "group",
                  "value": "helper"
               }
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/562294/comment/1335326",
               "id": "1335326",
               "author": "jarl-penguin",
               "body": "MEQS_DUPE BDS-19346",
               "updateAuthor": "jarl-penguin",
               "created": "2024-06-28T19:54:13.546+0300",
               "updated": "2024-07-02T12:25:26.786+0300",
               "visibility": {
                  "type": "group",
                  "value": "staff"
               }
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/562294/comment/1336198",
               "id": "1336198",
               "author": "ocelotonesie",
               "body": "MEQS_KEEP_PRIVATE",
               "updateAuthor": "ocelotonesie",
               "created": "2024-07-02T13:26:43.865+0300",
               "updated": "2024-07-02T13:26:43.865+0300",
               "visibility": {
                  "type": "group",
                  "value": "staff"
               }
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/562294/comment/1338002",
               "id": "1338002",
               "author": "arisabot",
               "body": "*Thank you for your report!*\nWe're tracking this issue in *BDS-19346* (private), so this ticket is being resolved and linked as a *duplicate*.\n\nSince the parent ticket is marked as private, you won't be able to access it.\n\n*Quick Links*:\n\ud83d\udcd3 [Bug Tracker Guidelines|https://aka.ms/MCBugTrackerHelp] -- \ud83d\udcac [Community Support|https://discord.com/invite/58Sxm23] -- \ud83d\udce7 [Mojang Support (Technical Issues)|https://aka.ms/Minecraft-Support] -- \ud83d\udce7 [Microsoft Support (Account Issues)|https://support.xbox.com/contact-us/]\n\ud83d\udcd3 [Project Summary|https://bugs.mojang.com/projects/BDS/summary] -- \u270d\ufe0f [Feedback and Suggestions|https://aka.ms/MinecraftFeedbackDiscord] -- \ud83d\udcd6 [BDS Wiki|https://minecraft.wiki/w/Bedrock_Dedicated_Server] -- \ud83d\udcd6 [FAQs|https://help.minecraft.net/hc/en-us/articles/360035131651-Dedicated-Servers-for-Minecraft-on-Bedrock-]\n~{color:#888}-- 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.{color}~",
               "updateAuthor": "arisabot",
               "created": "2024-07-10T12:51:51.266+0300",
               "updated": "2024-07-10T12:51:51.266+0300"
            }
         ],
         "maxResults": 4,
         "total": 4,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-19421/votes",
         "votes": 0,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 7,
      "total": 7,
      "histories": [
         {
            "id": "3027179",
            "author": "arisabot",
            "created": "2024-06-28T16:46:53.818+0300",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "Please remove the printf in RakNet::RNS2_Berkley::RecvFromLoopInt, when someone sends empty packet to bds, bds will print \"\\n\\n \u00a0ATTENTION! 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.\r\n\r\nHere's the attack tool written in python:\r\n{color:#d8a0df}import{color}{color:#dadada} {color}{color:#c8c8c8}socket{color}\r\n\r\n{color:#9cdcfe}s{color}{color:#dadada} {color}{color:#b4b4b4}={color}{color:#dadada} {color}{color:#c8c8c8}socket{color}{color:#b4b4b4}.{color}{color:#4ec9b0}socket{color}{color:#b4b4b4}({color}{color:#c8c8c8}socket{color}{color:#b4b4b4}.{color}{color:#dadada}AF_INET{color}{color:#b4b4b4},{color}{color:#dadada} {color}{color:#c8c8c8}socket{color}{color:#b4b4b4}.{color}{color:#dadada}SOCK_DGRAM{color}{color:#b4b4b4}){color}\r\n{color:#9cdcfe}i{color}{color:#dadada} {color}{color:#b4b4b4}={color}{color:#dadada} {color}{color:#b5cea8}0{color}\r\n{color:#d8a0df}while{color}{color:#dadada} {color}{color:#9cdcfe}i{color}{color:#dadada} {color}{color:#b4b4b4}<{color}{color:#dadada} {color}{color:#b5cea8}10000{color}{color:#b4b4b4}:{color}\r\n{color:#dadada}\u00a0 \u00a0 {color}{color:#9cdcfe}s{color}{color:#b4b4b4}.{color}{color:#dcdcaa}sendto{color}{color:#b4b4b4}({color}\r\n{color:#dadada}\u00a0 \u00a0 \u00a0 \u00a0 {color}{color:#569cd6}b{color}{color:#e8c9bb}\"\"{color}{color:#b4b4b4},{color}\r\n{color:#dadada}\u00a0 \u00a0 \u00a0 \u00a0 {color}{color:#b4b4b4}({color}{color:#e8c9bb}\"{color}{color:#ce9178}127.0.0.1{color}{color:#e8c9bb}\"{color}{color:#b4b4b4},{color}{color:#dadada} {color}{color:#b5cea8}19132{color}{color:#b4b4b4}),{color}\r\n{color:#dadada}\u00a0 \u00a0 {color}{color:#b4b4b4}){color}\r\n{color:#dadada}\u00a0 \u00a0 {color}{color:#9cdcfe}i{color}{color:#dadada} {color}{color:#b4b4b4}={color}{color:#dadada} {color}{color:#9cdcfe}i{color}{color:#dadada} {color}{color:#b4b4b4}+{color}{color:#dadada} {color}{color:#b5cea8}1{color}\r\n!image-2024-06-28-21-41-47-871.png!",
                  "to": null,
                  "toString": "Please remove the printf in RakNet::RNS2_Berkley::RecvFromLoopInt, when someone sends empty packet to bds, bds will print \"\\n\\n \u00a0ATTENTION! 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.\r\n\r\nHere's the attack tool written in python:\r\n{color:#d8a0df}import{color}{color:#dadada} {color}{color:#c8c8c8}socket{color}\r\n\r\n{color:#9cdcfe}s{color}{color:#dadada} {color}{color:#b4b4b4}={color}{color:#dadada} {color}{color:#c8c8c8}socket{color}{color:#b4b4b4}.{color}{color:#4ec9b0}socket{color}{color:#b4b4b4}({color}{color:#c8c8c8}socket{color}{color:#b4b4b4}.{color}{color:#dadada}AF_INET{color}{color:#b4b4b4},{color}{color:#dadada} {color}{color:#c8c8c8}socket{color}{color:#b4b4b4}.{color}{color:#dadada}SOCK_DGRAM{color}{color:#b4b4b4}){color}\r\n{color:#9cdcfe}i{color}{color:#dadada} {color}{color:#b4b4b4}={color}{color:#dadada} {color}{color:#b5cea8}0{color}\r\n{color:#d8a0df}while{color}{color:#dadada} {color}{color:#9cdcfe}i{color}{color:#dadada} {color}{color:#b4b4b4}<{color}{color:#dadada} {color}{color:#b5cea8}10000{color}{color:#b4b4b4}:{color}\r\n{color:#dadada}\u00a0 \u00a0 {color}{color:#9cdcfe}s{color}{color:#b4b4b4}.{color}{color:#dcdcaa}sendto{color}{color:#b4b4b4}({color}\r\n{color:#dadada}\u00a0 \u00a0 \u00a0 \u00a0 {color}{color:#569cd6}b{color}{color:#e8c9bb}\"\"{color}{color:#b4b4b4},{color}\r\n{color:#dadada}\u00a0 \u00a0 \u00a0 \u00a0 {color}{color:#b4b4b4}({color}{color:#e8c9bb}\"{color}{color:#ce9178}127.0.0.1{color}{color:#e8c9bb}\"{color}{color:#b4b4b4},{color}{color:#dadada} {color}{color:#b5cea8}19132{color}{color:#b4b4b4}),{color}\r\n{color:#dadada}\u00a0 \u00a0 {color}{color:#b4b4b4}){color}\r\n{color:#dadada}\u00a0 \u00a0 {color}{color:#9cdcfe}i{color}{color:#dadada} {color}{color:#b4b4b4}={color}{color:#dadada} {color}{color:#9cdcfe}i{color}{color:#dadada} {color}{color:#b4b4b4}+{color}{color:#dadada} {color}{color:#b5cea8}1{color}\r\n!image-2024-06-28-21-41-47-871.png|thumbnail!"
               }
            ]
         },
         {
            "id": "3027230",
            "author": "greymagic27",
            "created": "2024-06-28T18:30:52.119+0300",
            "items": [
               {
                  "field": "Confirmation Status",
                  "fieldtype": "custom",
                  "from": "10300",
                  "fromString": "Unconfirmed",
                  "to": "10301",
                  "toString": "Plausible"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "3027418",
            "author": "JIRAUSER512445",
            "created": "2024-06-29T08:32:22.639+0300",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "Please remove the printf in RakNet::RNS2_Berkley::RecvFromLoopInt, when someone sends empty packet to bds, bds will print \"\\n\\n \u00a0ATTENTION! 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.\r\n\r\nHere's the attack tool written in python:\r\n{color:#d8a0df}import{color}{color:#dadada} {color}{color:#c8c8c8}socket{color}\r\n\r\n{color:#9cdcfe}s{color}{color:#dadada} {color}{color:#b4b4b4}={color}{color:#dadada} {color}{color:#c8c8c8}socket{color}{color:#b4b4b4}.{color}{color:#4ec9b0}socket{color}{color:#b4b4b4}({color}{color:#c8c8c8}socket{color}{color:#b4b4b4}.{color}{color:#dadada}AF_INET{color}{color:#b4b4b4},{color}{color:#dadada} {color}{color:#c8c8c8}socket{color}{color:#b4b4b4}.{color}{color:#dadada}SOCK_DGRAM{color}{color:#b4b4b4}){color}\r\n{color:#9cdcfe}i{color}{color:#dadada} {color}{color:#b4b4b4}={color}{color:#dadada} {color}{color:#b5cea8}0{color}\r\n{color:#d8a0df}while{color}{color:#dadada} {color}{color:#9cdcfe}i{color}{color:#dadada} {color}{color:#b4b4b4}<{color}{color:#dadada} {color}{color:#b5cea8}10000{color}{color:#b4b4b4}:{color}\r\n{color:#dadada}\u00a0 \u00a0 {color}{color:#9cdcfe}s{color}{color:#b4b4b4}.{color}{color:#dcdcaa}sendto{color}{color:#b4b4b4}({color}\r\n{color:#dadada}\u00a0 \u00a0 \u00a0 \u00a0 {color}{color:#569cd6}b{color}{color:#e8c9bb}\"\"{color}{color:#b4b4b4},{color}\r\n{color:#dadada}\u00a0 \u00a0 \u00a0 \u00a0 {color}{color:#b4b4b4}({color}{color:#e8c9bb}\"{color}{color:#ce9178}127.0.0.1{color}{color:#e8c9bb}\"{color}{color:#b4b4b4},{color}{color:#dadada} {color}{color:#b5cea8}19132{color}{color:#b4b4b4}),{color}\r\n{color:#dadada}\u00a0 \u00a0 {color}{color:#b4b4b4}){color}\r\n{color:#dadada}\u00a0 \u00a0 {color}{color:#9cdcfe}i{color}{color:#dadada} {color}{color:#b4b4b4}={color}{color:#dadada} {color}{color:#9cdcfe}i{color}{color:#dadada} {color}{color:#b4b4b4}+{color}{color:#dadada} {color}{color:#b5cea8}1{color}\r\n!image-2024-06-28-21-41-47-871.png|thumbnail!",
                  "to": null,
                  "toString": "Please remove the printf in RakNet::RNS2_Berkley::RecvFromLoopInt, when someone sends empty packet to bds, bds will print \"\\n\\n \u00a0ATTENTION! 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.\r\n\r\nHere's the attack tool written in python:\r\n{color:#d8a0df}{color}\r\n{code:java}\r\nimport sockets = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)\r\ni = 0\r\nwhile i < 10000:\r\n\u00a0 \u00a0 s.sendto(\r\n\u00a0 \u00a0 \u00a0 \u00a0 b\"\",\r\n\u00a0 \u00a0 \u00a0 \u00a0 (\"127.0.0.1\", 19132),\r\n\u00a0 \u00a0 )\r\n\u00a0 \u00a0 i = i + 1{code}\r\n{color:#d8a0df}{color}\r\n!image-2024-06-28-21-41-47-871.png|thumbnail!"
               }
            ]
         },
         {
            "id": "3027419",
            "author": "JIRAUSER512445",
            "created": "2024-06-29T08:32:59.587+0300",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "Please remove the printf in RakNet::RNS2_Berkley::RecvFromLoopInt, when someone sends empty packet to bds, bds will print \"\\n\\n \u00a0ATTENTION! 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.\r\n\r\nHere's the attack tool written in python:\r\n{color:#d8a0df}{color}\r\n{code:java}\r\nimport sockets = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)\r\ni = 0\r\nwhile i < 10000:\r\n\u00a0 \u00a0 s.sendto(\r\n\u00a0 \u00a0 \u00a0 \u00a0 b\"\",\r\n\u00a0 \u00a0 \u00a0 \u00a0 (\"127.0.0.1\", 19132),\r\n\u00a0 \u00a0 )\r\n\u00a0 \u00a0 i = i + 1{code}\r\n{color:#d8a0df}{color}\r\n!image-2024-06-28-21-41-47-871.png|thumbnail!",
                  "to": null,
                  "toString": "Please remove the printf in RakNet::RNS2_Berkley::RecvFromLoopInt, when someone sends empty packet to bds, bds will print \"\\n\\n \u00a0ATTENTION! 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.\r\n\r\nHere's the attack tool written in python:\r\n{code:cpp}\r\nimport socket\r\ns = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)\r\ni = 0\r\nwhile i < 10000:\r\n\u00a0 \u00a0 s.sendto(\r\n\u00a0 \u00a0 \u00a0 \u00a0 b\"\",\r\n\u00a0 \u00a0 \u00a0 \u00a0 (\"127.0.0.1\", 19132),\r\n\u00a0 \u00a0 )\r\n\u00a0 \u00a0 i = i + 1{code}\r\n\r\n!image-2024-06-28-21-41-47-871.png|thumbnail!"
               }
            ]
         },
         {
            "id": "3027420",
            "author": "JIRAUSER512445",
            "created": "2024-06-29T08:33:12.507+0300",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "Please remove the printf in RakNet::RNS2_Berkley::RecvFromLoopInt, when someone sends empty packet to bds, bds will print \"\\n\\n \u00a0ATTENTION! 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.\r\n\r\nHere's the attack tool written in python:\r\n{code:cpp}\r\nimport socket\r\ns = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)\r\ni = 0\r\nwhile i < 10000:\r\n\u00a0 \u00a0 s.sendto(\r\n\u00a0 \u00a0 \u00a0 \u00a0 b\"\",\r\n\u00a0 \u00a0 \u00a0 \u00a0 (\"127.0.0.1\", 19132),\r\n\u00a0 \u00a0 )\r\n\u00a0 \u00a0 i = i + 1{code}\r\n\r\n!image-2024-06-28-21-41-47-871.png|thumbnail!",
                  "to": null,
                  "toString": "Please remove the printf in RakNet::RNS2_Berkley::RecvFromLoopInt, when someone sends empty packet to bds, bds will print \"\\n\\n \u00a0ATTENTION! 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.\r\n\r\nHere's the attack tool written in python:\r\n{code:python}\r\nimport socket\r\ns = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)\r\ni = 0\r\nwhile i < 10000:\r\n\u00a0 \u00a0 s.sendto(\r\n\u00a0 \u00a0 \u00a0 \u00a0 b\"\",\r\n\u00a0 \u00a0 \u00a0 \u00a0 (\"127.0.0.1\", 19132),\r\n\u00a0 \u00a0 )\r\n\u00a0 \u00a0 i = i + 1{code}\r\n\r\n!image-2024-06-28-21-41-47-871.png|thumbnail!"
               }
            ]
         },
         {
            "id": "3033443",
            "author": "weszaj_waw",
            "created": "2024-07-10T12:46:46.493+0300",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "BDS-19346",
                  "toString": "This issue duplicates BDS-19346"
               }
            ]
         },
         {
            "id": "3033445",
            "author": "weszaj_waw",
            "created": "2024-07-10T12:46:46.502+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "3",
                  "toString": "Duplicate"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         }
      ]
   }
}