robertdavidgraham / masscan

TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes.
GNU Affero General Public License v3.0
22.97k stars 3.02k forks source link

Fix issue #764: support multiple payloads per UDP port #772

Open bogi788 opened 3 months ago

bogi788 commented 3 months ago

This MR adds support for sending multiple payloads per UDP port.

For this it:

Due to these changes template_set_target_ipv4 and template_set_target_ipv6 are only called for UDP ports (rather than payloads) if no specialised payload was found.