 Cilium v1.6 Documentationthe loadbalancing operation is not performed on the source host. Note: load balancing requires connection tracking to be enabled. This is the default. Monitoring and Troubleshooting The ability to gain so it is often referred to as an L3/L4 network security policy. Note: Cilium performs stateful connection tracking, meaning that if policy allows the frontend to reach backend, it will automatically allow reply packets that are part of backend replying to frontend within the context of the same TCP/UDP connection. L4 Policy with Cilium and Kubernetes We can achieve that with the following CiliumNetworkPolicy:0 码力 | 734 页 | 11.45 MB | 1 年前3 Cilium v1.6 Documentationthe loadbalancing operation is not performed on the source host. Note: load balancing requires connection tracking to be enabled. This is the default. Monitoring and Troubleshooting The ability to gain so it is often referred to as an L3/L4 network security policy. Note: Cilium performs stateful connection tracking, meaning that if policy allows the frontend to reach backend, it will automatically allow reply packets that are part of backend replying to frontend within the context of the same TCP/UDP connection. L4 Policy with Cilium and Kubernetes We can achieve that with the following CiliumNetworkPolicy:0 码力 | 734 页 | 11.45 MB | 1 年前3
 Cilium v1.10 DocumentationDNS resolution problem in the last 5 minutes? Which services have experienced an interrupted TCP connection recently or have seen connections timing out? What is the rate of unanswered TCP SYN requests? to contact k8s api-server In the Cilium agent logs you will see: level=info msg="Establishing connection to apiserver" host="https://10.96.0.1:443" subsys=k8s level=error msg="Unable to contact k8s api-server" so it is often referred to as an L3/L4 network security policy. Note: Cilium performs stateful connection tracking, meaning that if policy allows the frontend to reach backend, it will automatically allow0 码力 | 1307 页 | 19.26 MB | 1 年前3 Cilium v1.10 DocumentationDNS resolution problem in the last 5 minutes? Which services have experienced an interrupted TCP connection recently or have seen connections timing out? What is the rate of unanswered TCP SYN requests? to contact k8s api-server In the Cilium agent logs you will see: level=info msg="Establishing connection to apiserver" host="https://10.96.0.1:443" subsys=k8s level=error msg="Unable to contact k8s api-server" so it is often referred to as an L3/L4 network security policy. Note: Cilium performs stateful connection tracking, meaning that if policy allows the frontend to reach backend, it will automatically allow0 码力 | 1307 页 | 19.26 MB | 1 年前3
 Cilium v1.7 Documentationthe loadbalancing operation is not performed on the source host. Note: load balancing requires connection tracking to be enabled. This is the default. Monitoring and Troubleshooting The ability to gain to contact k8s api-server In the Cilum agent logs you will see: level=info msg="Establishing connection to apiserver" host="https://10.96.0.1:443" subsys=k8s level=error msg="Unable to contact k8s api-server" so it is often referred to as an L3/L4 network security policy. Note: Cilium performs stateful connection tracking, meaning that if policy allows the frontend to reach backend, it will automatically allow0 码力 | 885 页 | 12.41 MB | 1 年前3 Cilium v1.7 Documentationthe loadbalancing operation is not performed on the source host. Note: load balancing requires connection tracking to be enabled. This is the default. Monitoring and Troubleshooting The ability to gain to contact k8s api-server In the Cilum agent logs you will see: level=info msg="Establishing connection to apiserver" host="https://10.96.0.1:443" subsys=k8s level=error msg="Unable to contact k8s api-server" so it is often referred to as an L3/L4 network security policy. Note: Cilium performs stateful connection tracking, meaning that if policy allows the frontend to reach backend, it will automatically allow0 码力 | 885 页 | 12.41 MB | 1 年前3
 Cilium v1.11 DocumentationDNS resolution problem in the last 5 minutes? Which services have experienced an interrupted TCP connection recently or have seen connections timing out? What is the rate of unanswered TCP SYN requests? to contact k8s api-server In the Cilium agent logs you will see: level=info msg="Establishing connection to apiserver" host="https://10.96.0.1:443" subsys=k8s level=error msg="Unable to contact k8s api-server" so it is often referred to as an L3/L4 network security policy. Note: Cilium performs stateful connection tracking, meaning that if policy allows the frontend to reach backend, it will automatically allow0 码力 | 1373 页 | 19.37 MB | 1 年前3 Cilium v1.11 DocumentationDNS resolution problem in the last 5 minutes? Which services have experienced an interrupted TCP connection recently or have seen connections timing out? What is the rate of unanswered TCP SYN requests? to contact k8s api-server In the Cilium agent logs you will see: level=info msg="Establishing connection to apiserver" host="https://10.96.0.1:443" subsys=k8s level=error msg="Unable to contact k8s api-server" so it is often referred to as an L3/L4 network security policy. Note: Cilium performs stateful connection tracking, meaning that if policy allows the frontend to reach backend, it will automatically allow0 码力 | 1373 页 | 19.37 MB | 1 年前3
 Cilium v1.8 DocumentationDNS resolution problem in the last 5 minutes? Which services have experienced an interrupted TCP connection recently or have seen connections timing out? What is the rate of unanswered TCP SYN requests? the loadbalancing operation is not performed on the source host. Note: load balancing requires connection tracking to be enabled. This is the default. Monitoring and Troubleshooting The ability to gain to contact k8s api-server In the Cilum agent logs you will see: level=info msg="Establishing connection to apiserver" host="https://10.96.0.1:443" subsys=k8s level=error msg="Unable to contact k8s0 码力 | 1124 页 | 21.33 MB | 1 年前3 Cilium v1.8 DocumentationDNS resolution problem in the last 5 minutes? Which services have experienced an interrupted TCP connection recently or have seen connections timing out? What is the rate of unanswered TCP SYN requests? the loadbalancing operation is not performed on the source host. Note: load balancing requires connection tracking to be enabled. This is the default. Monitoring and Troubleshooting The ability to gain to contact k8s api-server In the Cilum agent logs you will see: level=info msg="Establishing connection to apiserver" host="https://10.96.0.1:443" subsys=k8s level=error msg="Unable to contact k8s0 码力 | 1124 页 | 21.33 MB | 1 年前3
 Cilium v1.9 DocumentationDNS resolution problem in the last 5 minutes? Which services have experienced an interrupted TCP connection recently or have seen connections timing out? What is the rate of unanswered TCP SYN requests? to contact k8s api-server In the Cilum agent logs you will see: level=info msg="Establishing connection to apiserver" host="https://10.96.0.1:443" subsys=k8s level=error msg="Unable to contact k8s api-server" so it is often referred to as an L3/L4 network security policy. Note: Cilium performs stateful connection tracking, meaning that if policy allows the frontend to reach backend, it will automatically allow0 码力 | 1263 页 | 18.62 MB | 1 年前3 Cilium v1.9 DocumentationDNS resolution problem in the last 5 minutes? Which services have experienced an interrupted TCP connection recently or have seen connections timing out? What is the rate of unanswered TCP SYN requests? to contact k8s api-server In the Cilum agent logs you will see: level=info msg="Establishing connection to apiserver" host="https://10.96.0.1:443" subsys=k8s level=error msg="Unable to contact k8s api-server" so it is often referred to as an L3/L4 network security policy. Note: Cilium performs stateful connection tracking, meaning that if policy allows the frontend to reach backend, it will automatically allow0 码力 | 1263 页 | 18.62 MB | 1 年前3
 eBPF Summit 2020 Lightning TalkLet’s use BPF to get a quick win! • Track how many “AMQP consumers” have been declared for each connection • Drop further consumer declare packets once the limit is hit RedBPF • Most frameworks require key • Map is a counter for consumers per connection Use BPF Maps • Using the source IP & port as map key • Map is a counter for consumers per connection • Increase when declare Use BPF Maps • consumers per connection • Increase when declare • Decrease when cancel Use BPF Maps • Using the source IP & port as map key • Map is a counter for consumers per connection • Increase when0 码力 | 22 页 | 1.81 MB | 1 年前3 eBPF Summit 2020 Lightning TalkLet’s use BPF to get a quick win! • Track how many “AMQP consumers” have been declared for each connection • Drop further consumer declare packets once the limit is hit RedBPF • Most frameworks require key • Map is a counter for consumers per connection Use BPF Maps • Using the source IP & port as map key • Map is a counter for consumers per connection • Increase when declare Use BPF Maps • consumers per connection • Increase when declare • Decrease when cancel Use BPF Maps • Using the source IP & port as map key • Map is a counter for consumers per connection • Increase when0 码力 | 22 页 | 1.81 MB | 1 年前3
 Cilium v1.5 Documentation-o jso $ kubectl exec ${POD_REVIEWS_V1} -c istio-proxy -ti -- curl --connect-timeo curl: (28) Connection timed out after 5001 milliseconds command terminated with exit code 28 Update the Is�o route rule Inject() method to send this error reply back to the client. See r2d2/r2d2parser.go for an example. p.connection.Inject(true, []byte("ERROR\r\n")) Note: p.connec�on.Inject() will inject the data it is passed Log()’’ implements access logging. See the OnData func�on in r2d2/r2d2parser.go as an example: p.connection.Log(access_log_entry_type, &cilium.LogEntry_GenericL7{ &cilium.L7LogEntry{0 码力 | 740 页 | 12.52 MB | 1 年前3 Cilium v1.5 Documentation-o jso $ kubectl exec ${POD_REVIEWS_V1} -c istio-proxy -ti -- curl --connect-timeo curl: (28) Connection timed out after 5001 milliseconds command terminated with exit code 28 Update the Is�o route rule Inject() method to send this error reply back to the client. See r2d2/r2d2parser.go for an example. p.connection.Inject(true, []byte("ERROR\r\n")) Note: p.connec�on.Inject() will inject the data it is passed Log()’’ implements access logging. See the OnData func�on in r2d2/r2d2parser.go as an example: p.connection.Log(access_log_entry_type, &cilium.LogEntry_GenericL7{ &cilium.L7LogEntry{0 码力 | 740 页 | 12.52 MB | 1 年前3
 Containers and BPF: twagent storyBPF_CGROUP_INET6_CONNECT and BPF_CGROUP_SOCK_OPS programs → ● In proxy on accept(2) learn orig_dst by connection’s src IP and port from BPF map. ● Encrypt, see [0] for details on proxy itself. [0] https://atscaleconference0 码力 | 9 页 | 427.42 KB | 1 年前3 Containers and BPF: twagent storyBPF_CGROUP_INET6_CONNECT and BPF_CGROUP_SOCK_OPS programs → ● In proxy on accept(2) learn orig_dst by connection’s src IP and port from BPF map. ● Encrypt, see [0] for details on proxy itself. [0] https://atscaleconference0 码力 | 9 页 | 427.42 KB | 1 年前3
共 9 条
- 1














