On 10.02.2013 22:44, Thierry Reding wrote:
On Sun, Feb 10, 2013 at 04:42:53PM -0800, Terje Bergström wrote:
You're right about performance. We already saw quite a bad performance hit with the current firewall, so we'll need to worry about performance later.
I guess the additional overhead of looking up in a table vs. an actual function being run will be rather small compared to the total overhead incurred by having the firewall in the first place.
Yeah, I'll just implement a simple linear table lookup and let's see what happens. I'll optimize with bitfield if needed.
Terje