Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WASI] Dynamic SocketAddr check for outbound socket traffic #7662

Merged
merged 3 commits into from
Dec 13, 2023

Commits on Dec 8, 2023

  1. Add API to WasiCtx for adding dynamic SocketAddr checks

    The user can now specify a closure which gets run any time a connection
    to an external address is attempted. If the closure returns true, the
    address is allowed, but if it returns false, the underlying pool is then
    checked. In otherwords, false does not imply denied, but rather, check
    the underlyin pool.
    
    Signed-off-by: Ryan Levick <ryan.levick@fermyon.com>
    rylev committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    4a1c050 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Get rid of Pool in favor of just a closure

    Signed-off-by: Ryan Levick <ryan.levick@fermyon.com>
    rylev committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    8ca8056 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. Add a SocketAddrUse arg to the SocketAddrCheck

    Signed-off-by: Ryan Levick <ryan.levick@fermyon.com>
    rylev committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    345aa6d View commit details
    Browse the repository at this point in the history