Navigation

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

    Radius Accountng

    Captive Portal
    6
    17
    7580
    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

      It's been a while but im back because Mono doesnt have features i need.
      But when I left pfSense it had problem with radius accounting, due to the fact that pf uses diferent webserver so not all counting info was send  to Radius.

      Was that fixed? If yes, does any one has a dev image?

      Thanks!

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

        Please retest with the 1.0-RELEASE Version. We resynced the captive portal with m0n0s SVN Version which even should fix some things that are in the latest official m0n0 release.

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

          ok, ill do that and post results here…
          hm, i need another wrap box.

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

            Ok I did my testings  :)
            And as i see you did fix the acounting problem :-) (although for some reason im getting double requests to my radius, maybe it usese both primary and secondaru Radius at the same time… well will look in to the code)

            So just to those ho had same problam as i did, now pfSense exactly the same accounting records as mono wall does.

            Aditional thoughts: add Captive portal statius the part whiich shows the username, caz i doubght some one can remember MAC addreses...

            So, im gonna try to add Radius server auto discovery and gatway status chek script that i wrote hope that will work.

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

              Thanks for the feedback  :D

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

                No probem

                1 Reply Last reply Reply Quote 0
                • W
                  wozeh last edited by

                  although for some reason im getting double requests to my radius, maybe it usese both primary and secondaru Radius at the same time… well will look in to the code

                  Hi, did you manage to find out why there is double radius accouting log? I have same problem, trying to look into m0n0wall mailing list, yet to read any info about this. I am using pfsense + freeradius.

                  1 Reply Last reply Reply Quote 0
                  • 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
                                  • dotdash
                                    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