SYSLOG output does not include prefix

Bug #252014 reported by Jeff Dairiki
4
Affects Status Importance Assigned to Milestone
Specter
New
Medium
Michal Kwiatkowski

Bug Description

The output generated by the SYSLOG plugin does not seem to include any prefix text (specified by the --ulog-prefix option of ipt_ULOG). (The LOGEMU plugin does include the prefix.)

I suspect the fix is as simple as changing line 77 of plugins/specter_SYSLOG.c from:

         if (printpkt_print(buf, md->flags))

to

         if (printpkt_print(buf, PRINTPKT_PREFIX|md->flags))

(but I could easily be wrong.)

Revision history for this message
Michal Kwiatkowski (ruby) wrote :

Thank you for the report. You may be right. The code in question is quite old, so I can't say why there's no PRINTPKT_PREFIX flag set in the SYSLOG plugin. I will have some time to investigate this next week, so stay tuned.

Changed in specter:
assignee: nobody → ruby
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.