Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Pfsense file encoding & logs & syslog

    Scheduled Pinned Locked Moved General pfSense Questions
    1 Posts 1 Posters 905 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pszafer
      last edited by

      Hello,

      I have problem with logs stored in pfSense, for me problem concerns openvpn.log, but this is problem in general as I think.

      So files in pfsense are stored by default with encoding:

      text/plain; charset=us-ascii
      

      I have openvpn config which involves smartcards certificates and have users, who have Polish characters in names like 'ł'.
      All data are stored in UTF-8.

      This is output of /var/log/openvpn.log:

      Feb 22 10:41:34 router openvpn[97242]: Wies\xc5M-^Baw […]

      and pfSense syslog interface can't event show those lines! (file attached).

      Sending to syslog also breaks system, because as far as I know syslog servers expect to receive UTF-8 always and not messed up us-ascii.

      What can I do with this error and don't you think that pfsense should run in utf-8 mode?
      ![Zrzut ekranu z 2016-02-23 12-51-57.png](/public/imported_attachments/1/Zrzut ekranu z 2016-02-23 12-51-57.png)
      ![Zrzut ekranu z 2016-02-23 12-51-57.png_thumb](/public/imported_attachments/1/Zrzut ekranu z 2016-02-23 12-51-57.png_thumb)

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.