Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-19982

Problems with enabling "Append Hostname" in Logfile Settings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: Asterisk Logfiles
    • Labels:
      None
    • ToDo:

      Description

      logfiles 13.0.10.5

      System with "Append Hostname" enabled in Asterisk Logfiles module experiences the following issues:

      1. /var/log/asterisk/full file is changed to /var/log/asterisk/full.hostname which prevents logrotate from working on the file
      2. /var/log/asterisk/fail2ban is changed to /var/log/asterisk/fail2ban.hostname which prevents logrotate from working but more importantly prevents sysadmin intrusion detection from monitoring asterisk intrusion attempts
      3. Not 100% sure on this one, but on the same system we are seeing oddities with the way that log events are being written by asterisk to queue_log. It looks like appendhostname=yes may be an issue with that as well.

      I believe that this setting has been in the GUI for a long time, so it's probably not wise to remove it, but given the security consequences, perhaps a dashboard notice and an updated tool tip recommending it be kept disabled.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                fdanard Franck Danard [X] (Inactive)
                Reporter:
                lgaetz Lorne Gaetz
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.