BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000872 [BusyBox] Security minor always 05-15-06 11:31 02-18-08 16:58
Reporter TheCompWiz View Status public  
Assigned To BusyBox
Priority normal Resolution won't fix  
Status closed   Product Version 1.2.x
Summary 0000872: Syslogd does not report hostname to remote servers
Description   Currently the syslogd does not report the client's hostname to the remote server. The syslogd does, however report locally (to a file) the hostname. I belive this should be fixed.
Additional Information in syslogd.c in the logMessage procedure adding a line like this:

if (strlen(LocalHostName) > 0) {
  msg = LocalHostName + ' ' + msg;
}

before the bit of code that adds the timestamp... should fix this problem.
Attached Files

- Relationships

- Notes
(0001613)
vda
09-03-06 08:04

Is it in C?? ;)
 
(0005124)
vda
02-18-08 16:58

From http://bugs.busybox.net/view.php?id=1574: [^]

"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!.

No hostname there either.
 

- Issue History
Date Modified Username Field Change
05-15-06 11:31 TheCompWiz New Issue
05-15-06 11:31 TheCompWiz Status new => assigned
05-15-06 11:31 TheCompWiz Assigned To  => BusyBox
09-03-06 08:04 vda Note Added: 0001613
02-18-08 16:58 vda Status assigned => closed
02-18-08 16:58 vda Note Added: 0005124
02-18-08 16:58 vda Resolution open => won't fix


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker