User Tools

Site Tools


commands:general_node_commands:new_node

new_node: <name> | <type> | <ip> | <port> | tcp | keepalive | silentkeepalive | responds | secondary

Spawns a new network node

  • name is the name of the node
  • type is the node type – types are used to organise nodes in the display, and for the multiple deployment of macros
  • ip is the IP Address of the node; this can also be a comma-separated list of IP addresses - incoming UDP will be accepted from any of these addresses, and outgoing will go to all.
  • port is the port to transmit to the node on
  • tcp is a flag to indicate that the node expects TCP communication, rather than the default UDP (optional)
  • keepalive is a flag that, for a TCP node, will cause Wintermute to regularly send a newline packet to keep the socket alive; this counts as a “ping” and a lack of response will be flagged. For a UDP node, no newline will be sent, but it is assumed a ping beacon has been set up, and a lack of response will cause an alert (optional)
  • silentkeepalive is a flag that functions in the same way, but no response is expected; no additional keepalive flag is required. (optional)
  • responds is a flag that indicates that Wintermute should expect a response from each command; the absence of a response will cause an alert. (optional)
  • secondary is a flag that flags the node as a secondary master - so Wintermute will accept commands directly from this node (optional)
commands/general_node_commands/new_node.txt · Last modified: 2024/09/20 07:47 by 127.0.0.1