Skip to content

Support UDP Ports in Data Model #2811

Description

@TrebledJ

Would be cool to have support for UDP ports, even if they are slightly rarer in the wild. Opening this issue as I haven't seen prior discussion on it.

Some thoughts and considerations after toying with this for a while:

  • Introduce a new event OPEN_UDP_PORT or make a generic OPEN_PORT event with a udp flag in data_json?
  • Seeding concerns: If we do take the separate event (OPEN_UDP_PORT) approach, when the scanner receives a host-port seed such as example.com:161, how do we differentiate between whether this is a TCP/UDP port? The regex will be the same for both, which will cause conflicts. Granted, this is probably not that big of a deal-- if someone is seeding a host-port, chances are it's some service running on TCP.

I can consider spending some time on this, but wanted to see if there's any preference on the data modelling or potential gotchas that flew over my head. (TBH, part of me is curious why the initial design was an OPEN_TCP_PORT event and not a more generic OPEN_PORT.)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions