1# The client writes a message to a localhost IPv4 UDP socket. 2# The syslogd writes it into a file and through a pipe without dns. 3# The syslogd passes it via UDP to the loghost. 4# The server receives the message on its UDP socket. 5# Find the message in client, file, pipe, syslogd, server log. 6# Check that the file log contains the 127.0.0.1 address. 7 8use strict; 9use warnings; 10use Socket; 11 12our %args = ( 13 client => { 14 connect => { domain => AF_INET, addr => "127.0.0.1", port => 514 }, 15 }, 16 syslogd => { 17 options => ["-un"], 18 }, 19 file => { 20 loggrep => qr/ 127.0.0.1 /. get_testgrep(), 21 }, 22); 23 241; 25