plugins icon indicating copy to clipboard operation
plugins copied to clipboard

WOL-Plugin: UDP-Port used needs to be documented or configurable

Open heitmanr opened this issue 3 years ago • 0 comments

Important notices Before you add a new report, we ask you kindly to acknowledge the following:

  • [x ] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
  • [ x] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
  • [x ] When the request is meant for an existing plugin, I've added its name to the title.

Is your feature request related to a problem? Please describe.

The WOL-Plugin generates UDP-Packets "Magic Packets" to an undocumented default-port.

Most people would guess UDP-Port 9 or 7 to be used, but 40000 is it. => I've been spending a lot of time figuring this out.

Describe the solution you'd like

The imho best solution would be

  • make the UDP-Port configurable (the Wireshark-Guys would chosse 40001 btw)

Describe alternatives you've considered

An improvement would be

  • add a note about the UDP-Port in use to the Plugin-GUI.

Additional context If the OpnSense-Firewall would have the ability to forward directed-broadcasts, which could get controlled by firewall-rules, this plugin wouldn't be required, since a standard IP-Client could generate the WOL-Magic-Packets on it's own and and the firewall just would need to forward the WOL-Packet. Cisco implements this: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipapp/command/ipapp-xe-3se-3650-cr-book/ipapp-xe-3se-3850-cr-book_chapter_01.html#wp2181067464

heitmanr avatar Apr 29 '22 20:04 heitmanr