Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Captive Portal Auth not remote logging 26.03.1

    Scheduled Pinned Locked Moved Captive Portal
    4 Posts 2 Posters 810 Views 2 Watching
    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.
    • I Offline
      Irondude
      last edited by

      I have about a dozen if 3100's in use. I have upgraded all but 1 to the latest, 25.11.1 to 26.03.1(missed it luckily). They will log Portal Auth's to the local log but will not send logs to the remote log service. I enabled other logs for remote and they do send data to the remote syslog service, just not the Portal Auth. The 1 router with 25.11.1 still functions correclty, sending Portal Auth logs.
      I do know 26.03 had problems with Portal Auth logs, 26.03.1 was supposed to correct this. Was this just local or remote or both? Anyone sending Portal Auth logs to remote syslog successfully?

      Thanks

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG Offline
        Gertjan @Irondude
        last edited by

        @Irondude

        pfSense Plus 26.03.1 : my remote syslog server :

        2305a315-3516-4efa-a90f-529302180a68-image.png

        Local :

        7d0941bc-011d-4108-9e45-329ceddb2dc6-image.png

        Works for me.

        but .... I have in place this single 'syslog' patch :

        3b94a842-fa1b-4095-b285-1f5d5573b835-image.png

        diff --git a/src/etc/inc/syslog.inc b/src/etc/inc/syslog.inc
        index b2031974e8..cd4019afab 100644
        --- a/src/etc/inc/syslog.inc
        +++ b/src/etc/inc/syslog.inc
        @@ -418,7 +418,7 @@ EOD;
                 $syslogconf .= system_syslogd_get_remote_servers($syslogcfg, "*.{$log_level_filter}");
             }
        
        -    $syslogconf .= "!logportalauth\n";
        +    $syslogconf .= "!*\n:msg, startswith, \"INFO [" . LOG_PREFIX_CAPTIVEPORTAL . "] logportalauth: \"\n";
             $log_level_portalauth = '*';
             if (!$local_logs_disabled) {
                 $syslogconf .= "*.{$log_level_portalauth}                                 {$g['varlog_path']}/portalauth.log\n";
        @@ -426,6 +426,7 @@ EOD;
             if (!$remote_log_all && array_path_enabled($syslogcfg, '', 'portalauth')) {
                 $syslogconf .= system_syslogd_get_remote_servers($syslogcfg, "*.{$log_level_portalauth}");
             }
        +    $syslogconf .= ":*\n";
        
             $log_level_vpn = $log_level_default ?: '*';
             $log_level_nginx = $log_level_default ?: '*';
        

        ( get the patch from the redmine page ! )

        I think, while upgrading to 26.03.1, the patcher reversed the correction (the update present in 26.03.1), so know I have to unpatch the patch with this patch. Something like that.

        No "help me" PM's please. Use the forum, the community will thank you.

        1 Reply Last reply Reply Quote 0
        • I Offline
          Irondude
          last edited by

          Follow up:
          i have re-imaged to 25.11.1 on my 2100's and 3100's and restored the config.
          the Captive Portal Auth logging to remote syslog server resumed as normal. As a test, I upgraded a 2100 to latest, 26.03.1, the logging to remote syslog failed, local still works. I then reverted back to 25.11.1, the remote syslog then resumed as normal. Is this still and bug in 26.03.1 or something in my config causing this? The only option I have enabled for remote syslog is Captive Portal events. When I enable other options to be syslogged they are received at syslog server.
          Thanks

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG Offline
            Gertjan @Irondude
            last edited by

            @Irondude

            I'm using 26.03.1 myself.
            Remote syslogging with this option :

            ea57448c-6f86-495e-a52f-930490d56910-image.png

            and that works fine.
            Maybe partial logging has an issue ?

            No "help me" PM's please. Use the forum, the community will thank you.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
            Privacy Policy · Cookie Policy