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

    Radius Accountng

    Scheduled Pinned Locked Moved Captive Portal
    17 Posts 6 Posters 8.4k 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

      there is no such problem im mono, and I dint find any error in synked code on pfSense either

      Our company planning to give the reward to those who can fix that + some other bugs, but I have to write up the proposal

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by

        @alexus:

        there is no such problem im mono, and I dint find any error in synked code on pfSense either

        Which version of m0n0 did you test?

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

          tested mono on 1.22 and 1.23b2

          Well if I recall long time ago i found bug in pf and the problem was that not all acoounting info was send to server, them I stiked with mono for about a year and then came back to pf found that now all required info is send to the server but it being send twise. I looked at the code and I dont see anything calling accounting function twise but since mono and pf has lots of include() I couldof miss some function that loop back

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

            Just starting testing radius + mysql to be use with pfsense. I did find out there are 2 accounting record in mysql after login.

            After do through the code, I found RADIUS_ACCOUNTING_START been calling twice.

            First one in /usr/local/captiveportal/index.php and another one in /etc/inc/captiveportal.inc

            I just comment calling line in index.php and now login will only send 1 accounting start to radius server. Just testing for a few minutes. Hopefully someone can confirm which one is better to comment out.

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

              That is not the correct fix.  I have synced the code with m0n0wall.  Please test a snapshot about 1 hour from now.

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

                using snapshot.. no more double accounting..

                Anyone know whether it possible to use freeradius checkrad to check for current session still active or not?

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

                  Im glad that problem is soved

                  @aneip:

                  Anyone know whether it possible to use freeradius checkrad to for current session still active or not?

                  Dont think that was implemented, to what I remember mono does not accept any incomming connections from the radius server besides RADREPLY, but even that one never worked out for me.

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

                    um, i was very fast on testing it out,… well im back at pf.
                    I'm sure lots of things have changed. Can some one point me out to the latest snapshot for embeded? THANKS,
                    Im always forgeting how to access it.

                    1 Reply Last reply Reply Quote 0
                    • dotdashD
                      dotdash
                      last edited by

                      http://snapshots.pfsense.com/FreeBSD6/RELENG_1_2/embedded/

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

                        thanks bro

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