why "block quick on wlan0" doesn't stop DHCP?

Damien Fleuriot ml at my.gd
Fri Jan 28 16:37:08 UTC 2011


On 1/28/11 4:25 PM, Michael wrote:
> On 28/01/2011 09:47, Greg Hennessy wrote:
>>
>> IIRC BPF sees all traffic before PF. DHCP hooks at the BPF layer, so
>> it'll be serviced before any filtering policy applies.
>>
> 
> Now that's not cool man.. ;) So is it like there's nothing I can do
> about it?
> Thanks a lot for your explanation, I was not aware of that.
> 
> Michael


Dirty workaround, in rc.conf

ifconfig_wlan0="down"

Or just give it a static IP.


More information about the freebsd-pf mailing list