Abnormal IP address in captive portal

  • Hi all,

    I have a strange IP address appear in pfsense captive portal. It's not appear as a IP address but characters.

    IP address    MAC address    Username    Session start   
    cmhnanBhcmk=                                     01/01/1970 07:30:00

    Thank you for any help and assistance.

  • Rebel Alliance Developer Netgate

    Is this on 1.2.3 or 2.0?

  • it's on 1.2.3

    We are not moving to a 2.0 beta version as this server is in production.

  • Hi all, the abnormal IP address appear again in our captive portal, do anyone have idea on it?

    IP address    MAC address    Username    Session start   
    Y2Fyb2x5bjk3OTE=                             01/01/1970 07:30:00

  • What are the contents of /var/db/captiveportal.db?

  • Would you mind to guide how to check the particular file?

  • Go to Diag>Command and run:

    cat /var/db/captiveportal.db

  • sorry for the late reply, the problem does not appear again until today.

    this is the content of /var/db/captiveportal.db


  • 'Normal' content is
    $ cat /var/db/captiveportal.db

    (just an example of my captiveportal.db file right now)

    Looks like the time stamp, IP, index and USER ID are missing.


  • I have normal content in captive portal too, but sometimes the abnormal address appear in the portal randomly.

    $ cat /var/db/captiveportal.db

  • Some how, the database $cpdb (list with all the connected clients) fails to write correctly to your disk.
    Destroyed in memory ?

    On what are you running pfSense ?

    I would re-install from scratch.

  • How many concurrent users make this bug show??

  • It happen in a random number of users. Sometimes happen in 40+ users, sometimes it happen in 300+ users. But I do not sure when it happen since I refresh the Portal page once a while.

  • appreciate that anyone can help into this matter.

    Thank you very much.

  • Not a common issue, we support loads of CP environments and never seen that. The back end handling of CP is much improved in 2.0, and it's throughly tested and used in numerous serious production environments (ISPs and others). You may want to try it and see if that changes anything. Somehow it's missing some data on the back end in rare circumstances, and that may well be fixed.

  • Thank you for your reply. We will try it out once stable version of 2.0 release.

Log in to reply