Michel Machado

Results 208 comments of Michel Machado

The function that compares keys in the hash table should receive a `(void * arg)` to simplify its implementation. The reason is that in order to compute the RSS hash,...

It seems that what's going on here is that `luaL_get_ctypeid()` is returning a pointer identifier, so all pointers have the same type. The code of `ffi.istype()` in `dependencies/luajit-2.0/src/lib_ffi.c` (search for...

> Whether the budget1_byte of state in BPF is reduced cumulatively or re-decreased every time pkt_len. For example budget1_byte=1024 Does it decrease cyclically, or re-start from 1024-pkt_len each time? In...

> Like this, can I set an interval time, count the number of occurrences of the corresponding package, and reject the flow after the number reaches? Yes, you can implement...

There's not much information on what you're testing to answer this question. Which BPF are you testing? What're the parameters? What's the expiration of the policy decision? How are you...

As I have explained [here](https://github.com/AltraMayor/gatekeeper/issues/642#issuecomment-1587442686), adding more parameters to the BPFs associated with the flows may not be cheap to do. If you had any amount of memory desired, what...

1.5TB is certainly enough capacity to experiment with a larger BPF cookie. I wrote [this patch](https://github.com/AltraMayor/gatekeeper/files/11882039/cookie16.txt) to show the minimum amount of changes that you need to make to compile...

Pull request #678 dropped the KNI library, so the last problem no longer exists.

Pull request #664 addressed this issue.