Skip to content

Commit

Permalink
Refactor reverse proxy configuration to use static BPF and cgroup_tra…
Browse files Browse the repository at this point in the history
…ffic
  • Loading branch information
arloor committed Oct 22, 2024
1 parent b479d65 commit 5f5cd66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
extra_deps: cmake zlib1g-dev libelf-dev pkg-config clang autoconf autopoint flex bison gawk make
after_install: |
ls -lh /usr/lib/x86_64-linux-gnu/libelf.a
args: -p rust_http_proxy --no-default-features --features aws_lc_rs,bpf_vendored
args: -p rust_http_proxy --no-default-features --features aws_lc_rs,bpf_static
apt_mirror: mirrors.mit.edu
rust_flags: -C target-feature=+crt-static -L /usr/lib/x86_64-linux-gnu
debug: false
Expand Down
4 changes: 2 additions & 2 deletions rust_http_proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ pnet = { version = "0.35", optional = true }
default = ["ring"]
jemalloc = ["jemallocator"]
bpf = ["socket_filter", "cgroup_traffic"]
bpf_vendored = ["bpf", "socket_filter/vendored"]
bpf_static = ["bpf", "socket_filter/static", "libbpf-sys/vendored-libbpf"]
bpf_vendored = ["bpf", "socket_filter/vendored","cgroup_traffic/vendored"]
bpf_static = ["bpf", "socket_filter/static","cgroup_traffic/static", "libbpf-sys/vendored-libbpf"]
aws_lc_rs = ["tokio-rustls/aws-lc-rs", "hyper-rustls/aws-lc-rs"]
ring = ["tokio-rustls/ring", "hyper-rustls/ring"]

0 comments on commit 5f5cd66

Please sign in to comment.