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

Session-TimeOut still broken?

Captive Portal
4
15
7.2k
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.
  • N
    nickg
    last edited by Mar 10, 2007, 10:05 AM

    It used to work in m0n0, but I tested it several months ago, I'm going to retest and report back.

    1 Reply Last reply Reply Quote 0
    • N
      nickg
      last edited by Mar 10, 2007, 11:48 AM

      Tested on M0n0wall 1.23b4 and it works as expected, the user is logged out after Session-Timeout from radius server is reached.

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by Mar 10, 2007, 9:50 PM

        Please test a recent snapshot.

        1 Reply Last reply Reply Quote 0
        • N
          nickg
          last edited by Mar 14, 2007, 11:10 AM

          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 Mar 14, 2007, 7:41 PM

            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 Mar 15, 2007, 5:00 PM

              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 Mar 15, 2007, 5:00 PM

                Sounds like the known m0n0 bug?

                1 Reply Last reply Reply Quote 0
                • A
                  aneip
                  last edited by Mar 18, 2007, 5:02 AM

                  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 Mar 21, 2007, 5:04 PM Mar 21, 2007, 5:01 PM

                    @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 Mar 21, 2007, 6:42 PM

                      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 May 15, 2007, 1:44 AM

                        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 May 15, 2007, 2:43 PM

                          Can you please provide a diff of your changes.

                          1 Reply Last reply Reply Quote 0
                          • A
                            aneip
                            last edited by May 16, 2007, 8:54 AM

                            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.