*Describe the bug*
When listening to a port with ncat, as soon as a UDP packet is received, I
receive a constant stream of errors with the following text: "Ncat: A
message sent on a datagram socket was larger than the internal message
buffer or some other network limit, or the buffer used to receive a
datagram into was smaller than the datagram itself. ."

*To Reproduce*

   1. In either a Windows command line or Powershell I enter "ncat -ul
   12000 #This listens on port 12000
   2. In another command line window I send a packet: "echo "Hello" | ncat
   -u localhost 12000 # This send the string Hello to port 12000 on the same
   machine.
   3. As soon as the packet is sent from window 2, the error repeats
   constantly in window 1.

*Expected behavior*
I expect window 1 to receive the message sent by window 2. Once I don't
have the error, I intend to pipe the message to another ncat which will
forward it to another machine.
In other words, my intention is: ncat -ul 12000 | ncat -u # forward each
message to recipient

*Version info (please complete the following information):*

   - OS: Windows 10 pro version 22H2. Also tried on Windows 11 with same
   results
   - Output of ncat --version: Ncat: Version 7.95 ( https://nmap.org/ncat )

*Additional context*
I have also sent UDP packets to the host listening via ncat from another
machine and get the same error so it is the listening instance that is the
issue.



Sent from my iPad
_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at https://seclists.org/nmap-dev/

Reply via email to