Navigation

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

    CP Mac Authentication Table - It's over 9000!

    Captive Portal
    2
    4
    693
    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.
    • C
      codywood last edited by

      I run some large wifi networks where the mac auth table grows to over 9000 entries - which pretty much kills the firewall if not kept in check.  This has been a known issue for a while and the fix seems a little ways out still.  Is there a way to get a copy of the script mentioned @ https://redmine.pfsense.org/issues/3932?  I'd much rather just trim the older entries rather than try to implement a local sql server on the firewall.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • C
        codywood last edited by

        Or does anyone else have any other recommendations, thoughts on how to navigate this issue for the time being?

        1 Reply Last reply Reply Quote 0
        • Derelict
          Derelict LAYER 8 Netgate last edited by

          If you use vouchers they will get pruned when the voucher expires as long as you use Enable Pass-through MAC automatic addition with username. The voucher code will be the username so there is something for the pruner to key on when the voucher expires.

          I would think that would carry over to username/password logins but I have never tried that.

          Not sure why you're using MAC passthroughs or how you have it implemented.

          Chattanooga, Tennessee, USA
          The pfSense Book is free of charge!
          DO NOT set a source port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • C
            codywood last edited by

            We are authenticating users against a radius server that connects to AD - as 99% of our users have accounts.  The rest we assign vouchers on a per-case basis.

            We have enabled "Enable Pass-through MAC automatic additions" and "Enable Pass-through MAC automatic addition with username" so they only have to authenticate once and then we have their username associated with their device.  The issue arises when we have more than 9000 separate device/username pairs in the db.  I know there are some php files that may help in pruning the mac auth table, just not sure which ones they are and what parameters to pass to them.

            In the past, I've just been deleting the mac auth table once a year (just before fall semester - we are a University) and then everyone has to re-authenticate.  But with the growing number of devices everyone has, we are easily exceeding 9000 records within a year.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post