Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

bogi788
Copy link

@bogi788 bogi788 commented Mar 14, 2024

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

For this it:

  • modifies payloads_datagram_add to allow multiple payloads per port
  • adds a new "port type" for UDP payloads (instead of actual ports)
  • creates a targets list in transmit_thread than can reference UDP payloads directly
  • updates template_set_target_ipv4 and template_set_target_ipv6 to handle these UDP payloads

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.

@bogi788 bogi788 changed the title #764 support multiple payloads per udp port Fix issue #764: support multiple payloads per UDP port Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant