wirefilter icon indicating copy to clipboard operation
wirefilter copied to clipboard

FFI How to add values to a $ list?

Open sighup1 opened this issue 2 months ago • 2 comments

Using the FFI how do I add, lets say, an IP address to a list so that a filter like "ip.src not in $bad_list" will work? I've looked through the code and I can't seem to figure out how to do it. I did some examples of using lists for the lhs for like cookies etc. but this is not what I'm trying to do.

Any help is greatly appreciated!

Thanks!

sighup1 avatar Oct 29 '25 18:10 sighup1

Hi! This is not supported off-the-shelf. You will need to extend wirefilter with your own IP list implementation and expose it appropriately through FFI.

marmeladema avatar Oct 29 '25 18:10 marmeladema

I see thanks for the response! Do you have any pointers on where/how I can get started?

sighup1 avatar Oct 29 '25 21:10 sighup1