Expiring a pass-through MAC….
-
Hey guys and gals, looking to automate the process of expiring pass-through MACS when a customer's account has expired. This from the captive portal setup page:
To remove the passthrough MAC entry you either have to log in and remove it manually from the Pass-through MAC tab or send a POST from another system to remove it.
Ok, scheduling such an action is no big deal, I can use any number of modalities to do that. However, it would be helpful to me if someone here has had experience with posting the command from a remote system… not sure how I would do that part.
Any help would be greatly appreciated.
-
For that matter, where is the MAC pass through information stored?
-
ok, ipfw is used to manipulate the stateful firewall, found that. so when I executed the ipfw command to delete two rules concerning a test mac, the firewall did indeed deny outbound and inbound access to the machine without logging into the captive portal.
Now, one would think that the passthrough mac address page would, when refreshed, show that this mac has been deleted, but no. so obviously the information is being cached somewhere. Even though it showed as a pass through mac, ipfw had successfully (of course) deleted the rule. When I edited the mac entry, and saved it, it went back into the ruleset for ipfw.
Question remains: where is this information cached? is it encrypted? Standing by…... :)