Sending UDP commands to Liberator

Liberator includes a UDP command interface that enables you to send it UDP messages to reset peer connections after failover, change the verbosity of log messages, and schedule a shutdown of Liberator.

For information on the commands supported by Liberator’s UDP interface, see UDP commands.

Requirements

Before you can issue a UDP command to Liberator, you must first activate Liberator’s UDP interface. See UDP configuration.

Issuing a UDP command

Use the udpsend command, included with Liberator, to send Liberator UDP commands.

udpsend

Issues a UDP command to Liberator.

The udpsend utility is located in the Liberator’s bin directory.

Syntax: udpsend [-s <server-ip>] [-p <server-port>] <message>

Parameter Type Default Description

server-ip

integer

127.0.01

[optional] The IP address of the machine to which the UDP message is to be sent. This must be an IP address, not a host name, and must match the IP address specified for Liberator’s optional configuration item udp-interface (if specified).

server-port

integer

10001

[optional] Port on which the Liberator listens for UDP messages. This must match the port number specified in the udp-port option in the Liberator’s rttpd.conf file.

message

string

Message to send. This can include spaces.


See also: