Testing for UDP packet loss

Use the wcecho utility to test for UDP packet loss between the SafeLinx Client and the SafeLinx Server.

The wcecho utility is a user datagram protocol (UDP)-based ping program that enables testing for UDP packet loss. The SafeLinx Server system must have the UDP echo service enabled. The utility is only for SafeLinx Clients that use the Linux or desktop Windows systems. The wcecho utility is only available in English.

Note: For Windows systems, you must download the Utilities for Subsystem for UNIX™-based Applications package before you can install the echo server.

Enable the UDP echo service on the SafeLinx Server, then run the wcecho utility:

  1. Stop the SafeLinx Server.
  2. Change the echo service to allow traffic to flow on the same port as the SafeLinx Client. Modify the /etc/services file and set the line: echo 7/udp to echo 8889/udp.
    Note: Use the port number you configured for mobile access services. By default, that port is 8889.
  3. Modify the Internet daemon that is being used: xinet or inet.
    Modify the file /etc/inetd.conf and remove the comment mark (#) on the line that begins with #echo dgram udp. Then, refresh the daemon by running: refresh -s inetd .
    Using xinetd, modify /etc/xinetd.d/echo-udp to enable it and send SIGUSR1 or SIGUSR2 to the xinetd process. Using InetD, modify the file /etc/inetd.conf and remove the comment mark (#) on the line that begins with #echo dgram udp. Then, send SIGUSR1 to the InetD process.
    Make sure that you have the Windows™ operating system component Simple TCP/IP Services running. To install Simple TCP/IP Services:
    1. From Add/Remove Programs, click Add/Remove Windows Components.
    2. Click Networking Services, then click Details.
    3. Select Simple TCP/IP Services, click OK, then click Next.
    4. Select the operating system installation CD location, click Next, then click Finish.
  4. On the SafeLinx Client from the installation directory, run the wcecho command using the syntax that you want.

Syntax for wcecho utility

wcecho host

Flags for wcecho utility

-c count
Determines the number of packets to send
Determines the dotted decimal IP address or host name of the SafeLinx Server.
-i wait
Determines the amount of time in milliseconds to wait between sending packets.
-p port
Determines the port number on which to send the packets.
-s size
Determines the size of the packet to send.