aporeto-inc / trireme-lib

Simple, scalable and secure application segmentation
https://trireme.io
Apache License 2.0
299 stars 51 forks source link

Nfqueue Balance attempt 2 #990

Closed amitlimaye closed 4 years ago

amitlimaye commented 4 years ago

Description

Changes proposed in this pull request.

Test plan

Outline the test plan used to test this change before merging it.

Fixes #.

aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "76e28403cca975c3b037b3e6901100e719e40028",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "d81381e8962c26314f012f158c9ff8000433fe69",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "76e28403cca975c3b037b3e6901100e719e40028",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "cefeca046ca44b8091757d96909a5ae301cf6167",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "76e28403cca975c3b037b3e6901100e719e40028",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "f2e3478d7f21ea8459f97fb2504d62ba32e894e8",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "0b9d060730156f74ca49d36114816f9011537690",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "f2e3478d7f21ea8459f97fb2504d62ba32e894e8",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "0b9d060730156f74ca49d36114816f9011537690",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "1629973e6630774f81b63a3826ecffc24ea7eda9",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "0b9d060730156f74ca49d36114816f9011537690",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "1629973e6630774f81b63a3826ecffc24ea7eda9",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "c33c6e0fc43aba7f02c4e66c9a479691d198f529",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "1629973e6630774f81b63a3826ecffc24ea7eda9",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "c33c6e0fc43aba7f02c4e66c9a479691d198f529",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "1629973e6630774f81b63a3826ecffc24ea7eda9",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "c33c6e0fc43aba7f02c4e66c9a479691d198f529",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "1629973e6630774f81b63a3826ecffc24ea7eda9",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "9e58cfc423bf40b090c7277137ac6ef7a578a2d8",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "1629973e6630774f81b63a3826ecffc24ea7eda9",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "0735fb9ba73ce64ce6eb8a9078471f008255abf6",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "fe38af998cc3f02b77e58354d97eb7762d32561f",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "62dcc0e0fc53fe70c0a24e55f3066f9a36018f8d",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "232d4ea82a977495a336cde44d37484cc4568bce",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "62dcc0e0fc53fe70c0a24e55f3066f9a36018f8d",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "f186696b812a1ac266efc7f0d6e4ca79a5ac5332",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "62dcc0e0fc53fe70c0a24e55f3066f9a36018f8d",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "f186696b812a1ac266efc7f0d6e4ca79a5ac5332",
    "pipeline": "master"
  }
]
codecov[bot] commented 4 years ago

Codecov Report

Merging #990 into master will increase coverage by 0.32%. The diff coverage is 75.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #990      +/-   ##
==========================================
+ Coverage   55.55%   55.87%   +0.32%     
==========================================
  Files         131      131              
  Lines       12376    12435      +59     
==========================================
+ Hits         6875     6948      +73     
+ Misses       4843     4824      -19     
- Partials      658      663       +5     
Impacted Files Coverage Δ
...ller/internal/enforcer/nfqdatapath/datapath_udp.go 0.00% <0.00%> (ø)
...troller/internal/enforcer/nfqdatapath/nfq_linux.go 0.00% <0.00%> (ø)
utils/cgnetcls/netcls.go 0.00% <ø> (ø)
...ller/internal/enforcer/nfqdatapath/datapath_tcp.go 53.30% <37.50%> (ø)
...oller/internal/supervisor/iptablesctrl/iptables.go 56.27% <40.00%> (-0.34%) :arrow_down:
...ntroller/internal/enforcer/nfqdatapath/datapath.go 57.67% <100.00%> (+0.53%) :arrow_up:
...ontroller/internal/supervisor/iptablesctrl/acls.go 71.08% <100.00%> (+0.47%) :arrow_up:
...ller/internal/supervisor/iptablesctrl/templates.go 89.18% <100.00%> (+1.21%) :arrow_up:
controller/pkg/fqconfig/fqconfig.go 85.22% <100.00%> (+2.56%) :arrow_up:
...forcer/applicationproxy/markedconn/mark_windows.go 28.57% <0.00%> (+6.34%) :arrow_up:
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1e8a848...d3f1bc3. Read the comment docs.

aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "62dcc0e0fc53fe70c0a24e55f3066f9a36018f8d",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "883ba2df46415551c2f1e0b7961bc20490c0daaa",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "62dcc0e0fc53fe70c0a24e55f3066f9a36018f8d",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "e04b391cf5139206a05462de3f0005a3ac766251",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "62dcc0e0fc53fe70c0a24e55f3066f9a36018f8d",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "3926f1a5c5ac25669ac0e72328b0766725925d1a",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "3926f1a5c5ac25669ac0e72328b0766725925d1a",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "62dcc0e0fc53fe70c0a24e55f3066f9a36018f8d",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "62dcc0e0fc53fe70c0a24e55f3066f9a36018f8d",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "2d401e3159c45e558051241cabf1ee73e33dfa06",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "62dcc0e0fc53fe70c0a24e55f3066f9a36018f8d",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "2d401e3159c45e558051241cabf1ee73e33dfa06",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "62dcc0e0fc53fe70c0a24e55f3066f9a36018f8d",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "69b5f325556d45f1a082d12dc4586713e267575a",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "62dcc0e0fc53fe70c0a24e55f3066f9a36018f8d",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "69b5f325556d45f1a082d12dc4586713e267575a",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "62dcc0e0fc53fe70c0a24e55f3066f9a36018f8d",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "69b5f325556d45f1a082d12dc4586713e267575a",
    "pipeline": "master"
  }
]
aporeto-bot commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1611",
    "commit-sha": "62dcc0e0fc53fe70c0a24e55f3066f9a36018f8d",
    "pipeline": "master"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "990",
    "commit-sha": "4a472bce11173a1123c95cf85866680e033bdf9b",
    "pipeline": "master"
  }
]