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

CP Status does not show usernames

Scheduled Pinned Locked Moved Captive Portal
36 Posts 4 Posters 16.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.
  • A
    alexus
    last edited by Jan 27, 2007, 8:38 PM Jan 27, 2007, 8:33 PM

    CP status page does not seams to show userames in the list of loged in users (only IP and MAC are shown)
    Is there any reason for that ot its just not portered page? (mono used to show this for long time alredy)

    Also Radius accounting has bug: pfSends 2 identical accounting packets which shows as 2 users are loded in and loged out …. as result if radius server cheks for simitaneusl login then the user will be bloked ... also the traffic usage is twise as higher in log, comparing to real situation

    1 Reply Last reply Reply Quote 0
    • A
      alexus
      last edited by Jan 28, 2007, 12:03 AM

      Ok the username thingie I fixed (brought back) for my image, but it need to be a bit more work because some one used level 4 as temp variable grrrrr

      as to the redundant accounting and no traffic usage info, I can fix thise too i think if some one would ask me for it

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by Jan 28, 2007, 12:10 AM

        Have a look at http://wiki.pfsense.com/wikka.php?wakka=SubmittingPatches if you want to send in patches. Regarding the accounting issue can you verify that it's not happening in m0n0 first? If the bug is there as well please send your fixes there as too. Thanks.

        1 Reply Last reply Reply Quote 0
        • A
          alexus
          last edited by Jan 28, 2007, 12:19 AM Jan 28, 2007, 12:14 AM

          tope mono is clean, I moving to pf because of 2 functions: fail over and load baalncing…. everything else in mono is perfect including radius (actually I would say mono now is way stronger in terms of CP, i have no idea what pahhening here but CP is really barely leaving) also CVS is out of date (hmmm how?) the version on CVS for CP is 1.2 where in 1.0.1 relasee the CP is marked as 1.7 whats up?

          EDIT: as to that rule for submiting packages, i dint understand the forts part of the doc with diff - something...  could u explain what that do and how it works? Well im running from Win so i dont use much fetch

          1 Reply Last reply Reply Quote 0
          • S
            sullrich
            last edited by Jan 28, 2007, 1:18 AM

            @alexus:

            tope mono is clean, I moving to pf because of 2 functions: fail over and load baalncing…. everything else in mono is perfect including radius (actually I would say mono now is way stronger in terms of CP, i have no idea what pahhening here but CP is really barely leaving) also CVS is out of date (hmmm how?) the version on CVS for CP is 1.2 where in 1.0.1 relasee the CP is marked as 1.7 whats up?

            EDIT: as to that rule for submiting packages, i dint understand the forts part of the doc with diff - something...  could u explain what that do and how it works? Well im running from Win so i dont use much fetch

            Please show an example of how the versions are different?  Our version ID's will be different from m0n0.

            1 Reply Last reply Reply Quote 0
            • A
              alexus
              last edited by Jan 28, 2007, 1:26 AM Jan 28, 2007, 1:19 AM

              im exactly talking about your versions….
              let me get to other PC and copy the begining of the files

              EDIT:
              Ok here is the one from 101 release:

              /* $Id: status_captiveportal.php,v 1.7.2.4 2006/04/03 21:05:12 sullrich Exp $ /
              /

              status_captiveportal.php
              part of m0n0wall (http://m0n0.ch/wall)

              here is begining of the file from CVS:

              /* $Id: status_captiveportal.php,v 1.21 2006/12/08 21:49:18 dsh Exp $ /
              /

                  status_captiveportal.php
                  part of m0n0wall (http://m0n0.ch/wall)
                 
                  Copyright (C) 2003-2004 Manuel Kasper mk@neon1.net.
                  All rights reserved./mk@neon1.net

              As I can see the CVS file does suppurt username display, but the version shown is old.

              1 Reply Last reply Reply Quote 0
              • S
                sullrich
                last edited by Jan 28, 2007, 1:45 AM

                Make sure you are looking at the correct branch!  By default CVS HEAD has a different CVS version that what is in RELENG_1.

                1 Reply Last reply Reply Quote 0
                • A
                  alexus
                  last edited by Jan 28, 2007, 1:48 AM

                  hmm, so where would i look for the latest no bug version? and release version?

                  1 Reply Last reply Reply Quote 0
                  • S
                    sullrich
                    last edited by Jan 28, 2007, 1:52 AM

                    RELENG_1 is the 1.0 release branch..  Which is what we are using for 1.0.*

                    1 Reply Last reply Reply Quote 0
                    • A
                      alexus
                      last edited by Jan 28, 2007, 2:17 AM

                      ok where do i find it

                      • who edited CP page? it doesnt look like original Jonthan's code…
                        I see it uses regular DB file + bandwith control is now what mono has its something diferent
                      1 Reply Last reply Reply Quote 0
                      • S
                        sullrich
                        last edited by Jan 28, 2007, 2:51 AM

                        @alexus:

                        ok where do i find it

                        • who edited CP page? it doesnt look like original Jonthan's code…
                          I see it uses regular DB file + bandwith control is now what mono has its something diferent

                        CVSWEB has everything you just asked for.

                        http://pfsense.com/cgi-bin/cvsweb.cgi/

                        Linked from pfsense.com

                        1 Reply Last reply Reply Quote 0
                        • A
                          alexus
                          last edited by Jan 28, 2007, 3:03 AM

                          well ok any way
                          I just run the CP in debug mode for accounting and it does confirm that accounting pakets are being send twise haveing identical data…  the problem is that i looked at th e cript many times alredy and cant find duplicte calls ... maybe the author of modification can take a look? since afterall i dont know full alghorithm and im alredy fustrated

                          1 Reply Last reply Reply Quote 0
                          • S
                            sullrich
                            last edited by Jan 28, 2007, 3:12 AM

                            @alexus:

                            well ok any way
                            I just run the CP in debug mode for accounting and it does confirm that accounting pakets are being send twise haveing identical data…  the problem is that i looked at th e cript many times alredy and cant find duplicte calls ... maybe the author of modification can take a look? since afterall i dont know full alghorithm and im alredy fustrated

                            I've already looked at it and have no idea why its happening.  If I knew, I would have fixed it.

                            1 Reply Last reply Reply Quote 0
                            • A
                              alexus
                              last edited by Jan 28, 2007, 3:12 AM

                              lol

                              1 Reply Last reply Reply Quote 0
                              • A
                                alexus
                                last edited by Jan 28, 2007, 3:15 AM

                                ok im gonna do dirty debuging on my release image, but then some one will have to give me original 1.0.1 CP files,, because i know .. after my debuging even if i find the proble the files will be coruped by hundreds of comments and debug switches

                                1 Reply Last reply Reply Quote 0
                                • S
                                  sullrich
                                  last edited by Jan 28, 2007, 3:15 AM

                                  @alexus:

                                  ok im gonna do dirty debuging on my release image, but then some one will have to give me original 1.0.1 CP files,, because i know .. after my debuging even if i find the proble the files will be coruped by hundreds of comments and debug switches

                                  Back up the files prior with tar.

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    alexus
                                    last edited by Jan 28, 2007, 3:17 AM

                                    its kinda too late alredy, I forgot on what parts i alredy enabled the debug mode :-(

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      sullrich
                                      last edited by Jan 28, 2007, 3:17 AM

                                      Well download the most recent snapshot and save it.  It is 1.0.1 up until today.

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        alexus
                                        last edited by Jan 28, 2007, 3:21 AM

                                        like i have any idea where the snupshots are?

                                        http://pfsense.com/cgi-bin/cvsweb.cgi/pfSense/usr/local/captiveportal/index.php?rev=1.37

                                        is that a curent file?

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          sullrich
                                          last edited by Jan 28, 2007, 3:23 AM

                                          @alexus:

                                          like i have any idea where the snupshots are?

                                          http://pfsense.com/cgi-bin/cvsweb.cgi/pfSense/usr/local/captiveportal/index.php?rev=1.37

                                          is that a curent file?

                                          http://snapshots.pfsense.com/FreeBSD6/RELENG_1/

                                          1 Reply Last reply Reply Quote 0
                                          10 out of 36
                                          • First post
                                            10/36
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received