| Anonymous | Login | Signup for a new account | 11-10-2008 11:21 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0001574 | [BusyBox] Standards Compliance | minor | always | 11-04-07 07:29 | 02-13-08 01:19 | ||||
| Reporter | pipatron | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 1.4.x | ||||||
| Summary | 0001574: syslogd includes null-byte in message transmitted to remote server | ||||||||
| Description |
Log messages transmitted to remote hosts includes a \0 at the end, which might be an inconvenience at the remote side when filtering or storing the message. It's difficult to say if this conforms to the standards or not, since there aren't any, but no other syslog clients I've seen behaves like this. Included are tcpdump captures to show the behaviour. |
||||||||
| Additional Information |
busybox 1.4.2 on OpenWRT: antenna:~$ tcpdump -s0 -X dst port 514 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on br0, link-type EN10MB (Ethernet), capture size 65535 bytes 16:16:47.872167 IP antenna.1578 > spiegelsaal.514: SYSLOG user.notice, length: 40 0x0000: 4500 0044 0000 4000 4011 7e7c 0a13 5401 E..D..@.@.~|..T. 0x0010: 0a13 5406 062a 0202 0030 90db 3c31 333e ..T..*...0..<13> 0x0020: 4e6f 7620 2034 2031 363a 3136 3a34 3720 Nov..4.16:16:47. 0x0030: 726f 6f74 3a20 4865 6c6c 6f2c 2057 6f72 root:.Hello,.Wor 0x0040: 6c64 2100 ld!. -------------------------------- Same "Hello, World!" message on Ubuntu 7.10 with the default syslog: 16:12:06.981503 IP airwaves.radioland.syslog > spiegelsaal.radioland.syslog: SYSLOG user.notice, length: 24 0x0000: 4500 0034 0000 4000 4011 7e89 0a13 5404 E..4..@.@.~...T. 0x0010: 0a13 5406 0202 0202 0020 73e5 3c31 333e ..T.......s.<13> 0x0020: 7069 7065 3a20 4865 6c6c 6f2c 2057 6f72 pipe:.Hello,.Wor 0x0030: 6c64 210a ld!. |
||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |