Skip to content

Possible New Feature UDP Probe Pinging #43

@sssaaaqq

Description

@sssaaaqq

So what do i mean by UDP Probe?

-Basically a simple UDP connectivity test similar to the existing TCP mode
-MeowPing would send a very small UDP packet to the target IP and wait for a response

Why should it be implemented?

-Because many services such as DNS, game servers and VoIP use UDP
-ICMP is often blocked, so a UDP test could help determine if a UDP service might be reachable
-It would fit well alongside the existing ICMP, TCP and HTTP(S) checks

Possible Command Line Arg

C:\Users\Administrator\Downloads> meowping.exe 1.1.1.1 -p 53 --udp

Possible Logic Idea

Send small UDP payload (example: 1 byte "0x00") to IP
Wait for response based on configured timeout

Possible results

UDP response received
→ service reachable

ICMP "Port Unreachable" received
→ port closed

Timeout / no response
→ open | filtered | service does not respond to unknown payloads

Possible Output Ideas (UDP Response received)
C:\Users\Administrator\Downloads>meowping.exe 1.1.1.1 -p 53 -udp

    /l、
  (゚、 。 7      welcome to meowping!
    l  ~ヽ       v.2.0.1
    じしf_,)ノ

[MEOWPING] 1.1.1.1 (AS13335 Cloudflare, Inc.): 20.45ms protocol=UDP port=53 || Green Color
C:\Users\Administrator\Downloads>

Possible Output Ideas (ICMP "Port Unreachable" received)
C:\Users\Administrator\Downloads>meowping.exe 1.1.1.1 -p 53 -udp

    /l、
  (゚、 。 7      welcome to meowping!
    l  ~ヽ       v.2.0.1
    じしf_,)ノ

[MEOWPING] 1.1.1.1 timed out. Port Unreachable (AS13335 Cloudflare, Inc.): protocol=UDP port=53 || Red Color
C:\Users\Administrator\Downloads>

Possible Output Ideas (Timeout / no response)
C:\Users\Administrator\Downloads>meowping.exe 1.1.1.1 -p 53 -udp

    /l、
  (゚、 。 7      welcome to meowping!
    l  ~ヽ       v.2.0.1
    じしf_,)ノ

[MEOWPING] 1.1.1.1 timed out (AS13335 Cloudflare, Inc.): protocol=UDP port=53 || Red Color
C:\Users\Administrator\Downloads>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is neededquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions