diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2013-09-12 19:42:48 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2013-09-12 21:14:06 +0400 |
commit | f5acc04bef89751b57441dcdac7a86b8f981989b (patch) | |
tree | ce9ba60f41b2ceae03a93dc178d39be8de6e7349 /tests/syslog-v.out | |
parent | c3a79db0d287e74b4d77518146eebd19115b50e9 (diff) | |
download | tcpdump-f5acc04bef89751b57441dcdac7a86b8f981989b.tar.gz |
add a test case for syslog over UDP
The new capture contains two datagrams produced by logger utility
(syslog default timestamp format) and two datagrams produced by rsyslog
(RFC3339 timestamp format). One of the rsyslog datagrams has priority
consisting of two figures and the other -- of one figure.
Diffstat (limited to 'tests/syslog-v.out')
-rw-r--r-- | tests/syslog-v.out | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/syslog-v.out b/tests/syslog-v.out new file mode 100644 index 00000000..8249cae5 --- /dev/null +++ b/tests/syslog-v.out @@ -0,0 +1,16 @@ +IP (tos 0x0, ttl 64, id 30929, offset 0, flags [DF], proto UDP (17), length 79) + 10.0.0.20.47565 > 10.0.0.72.514: SYSLOG, length: 51 + Facility kernel (0), Severity notice (5) + Msg: Sep 12 19:16:12 through logger: test message 21\0x00 +IP (tos 0x0, ttl 64, id 37393, offset 0, flags [DF], proto UDP (17), length 79) + 10.0.0.20.33884 > 10.0.0.72.514: SYSLOG, length: 51 + Facility user (1), Severity alert (1) + Msg: Sep 12 19:16:18 through logger: test message 22\0x00 +IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 107) + 10.0.0.20.52693 > 10.0.0.71.514: SYSLOG, length: 79 + Facility user (1), Severity notice (5) + Msg: 2013-09-12T19:16:34.457849+04:00 localhost through rsyslog: test message 23 +IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 106) + 10.0.0.20.52693 > 10.0.0.71.514: SYSLOG, length: 78 + Facility ftp (11), Severity warning (4) + Msg: 013-09-12T19:16:43.513746+04:00 localhost through rsyslog: test message 24 |