boratanrikulu / durdur

eBPF-powered L3/L4 packet dropper.
GNU General Public License v3.0
78 stars 1 forks source link

fix(ebpf): remove `--dst` #6

Closed boratanrikulu closed 1 year ago

boratanrikulu commented 1 year ago

Durdur doesn't support egress traffix right now. --dst is not useful.

codecov[bot] commented 1 year ago

Codecov Report

Merging #6 (5ad72ed) into main (9a89eb5) will increase coverage by 5.78%. The diff coverage is 44.44%.

@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
+ Coverage   69.34%   75.13%   +5.78%     
==========================================
  Files          15       15              
  Lines         411      378      -33     
==========================================
- Hits          285      284       -1     
+ Misses         94       65      -29     
+ Partials       32       29       -3     
Impacted Files Coverage Δ
internal/ebpf/attach.go 66.66% <0.00%> (-3.34%) :arrow_down:
internal/ebpf/drop.go 62.50% <ø> (+17.04%) :arrow_up:
internal/ebpf/map.go 40.00% <0.00%> (+13.33%) :arrow_up:
internal/ebpf/undrop.go 43.75% <ø> (+11.93%) :arrow_up:
cmd/durdur/drop.go 88.46% <100.00%> (+10.12%) :arrow_up:
cmd/durdur/undrop.go 67.85% <100.00%> (+8.48%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.