View Issue Details

IDProjectCategoryView StatusLast Update
0001657Kali LinuxKali Package Improvementpublic2018-01-29 11:38
Reportercvcrckt Assigned Tog0tmi1k  
PrioritylowSeveritytweakReproducibilityalways
Status closedResolutionsuspended 
Platformx64OSKaliOS Version1.0
Product Version1.0.8 
Summary0001657: Out-of-the-box syslog-ng.conf includes example that doesn't work with syslog-ng binary
Description

The examples for receiving from or sending to remote hosts in the default syslog-ng.conf include directives that aren't supported by the packaged version of syslog-ng.

From the default syslog-ng.conf:

=========================
<snip>

If you wish to get logs from remote machine you should uncomment

this and comment the above source line.

#
#source s_net { tcp(ip(127.0.0.1) port(1000) authentication(required) encrypt(allow)); };
</snip>

<snip>

Send the messages to an other host

#
#destination d_net { tcp("127.0.0.1" port(1000) authentication(on) encrypt(on) log_fifo_size(1000)); };
</snip>

If I try to start syslog-ng, for example, with the above source definition, I get the following message:

=========================
[....] Starting system logging: syslog-ngError parsing afsocket, syntax error, unexpected LL_IDENTIFIER in /etc/syslog-ng/syslog-ng.conf at line 28, column 45:

source s_src { tcp(ip(127.0.0.1) port(1000) authentication(required) encrypt(allow)); };
^^^^^^^^^^^^^^

Steps To Reproduce
  1. Uncomment source s_net line in syslog-ng.conf.
  2. Rename s_net to s_src so that the log paths section of the config will make sense.
  3. Try to start syslog-ng
  4. Observer the error message (see description)
Additional Information

Activities

g0tmi1k

g0tmi1k

2018-01-29 11:38

administrator   ~0008005

Due to the age of the OS (Kali Moto [v1], Kali Safi [v2], Kali Rolling 2016.x), these legacy versions are no longer supported.
We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux - https://www.kali.org/downloads/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing,and also give information about your setup?
For more information, please read: https://kali.training/topic/filing-a-good-bug-report/

Issue History

Date Modified Username Field Change
2014-08-11 13:40 cvcrckt New Issue
2018-01-29 11:38 g0tmi1k Assigned To => g0tmi1k
2018-01-29 11:38 g0tmi1k Status new => closed
2018-01-29 11:38 g0tmi1k Resolution open => suspended
2018-01-29 11:38 g0tmi1k Note Added: 0008005