[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about tables



On Wed, 19 Jan 2005 22:56:48 +0100, Jonathan Weiss <[email protected]> wrote:
> I have a question regarding tables that are defined in a text file, eg:
> 
> table <spam> persist file "/etc/spammers"
> 
> When is the looup done? Everytime the rule is evaluated or every time the
> content of the file is changing?
Whenever the ruleset is (re)loaded, or when you do something like:
pfctl -T replace -t spam -f /etc/spammers
> P.S: I want to build an WLAN-AC that is configured by an web interface. I
> want to include the IP of an authentificated user into a table and only IPs
> from the table are allowed to make connections to the internet.
"man authpf" might be a place to start. Or once the user authenticates do
pfctl -T add -t authorized_ips 192.168.34.56