[Bug 5492] New: remote syslog events lack a hostname
bugzilla at busybox.net
bugzilla at busybox.net
Sat Sep 1 03:11:24 UTC 2012
https://bugs.busybox.net/show_bug.cgi?id=5492
Summary: remote syslog events lack a hostname
Product: Busybox
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at busybox.net
ReportedBy: busybox at psifertex.com
CC: busybox-cvs at busybox.net
Estimated Hours: 0.0
syslogd appears to not be sending a hostname for remote syslog messages, though
local syslog messages contain them. From the same box:
tail -n1 /var/log/messages
Aug 31 21:17:18 router syslog.info syslogd exiting
22:57:25.324213 IP 192.168.XXX.XXX.50075 > 192.168.XXX.XXX.514: UDP, length 39
0x0000: 4500 0043 0000 4000 4011 2ee0 c0a8 XXXX E..C.. at .@.....E.
0x0010: c0a8 XXXX c39b 0202 002f 7d76 3c31 333e ..Ex...../}v<13>
0x0020: 4175 6720 3331 2032 323a 3537 3a32 3520 Aug.31.22:57:25.
0x0030: 726f 6f74 3a20 7465 7374 206d 6573 7361 root:.test.messa
0x0040: 6765 0a ge.
Compare that to a message sent by a Mac running syslogd with a remote
destination:
22:59:42.770850 IP 192.168.XXX.XXX.59214 > 192.168.XXX.XXX.514: UDP, length 51
0x0000: 4500 004f ebc7 0000 4011 827b c0a8 XXXX E..O.... at ..{..E.
0x0010: c0a8 XXXX e74e 0202 003b b03e 3c31 333e ..Ex.N...;.><13>
0x0020: 4175 6720 3331 2032 323a 3539 3a33 3920 Aug.31.22:59:39.
0x0030: 686f 7374 2e6c 6f63 616c 2075 7365 7231 host.local.user1
0x0040: 315b 3334 3139 365d 3a20 7465 7374 0a 1[34196]:.test.
Also, my syslog startup:
root at router:~# ps |grep sysl
3999 root 1324 S syslogd -R 192.168.69.120
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list