boratanrikulu / durdur

Lightweight packet filtering for Linux: 'durdur' is a high-performance, eBPF-based simple firewall tool that drops packets by IP or DNS domain. Perfect for on-demand network control.
GNU General Public License v3.0
81 stars 1 forks source link

change `--from` to `--src`, `--to` to `--dst` #5

Closed boratanrikulu closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Merging #5 (de6eb76) into main (f77d3ce) will increase coverage by 0.27%. The diff coverage is 58.46%.

@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
+ Coverage   69.06%   69.34%   +0.27%     
==========================================
  Files          15       15              
  Lines         417      411       -6     
==========================================
- Hits          288      285       -3     
+ Misses         96       94       -2     
+ Partials       33       32       -1     
Impacted Files Coverage Δ
internal/ebpf/drop.go 45.45% <25.00%> (ø)
internal/ebpf/map.go 26.66% <25.00%> (ø)
internal/ebpf/undrop.go 31.81% <25.00%> (ø)
cmd/durdur/undrop.go 59.37% <57.14%> (-3.42%) :arrow_down:
cmd/durdur/drop.go 78.33% <77.77%> (+1.96%) :arrow_up:
internal/ebpf/detach.go 52.63% <100.00%> (ø)
internal/ebpf/load.go 60.00% <100.00%> (ø)
internal/ebpf/testing.go 91.93% <100.00%> (ø)

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