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.)
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:
OPEN_UDP_PORTor make a genericOPEN_PORTevent with a udp flag in data_json?OPEN_UDP_PORT) approach, when the scanner receives a host-port seed such asexample.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.)