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

    Session-TimeOut still broken?

    Scheduled Pinned Locked Moved Captive Portal
    15 Posts 4 Posters 7.3k 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.
    • S
      sullrich
      last edited by

      Please test a recent snapshot.

      1 Reply Last reply Reply Quote 0
      • N
        nickg
        last edited by

        I already tested with 1.0.1-SNAPSHOT-03-08-2007, is there a newer build? If yes please tell me from where I can download it cause from snapshots.pfsense.com the are no newer builds.

        1 Reply Last reply Reply Quote 0
        • S
          sullrich
          last edited by

          Yes, look at the file date and time.  The version is not bumped daily or hourly.

          1 Reply Last reply Reply Quote 0
          • N
            nickg
            last edited by

            Tested with 1.0.1-SNAPSHOT-03-08-2007 (built on Wed Mar 14 16:11:27 EDT 2007) but Session-Timeout is still ignored. Even if it is set to zero the user can login successfully.

            1 Reply Last reply Reply Quote 0
            • S
              sullrich
              last edited by

              Sounds like the known m0n0 bug?

              1 Reply Last reply Reply Quote 0
              • A
                aneip
                last edited by

                I also testing this feature. But currently have no time to check. Last time I saw there are option in captive portal to enable session timeout from radius reply. But it have been taken out coz that time the feature doesn't works. I think need to re-enable config option again so the this feature will enable. I will try to check the code again and hopefully can solve this problem.

                1 Reply Last reply Reply Quote 0
                • N
                  nickg
                  last edited by

                  @sullrich:

                  Sounds like the known m0n0 bug?

                  No, in M0n0 the user can still log out if Session-Timeout is set to zero (and I consider this a bug), but if Session-Timeout is set to 60 the user is automatically logged out after 60 seconds. In pfSense the user is not logged out after 60 seconds. Any ideas?

                  1 Reply Last reply Reply Quote 0
                  • S
                    sullrich
                    last edited by

                    No idea, our code is 99% the same, I checked and re-sync'd a few weeks ago.

                    1 Reply Last reply Reply Quote 0
                    • A
                      aneip
                      last edited by

                      sullrich,

                      Just testing out 1.2-Beta-1. It seems session-timeout is working if we enable it in captive portal config page. But the option was taken out last time when the session timeout is broke. In /etc/inc/captiveportal.inc (line 473) there is checking to disconnect the user based on session-timeout. The checking is

                      isset($config['captiveportal']['radiussession_timeout'])

                      I test it by include the option in config.xml by vi and it working. Hope to see the fixed.

                      Thanks

                      1 Reply Last reply Reply Quote 0
                      • S
                        sullrich
                        last edited by

                        Can you please provide a diff of your changes.

                        1 Reply Last reply Reply Quote 0
                        • A
                          aneip
                          last edited by

                          there is no change to the code. I just manually put

                          <radiussession_timeout>1</radiussession_timeout>

                          under <captiveportal>in /cf/conf/conf.xml.

                          in m0n0wall there is a option (checkbox) in captive portal configuration. Not remember the exact word, but it something like 'use session_timeout returned by radius'. The checkbox option was taken out in pfsense last time coz the feature not working.

                          hope this help..</captiveportal>

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