content
large_stringlengths
3
20.5k
url
large_stringlengths
53
192
branch
large_stringclasses
4 values
source
large_stringclasses
51 values
embeddings
listlengths
384
384
score
float64
-0.21
0.65
.. Cilium Agent API ================ The following API flags are compatible with the ``cilium-agent`` flag ``enable-cilium-api-server-access``. ========================= ==================== Flag Name Description ========================= ==================== DeleteEndpoint Deletes a list of endpoints that have endpoin...
https://github.com/cilium/cilium/blob/main/Documentation/configuration/api-restrictions-table.rst
main
cilium
[ -0.05069245770573616, 0.011569632217288017, -0.1105489656329155, 0.00817384384572506, -0.01195264421403408, -0.06957986950874329, 0.006041980814188719, -0.0630134865641594, 0.07813280820846558, -0.029793756082654, 0.016723914071917534, -0.04581084102392197, 0.04099849984049797, -0.00995083...
0.213623
components including the Cilium daemon. GetStatus Returns the connectivity status to all other cilium-health instances using interval-based probing. PutStatusProbe Runs a synchronous probe to all other cilium-health instances and returns the connectivity status. ========================= ==================== Cilium Ope...
https://github.com/cilium/cilium/blob/main/Documentation/configuration/api-restrictions-table.rst
main
cilium
[ 0.008378610946238041, 0.016626926138997078, -0.11405009776353836, 0.017523981630802155, -0.03264659643173218, -0.09458097070455551, -0.033074796199798584, -0.013319847173988819, -0.027216728776693344, -0.06772661209106445, 0.052607957273721695, -0.049304183572530746, 0.0020805371459573507, ...
0.157249
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_argocd\_issues: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Troubleshooting Cilium deployed ...
https://github.com/cilium/cilium/blob/main/Documentation/configuration/argocd-issues.rst
main
cilium
[ -0.023538930341601372, 0.03382917493581772, -0.09694694727659225, -0.0448879636824131, 0.004916099831461906, -0.07042091339826584, -0.039533283561468124, 0.015907950699329376, -0.01200197171419859, 0.02174803428351879, 0.06351300328969955, -0.039842747151851654, -0.0067987702786922455, -0....
0.204077
declared in schema Solution -------- Add option ``ServerSideApply=true`` to list ``syncPolicy.syncOptions`` for the Application. .. code-block:: yaml apiVersion: argoproj.io/v1alpha1 kind: Application spec: syncPolicy: syncOptions: - ServerSideApply=true Visit the `ArgoCD documentation `\_\_ for further details.
https://github.com/cilium/cilium/blob/main/Documentation/configuration/argocd-issues.rst
main
cilium
[ -0.041181620210409164, -0.06233767047524452, -0.12037158757448196, -0.015932364389300346, -0.017410818487405777, -0.03490624949336052, -0.00027017146931029856, -0.05903371050953865, -0.033893924206495285, 0.0767960250377655, 0.05195809528231621, 0.014518975280225277, -0.04450423642992973, ...
0.110302
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_per-node-configuration: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Per-node configuration \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* ...
https://github.com/cilium/cilium/blob/main/Documentation/configuration/per-node-config.rst
main
cilium
[ 0.01077566109597683, 0.03286318853497505, -0.07807676494121552, 0.0018824589205905795, 0.03975209966301918, -0.06644141674041748, -0.044916409999132156, 0.028410974889993668, -0.0013802782632410526, -0.027600334957242012, 0.059242699295282364, -0.040565766394138336, 0.06162550672888756, -0...
0.182943
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_gs\_dns: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Locking Down External A...
https://github.com/cilium/cilium/blob/main/Documentation/security/dns.rst
main
cilium
[ -0.07236611098051071, 0.01066063903272152, -0.0708555206656456, -0.0821755900979042, -0.06148515269160271, -0.10982102155685425, -0.06913013756275177, -0.021031849086284637, 0.025510651990771294, -0.03317279741168022, -0.009028870612382889, -0.022619662806391716, -0.006103378254920244, -0....
0.148594
allow access to a subset of domains. Let's say, in the above example, ``mediabot`` pods need access to any GitHub sub-domain, e.g., the pattern ``\*.github.com``. We can achieve this easily by changing the ``toFQDN`` rule to use ``matchPattern`` instead of ``matchName``. .. literalinclude:: ../../examples/kubernetes-dn...
https://github.com/cilium/cilium/blob/main/Documentation/security/dns.rst
main
cilium
[ -0.029559923335909843, -0.04413173347711563, 0.03561205789446831, -0.0985908955335617, -0.024924246594309807, -0.05337883532047272, -0.007366642821580172, -0.06632161140441895, 0.08700405806303024, 0.008520622737705708, -0.04214642569422722, -0.054062794893980026, 0.048617225140333176, 0.0...
0.073869
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_host\_firewall: \*\*\*\*\*\*\*\*\*\*\*\*\* Host Firewall \*\*\*\*\*\*\*\*\*\*\*\*\* This document serves as an introduction to Cilium's h...
https://github.com/cilium/cilium/blob/main/Documentation/security/host-firewall.rst
main
cilium
[ 0.04385380446910858, 0.0714598149061203, -0.053262073546648026, -0.07470069825649261, 0.06345272809267044, -0.04748811572790146, -0.01201818510890007, -0.04991938918828964, 0.0694640725851059, 0.004107477609068155, 0.015765486285090446, -0.05269977077841759, 0.013974355533719063, -0.027767...
0.182203
endpoint list``. Use this command to inspect the status of host policies: .. code-block:: shell-session $ kexec cilium-dbg endpoint list ENDPOINT POLICY (ingress) POLICY (egress) IDENTITY LABELS (source:key[=value]) IPv6 IPv4 STATUS ENFORCEMENT ENFORCEMENT 266 Disabled Disabled 104 k8s:io.cilium.k8s.policy.cluster=defa...
https://github.com/cilium/cilium/blob/main/Documentation/security/host-firewall.rst
main
cilium
[ 0.07495875656604767, 0.06669861078262329, -0.02966560423374176, -0.030221840366721153, 0.036736760288476944, -0.02128114178776741, 0.02201811783015728, -0.06826155632734299, 0.06558730453252792, 0.1025296226143837, 0.003913740627467632, -0.08846402913331985, -0.049238331615924835, -0.04782...
0.227345
is possible to create a policy that drops all access to nodes. In particular, if the Cilium agent loses access to the apiserver, it will not learn of any policy updates or deletes. This makes recovery complicated. If you have out-of-band access to the node(s), then it is possible to force-disable host policy enforcemen...
https://github.com/cilium/cilium/blob/main/Documentation/security/host-firewall.rst
main
cilium
[ 0.043146517127752304, 0.08073480427265167, -0.05628087371587753, -0.03312227502465248, -0.015167911536991596, -0.03184480592608452, -0.020411184057593346, -0.017602279782295227, 0.036351606249809265, 0.039933837950229645, -0.0007349600200541317, -0.09732015430927277, 0.028034036979079247, ...
0.158798
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Securing Elasticsearch \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* This document serves as an in...
https://github.com/cilium/cilium/blob/main/Documentation/security/elasticsearch.rst
main
cilium
[ 0.0006258433568291366, 0.055378999561071396, -0.04775281995534897, -0.020799897611141205, 0.04366708919405937, -0.08848697692155838, -0.06450550258159637, 0.021936338394880295, -0.013401881791651249, 0.010068917647004128, -0.015717841684818268, -0.05729149654507637, 0.06503283977508545, -0...
0.179328
'title': 'Engine Diagnostics', \ 'stats': '[CRITICAL] [ENGINE BURN @SPEED 5000 km/s] [CHANCE 80%]'}} Searching for Stormtroopers Performance Logs Got 1 Hits: {'\_index': 'troop\_logs', '\_type': 'log', '\_id': '1', '\_score': 1.0, \ '\_source': {'outpost': 'Endor', 'datetime': '33 ABY 4AM DST', 'title': 'Endor Corps 1:...
https://github.com/cilium/cilium/blob/main/Documentation/security/elasticsearch.rst
main
cilium
[ 0.010850842110812664, 0.06034308671951294, -0.022837592288851738, 0.039641425013542175, 0.057596515864133835, -0.05435784533619881, 0.027199719101190567, 0.014008739963173866, 0.04719487950205803, 0.022738123312592506, 0.0474558100104332, -0.05543138459324837, 0.0238949041813612, -0.032500...
0.142311
spaceship diagnostics. Secondly, the outpost clients don't have access to create or update the ``index: spaceship\_diagnostics``. .. code-block:: shell-session $ kubectl exec outpost -- python search.py GET http://elasticsearch:9200/spaceship\_diagnostics/\_search [status:403 request:0.008s] ... ... elasticsearch.excep...
https://github.com/cilium/cilium/blob/main/Documentation/security/elasticsearch.rst
main
cilium
[ 0.05937686562538147, 0.05467497184872627, -0.019312679767608643, -0.002743070712313056, -0.013596885837614536, -0.055692244321107864, -0.07699821889400482, -0.0005754122976213694, 0.05003131181001663, 0.06406761705875397, -0.010233674198389053, -0.0447072871029377, -0.004421275109052658, 0...
0.131746
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_gs\_http: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Identity-Aware and HTTP-Aware ...
https://github.com/cilium/cilium/blob/main/Documentation/security/http.rst
main
cilium
[ -0.0710919126868248, 0.06790466606616974, -0.0955081656575203, -0.029901113361120224, 0.03050639107823372, -0.08984628319740295, -0.023529822006821632, -0.012066110037267208, 0.022885248064994812, 0.015297790989279747, 0.04091818258166313, -0.040596287697553635, 0.046231675893068314, -0.03...
0.175495
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_standalone\_dns\_proxy: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Standalone DNS Proxy (alpha) \*\*\...
https://github.com/cilium/cilium/blob/main/Documentation/security/standalone-dns-proxy.rst
main
cilium
[ -0.05569147691130638, -0.044896796345710754, -0.07918699085712433, -0.061037566512823105, -0.0575522817671299, -0.052200186997652054, -0.06506212055683136, -0.02225487492978573, 0.012202208861708641, -0.044258926063776016, 0.009435399435460567, -0.014575833454728127, -0.005848078988492489, ...
0.17145
1m #. \*\*Apply DNS Policy\*\* Apply a policy that allows pods with the label ``org: alliance`` to query specific domains (``cilium.io`` and its subdomains) and blocks all other queries: .. literalinclude:: ../../examples/policies/l7/dns/dns.yaml :language: yaml .. code-block:: shell-session $ kubectl apply -f examples...
https://github.com/cilium/cilium/blob/main/Documentation/security/standalone-dns-proxy.rst
main
cilium
[ 0.01168232411146164, 0.016173554584383965, -0.0037241920363157988, -0.07622082531452179, -0.06851118803024292, -0.07692359387874603, -0.022724229842424393, -0.08622345328330994, 0.06254410743713379, 0.04483296349644661, -0.013178396038711071, -0.09583081305027008, -0.028747303411364555, -0...
0.144339
is correctly configured: .. code-block:: shell-session $ kubectl -n kube-system get configmap cilium-config -o yaml | grep 'tofqdns-proxy-port' $ kubectl -n kube-system get configmap standalone-dns-proxy-config -o yaml | grep 'tofqdns-proxy-port' Both ConfigMaps should show the same value from ``dnsProxy.proxyPort``. g...
https://github.com/cilium/cilium/blob/main/Documentation/security/standalone-dns-proxy.rst
main
cilium
[ -0.012698957696557045, -0.007663814816623926, -0.03619479015469551, -0.07514207810163498, -0.10840550810098648, -0.03620848432183266, 0.002222121926024556, -0.028461769223213196, 0.060523342341184616, 0.05589468032121658, -0.015432722866535187, -0.07851628214120865, -0.02455184981226921, -...
0.08103
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io \*\*\*\*\*\*\*\*\*\*\*\*\* Securing gRPC \*\*\*\*\*\*\*\*\*\*\*\*\* This document serves as an introduction to using Cilium to enforce gRPC-aw...
https://github.com/cilium/cilium/blob/main/Documentation/security/grpc.rst
main
cilium
[ 0.002793343970552087, 0.00487463129684329, -0.051869045943021774, -0.0700882077217102, -0.02421206794679165, -0.07918273657560349, -0.0749259740114212, -0.012810954824090004, 0.05240652710199356, -0.005952463950961828, 0.030716942623257637, -0.08152509480714798, -0.00669920863583684, -0.05...
0.138489
across Cloud City. R2-D2 plugs into terminal-87 as the rebels are desperately trying to escape. This terminal uses the gRPC client code to communicate with the door management services with label ``app=public-terminal``. .. image:: images/cilium\_grpc\_gsg\_topology.png The file ``cc-door-app.yaml`` contains a Kubernet...
https://github.com/cilium/cilium/blob/main/Documentation/security/grpc.rst
main
cilium
[ 0.042416900396347046, -0.05754779279232025, -0.024747150018811226, -0.04381299018859863, -0.0013506164541468024, -0.04599256440997124, -0.01127244345843792, -0.006574172060936689, 0.06858434528112411, 0.09768624603748322, 0.03582334518432617, -0.03350532054901123, 0.006969935726374388, -0....
0.086375
:emphasize-lines: 9,13,21 A \*CiliumNetworkPolicy\* contains a list of rules that define allowed requests, meaning that requests that do not match any rules (e.g., ``SetAccessCode``) are denied as invalid. The above rule applies to inbound (i.e., "ingress") connections to ``cc-door-mgr pods`` (as indicated by ``app: cc...
https://github.com/cilium/cilium/blob/main/Documentation/security/grpc.rst
main
cilium
[ 0.011636133305728436, 0.032658420503139496, -0.013538407161831856, -0.038303252309560776, -0.025490975007414818, -0.03831407055258751, 0.011779882945120335, -0.022150373086333275, 0.008565192110836506, 0.008856605738401413, -0.013433657586574554, -0.04623762145638466, 0.016999324783682823, ...
0.165983
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_gs\_tls\_inspection: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Inspecting TLS Encr...
https://github.com/cilium/cilium/blob/main/Documentation/security/tls-visibility.rst
main
cilium
[ -0.08302503824234009, 0.059587642550468445, -0.07575305551290512, -0.040874868631362915, -0.004146907012909651, -0.1120092049241066, -0.03223421424627304, -0.015262660570442677, 0.0678500384092331, -0.030095847323536873, 0.0430421344935894, -0.04721168428659439, 0.02786884270608425, -0.025...
0.137708
the destination, Cilium must be told the set of CAs that it should trust when validating the new TLS connection to the destination service. .. note:: In a non-demo environment it is EXTREMELY important that you keep the above private keys safe, as anyone with access to this private key will be able to inspect TLS-encry...
https://github.com/cilium/cilium/blob/main/Documentation/security/tls-visibility.rst
main
cilium
[ -0.024418490007519722, 0.014302804134786129, -0.011440346948802471, -0.0351271815598011, -0.05983072891831398, -0.09166226536035538, 0.020785663276910782, -0.025523511692881584, 0.113705113530159, -0.021636415272951126, 0.035085007548332214, -0.050834134221076965, 0.05358809232711792, 0.01...
0.155434
method, SDS is the default for new Cilium installations as at Cilium 1.17. Configuring TLS Interception ============================ There are three ways to use Cilium in 1.17 and later: \* Using SDS, Secrets referenced in Network Policy can be located anywhere in the cluster, and are copied into a configured namespace...
https://github.com/cilium/cilium/blob/main/Documentation/security/tls-visibility.rst
main
cilium
[ -0.04562123492360115, -0.005115709733217955, -0.09107163548469543, 0.0013104036916047335, 0.013910939916968346, -0.0694613829255104, -0.02996111288666725, 0.000051772607548628, 0.03540710359811783, 0.005380045622587204, 0.051341891288757324, -0.036754000931978226, 0.040462926030159, -0.048...
0.201552
default secretSync: enabled: false .. Note:: If you are using this mode, then you will need to replace all references to ``kube-system`` in the validation instructions on this page with ``cilium-secrets`` (or whatever value you have set that namespace to). Once you've chosen an option and configured your Cilium install...
https://github.com/cilium/cilium/blob/main/Documentation/security/tls-visibility.rst
main
cilium
[ -0.04596521705389023, -0.02592882141470909, -0.016307227313518524, -0.113420270383358, -0.03128630667924881, -0.08400161564350128, -0.0514250285923481, -0.019732801243662834, 0.05912351235747337, -0.00041646885802038014, 0.025810308754444122, -0.039791472256183624, 0.02494390495121479, 0.0...
0.096234
other prompts can be filled with any value. .. code-block:: shell-session $ openssl req -new -key internal-httpbin.key -out internal-httpbin.csr The only field that must be a specific value is ensuring that ``Common Name`` is the exact DNS destination ``httpbin.org`` that will be provided to the client. This example wo...
https://github.com/cilium/cilium/blob/main/Documentation/security/tls-visibility.rst
main
cilium
[ -0.04810989275574684, 0.07029170542955399, -0.07011577486991882, -0.056668974459171295, -0.07951599359512329, -0.04511597007513046, 0.004148625303059816, -0.0454506017267704, 0.12319160252809525, -0.021276412531733513, -0.05208870396018028, -0.15087378025054932, 0.06825755536556244, 0.0256...
-0.059267
TLS inspection, but we have not told Cilium which traffic we want to intercept and inspect. This is done using the same Cilium Network Policy constructs that are used for other Cilium Network Policies. The following Cilium network policy indicates that Cilium should perform HTTP-aware inspect of communication between t...
https://github.com/cilium/cilium/blob/main/Documentation/security/tls-visibility.rst
main
cilium
[ -0.016343465074896812, 0.04277607053518295, -0.010500425472855568, -0.06644725799560547, -0.005482611712068319, -0.04933939874172211, 0.03139445185661316, -0.057522423565387726, 0.08803465962409973, 0.030067963525652885, 0.005258924327790737, -0.06604144722223282, 0.012853620573878288, -0....
0.138571
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_aws\_metadata\_with\_policy: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Locking Down ...
https://github.com/cilium/cilium/blob/main/Documentation/security/aws.rst
main
cilium
[ -0.008256109431385994, 0.05226975679397583, -0.1182752326130867, -0.04082825779914856, 0.08579869568347931, -0.06268858164548874, -0.054885245859622955, -0.013232422061264515, 0.07888798415660858, 0.05433298647403717, 0.03205202519893646, -0.07058864831924438, 0.042433831840753555, -0.0805...
0.104553
AWS Metadata filtering capability enables explicit whitelisting of communication between a subset of pods (identified by Kubernetes labels) with a set of destination EC2 ENIs (identified by membership in an AWS security group). In this example, the destination EC2 elastic network interfaces are attached to EC2 instance...
https://github.com/cilium/cilium/blob/main/Documentation/security/aws.rst
main
cilium
[ 0.05716030299663544, 0.07209469377994537, -0.0226434338837862, -0.034280925989151, 0.054106369614601135, 0.0023314058780670166, 0.09946063160896301, -0.07956086844205856, 0.013832641765475273, 0.023253368213772774, -0.03454321250319481, -0.09714323282241821, 0.08371827751398087, -0.0252804...
0.134411
- toCIDRSet: - cidr: 34.254.113.42/32 - cidr: 172.31.44.160/32 toPorts: - ports: - port: "80" protocol: TCP endpointSelector: matchLabels: any:class: xwing any:org: alliance k8s:io.kubernetes.pod.namespace: default labels: - key: io.cilium.k8s.policy.name source: k8s value: to-groups-sample - key: io.cilium.k8s.policy....
https://github.com/cilium/cilium/blob/main/Documentation/security/aws.rst
main
cilium
[ -0.01903320848941803, 0.047135964035987854, -0.0451110303401947, -0.08304181694984436, 0.025574084371328354, -0.047036342322826385, 0.012340983375906944, -0.07091034203767776, 0.06994868814945221, 0.06509706377983093, 0.05381176993250847, -0.09975293278694153, -0.00756627693772316, -0.0304...
0.172477
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_policy\_verdicts: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Creating Policies from Verdicts \*\*\*\*\*\*\*\*\*\*\*\*...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy-creation.rst
main
cilium
[ 0.00045216272701509297, 0.06071023270487785, -0.07444391399621964, -0.07289936393499374, 0.06364437937736511, -0.025028010830283165, 0.049834687262773514, -0.009594994597136974, 0.02346189320087433, 0.03544732555747032, 0.06255553662776947, -0.023194575682282448, 0.03821069747209549, -0.01...
0.166933
towards the deathstar to identify it and determine whether to extend the network policy to allow that traffic. Apply a default-deny policy: .. literalinclude:: ../../examples/minikube/sw\_deny\_policy.yaml :language: yaml CiliumNetworkPolicies match on pod labels using an ``endpointSelector`` to identify the sources an...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy-creation.rst
main
cilium
[ 0.0481053851544857, 0.041781194508075714, 0.0004285838222131133, -0.08157380670309067, 0.06999131292104721, 0.014447616413235664, 0.03671020269393921, -0.020335664972662926, 0.029504749923944473, 0.09606216102838516, 0.021464340388774872, -0.03869912400841713, 0.01937561295926571, -0.02961...
0.096253
available... daemon set "cilium" successfully rolled out .. group-tab:: Helm Upgrade .. cilium-helm-upgrade:: :namespace: $CILIUM\_NAMESPACE :extra-args: --reuse-values :set: policyAuditMode=false Disable Policy Audit Mode (Specific Endpoint) ============================================= These steps are nearly identica...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy-creation.rst
main
cilium
[ 0.0636066198348999, 0.08727016299962997, -0.011605843901634216, -0.02598538063466549, 0.05914454907178879, -0.03029133751988411, -0.0042005483992397785, -0.04049814119935036, 0.07169239968061447, 0.06996744871139526, 0.06545242667198181, -0.08801817893981934, -0.01694900169968605, -0.03543...
0.131522
Deploy the Demo Application =========================== When we have Cilium deployed and ``kube-dns`` operating correctly we can deploy our demo application. In our Star Wars-inspired example, there are three microservices applications: \*deathstar\*, \*tiefighter\*, and \*xwing\*. The \*deathstar\* runs an HTTP webser...
https://github.com/cilium/cilium/blob/main/Documentation/security/gsg_sw_demo.rst
main
cilium
[ -0.046073149889707565, -0.034058935940265656, -0.015253156423568726, -0.13623525202274323, -0.08944608271121979, -0.08063679188489914, -0.01183006726205349, -0.025076180696487427, 0.046299077570438385, 0.028513731434941292, 0.021988343447446823, -0.04132680594921112, 0.013478162698447704, ...
0.214831
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_security\_restrict\_pod\_access: ======================================== Restricting privileged Cilium pod access ======================...
https://github.com/cilium/cilium/blob/main/Documentation/security/restrict-pod-access.rst
main
cilium
[ 0.034796737134456635, 0.041864510625600815, -0.04569975286722183, -0.06588619947433472, 0.029244674369692802, -0.05710740387439728, -0.01827639900147915, 0.04097921773791313, 0.03363471105694771, -0.024292796850204468, 0.03637304902076721, -0.0952017605304718, 0.037128206342458725, -0.0046...
0.165981
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io Threat Model ============ This section presents a threat model for Cilium. This threat model allows interested parties to understand: - securi...
https://github.com/cilium/cilium/blob/main/Documentation/security/threat-model.rst
main
cilium
[ -0.013026203028857708, 0.01242824923247099, -0.062331683933734894, 0.016178511083126068, 0.07413943856954575, -0.04985278472304344, -0.05069480091333389, 0.04269721731543541, 0.032241128385066986, -0.026541847735643387, 0.07130222767591476, -0.033799730241298676, 0.06389569491147995, -0.02...
0.194478
the high level of privileges required by Cilium, we also suggest mitigations that users should apply to secure their environments. .. \_kubernetes-workload-attacker: Kubernetes Workload Attacker ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ For the first scenario, consider an attacker who has been able to gain access to a Kubernetes po...
https://github.com/cilium/cilium/blob/main/Documentation/security/threat-model.rst
main
cilium
[ 0.0018207142129540443, 0.05607805773615837, -0.02767864055931568, -0.009038670919835567, 0.005007951520383358, -0.06821933388710022, 0.033115871250629425, 0.06496991217136383, 0.05119403451681137, 0.024350116029381752, 0.008088327012956142, -0.026368916034698486, 0.028673429042100906, 0.02...
0.217697
use | | | | control of a | | | | malicious DNS | | | | server to influence | | | | policy decisions. | | +-----------------+---------------------+--------------------------------+ | Observability | None | Cilium's Hubble flow-event | | data | | observability can be used to | | | | provide reliable audit of | | | | the ...
https://github.com/cilium/cilium/blob/main/Documentation/security/threat-model.rst
main
cilium
[ -0.05655870959162712, 0.02001240849494934, -0.04873955622315407, -0.04489624500274658, 0.0009824555600062013, -0.05116845667362213, -0.029001755639910698, 0.007826218381524086, 0.03056425228714943, 0.020521998405456543, 0.014517657458782196, 0.010336685925722122, 0.052486732602119446, -0.0...
0.154204
| the traffic intended for | | | subject to Kubernetes | other workloads, or | | | or | sending traffic that | | | container-networked | spoofs the identity of | | | Cilium network | another pod, even if | | | policies. | transparent encryption is | | | :ref:`Host-networked | not in use. | | | Cilium | | | | policies |...
https://github.com/cilium/cilium/blob/main/Documentation/security/threat-model.rst
main
cilium
[ -0.0070678251795470715, 0.031464673578739166, 0.0035967950243502855, 0.0033053040970116854, 0.06480088084936142, -0.006885366979986429, 0.04107014089822769, -0.05099586397409439, 0.06224193423986435, 0.02384924329817295, 0.008286401629447937, -0.023269835859537125, 0.06586038321256638, -0....
0.173036
| | API server `, | | | as well as Cilium's :ref:`etcd key-value | | | store ` (if in use). | | | - If the compromised node is running the | | | ``cilium-operator`` pod, the attacker | | | would be able to carry out denial of | | | service attacks against other nodes using | | | the ``cilium-operator`` service account ...
https://github.com/cilium/cilium/blob/main/Documentation/security/threat-model.rst
main
cilium
[ -0.06596913188695908, 0.07789147645235062, -0.046005893498659134, -0.030490899458527565, -0.003957974724471569, -0.05388034135103226, 0.01584749110043049, 0.010433854535222054, 0.03631320223212242, -0.007039227522909641, 0.03968074545264244, -0.005296644754707813, 0.10427572578191757, -0.0...
0.228518
^^^^^^^^^^^^^^^^^^^^ - :ref:`gsg\_encryption` should be configured to ensure the confidentiality of communication between workloads. - TLS should be configured for communication between the Prometheus metrics endpoints and the Prometheus server. - Network policies should be configured such that only the Prometheus serv...
https://github.com/cilium/cilium/blob/main/Documentation/security/threat-model.rst
main
cilium
[ -0.10560847073793411, 0.09350750595331192, 0.048526979982852936, 0.02723674848675728, 0.029219407588243484, -0.08237456530332565, 0.04546940326690674, -0.023761630058288574, 0.05378381535410881, 0.04745573550462723, -0.04299486428499222, -0.04517785832285881, 0.06831763684749603, 0.0032418...
0.188577
an attacker to tamper | | | with the identities of pods. | | | - The ability to delete Kubernetes or Cilium | | | NetworkPolicies would remove policy | | | enforcement. | | | - Creating a large number of CiliumIdentity | | | resources could result in denial of service. | | | - Workloads external to the cluster could be...
https://github.com/cilium/cilium/blob/main/Documentation/security/threat-model.rst
main
cilium
[ -0.012367882765829563, 0.0291229747235775, 0.01389447133988142, -0.010938667692244053, -0.006898433435708284, 0.0005613568937405944, 0.04415607452392578, -0.042080044746398926, 0.07172201573848724, 0.04181218519806862, 0.020307036116719246, -0.03862264007329941, 0.048835430294275284, -0.05...
0.269005
on remote nodes. | +------------------+---------------------------------------------------+ | Cilium eBPF | None | | programs | | +------------------+---------------------------------------------------+ | Network data | An attacker would be able to modify the routing | | | of traffic within a cluster, and as a conseque...
https://github.com/cilium/cilium/blob/main/Documentation/security/threat-model.rst
main
cilium
[ -0.04256764426827431, 0.03127487748861313, -0.054239436984062195, -0.014871876686811447, 0.015373998321592808, -0.013365563005208969, 0.027743302285671234, 0.03935883194208145, -0.04412484169006348, 0.026459950953722, 0.027416473254561424, -0.03582651913166046, 0.08046407997608185, -0.0307...
0.132474
define alerting for suspicious activity. #. Enable TLS for access to any externally-facing services, such as Hubble Relay and Hubble UI. #. Use `Tetragon`\_ as a runtime security solution to rapidly detect unexpected behavior within your Kubernetes cluster. #. If using ``toFQDNs``-based network policies, strongly prefe...
https://github.com/cilium/cilium/blob/main/Documentation/security/threat-model.rst
main
cilium
[ 0.03228023648262024, 0.023139430209994316, -0.01110510528087616, -0.022887948900461197, 0.009498030878603458, -0.05596170574426651, 0.03223779425024986, -0.038925353437662125, 0.12987014651298523, 0.007538669742643833, -0.034424781799316406, -0.07819514721632004, -0.0039746928960084915, -0...
0.221034
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_encryption\_ztunnel: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Ztunnel Transparent Encryption (Beta) \*\...
https://github.com/cilium/cilium/blob/main/Documentation/security/network/encryption-ztunnel.rst
main
cilium
[ -0.06098497658967972, 0.023706993088126183, -0.09147433191537857, 0.03190172091126442, 0.010837429203093052, -0.06051468104124069, 0.0012729703448712826, -0.0011525930603966117, 0.05764230340719223, -0.03323918581008911, 0.023319439962506294, -0.0025880143512040377, 0.061350367963314056, 0...
0.071962
in the StateDB table: .. code-block:: shell-session kubectl exec -n kube-system ds/cilium -- cilium-dbg statedb dump | jq '.["mtls-enrolled-namespaces"]' The results of this query should show which namespaces have been successfully processed by the enrollment reconciler. #. Run a ``bash`` shell in one of the Cilium pod...
https://github.com/cilium/cilium/blob/main/Documentation/security/network/encryption-ztunnel.rst
main
cilium
[ -0.040587250143289566, -0.0133206807076931, 0.012429116293787956, -0.03720060735940933, -0.03837117552757263, -0.09789498895406723, -0.010759059339761734, -0.03881393373012543, 0.07899971306324005, 0.012545285746455193, 0.009455635212361813, -0.11274205893278122, 0.020094674080610275, -0.0...
0.159681
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_gsg\_encryption: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Transparent Encryption \*\*\*\*\*\*\*\*\*\*\*\*...
https://github.com/cilium/cilium/blob/main/Documentation/security/network/encryption.rst
main
cilium
[ -0.03998072072863579, 0.04592973366379738, -0.08062493801116943, -0.010620695538818836, 0.02493784762918949, -0.07300268858671188, -0.000409779284382239, -0.03396542742848396, 0.03852936252951622, -0.016952451318502426, 0.030951568856835365, -0.02836623229086399, 0.04950636997818947, -0.02...
0.076766
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io \*\*\*\*\*\*\*\*\*\*\*\* Introduction \*\*\*\*\*\*\*\*\*\*\*\* Cilium provides security on multiple levels. Each can be used individually or c...
https://github.com/cilium/cilium/blob/main/Documentation/security/network/intro.rst
main
cilium
[ -0.002925556618720293, 0.0258632805198431, -0.12053921073675156, -0.050289615988731384, 0.009077051654458046, -0.059382326900959015, -0.03208377584815025, 0.03555074706673622, 0.0418475940823555, -0.05741062015295029, 0.041932351887226105, -0.04073871299624443, 0.022818736732006073, -0.024...
0.196443
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_encryption\_ipsec: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* IPsec Transparent Encryption \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*...
https://github.com/cilium/cilium/blob/main/Documentation/security/network/encryption-ipsec.rst
main
cilium
[ -0.043695151805877686, -0.002738288836553693, -0.06839996576309204, -0.02490902878344059, 0.02382839098572731, -0.04899418354034424, 0.02731994166970253, -0.0008390489383600652, 0.09048022329807281, -0.01306458655744791, 0.004700708203017712, -0.034852590411901474, 0.009750846773386002, -0...
0.154394
The secret can be seen with ``kubectl -n kube-system get secrets`` and will be listed as ``cilium-ipsec-keys``. .. code-block:: shell-session $ kubectl -n kube-system get secrets cilium-ipsec-keys NAME TYPE DATA AGE cilium-ipsec-keys Opaque 1 176m Enable Encryption in Cilium =========================== .. tabs:: .. gro...
https://github.com/cilium/cilium/blob/main/Documentation/security/network/encryption-ipsec.rst
main
cilium
[ -0.01379423774778843, 0.057956717908382416, -0.02909587323665619, -0.013656454160809517, -0.009477276355028152, -0.013080514036118984, 0.006772145163267851, -0.0009814316872507334, 0.11170241236686707, 0.017717156559228897, 0.03362058475613594, -0.11236531287431717, -0.0029137020464986563, ...
0.10649
shell-session KEYID=$(kubectl get secret -n kube-system cilium-ipsec-keys -o go-template --template={{.data.keys}} | base64 -d | grep -oP "^\d+") if [[ $KEYID -ge 15 ]]; then KEYID=0; fi data=$(echo "{\"stringData\":{\"keys\":\"$((($KEYID+1)))+ "rfc4106\(gcm\(aes\)\)" $(dd if=/dev/urandom count=20 bs=1 2> /dev/null | x...
https://github.com/cilium/cilium/blob/main/Documentation/security/network/encryption-ipsec.rst
main
cilium
[ 0.012460609897971153, 0.07500742375850677, -0.0005655412096530199, -0.07379235327243805, -0.06952326744794846, 0.011715094558894634, 0.039327315986156464, -0.0007128255674615502, 0.14609654247760773, 0.013076421804726124, 0.05445755645632744, -0.06849586218595505, -0.008856091648340225, -0...
0.122584
files \* If there is a warning message similar to ``Device eth0 does not exist``, use ``--set encryption.ipsec.interface=ethX`` to set the encryption interface. \* Run ``cilium-dbg encrypt status`` in the Cilium Pod: .. code-block:: shell-session $ cilium-dbg encrypt status Encryption: IPsec Decryption interface(s): et...
https://github.com/cilium/cilium/blob/main/Documentation/security/network/encryption-ipsec.rst
main
cilium
[ 0.013249265030026436, 0.009962077252566814, -0.01943019963800907, 0.003527226625010371, 0.03980746865272522, -0.04830920323729515, 0.015926985070109367, 0.07548760622739792, 0.04681859537959099, -0.0021530967205762863, 0.02093420922756195, -0.05032246559858322, 0.03900105133652687, -0.0694...
0.127323
configuration for decryption. XfrmInStateProtoError There is a key or anti-replay seq mismatch between nodes. XfrmInStateInvalid A received packet matched an XFRM state that is being deleted. XfrmInTmplMismatch Bug in the XFRM configuration for decryption. XfrmInNoPols Bug in the XFRM configuration for decryption. Xfrm...
https://github.com/cilium/cilium/blob/main/Documentation/security/network/encryption-ipsec.rst
main
cilium
[ 0.013602335005998611, -0.04670169949531555, -0.035579413175582886, -0.01635861210525036, 0.045650482177734375, -0.09415071457624435, 0.02017201855778694, 0.04806113243103027, -0.036352138966321945, -0.05683845281600952, 0.05486966297030449, -0.04559655487537384, 0.03773113712668419, -0.017...
0.051207
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_arch\_id\_security: \*\*\*\*\*\*\*\*\*\*\*\*\*\* Identity-Based \*\*\*\*\*\*\*\*\*\*\*\*\*\* Container management systems such as Kuberne...
https://github.com/cilium/cilium/blob/main/Documentation/security/network/identity.rst
main
cilium
[ 0.0340019091963768, 0.047945138067007065, -0.04500989243388176, -0.04610045254230499, 0.03769613802433014, -0.034850336611270905, 0.03230173513293266, -0.018485598266124725, 0.0743870809674263, -0.024950094521045685, 0.020869813859462738, -0.04553139582276344, 0.038951411843299866, -0.0308...
0.256742
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Policy Enforcement \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* All security policies are described assuming stat...
https://github.com/cilium/cilium/blob/main/Documentation/security/network/policyenforcement.rst
main
cilium
[ -0.05416952073574066, 0.024966023862361908, -0.10486751794815063, -0.04026501998305321, -0.02350015752017498, -0.027516333386301994, 0.07449622452259064, -0.030161606147885323, 0.02716469205915928, 0.014224294573068619, 0.04861857369542122, -0.03142387047410011, 0.09382475912570953, -0.006...
0.212348
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_encryption\_wg: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* WireGuard Transparent Encryption \*\*\*\*\*\*\*\*\*\*\*\...
https://github.com/cilium/cilium/blob/main/Documentation/security/network/encryption-wireguard.rst
main
cilium
[ -0.08106858283281326, 0.05552125722169876, -0.06346071511507034, -0.02432573027908802, 0.05258374661207199, -0.06062931567430496, 0.05812114104628563, -0.00489760423079133, 0.03107949160039425, -0.02223881706595421, 0.06747821718454361, -0.04328133538365364, 0.04292099550366402, 0.00126797...
0.124254
verbose output suppressed, use -v or -vv for full protocol decode listening on cilium\_wg0, link-type RAW (Raw IP), capture size 262144 bytes 15:05:24.643427 IP 10.244.1.35.51116 > 10.244.3.78.8080: Flags [S], seq 476474887, win 64860, options [mss 1410,sackOK,TS val 648097391 ecr 0,nop,wscale 7], length 0 15:05:24.644...
https://github.com/cilium/cilium/blob/main/Documentation/security/network/encryption-wireguard.rst
main
cilium
[ -0.010979543440043926, 0.08584070205688477, -0.08194106072187424, -0.03367885202169418, 0.05597338080406189, -0.07263948768377304, 0.009501869790256023, -0.02926982007920742, 0.0022472720593214035, 0.011515908874571323, 0.009634776040911674, -0.06036800146102905, -0.05222001671791077, -0.0...
0.101563
If you are deploying Cilium with the Cilium CLI, pass the following options: .. parsed-literal:: cilium install |CHART\_VERSION| \\ --set encryption.enabled=true \\ --set encryption.type=wireguard \\ --set encryption.nodeEncryption=true .. group-tab:: Helm If you are deploying Cilium with Helm by following :ref:`k8s\_i...
https://github.com/cilium/cilium/blob/main/Documentation/security/network/encryption-wireguard.rst
main
cilium
[ 0.005155461374670267, 0.06977161020040512, -0.031695038080215454, 0.003721600864082575, 0.015375685878098011, -0.01949157565832138, 0.01698325015604496, 0.004810368176549673, 0.07568928599357605, 0.007164533715695143, 0.02423706278204918, -0.08146139979362488, 0.026462767273187637, 0.00201...
0.057068
| | | | | Service | | | +----------------+-------------------+----------------------+-----------------+ | Client outside | remote Pod via | KPR, | default | | cluster | Service | overlay routing, | | | | | without DSR, | | | | | without XDP | | +----------------+-------------------+----------------------+--------------...
https://github.com/cilium/cilium/blob/main/Documentation/security/network/encryption-wireguard.rst
main
cilium
[ 0.0028259342070668936, -0.030664891004562378, 0.011032377369701862, -0.028684785589575768, 0.0141372075304389, -0.06825011223554611, -0.033093761652708054, 0.013437272980809212, -0.05151243507862091, -0.0011360349599272013, 0.055999480187892914, 0.0019159413641318679, -0.016231879591941833, ...
0.104791
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_envoy: ===== Envoy ===== Envoy proxy shipped with Cilium is built with minimal Envoy extensions and custom policy enforcement filters. Ci...
https://github.com/cilium/cilium/blob/main/Documentation/security/network/proxy/envoy.rst
main
cilium
[ -0.00013868045061826706, 0.018676094710826874, -0.03151828050613403, -0.03651191294193268, 0.035304710268974304, -0.06766626238822937, -0.037397198379039764, -0.038977038115262985, -0.017541950568556786, 0.019419318065047264, 0.026354791596531868, -0.040404874831438065, 0.023041000589728355,...
0.190436
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io Using Kubernetes Constructs In Policy ===================================== This section covers Kubernetes specific network policy aspects. .....
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/kubernetes.rst
main
cilium
[ -0.02691303938627243, -0.0033314272295683622, -0.04995269700884819, -0.0653262585401535, -0.019328834488987923, -0.03285996988415718, -0.010053718462586403, -0.00036825824645347893, 0.046487145125865936, 0.00654556043446064, -0.0005107970791868865, -0.050541359931230545, 0.02351001836359501,...
0.208489
``toEndpoints``. .. \_example\_cnp\_namespace\_labels: Example ^^^^^^^ The following example restricts ``rebel-base`` pods to only communicate with pods in namespaces labeled ``faction: alliance``. As the Rebel Alliance operates across multiple namespaces, namespace labels allow this policy to apply to all Alliance nam...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/kubernetes.rst
main
cilium
[ -0.015948504209518433, -0.027759842574596405, 0.014165055006742477, -0.0691053494811058, 0.006866029463708401, 0.04980634152889252, 0.06076249107718468, -0.06864342838525772, 0.09480723738670349, 0.033933985978364944, 0.02211303636431694, -0.11996999382972717, 0.05911955609917641, -0.01285...
0.112667
to check cluster connectivity health. .. literalinclude:: ../../../examples/policies/kubernetes/clusterwide/health.yaml :language: yaml
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/kubernetes.rst
main
cilium
[ 0.09624742716550827, -0.02316213957965374, -0.0031947405077517033, 0.00171277963090688, 0.015194865874946117, 0.02048833854496479, -0.01274159736931324, -0.041086502373218536, 0.02825463004410267, 0.015556277707219124, 0.022808168083429337, -0.02758973464369774, -0.038041260093450546, -0.0...
0.209822
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_l7\_policy: Layer 7 Policies ================ Layer 7 policy rules are embedded into Layer 4 rules and can be specified for ingress and e...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/layer7.rst
main
cilium
[ -0.028243614360690117, 0.021295003592967987, -0.06055818870663643, -0.03654222935438156, 0.02351328730583191, -0.04658708721399307, -0.018670590594410896, 0.025937240570783615, -0.06185322627425194, -0.0343245193362236, 0.07034838199615479, -0.057896003127098083, -0.03579874336719513, 0.05...
0.14031
If omitted or empty, all methods are allowed. Host Host is an extended POSIX regex matched against the host header of a request, e.g. ``foo.com``. If omitted or empty, the value of the host header is ignored. Headers Headers is a list of HTTP headers which must be present in the request. If omitted or empty, requests a...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/layer7.rst
main
cilium
[ -0.0610610768198967, 0.13067252933979034, 0.006928953807801008, -0.06300782412290573, 0.011177527718245983, -0.06893975287675858, -0.009562216699123383, -0.07083229720592499, 0.001451926538720727, 0.030699927359819412, -0.008489838801324368, -0.05968751758337021, 0.03394479677081108, -0.00...
0.00975
queries for ``cilium.io``, ``sub.cilium.io``, ``service1.api.cilium.io`` and any matches of ``special\*service.api.cilium.io``, such as ``special-region1-service.api.cilium.io`` but not ``region1-service.api.cilium.io``. DNS queries to ``anothersub.cilium.io`` are allowed but connections to the returned IPs are not, as...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/layer7.rst
main
cilium
[ -0.03164730593562126, -0.01336753461509943, -0.008047806099057198, -0.0861831083893776, -0.06042433902621269, -0.06725078076124191, -0.03371463716030121, -0.08201368898153305, 0.06808951497077942, -0.008844930678606033, -0.009929577820003033, -0.053810492157936096, -0.011776336468756199, 0...
0.11015
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_network\_policy: .. \_Network Policies: .. \_Network Policy: Overview of Network Policy -------------------------- This chapter documents...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/index.rst
main
cilium
[ -0.004566009622067213, 0.031855322420597076, -0.05547338351607323, -0.0794922411441803, -0.01706618256866932, 0.008002841845154762, 0.03650446981191635, 0.006645672954618931, 0.02148299291729927, 0.01876274310052395, 0.03590765595436096, -0.040928665548563004, 0.04600314423441887, -0.02653...
0.193536
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_HostPolicies: Host Policies ============= Host policies take the form of a :ref:`CiliumClusterwideNetworkPolicy` with a :ref:`NodeSelecto...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/host.rst
main
cilium
[ -0.04829685762524605, -0.006212153937667608, -0.010016187094151974, -0.038191329687833786, -0.033329326659440994, -0.05232560634613037, -0.06372008472681046, -0.0309960525482893, 0.013059007935225964, 0.008472255431115627, -0.03273336961865425, -0.0826936662197113, -0.011087637394666672, -...
0.151848
Cilium: \* ``--set devices='{interface}'`` where ``interface`` refers to the network device Cilium is configured on, for example ``eth0``. If you omit this option, Cilium auto-detects what interface the host firewall applies to. \* ``--set hostFirewall.enabled=true`` As an example, the following policy allows ingress t...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/host.rst
main
cilium
[ 0.00520155718550086, 0.0759064257144928, -0.050690945237874985, -0.05665745213627815, 0.0113760307431221, -0.057032689452171326, 0.015547411516308784, -0.015895498916506767, 0.003311904612928629, 0.03297549486160278, 0.030908962711691856, -0.06308857351541519, 0.009266788139939308, 0.00063...
0.28574
One workaround is to enable, disable, then re-enable Host Policies enforcement. For details, see :gh-issue:`25448`. - In the context of ClusterMesh, the following combination of options is not supported: - Cilium operating in CRD mode (as opposed to KVstore mode), - Host Policies enabled, - tunneling enabled, - kube-pr...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/host.rst
main
cilium
[ -0.014628239907324314, 0.037727344781160355, 0.061867427080869675, -0.0043705725111067295, 0.00963586289435625, 0.008515269495546818, -0.024970220401883125, -0.05349266529083252, -0.02923647128045559, 0.05653116852045059, 0.013563773594796658, -0.10405460000038147, 0.045881543308496475, 0....
0.041127
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_l4\_policy: Layer 4 Policies ================ Limit ingress/egress ports -------------------------- Layer 4 policy can be specified in ad...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/layer4.rst
main
cilium
[ 0.00011360547068761662, 0.04583176597952843, -0.06496786326169968, -0.06345044076442719, 0.029800409451127052, -0.03242737427353859, 0.04013808071613312, 0.013350466266274452, 0.0038203212898224592, 0.01131677720695734, 0.045521002262830734, -0.056825488805770874, 0.012241840362548828, -0....
0.230979
any ICMP policy is specified, layer 4 and ICMP communication will be blocked unless it's related to a connection that is otherwise allowed by the policy. ICMP policy can be specified at both ingress and egress using the ``icmps`` field. The ``icmps`` field takes a ``ICMPField`` structure which is defined as follows: .....
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/layer4.rst
main
cilium
[ -0.03878931328654289, 0.051023878157138824, -0.021434325724840164, -0.07236188650131226, -0.012519903481006622, 0.012740081176161766, 0.005638965405523777, -0.020651305094361305, 0.016568582504987717, 0.008547062054276466, 0.022209594026207924, -0.09682296216487885, -0.07603995501995087, -...
0.174996
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_l3\_policy: Layer 3 Policies ================ The layer 3 policy establishes the base connectivity rules regarding which endpoints can ta...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/layer3.rst
main
cilium
[ -0.04366482049226761, -0.0160071924328804, -0.06926403939723969, -0.08484648913145065, 0.012846835888922215, -0.01149514876306057, 0.03692437708377838, -0.03901970759034157, 0.08038795739412308, -0.032621439546346664, 0.0515843890607357, -0.02550361678004265, 0.04214933142066002, -0.023629...
0.244077
traffic to an endpoint, this does not mean that all endpoints are allowed to send traffic to this endpoint per their policies. In other words, policy must be configured on both sides (sender and receiver). Egress ~~~~~~ An endpoint is allowed to send traffic to another endpoint if at least one egress rule exists which ...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/layer3.rst
main
cilium
[ 0.02004123106598854, -0.021315649151802063, -0.01000360120087862, -0.056836482137441635, -0.0038957493379712105, 0.012411396019160748, 0.09182839840650558, -0.033519092947244644, -0.002558075590059161, 0.022123094648122787, -0.04021412134170532, -0.03670983761548996, 0.004304612521082163, ...
0.062813
and egress traffic that applies to an endpoint selector is that the other egress and ingress rules (such as ``fromEndpoints``, ``fromPorts``, ``toEntities``, ``toServices``, and the rest) do not limit the scope of the ``toRequires`` of ``fromRequires`` fields. Pairing other ingress and egress rules with a ``toRequires`...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/layer3.rst
main
cilium
[ -0.04083840548992157, -0.014062391594052315, 0.012792232446372509, -0.06560899317264557, 0.025367939844727516, 0.05293520539999008, 0.08518712967634201, -0.040325336158275604, 0.0029128387104719877, -0.006260244641453028, -0.010315656661987305, -0.0473756417632103, 0.0023482826072722673, 0...
0.069784
represents the health endpoints, used to check cluster connectivity health. Each node managed by Cilium hosts a health endpoint. See `cluster\_connectivity\_health` for details on health checks. unmanaged The unmanaged entity represents endpoints not managed by Cilium. Unmanaged endpoints are considered part of the clu...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/layer3.rst
main
cilium
[ 0.03152952343225479, 0.021621715277433395, -0.03897320479154587, -0.008928555063903332, 0.0543525367975235, -0.04982319474220276, 0.02329990826547146, -0.07499493658542633, 0.07352744042873383, 0.03964468464255333, 0.04421680420637131, -0.0909983441233635, 0.02792545035481453, -0.015261080...
0.282287
not have labels associated with them. These are typically external services, VMs or metal machines running in particular subnets. CIDR policy can also be used to limit access to external services, for example to limit external access to a particular IP range. CIDR policies can be applied at ingress or egress. CIDR rule...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/layer3.rst
main
cilium
[ 0.031265586614608765, -0.02106965146958828, -0.08801776170730591, -0.07139276713132858, 0.05647987872362137, 0.03584853932261467, 0.06738390773534775, -0.023313643410801888, 0.050488315522670746, -0.026438431814312935, 0.08195380121469498, -0.04900803044438362, 0.02131747640669346, 0.00629...
0.273922
via an ``ipBlock`` peer in a KubernetesNetworkPolicy. .. \_DNS based: DNS based --------- DNS policies are used to define Layer 3 policies to endpoints that are not managed by Cilium, but have DNS queryable domain names. The IP addresses provided in DNS responses are allowed by Cilium in a similar manner to IPs in `CID...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/layer3.rst
main
cilium
[ -0.06700659543275833, -0.009559795260429382, -0.002522083930671215, -0.08271973580121994, -0.08237316459417343, -0.06804299354553223, -0.027220821008086205, -0.05028563737869263, 0.10371193289756775, 0.002353140851482749, -0.007642638403922319, -0.04382879659533501, -0.01861673779785633, -...
0.154593
particular FQDN, each FQDN has a per-endpoint max capacity of IPs that will be retained (default: 50). Once this limit is exceeded, the oldest IP entries are automatically expired from the cache. This capacity can be changed using the ``--tofqdns-endpoint-max-ip-per-hostname`` option. As with long-lived connections abo...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/layer3.rst
main
cilium
[ 0.0007540390361100435, -0.04371349886059761, -0.012337332591414452, 0.01163219753652811, -0.0334305614233017, 0.02117067016661167, -0.0003831933718174696, -0.05888604745268822, 0.07143203169107437, 0.04115435481071472, 0.019183317199349403, 0.11676841974258423, -0.031382422894239426, -0.00...
0.059021
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_policy\_guide: .. \_policy\_enforcement\_modes: Policy Enforcement Modes ======================== The configuration of the Cilium agent a...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/intro.rst
main
cilium
[ 0.044219911098480225, 0.012201203964650631, -0.0899362787604332, -0.049721609801054, 0.03335287421941757, -0.032607629895210266, 0.0029916835483163595, -0.014842798002064228, 0.04480715095996857, 0.007568429224193096, 0.05728057399392128, -0.030562935397028923, -0.005305171012878418, -0.00...
0.178794
However, some applications may benefit from receiving explicit rejection notifications instead of experiencing connection timeouts. This can provide faster feedback to applications and improve user experience by reducing wait times. This behavior can be configured with the ``--policy-deny-response`` option: \*\*none\*\...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/intro.rst
main
cilium
[ 0.009790850803256035, 0.07784070074558258, 0.06110328063368797, 0.002817017026245594, 0.027374267578125, -0.018826477229595184, 0.021722916513681412, -0.03152994066476822, 0.03395148366689682, 0.05282994359731674, -0.012147599831223488, -0.014613652601838112, 0.004344142973423004, -0.04706...
0.132929
Rules cannot be identified by comment. // // +optional Description string `json:"description,omitempty"` } ---- endpointSelector / nodeSelector Selects the endpoints or nodes which the policy rules apply to. The policy rules will be applied to all endpoints which match the labels specified in the selector. For addition...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/intro.rst
main
cilium
[ -0.029761169105768204, 0.055322617292404175, 0.020281925797462463, -0.03791214898228645, 0.06700602173805237, -0.012168578803539276, 0.0715317353606224, -0.03089112974703312, 0.048552338033914566, 0.026569347828626633, -0.02412385307252407, -0.07705942541360855, 0.022490205243229866, -0.02...
0.177221
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_policy\_caveats: \*\*\*\*\*\*\* Caveats \*\*\*\*\*\*\* Security Identity for N/S Service Traffic ========================================...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/caveats.rst
main
cilium
[ -0.007158446591347456, 0.062384460121393204, -0.05186021327972412, -0.05754908174276352, 0.011203257367014885, -0.03119753487408161, 0.016790486872196198, 0.003661203430965543, 0.07286989688873291, -0.017160562798380852, -0.0030457740649580956, -0.08991536498069763, 0.007123303599655628, -...
0.193367
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_disk\_policies: Disk based Cilium Network Policies ================================== This functionality enables users to place network p...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/disk-based.rst
main
cilium
[ -0.023837868124246597, 0.00989747978746891, -0.04445170611143112, -0.07553958892822266, 0.008053292520344257, -0.029708486050367355, -0.03250296413898468, 0.009658195078372955, 0.024352282285690308, -0.005094731692224741, 0.03850272670388222, -0.013126366771757603, 0.04708416014909744, -0....
0.134674
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_endpoint\_lifecycle: .. \_Endpoint Lifecycle: Endpoint Lifecycle ================== This section specifies the lifecycle of Cilium endpoi...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/lifecycle.rst
main
cilium
[ -0.06826639920473099, -0.00823434442281723, -0.054606031626462936, 0.003522064769640565, 0.027787568047642708, -0.04336412996053696, -0.02491643838584423, -0.017233164981007576, 0.02178684063255787, -0.03413209319114685, 0.07478905469179153, -0.07327119261026382, -0.0009173848084174097, -0...
0.190973
of "lockdown" when it detects that the policy map is no longer overflowing. When an endpoint is locked down all network traffic, both egress and ingress, will be dropped. Cilium will log a warning that the endpoint has been locked down. If this option is enabled, cluster operators should closely monitor the metric the ...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/lifecycle.rst
main
cilium
[ 0.02179822139441967, 0.0019440626492723823, -0.02386854588985443, 0.025049543008208275, 0.04969821870326996, -0.009591421112418175, 0.034710902720689774, 0.01409014780074358, -0.0099229970946908, 0.009705111384391785, 0.0011389694409444928, -0.01749216951429844, -0.0368896946310997, -0.064...
0.236775
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_deny\_policies: Deny Policies ============= Deny policies, available and enabled by default since Cilium 1.9, allows to explicitly restri...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/deny.rst
main
cilium
[ 0.05769583210349083, 0.02717660926282406, 0.026389114558696747, -0.039367567747831345, 0.022672545164823532, -0.03805440291762352, 0.0023753091227263212, -0.03676910325884819, 0.03244064003229141, 0.003541087731719017, 0.04213633015751839, -0.008088970556855202, 0.020097242668271065, -0.01...
0.192358
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_policy\_troubleshooting: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Troubleshooting \*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Policy Rule to Endpoint Mapping ==...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/troubleshooting.rst
main
cilium
[ -0.0018945022020488977, 0.06861444562673569, -0.05270425230264664, -0.024570120498538017, 0.06411982327699661, -0.040242452174425125, 0.024476205930113792, 0.007252130191773176, 0.017580687999725342, -0.006970611400902271, 0.06047216057777405, -0.10470164567232132, 0.06737760454416275, -0....
0.154921
list``: .. code-block:: shell-session # cilium-dbg fqdn cache list Endpoint Source FQDN TTL ExpirationTime IPs 725 lookup api.github.com. 3600 2023-02-10T18:16:05.842Z 140.82.121.6 725 lookup support.github.com. 3600 2023-02-10T18:16:09.371Z 185.199.111.133,185.199.109.133,185.199.110.133,185.199.108.133 #. If the traf...
https://github.com/cilium/cilium/blob/main/Documentation/security/policy/troubleshooting.rst
main
cilium
[ -0.04565519839525223, 0.05965058133006096, -0.11959850043058395, -0.053459808230400085, 0.03473673388361931, -0.06808588653802872, 0.061734993010759354, -0.007078219670802355, 0.07641858607530594, 0.048897549510002136, 0.019379809498786926, -0.03746369108557701, -0.02467476576566696, -0.04...
0.122056
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_xfrm\_guide: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* XFRM Reference Guide \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* .. note:: This docume...
https://github.com/cilium/cilium/blob/main/Documentation/reference-guides/xfrm/index.rst
main
cilium
[ 0.002678867429494858, -0.06166737526655197, -0.1156989187002182, 0.008488724939525127, 0.09111020714044571, -0.07263953238725662, 0.007661984767764807, 0.0776093453168869, -0.024157896637916565, -0.041855912655591965, 0.08698267489671707, -0.09481676667928696, 0.032023072242736816, -0.0329...
0.143569
10.56.0.17 proto esp reqid 1 mode tunnel Note that when using tunnel mode as is the case here, we should always see XFRM states matching the template of XFRM OUT policies. That is because, on egress, the states are matched after the template is applied. The IP addresses, the SPI, the protocol, the mode, and the reqid s...
https://github.com/cilium/cilium/blob/main/Documentation/reference-guides/xfrm/index.rst
main
cilium
[ -0.03721998631954193, 0.0030000878032296896, 0.08070164918899536, -0.009174061939120293, 0.07568550854921341, -0.0014949108008295298, 0.09061770886182785, -0.06531257927417755, -0.0055499388836324215, -0.01789850927889347, 0.03109206072986126, -0.06330131739377975, -0.00286171305924654, -0...
0.005656
the same priority, the newest one is used. .. code-block:: bash $ ip xfrm policy # - `src 0.0.0.0/0` is the CIDR to match against the source IP address # - `dst 0.0.0.0/0` is the CIDR to match against the destination IP address src 0.0.0.0/0 dst 0.0.0.0/0 uid 0 # - `dir fwd` states the direction. It defines where in th...
https://github.com/cilium/cilium/blob/main/Documentation/reference-guides/xfrm/index.rst
main
cilium
[ -0.02202283963561058, -0.05214344337582588, -0.03453941270709038, -0.08614684641361237, 0.14719757437705994, -0.005146705079823732, 0.03524385765194893, -0.019517019391059875, 0.019860588014125824, 0.003514316864311695, 0.1303989142179489, 0.0459115132689476, -0.03152291476726532, -0.02853...
0.119023
will be # dropped with `XfrmInTmplMismatch`. # - `share any` is not implemented and will always be `any`. level use share any # - `enc-mask ffffffff` Bit mask defining the list of allowed encryption algorithms. # See Encryption algorithms in include/uapi/linux/pfkeyv2.h for the list of possible # values. # - `auth-mask...
https://github.com/cilium/cilium/blob/main/Documentation/reference-guides/xfrm/index.rst
main
cilium
[ -0.02615201100707054, 0.011914235539734364, -0.12592262029647827, -0.032987628132104874, 0.08987725526094437, -0.04289931803941727, 0.029703011736273766, -0.024531083181500435, -0.03575870022177696, -0.05717795342206955, 0.03279983997344971, -0.04951716959476471, -0.010629193857312202, -0....
-0.005537
# time since the state was last used for a packet. When a soft limit or expiration time # is reached, a notification is sent to userspace via netlink # (`struct xfrm\_user\_expire`). When a hard limit or expiration time is reached, the state # is deleted. limit: soft (INF)(bytes), hard (INF)(bytes) limit: soft (INF)(pa...
https://github.com/cilium/cilium/blob/main/Documentation/reference-guides/xfrm/index.rst
main
cilium
[ -0.0832059308886528, -0.042846497148275375, -0.029496274888515472, -0.027671318501234055, 0.07281288504600525, 0.017271703109145164, 0.11277132481336594, 0.006818108726292849, 0.04336598515510559, 0.026367127895355225, 0.005011021625250578, 0.029010213911533356, 0.029074111953377724, 0.059...
0.141073
field) of the used XFRM state. - \*\*XfrmInStateInvalid:\*\* If received packet matched an XFRM state that is being deleted or that expired. - \*\*XfrmInTmplMismatch:\*\* - If a packet matches an XFRM policy with a non-optional template, but the template doesn't match any of the XFRM states used to decrypt the packet (...
https://github.com/cilium/cilium/blob/main/Documentation/reference-guides/xfrm/index.rst
main
cilium
[ -0.020199695602059364, -0.022043533623218536, 0.006391170434653759, -0.02697359025478363, 0.09964872896671295, -0.0064375754445791245, 0.06232638284564018, -0.037932250648736954, -0.014418945647776127, -0.010635264217853546, 0.042092110961675644, -0.058254458010196686, 0.004521877504885197, ...
0.033907
on current IP family, namespace, and direction), each of its red-black trees is looked up using the source and destination IP addresses. The ``root\_s`` tree contains policies sorted by source IP addresses; the ``root\_d`` tree contains policies sorted by destination IP addresses. In addition, leaf nodes of the ``root\...
https://github.com/cilium/cilium/blob/main/Documentation/reference-guides/xfrm/index.rst
main
cilium
[ -0.024979280307888985, 0.01817338541150093, -0.011667663231492043, -0.04593445360660553, 0.12079326063394547, -0.04536230117082596, 0.050713371485471725, -0.037747956812381744, -0.045521512627601624, 0.06594788283109665, 0.056137487292289734, 0.00875038467347622, 0.04080413281917572, -0.09...
0.097359
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_bpf\_guide: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* BPF and XDP Reference Guide \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*...
https://github.com/cilium/cilium/blob/main/Documentation/reference-guides/bpf/index.rst
main
cilium
[ -0.03868376091122627, -0.01980872079730034, -0.07580259442329407, -0.07533149421215057, 0.022978220134973526, -0.037374064326286316, 0.026251371949911118, 0.05719999596476555, 0.010513991117477417, -0.009018845856189728, 0.08295446634292603, -0.07374091446399689, 0.04604089632630348, -0.06...
0.192287
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_bpf\_dev: Development Tools ================= Current user space tooling, introspection facilities and kernel control knobs around BPF ar...
https://github.com/cilium/cilium/blob/main/Documentation/reference-guides/bpf/toolchain.rst
main
cilium
[ 0.008774539455771446, -0.07372432947158813, -0.07754825800657272, -0.04310503974556923, 0.07816409319639206, -0.05661220848560333, -0.04958653077483177, 0.07477093487977982, -0.022128961980342865, -0.03752819076180458, 0.034419137984514236, -0.07812024652957916, -0.04753018543124199, -0.07...
0.174725
in order to test BPF functionality (current working directory points to the root of the cloned git tree): .. code-block:: shell-session $ cd tools/testing/selftests/bpf/ $ make $ sudo ./test\_verifier The verifier tests print out all the current checks being performed. The summary at the end of running all tests will d...
https://github.com/cilium/cilium/blob/main/Documentation/reference-guides/bpf/toolchain.rst
main
cilium
[ -0.019823512062430382, -0.0631198137998581, -0.020489996299147606, -0.006294488441199064, 0.0623958595097065, -0.06004820019006729, -0.04585456848144531, 0.009189186617732048, 0.0032283696345984936, -0.020213747397065163, 0.043478939682245255, -0.07632264494895935, -0.04440220817923546, -0...
0.041982
BPF back end by default when they package LLVM, therefore installing clang and llvm is sufficient on most recent distributions to start compiling C into BPF object files. The typical workflow is that BPF programs are written in C, compiled by LLVM into object / ELF files, which are parsed by user space BPF ELF loaders ...
https://github.com/cilium/cilium/blob/main/Documentation/reference-guides/bpf/toolchain.rst
main
cilium
[ -0.003191098105162382, -0.03448344022035599, -0.022373393177986145, -0.0528852753341198, 0.02007480151951313, 0.025180168449878693, -0.10580651462078094, 0.07207805663347244, -0.005663005169481039, -0.046806033700704575, -0.021910443902015686, -0.02825298346579075, -0.09140507131814957, -0...
0.050541
LLVM need to be compiled from scratch, the following commands can be used: .. code-block:: shell-session $ git clone https://github.com/llvm/llvm-project.git $ cd llvm-project $ mkdir build $ cd build $ cmake -DLLVM\_ENABLE\_PROJECTS=clang -DLLVM\_TARGETS\_TO\_BUILD="BPF;X86" -DBUILD\_SHARED\_LIBS=OFF -DCMAKE\_BUILD\_T...
https://github.com/cilium/cilium/blob/main/Documentation/reference-guides/bpf/toolchain.rst
main
cilium
[ 0.044363852590322495, -0.02518610469996929, -0.002913030795753002, -0.06949196010828018, 0.032221488654613495, -0.004701823461800814, -0.10030809789896011, 0.03976535052061081, -0.007056365255266428, 0.007919473573565483, -0.03398323431611061, -0.11324775218963623, -0.04108075797557831, -0...
-0.13668