Skip to content
Discussion options

You must be logged in to vote

Thanks for the clarifications. I understand your use case better now.

jbpf allows several codelets to be loaded on a single hook. However, from your description I understand that you don't want the other tenants to have any visibility into the traffic of others, right?

One way I can think that you could implement this functionality without making any modifications to the existing code, would be the following:

  • Add N statically pre-compiled hooks in a switch statement, where N is the max number of tenants the middlebox can support. The codelets of users can be loaded in those hooks.

  • Add a single control hook to capture the incoming packets, and emit a routing decision, about which hook …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@cjdoucette
Comment options

@xfoukas
Comment options

@cjdoucette
Comment options

@xfoukas
Comment options

Answer selected by xfoukas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants