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

Feature lost in transaction? M0n0 MAC addreses are gone?

Captive Portal
4
30
14.1k
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 Mar 21, 2006, 8:51 PM

    I've just solve many RADIUS problems so that FreeRadius can easily work with Captive portal…. but I did noticed that pfSense Caprive portal and M0n0 are diferent,... Mono sens all data that I need such as User MAC and NAS (Mono or pfSense box) MAC... but with pfSense in getting only half of the information send to me? Why? here is what Radius gets when I'm ratting in debug mode:

    Service-Type = Login-User
            User-Name = "alexus"
            NAS-Identifier = "pfSense.local"
            NAS-Port = 0
            NAS-Port-Type = Ethernet
            Acct-Status-Type = Start
            Acct-Authentic = RADIUS
            Acct-Session-Id = "327d19a986eadf00"
            Framed-IP-Address = 192.168.1.199

    I thought we are running exact clone of M0n0 here? Dont we? ???

    1 Reply Last reply Reply Quote 0
    • S
      sullrich
      last edited by Mar 21, 2006, 9:11 PM

      Yes we do.  So I am not sure what the problem is.

      1 Reply Last reply Reply Quote 0
      • A
        alexus
        last edited by Mar 21, 2006, 9:24 PM

        Basically, the pfSense sends less informattion for radius accounting, I dot know why but it is… it doesnt send Calling Staton ID and Called Staton ID....  I have absolutly the same configs for Mono and Pfsense, but I getting diferent accounting responses..

        Ive made a txt file where you can see the diferense in accounting records... as you can seee everything is identical but mono sends more informatiom. Also the hardware is the same, I just swaped the CF cards....  I dono, maybe some part of orogonal mono file was missing? well it has only 3 files to it... but i see you added extra page that shows the user status, and maybe that one "kill" the wariables or something?

        Any ideas?

        [pfSense Acc debug.txt](/public/imported_attachments/1/pfSense Acc debug.txt)

        1 Reply Last reply Reply Quote 0
        • S
          sullrich
          last edited by Mar 22, 2006, 12:33 AM

          No, I don't think we missed anything. We sync'd everything that I could find.

          Word is that there will be a new m0n0wall release soon.  If so, then we'll most likely import the captive portal changes (again).

          1 Reply Last reply Reply Quote 0
          • A
            alexus
            last edited by Mar 22, 2006, 12:35 AM

            yes they have 1.23b

            1 Reply Last reply Reply Quote 0
            • S
              sullrich
              last edited by Mar 22, 2006, 12:36 AM

              Isn't that the FreeBSD 6 beta?  Not exactly what I am talking about.

              1 Reply Last reply Reply Quote 0
              • A
                alexus
                last edited by Mar 22, 2006, 12:38 AM

                well I didnt really paid attention on what it runs but I know it has impruvcements for captive portal anyway…

                1 Reply Last reply Reply Quote 0
                • A
                  alexus
                  last edited by Mar 22, 2006, 12:40 AM

                  what is the file name for captive portal index.php? and what is the name for accounting.php (or whatever it used to be called in mono) I want to chek if it cheks for MAC?  Because in original it will not let it work if there is no user MAC….

                  1 Reply Last reply Reply Quote 0
                  • J
                    jeroen234
                    last edited by Mar 22, 2006, 6:43 AM

                    dit you eneable the mac check on the pfsense portal pages ?
                    if not than mac adress is ignored and ipadress is used

                    1 Reply Last reply Reply Quote 0
                    • A
                      alexus
                      last edited by Mar 22, 2006, 12:33 PM

                      Isnt that function is tryyingto use MAC as both username and pass to identify user?
                      I will try it too? Just in case

                      1 Reply Last reply Reply Quote 0
                      • A
                        alexus
                        last edited by Mar 22, 2006, 4:27 PM

                        jeroen234, I did the trial ran for what u sudgested, and as I said it didnt work, because this fature is designed for diferent purpuse… it works like major cable troviders do for theit clients... so that they dont have to use username and passwords... they just go online right away...

                        BUT, what  I found is that this feature dosnt work as it desined too... It suppose to send Radius-Request when I open web brower but it doesnt... Debug off everything is attached, I used my username to login...

                        So, I dont know why, but big part of m0n0 functionality is gone?  :(

                        Ready to process requests.
                        rad_recv: Access-Request packet from host 192.168.0.102:60873, id=214, length=79
                                Service-Type = Login-User
                                User-Name = "alexus"
                                User-Password = "xxxxxxxx"
                                NAS-Identifier = "pfSense.local"
                                NAS-Port = 0
                                NAS-Port-Type = Ethernet
                        rlm_sql (sql): Reserving sql socket id: 3
                        rlm_sql (sql): Released sql socket id: 3
                        Sending Access-Accept of id 214 to 192.168.0.102 port 60873
                        rad_recv: Accounting-Request packet from host 192.168.0.102:50951, id=195, length=97
                                Service-Type = Login-User
                                User-Name = "alexus"
                                NAS-Identifier = "pfSense.local"
                                NAS-Port = 0
                                NAS-Port-Type = Ethernet
                                Acct-Status-Type = Start
                                Acct-Authentic = RADIUS
                                Acct-Session-Id = "1285ff05b364519a"
                                Framed-IP-Address = 192.168.1.199
                        rlm_sql (sql): Reserving sql socket id: 2
                        rlm_sql (sql): Released sql socket id: 2
                        Sending Accounting-Response of id 195 to 192.168.0.102 port 50951

                        1 Reply Last reply Reply Quote 0
                        • S
                          sullrich
                          last edited by Mar 22, 2006, 4:37 PM

                          The code is there, I promise you.  Why its not working is beyond me.

                          1 Reply Last reply Reply Quote 0
                          • A
                            alexus
                            last edited by Mar 22, 2006, 5:04 PM

                            I think, i found the proble, did you use the Captive Portal from M0n0 SVN? (http://svn.m0n0.ch/wall/branches/freebsd5/captiveportal/)  Because I'm looking at the file right now and I think it is different from the one that they have in actual relseae.

                            1 Reply Last reply Reply Quote 0
                            • S
                              sullrich
                              last edited by Mar 22, 2006, 5:11 PM

                              Their file in SVN has not even been released yet!  We are not using that until they release it.

                              1 Reply Last reply Reply Quote 0
                              • A
                                alexus
                                last edited by Mar 22, 2006, 5:41 PM

                                ok, … can i take a look on the file that you are using? did you keep the original names? and what is the location of files?

                                1 Reply Last reply Reply Quote 0
                                • S
                                  sullrich
                                  last edited by Mar 22, 2006, 5:52 PM

                                  Look in cvsweb.

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    alexus
                                    last edited by Mar 22, 2006, 5:57 PM

                                    i serched all over the plce but missed the directory i need (murphy's law) can u just tell me the location?

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      sullrich
                                      last edited by Mar 22, 2006, 5:59 PM

                                      http://pfsense.com/cgi-bin/cvsweb.cgi/pfSense/etc/inc/captiveportal.inc
                                      http://pfsense.com/cgi-bin/cvsweb.cgi/pfSense/usr/local/captiveportal/

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        alexus
                                        last edited by Mar 23, 2006, 2:17 AM

                                        ok, I think the problem is in Dropdown menu that select either "defult" or "cisco" type … thats the only thing that I can think off....

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          sullrich
                                          last edited by Mar 23, 2006, 2:19 AM

                                          Did not modify that…

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