aporeto-inc / trireme-lib

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

check ipv6 is supported before creating rawsocket #894

Closed amitlimaye closed 5 years ago

amitlimaye commented 5 years ago

Description

Fixes https://github.com/aporeto-inc/aporeto/issues/2070 Changes proposed in this pull request.

Test plan

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

Fixes #.

codecov[bot] commented 5 years ago

Codecov Report

Merging #894 into master will not change coverage. The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #894   +/-   ##
=======================================
  Coverage   55.85%   55.85%           
=======================================
  Files         110      110           
  Lines       11056    11056           
=======================================
  Hits         6175     6175           
  Misses       4283     4283           
  Partials      598      598
Impacted Files Coverage Δ
...ntroller/internal/enforcer/nfqdatapath/datapath.go 63.45% <0%> (ø) :arrow_up:
...ontroller/internal/supervisor/iptablesctrl/ipv6.go 63.15% <0%> (ø) :arrow_up:

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 ab848cc...86e26da. Read the comment docs.

amitlimaye commented 5 years ago

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

[
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "894",
    "commit-sha": "86e26dadd02b121313358c2549306953d12db9d7"
  }
]
amitlimaye commented 5 years ago

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

[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1447",
    "commit-sha": "31970f04b96db4efc79625fa4376684fd4a114cd"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "894",
    "commit-sha": "86e26dadd02b121313358c2549306953d12db9d7"
  }
]