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

Add transient mode #13

Merged
merged 4 commits into from
Aug 30, 2023
Merged

Commits on Aug 30, 2023

  1. Configuration menu
    Copy the full SHA
    837f253 View commit details
    Browse the repository at this point in the history
  2. Add support for command line arguments

    Use argp.h to define command line arguments and parse them. Arguments
    are stored within main.c and are not accessible from other translation
    unit for now.
    
    Add --transient argument to the list of supported arguments, it will be
    used in a later commit.
    
    Signed-off-by: Quentin Deslandes <[email protected]>
    qdeslandes committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    50a5213 View commit details
    Browse the repository at this point in the history
  3. core: add support for --transient flag

    --transient will prevent bpfilter from loading its context from
    bpfilter.blob, nor will it allow to save its runtime context into
    bpfilter.blob. Additionally, all the BPF programs will be unloaded when
    bpfilter stops.
    
    To summarise, --transient prevent bpfilter's system modifications to
    remain after its stopped.
    
    Signed-off-by: Quentin Deslandes <[email protected]>
    qdeslandes committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    7fb788c View commit details
    Browse the repository at this point in the history
  4. doc: fix _bf_context_take_codegen() doc typo

    Signed-off-by: Quentin Deslandes <[email protected]>
    qdeslandes committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    ce00816 View commit details
    Browse the repository at this point in the history